diff --git a/.goreleaser.yml b/.goreleaser.yml index 1dc3ada09..3db5bf584 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,10 +30,8 @@ builds: - 386 ldflags: "-s -w -X github.com/snyk/driftctl/build.env={{ .Env.ENV }} -X github.com/snyk/driftctl/pkg/version.version={{ .Tag }}" archives: - - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' + - name_template: '{{ .ProjectName }}_{{ .Os }}_{{- if eq .Arch "armv6" }}arm{{- else }}{{ .Arch }}{{ end }}' format: binary - replacements: - armv6: arm checksum: name_template: '{{ .ProjectName }}_SHA256SUMS' algorithm: sha256 diff --git a/enumeration/mock_Filter.go b/enumeration/mock_Filter.go index 172b23c81..0b1b546d3 100644 --- a/enumeration/mock_Filter.go +++ b/enumeration/mock_Filter.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package enumeration @@ -53,3 +53,18 @@ func (_m *MockFilter) IsTypeIgnored(ty resource.ResourceType) bool { return r0 } + +type mockConstructorTestingTNewMockFilter interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFilter creates a new instance of MockFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFilter(t mockConstructorTestingTNewMockFilter) *MockFilter { + mock := &MockFilter{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/client/mock_AwsClientFactoryInterface.go b/enumeration/remote/aws/client/mock_AwsClientFactoryInterface.go index 5e7570d2b..db8d14de9 100644 --- a/enumeration/remote/aws/client/mock_AwsClientFactoryInterface.go +++ b/enumeration/remote/aws/client/mock_AwsClientFactoryInterface.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package client diff --git a/enumeration/remote/aws/repository/mock_ApiGatewayRepository.go b/enumeration/remote/aws/repository/mock_ApiGatewayRepository.go index 9d7c4bac5..a1a8bb175 100644 --- a/enumeration/remote/aws/repository/mock_ApiGatewayRepository.go +++ b/enumeration/remote/aws/repository/mock_ApiGatewayRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockApiGatewayRepository) GetAccount() (*apigateway.Account, error) { ret := _m.Called() var r0 *apigateway.Account + var r1 error + if rf, ok := ret.Get(0).(func() (*apigateway.Account, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() *apigateway.Account); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockApiGatewayRepository) GetAccount() (*apigateway.Account, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockApiGatewayRepository) ListAllApiKeys() ([]*apigateway.ApiKey, erro ret := _m.Called() var r0 []*apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigateway.ApiKey, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigateway.ApiKey); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockApiGatewayRepository) ListAllApiKeys() ([]*apigateway.ApiKey, erro } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -63,6 +69,10 @@ func (_m *MockApiGatewayRepository) ListAllDomainNameBasePathMappings(_a0 string ret := _m.Called(_a0) var r0 []*apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.BasePathMapping, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigateway.BasePathMapping); ok { r0 = rf(_a0) } else { @@ -71,7 +81,6 @@ func (_m *MockApiGatewayRepository) ListAllDomainNameBasePathMappings(_a0 string } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -86,6 +95,10 @@ func (_m *MockApiGatewayRepository) ListAllDomainNames() ([]*apigateway.DomainNa ret := _m.Called() var r0 []*apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigateway.DomainName, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigateway.DomainName); ok { r0 = rf() } else { @@ -94,7 +107,6 @@ func (_m *MockApiGatewayRepository) ListAllDomainNames() ([]*apigateway.DomainNa } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -109,6 +121,10 @@ func (_m *MockApiGatewayRepository) ListAllRestApiAuthorizers(_a0 string) ([]*ap ret := _m.Called(_a0) var r0 []*apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.Authorizer, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigateway.Authorizer); ok { r0 = rf(_a0) } else { @@ -117,7 +133,6 @@ func (_m *MockApiGatewayRepository) ListAllRestApiAuthorizers(_a0 string) ([]*ap } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -127,20 +142,23 @@ func (_m *MockApiGatewayRepository) ListAllRestApiAuthorizers(_a0 string) ([]*ap return r0, r1 } -// ListAllRestApiModels provides a mock function with given fields: _a0 -func (_m *MockApiGatewayRepository) ListAllRestApiModels(_a0 string) ([]*apigateway.Model, error) { +// ListAllRestApiGatewayResponses provides a mock function with given fields: _a0 +func (_m *MockApiGatewayRepository) ListAllRestApiGatewayResponses(_a0 string) ([]*apigateway.UpdateGatewayResponseOutput, error) { ret := _m.Called(_a0) - var r0 []*apigateway.Model - if rf, ok := ret.Get(0).(func(string) []*apigateway.Model); ok { + var r0 []*apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(string) []*apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]*apigateway.Model) + r0 = ret.Get(0).([]*apigateway.UpdateGatewayResponseOutput) } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -150,20 +168,23 @@ func (_m *MockApiGatewayRepository) ListAllRestApiModels(_a0 string) ([]*apigate return r0, r1 } -// ListAllRestApiGatewayResponses provides a mock function with given fields: _a0 -func (_m *MockApiGatewayRepository) ListAllRestApiGatewayResponses(_a0 string) ([]*apigateway.UpdateGatewayResponseOutput, error) { +// ListAllRestApiModels provides a mock function with given fields: _a0 +func (_m *MockApiGatewayRepository) ListAllRestApiModels(_a0 string) ([]*apigateway.Model, error) { ret := _m.Called(_a0) - var r0 []*apigateway.UpdateGatewayResponseOutput - if rf, ok := ret.Get(0).(func(string) []*apigateway.UpdateGatewayResponseOutput); ok { + var r0 []*apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.Model, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(string) []*apigateway.Model); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]*apigateway.UpdateGatewayResponseOutput) + r0 = ret.Get(0).([]*apigateway.Model) } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -178,6 +199,10 @@ func (_m *MockApiGatewayRepository) ListAllRestApiRequestValidators(_a0 string) ret := _m.Called(_a0) var r0 []*apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +211,6 @@ func (_m *MockApiGatewayRepository) ListAllRestApiRequestValidators(_a0 string) } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -201,6 +225,10 @@ func (_m *MockApiGatewayRepository) ListAllRestApiResources(_a0 string) ([]*apig ret := _m.Called(_a0) var r0 []*apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.Resource, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigateway.Resource); ok { r0 = rf(_a0) } else { @@ -209,7 +237,6 @@ func (_m *MockApiGatewayRepository) ListAllRestApiResources(_a0 string) ([]*apig } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -224,6 +251,10 @@ func (_m *MockApiGatewayRepository) ListAllRestApiStages(_a0 string) ([]*apigate ret := _m.Called(_a0) var r0 []*apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigateway.Stage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigateway.Stage); ok { r0 = rf(_a0) } else { @@ -232,7 +263,6 @@ func (_m *MockApiGatewayRepository) ListAllRestApiStages(_a0 string) ([]*apigate } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -247,6 +277,10 @@ func (_m *MockApiGatewayRepository) ListAllRestApis() ([]*apigateway.RestApi, er ret := _m.Called() var r0 []*apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigateway.RestApi, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigateway.RestApi); ok { r0 = rf() } else { @@ -255,7 +289,6 @@ func (_m *MockApiGatewayRepository) ListAllRestApis() ([]*apigateway.RestApi, er } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -270,6 +303,10 @@ func (_m *MockApiGatewayRepository) ListAllVpcLinks() ([]*apigateway.UpdateVpcLi ret := _m.Called() var r0 []*apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigateway.UpdateVpcLinkOutput); ok { r0 = rf() } else { @@ -278,7 +315,6 @@ func (_m *MockApiGatewayRepository) ListAllVpcLinks() ([]*apigateway.UpdateVpcLi } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -287,3 +323,18 @@ func (_m *MockApiGatewayRepository) ListAllVpcLinks() ([]*apigateway.UpdateVpcLi return r0, r1 } + +type mockConstructorTestingTNewMockApiGatewayRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockApiGatewayRepository creates a new instance of MockApiGatewayRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockApiGatewayRepository(t mockConstructorTestingTNewMockApiGatewayRepository) *MockApiGatewayRepository { + mock := &MockApiGatewayRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_ApiGatewayV2Repository.go b/enumeration/remote/aws/repository/mock_ApiGatewayV2Repository.go index 280bd0cd6..de236f022 100644 --- a/enumeration/remote/aws/repository/mock_ApiGatewayV2Repository.go +++ b/enumeration/remote/aws/repository/mock_ApiGatewayV2Repository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.4. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiAuthorizers(_a0 string) ([]*apig ret := _m.Called(_a0) var r0 []*apigatewayv2.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigatewayv2.Authorizer, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.Authorizer); ok { r0 = rf(_a0) } else { @@ -25,7 +29,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiAuthorizers(_a0 string) ([]*apig } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -40,6 +43,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiDeployments(apiId *string) ([]*a ret := _m.Called(apiId) var r0 []*apigatewayv2.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(*string) ([]*apigatewayv2.Deployment, error)); ok { + return rf(apiId) + } if rf, ok := ret.Get(0).(func(*string) []*apigatewayv2.Deployment); ok { r0 = rf(apiId) } else { @@ -48,7 +55,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiDeployments(apiId *string) ([]*a } } - var r1 error if rf, ok := ret.Get(1).(func(*string) error); ok { r1 = rf(apiId) } else { @@ -63,6 +69,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiIntegrationResponses(_a0 string, ret := _m.Called(_a0, _a1) var r0 []*apigatewayv2.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(string, string) ([]*apigatewayv2.IntegrationResponse, error)); ok { + return rf(_a0, _a1) + } if rf, ok := ret.Get(0).(func(string, string) []*apigatewayv2.IntegrationResponse); ok { r0 = rf(_a0, _a1) } else { @@ -71,7 +81,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiIntegrationResponses(_a0 string, } } - var r1 error if rf, ok := ret.Get(1).(func(string, string) error); ok { r1 = rf(_a0, _a1) } else { @@ -86,6 +95,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiIntegrations(_a0 string) ([]*api ret := _m.Called(_a0) var r0 []*apigatewayv2.Integration + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigatewayv2.Integration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.Integration); ok { r0 = rf(_a0) } else { @@ -94,7 +107,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiIntegrations(_a0 string) ([]*api } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -109,6 +121,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiMappings(_a0 string) ([]*apigate ret := _m.Called(_a0) var r0 []*apigatewayv2.ApiMapping + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigatewayv2.ApiMapping, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.ApiMapping); ok { r0 = rf(_a0) } else { @@ -117,7 +133,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiMappings(_a0 string) ([]*apigate } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -132,6 +147,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiModels(_a0 string) ([]*apigatewa ret := _m.Called(_a0) var r0 []*apigatewayv2.Model + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigatewayv2.Model, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.Model); ok { r0 = rf(_a0) } else { @@ -140,7 +159,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiModels(_a0 string) ([]*apigatewa } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -155,6 +173,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiRouteResponses(_a0 string, _a1 s ret := _m.Called(_a0, _a1) var r0 []*apigatewayv2.RouteResponse + var r1 error + if rf, ok := ret.Get(0).(func(string, string) ([]*apigatewayv2.RouteResponse, error)); ok { + return rf(_a0, _a1) + } if rf, ok := ret.Get(0).(func(string, string) []*apigatewayv2.RouteResponse); ok { r0 = rf(_a0, _a1) } else { @@ -163,7 +185,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiRouteResponses(_a0 string, _a1 s } } - var r1 error if rf, ok := ret.Get(1).(func(string, string) error); ok { r1 = rf(_a0, _a1) } else { @@ -178,6 +199,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiRoutes(apiId *string) ([]*apigat ret := _m.Called(apiId) var r0 []*apigatewayv2.Route + var r1 error + if rf, ok := ret.Get(0).(func(*string) ([]*apigatewayv2.Route, error)); ok { + return rf(apiId) + } if rf, ok := ret.Get(0).(func(*string) []*apigatewayv2.Route); ok { r0 = rf(apiId) } else { @@ -186,7 +211,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiRoutes(apiId *string) ([]*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*string) error); ok { r1 = rf(apiId) } else { @@ -201,6 +225,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApiStages(_a0 string) ([]*apigatewa ret := _m.Called(_a0) var r0 []*apigatewayv2.Stage + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*apigatewayv2.Stage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*apigatewayv2.Stage); ok { r0 = rf(_a0) } else { @@ -209,7 +237,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApiStages(_a0 string) ([]*apigatewa } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -224,6 +251,10 @@ func (_m *MockApiGatewayV2Repository) ListAllApis() ([]*apigatewayv2.Api, error) ret := _m.Called() var r0 []*apigatewayv2.Api + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigatewayv2.Api, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigatewayv2.Api); ok { r0 = rf() } else { @@ -232,7 +263,6 @@ func (_m *MockApiGatewayV2Repository) ListAllApis() ([]*apigatewayv2.Api, error) } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -247,6 +277,10 @@ func (_m *MockApiGatewayV2Repository) ListAllVpcLinks() ([]*apigatewayv2.VpcLink ret := _m.Called() var r0 []*apigatewayv2.VpcLink + var r1 error + if rf, ok := ret.Get(0).(func() ([]*apigatewayv2.VpcLink, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*apigatewayv2.VpcLink); ok { r0 = rf() } else { @@ -255,7 +289,6 @@ func (_m *MockApiGatewayV2Repository) ListAllVpcLinks() ([]*apigatewayv2.VpcLink } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -264,3 +297,18 @@ func (_m *MockApiGatewayV2Repository) ListAllVpcLinks() ([]*apigatewayv2.VpcLink return r0, r1 } + +type mockConstructorTestingTNewMockApiGatewayV2Repository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockApiGatewayV2Repository creates a new instance of MockApiGatewayV2Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockApiGatewayV2Repository(t mockConstructorTestingTNewMockApiGatewayV2Repository) *MockApiGatewayV2Repository { + mock := &MockApiGatewayV2Repository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_AppAutoScalingRepository.go b/enumeration/remote/aws/repository/mock_AppAutoScalingRepository.go index 19fec1e18..6000e4522 100644 --- a/enumeration/remote/aws/repository/mock_AppAutoScalingRepository.go +++ b/enumeration/remote/aws/repository/mock_AppAutoScalingRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockAppAutoScalingRepository) DescribeScalableTargets(_a0 string) ([]* ret := _m.Called(_a0) var r0 []*applicationautoscaling.ScalableTarget + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*applicationautoscaling.ScalableTarget, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*applicationautoscaling.ScalableTarget); ok { r0 = rf(_a0) } else { @@ -25,7 +29,6 @@ func (_m *MockAppAutoScalingRepository) DescribeScalableTargets(_a0 string) ([]* } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -40,6 +43,10 @@ func (_m *MockAppAutoScalingRepository) DescribeScalingPolicies(_a0 string) ([]* ret := _m.Called(_a0) var r0 []*applicationautoscaling.ScalingPolicy + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*applicationautoscaling.ScalingPolicy, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*applicationautoscaling.ScalingPolicy); ok { r0 = rf(_a0) } else { @@ -48,7 +55,6 @@ func (_m *MockAppAutoScalingRepository) DescribeScalingPolicies(_a0 string) ([]* } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -63,6 +69,10 @@ func (_m *MockAppAutoScalingRepository) DescribeScheduledActions(_a0 string) ([] ret := _m.Called(_a0) var r0 []*applicationautoscaling.ScheduledAction + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*applicationautoscaling.ScheduledAction, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(string) []*applicationautoscaling.ScheduledAction); ok { r0 = rf(_a0) } else { @@ -71,7 +81,6 @@ func (_m *MockAppAutoScalingRepository) DescribeScheduledActions(_a0 string) ([] } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(_a0) } else { @@ -96,3 +105,18 @@ func (_m *MockAppAutoScalingRepository) ServiceNamespaceValues() []string { return r0 } + +type mockConstructorTestingTNewMockAppAutoScalingRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockAppAutoScalingRepository creates a new instance of MockAppAutoScalingRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockAppAutoScalingRepository(t mockConstructorTestingTNewMockAppAutoScalingRepository) *MockAppAutoScalingRepository { + mock := &MockAppAutoScalingRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_AutoScalingRepository.go b/enumeration/remote/aws/repository/mock_AutoScalingRepository.go index 452696df4..6398d9efe 100644 --- a/enumeration/remote/aws/repository/mock_AutoScalingRepository.go +++ b/enumeration/remote/aws/repository/mock_AutoScalingRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.8.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockAutoScalingRepository) DescribeLaunchConfigurations() ([]*autoscal ret := _m.Called() var r0 []*autoscaling.LaunchConfiguration + var r1 error + if rf, ok := ret.Get(0).(func() ([]*autoscaling.LaunchConfiguration, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*autoscaling.LaunchConfiguration); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockAutoScalingRepository) DescribeLaunchConfigurations() ([]*autoscal } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockAutoScalingRepository) DescribeLaunchConfigurations() ([]*autoscal return r0, r1 } + +type mockConstructorTestingTNewMockAutoScalingRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockAutoScalingRepository creates a new instance of MockAutoScalingRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockAutoScalingRepository(t mockConstructorTestingTNewMockAutoScalingRepository) *MockAutoScalingRepository { + mock := &MockAutoScalingRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_CloudformationRepository.go b/enumeration/remote/aws/repository/mock_CloudformationRepository.go index b77332293..ae4137604 100644 --- a/enumeration/remote/aws/repository/mock_CloudformationRepository.go +++ b/enumeration/remote/aws/repository/mock_CloudformationRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockCloudformationRepository) ListAllStacks() ([]*cloudformation.Stack ret := _m.Called() var r0 []*cloudformation.Stack + var r1 error + if rf, ok := ret.Get(0).(func() ([]*cloudformation.Stack, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*cloudformation.Stack); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockCloudformationRepository) ListAllStacks() ([]*cloudformation.Stack } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockCloudformationRepository) ListAllStacks() ([]*cloudformation.Stack return r0, r1 } + +type mockConstructorTestingTNewMockCloudformationRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockCloudformationRepository creates a new instance of MockCloudformationRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockCloudformationRepository(t mockConstructorTestingTNewMockCloudformationRepository) *MockCloudformationRepository { + mock := &MockCloudformationRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_CloudfrontRepository.go b/enumeration/remote/aws/repository/mock_CloudfrontRepository.go index cf0e6a619..9e960bddf 100644 --- a/enumeration/remote/aws/repository/mock_CloudfrontRepository.go +++ b/enumeration/remote/aws/repository/mock_CloudfrontRepository.go @@ -1,13 +1,13 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/aws/aws-sdk-go/service/cloudfront" - "github.com/stretchr/testify/mock" + cloudfront "github.com/aws/aws-sdk-go/service/cloudfront" + mock "github.com/stretchr/testify/mock" ) -// MockCloudfrontRepository is an autogenerated mock type for the MockCloudfrontRepository type +// MockCloudfrontRepository is an autogenerated mock type for the CloudfrontRepository type type MockCloudfrontRepository struct { mock.Mock } @@ -17,6 +17,10 @@ func (_m *MockCloudfrontRepository) ListAllDistributions() ([]*cloudfront.Distri ret := _m.Called() var r0 []*cloudfront.DistributionSummary + var r1 error + if rf, ok := ret.Get(0).(func() ([]*cloudfront.DistributionSummary, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*cloudfront.DistributionSummary); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockCloudfrontRepository) ListAllDistributions() ([]*cloudfront.Distri } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockCloudfrontRepository) ListAllDistributions() ([]*cloudfront.Distri return r0, r1 } + +type mockConstructorTestingTNewMockCloudfrontRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockCloudfrontRepository creates a new instance of MockCloudfrontRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockCloudfrontRepository(t mockConstructorTestingTNewMockCloudfrontRepository) *MockCloudfrontRepository { + mock := &MockCloudfrontRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_DynamoDBRepository.go b/enumeration/remote/aws/repository/mock_DynamoDBRepository.go index 28c5fc867..884bc4e4f 100644 --- a/enumeration/remote/aws/repository/mock_DynamoDBRepository.go +++ b/enumeration/remote/aws/repository/mock_DynamoDBRepository.go @@ -1,10 +1,10 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository -import "github.com/stretchr/testify/mock" +import mock "github.com/stretchr/testify/mock" -// MockDynamoDBRepository is an autogenerated mock type for the MockDynamoDBRepository type +// MockDynamoDBRepository is an autogenerated mock type for the DynamoDBRepository type type MockDynamoDBRepository struct { mock.Mock } @@ -14,6 +14,10 @@ func (_m *MockDynamoDBRepository) ListAllTables() ([]*string, error) { ret := _m.Called() var r0 []*string + var r1 error + if rf, ok := ret.Get(0).(func() ([]*string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*string); ok { r0 = rf() } else { @@ -22,7 +26,6 @@ func (_m *MockDynamoDBRepository) ListAllTables() ([]*string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -31,3 +34,18 @@ func (_m *MockDynamoDBRepository) ListAllTables() ([]*string, error) { return r0, r1 } + +type mockConstructorTestingTNewMockDynamoDBRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockDynamoDBRepository creates a new instance of MockDynamoDBRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockDynamoDBRepository(t mockConstructorTestingTNewMockDynamoDBRepository) *MockDynamoDBRepository { + mock := &MockDynamoDBRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_EC2Repository.go b/enumeration/remote/aws/repository/mock_EC2Repository.go index 2c080b417..878dcf600 100644 --- a/enumeration/remote/aws/repository/mock_EC2Repository.go +++ b/enumeration/remote/aws/repository/mock_EC2Repository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockEC2Repository) DescribeLaunchTemplates() ([]*ec2.LaunchTemplate, e ret := _m.Called() var r0 []*ec2.LaunchTemplate + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.LaunchTemplate, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.LaunchTemplate); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockEC2Repository) DescribeLaunchTemplates() ([]*ec2.LaunchTemplate, e } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,13 +43,16 @@ func (_m *MockEC2Repository) IsEbsEncryptionEnabledByDefault() (bool, error) { ret := _m.Called() var r0 bool + var r1 error + if rf, ok := ret.Get(0).(func() (bool, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() bool); ok { r0 = rf() } else { r0 = ret.Get(0).(bool) } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -61,6 +67,10 @@ func (_m *MockEC2Repository) ListAllAddresses() ([]*ec2.Address, error) { ret := _m.Called() var r0 []*ec2.Address + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Address, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Address); ok { r0 = rf() } else { @@ -69,7 +79,6 @@ func (_m *MockEC2Repository) ListAllAddresses() ([]*ec2.Address, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -84,6 +93,10 @@ func (_m *MockEC2Repository) ListAllAddressesAssociation() ([]*ec2.Address, erro ret := _m.Called() var r0 []*ec2.Address + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Address, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Address); ok { r0 = rf() } else { @@ -92,7 +105,6 @@ func (_m *MockEC2Repository) ListAllAddressesAssociation() ([]*ec2.Address, erro } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -107,6 +119,10 @@ func (_m *MockEC2Repository) ListAllImages() ([]*ec2.Image, error) { ret := _m.Called() var r0 []*ec2.Image + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Image, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Image); ok { r0 = rf() } else { @@ -115,7 +131,6 @@ func (_m *MockEC2Repository) ListAllImages() ([]*ec2.Image, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -130,6 +145,10 @@ func (_m *MockEC2Repository) ListAllInstances() ([]*ec2.Instance, error) { ret := _m.Called() var r0 []*ec2.Instance + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Instance, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Instance); ok { r0 = rf() } else { @@ -138,7 +157,6 @@ func (_m *MockEC2Repository) ListAllInstances() ([]*ec2.Instance, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -153,6 +171,10 @@ func (_m *MockEC2Repository) ListAllInternetGateways() ([]*ec2.InternetGateway, ret := _m.Called() var r0 []*ec2.InternetGateway + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.InternetGateway, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.InternetGateway); ok { r0 = rf() } else { @@ -161,7 +183,6 @@ func (_m *MockEC2Repository) ListAllInternetGateways() ([]*ec2.InternetGateway, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -176,6 +197,10 @@ func (_m *MockEC2Repository) ListAllKeyPairs() ([]*ec2.KeyPairInfo, error) { ret := _m.Called() var r0 []*ec2.KeyPairInfo + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.KeyPairInfo, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.KeyPairInfo); ok { r0 = rf() } else { @@ -184,7 +209,6 @@ func (_m *MockEC2Repository) ListAllKeyPairs() ([]*ec2.KeyPairInfo, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -199,6 +223,10 @@ func (_m *MockEC2Repository) ListAllNatGateways() ([]*ec2.NatGateway, error) { ret := _m.Called() var r0 []*ec2.NatGateway + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.NatGateway, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.NatGateway); ok { r0 = rf() } else { @@ -207,7 +235,6 @@ func (_m *MockEC2Repository) ListAllNatGateways() ([]*ec2.NatGateway, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -222,6 +249,10 @@ func (_m *MockEC2Repository) ListAllNetworkACLs() ([]*ec2.NetworkAcl, error) { ret := _m.Called() var r0 []*ec2.NetworkAcl + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.NetworkAcl, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.NetworkAcl); ok { r0 = rf() } else { @@ -230,7 +261,6 @@ func (_m *MockEC2Repository) ListAllNetworkACLs() ([]*ec2.NetworkAcl, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -245,6 +275,10 @@ func (_m *MockEC2Repository) ListAllRouteTables() ([]*ec2.RouteTable, error) { ret := _m.Called() var r0 []*ec2.RouteTable + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.RouteTable, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.RouteTable); ok { r0 = rf() } else { @@ -253,7 +287,6 @@ func (_m *MockEC2Repository) ListAllRouteTables() ([]*ec2.RouteTable, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -268,6 +301,11 @@ func (_m *MockEC2Repository) ListAllSecurityGroups() ([]*ec2.SecurityGroup, []*e ret := _m.Called() var r0 []*ec2.SecurityGroup + var r1 []*ec2.SecurityGroup + var r2 error + if rf, ok := ret.Get(0).(func() ([]*ec2.SecurityGroup, []*ec2.SecurityGroup, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.SecurityGroup); ok { r0 = rf() } else { @@ -276,7 +314,6 @@ func (_m *MockEC2Repository) ListAllSecurityGroups() ([]*ec2.SecurityGroup, []*e } } - var r1 []*ec2.SecurityGroup if rf, ok := ret.Get(1).(func() []*ec2.SecurityGroup); ok { r1 = rf() } else { @@ -285,7 +322,6 @@ func (_m *MockEC2Repository) ListAllSecurityGroups() ([]*ec2.SecurityGroup, []*e } } - var r2 error if rf, ok := ret.Get(2).(func() error); ok { r2 = rf() } else { @@ -300,6 +336,10 @@ func (_m *MockEC2Repository) ListAllSnapshots() ([]*ec2.Snapshot, error) { ret := _m.Called() var r0 []*ec2.Snapshot + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Snapshot, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Snapshot); ok { r0 = rf() } else { @@ -308,7 +348,6 @@ func (_m *MockEC2Repository) ListAllSnapshots() ([]*ec2.Snapshot, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -323,6 +362,11 @@ func (_m *MockEC2Repository) ListAllSubnets() ([]*ec2.Subnet, []*ec2.Subnet, err ret := _m.Called() var r0 []*ec2.Subnet + var r1 []*ec2.Subnet + var r2 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Subnet, []*ec2.Subnet, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Subnet); ok { r0 = rf() } else { @@ -331,7 +375,6 @@ func (_m *MockEC2Repository) ListAllSubnets() ([]*ec2.Subnet, []*ec2.Subnet, err } } - var r1 []*ec2.Subnet if rf, ok := ret.Get(1).(func() []*ec2.Subnet); ok { r1 = rf() } else { @@ -340,7 +383,6 @@ func (_m *MockEC2Repository) ListAllSubnets() ([]*ec2.Subnet, []*ec2.Subnet, err } } - var r2 error if rf, ok := ret.Get(2).(func() error); ok { r2 = rf() } else { @@ -355,6 +397,11 @@ func (_m *MockEC2Repository) ListAllVPCs() ([]*ec2.Vpc, []*ec2.Vpc, error) { ret := _m.Called() var r0 []*ec2.Vpc + var r1 []*ec2.Vpc + var r2 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Vpc, []*ec2.Vpc, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Vpc); ok { r0 = rf() } else { @@ -363,7 +410,6 @@ func (_m *MockEC2Repository) ListAllVPCs() ([]*ec2.Vpc, []*ec2.Vpc, error) { } } - var r1 []*ec2.Vpc if rf, ok := ret.Get(1).(func() []*ec2.Vpc); ok { r1 = rf() } else { @@ -372,7 +418,6 @@ func (_m *MockEC2Repository) ListAllVPCs() ([]*ec2.Vpc, []*ec2.Vpc, error) { } } - var r2 error if rf, ok := ret.Get(2).(func() error); ok { r2 = rf() } else { @@ -387,6 +432,10 @@ func (_m *MockEC2Repository) ListAllVolumes() ([]*ec2.Volume, error) { ret := _m.Called() var r0 []*ec2.Volume + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ec2.Volume, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ec2.Volume); ok { r0 = rf() } else { @@ -395,7 +444,6 @@ func (_m *MockEC2Repository) ListAllVolumes() ([]*ec2.Volume, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -404,3 +452,18 @@ func (_m *MockEC2Repository) ListAllVolumes() ([]*ec2.Volume, error) { return r0, r1 } + +type mockConstructorTestingTNewMockEC2Repository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockEC2Repository creates a new instance of MockEC2Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockEC2Repository(t mockConstructorTestingTNewMockEC2Repository) *MockEC2Repository { + mock := &MockEC2Repository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_ECRRepository.go b/enumeration/remote/aws/repository/mock_ECRRepository.go index af20ce592..7ce54736c 100644 --- a/enumeration/remote/aws/repository/mock_ECRRepository.go +++ b/enumeration/remote/aws/repository/mock_ECRRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockECRRepository) GetRepositoryPolicy(_a0 *ecr.Repository) (*ecr.GetR ret := _m.Called(_a0) var r0 *ecr.GetRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.Repository) (*ecr.GetRepositoryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.Repository) *ecr.GetRepositoryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -25,7 +29,6 @@ func (_m *MockECRRepository) GetRepositoryPolicy(_a0 *ecr.Repository) (*ecr.GetR } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.Repository) error); ok { r1 = rf(_a0) } else { @@ -40,6 +43,10 @@ func (_m *MockECRRepository) ListAllRepositories() ([]*ecr.Repository, error) { ret := _m.Called() var r0 []*ecr.Repository + var r1 error + if rf, ok := ret.Get(0).(func() ([]*ecr.Repository, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*ecr.Repository); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockECRRepository) ListAllRepositories() ([]*ecr.Repository, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockECRRepository) ListAllRepositories() ([]*ecr.Repository, error) { return r0, r1 } + +type mockConstructorTestingTNewMockECRRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockECRRepository creates a new instance of MockECRRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockECRRepository(t mockConstructorTestingTNewMockECRRepository) *MockECRRepository { + mock := &MockECRRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_ELBRepository.go b/enumeration/remote/aws/repository/mock_ELBRepository.go index 23b7723cd..0aba167c1 100644 --- a/enumeration/remote/aws/repository/mock_ELBRepository.go +++ b/enumeration/remote/aws/repository/mock_ELBRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockELBRepository) ListAllLoadBalancers() ([]*elb.LoadBalancerDescript ret := _m.Called() var r0 []*elb.LoadBalancerDescription + var r1 error + if rf, ok := ret.Get(0).(func() ([]*elb.LoadBalancerDescription, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*elb.LoadBalancerDescription); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockELBRepository) ListAllLoadBalancers() ([]*elb.LoadBalancerDescript } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockELBRepository) ListAllLoadBalancers() ([]*elb.LoadBalancerDescript return r0, r1 } + +type mockConstructorTestingTNewMockELBRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockELBRepository creates a new instance of MockELBRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockELBRepository(t mockConstructorTestingTNewMockELBRepository) *MockELBRepository { + mock := &MockELBRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_ELBV2Repository.go b/enumeration/remote/aws/repository/mock_ELBV2Repository.go index 18c3b9e32..a6f533308 100644 --- a/enumeration/remote/aws/repository/mock_ELBV2Repository.go +++ b/enumeration/remote/aws/repository/mock_ELBV2Repository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -12,11 +12,41 @@ type MockELBV2Repository struct { mock.Mock } +// ListAllLoadBalancerListeners provides a mock function with given fields: _a0 +func (_m *MockELBV2Repository) ListAllLoadBalancerListeners(_a0 string) ([]*elbv2.Listener, error) { + ret := _m.Called(_a0) + + var r0 []*elbv2.Listener + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*elbv2.Listener, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(string) []*elbv2.Listener); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).([]*elbv2.Listener) + } + } + + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListAllLoadBalancers provides a mock function with given fields: func (_m *MockELBV2Repository) ListAllLoadBalancers() ([]*elbv2.LoadBalancer, error) { ret := _m.Called() var r0 []*elbv2.LoadBalancer + var r1 error + if rf, ok := ret.Get(0).(func() ([]*elbv2.LoadBalancer, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*elbv2.LoadBalancer); ok { r0 = rf() } else { @@ -25,7 +55,6 @@ func (_m *MockELBV2Repository) ListAllLoadBalancers() ([]*elbv2.LoadBalancer, er } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -35,25 +64,17 @@ func (_m *MockELBV2Repository) ListAllLoadBalancers() ([]*elbv2.LoadBalancer, er return r0, r1 } -// ListLoadBalancerListeners provides a mock function with given fields: _a0 -func (_m *MockELBV2Repository) ListAllLoadBalancerListeners(_a0 string) ([]*elbv2.Listener, error) { - ret := _m.Called(_a0) +type mockConstructorTestingTNewMockELBV2Repository interface { + mock.TestingT + Cleanup(func()) +} - var r0 []*elbv2.Listener - if rf, ok := ret.Get(0).(func(string) []*elbv2.Listener); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).([]*elbv2.Listener) - } - } +// NewMockELBV2Repository creates a new instance of MockELBV2Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockELBV2Repository(t mockConstructorTestingTNewMockELBV2Repository) *MockELBV2Repository { + mock := &MockELBV2Repository{} + mock.Mock.Test(t) - var r1 error - if rf, ok := ret.Get(1).(func(string) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } + t.Cleanup(func() { mock.AssertExpectations(t) }) - return r0, r1 + return mock } diff --git a/enumeration/remote/aws/repository/mock_ElastiCacheRepository.go b/enumeration/remote/aws/repository/mock_ElastiCacheRepository.go index 547c94384..70b127913 100644 --- a/enumeration/remote/aws/repository/mock_ElastiCacheRepository.go +++ b/enumeration/remote/aws/repository/mock_ElastiCacheRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.4. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockElastiCacheRepository) ListAllCacheClusters() ([]*elasticache.Cach ret := _m.Called() var r0 []*elasticache.CacheCluster + var r1 error + if rf, ok := ret.Get(0).(func() ([]*elasticache.CacheCluster, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*elasticache.CacheCluster); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockElastiCacheRepository) ListAllCacheClusters() ([]*elasticache.Cach } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockElastiCacheRepository) ListAllCacheClusters() ([]*elasticache.Cach return r0, r1 } + +type mockConstructorTestingTNewMockElastiCacheRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockElastiCacheRepository creates a new instance of MockElastiCacheRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockElastiCacheRepository(t mockConstructorTestingTNewMockElastiCacheRepository) *MockElastiCacheRepository { + mock := &MockElastiCacheRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_IAMRepository.go b/enumeration/remote/aws/repository/mock_IAMRepository.go index 2dfda99b3..43ad6565e 100644 --- a/enumeration/remote/aws/repository/mock_IAMRepository.go +++ b/enumeration/remote/aws/repository/mock_IAMRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockIAMRepository) ListAllAccessKeys(_a0 []*iam.User) ([]*iam.AccessKe ret := _m.Called(_a0) var r0 []*iam.AccessKeyMetadata + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.User) ([]*iam.AccessKeyMetadata, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.User) []*iam.AccessKeyMetadata); ok { r0 = rf(_a0) } else { @@ -25,7 +29,6 @@ func (_m *MockIAMRepository) ListAllAccessKeys(_a0 []*iam.User) ([]*iam.AccessKe } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.User) error); ok { r1 = rf(_a0) } else { @@ -40,6 +43,10 @@ func (_m *MockIAMRepository) ListAllGroupPolicies(_a0 []*iam.Group) ([]string, e ret := _m.Called(_a0) var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.Group) ([]string, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.Group) []string); ok { r0 = rf(_a0) } else { @@ -48,7 +55,6 @@ func (_m *MockIAMRepository) ListAllGroupPolicies(_a0 []*iam.Group) ([]string, e } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.Group) error); ok { r1 = rf(_a0) } else { @@ -63,6 +69,10 @@ func (_m *MockIAMRepository) ListAllGroupPolicyAttachments(_a0 []*iam.Group) ([] ret := _m.Called(_a0) var r0 []*AttachedGroupPolicy + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.Group) ([]*AttachedGroupPolicy, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.Group) []*AttachedGroupPolicy); ok { r0 = rf(_a0) } else { @@ -71,7 +81,6 @@ func (_m *MockIAMRepository) ListAllGroupPolicyAttachments(_a0 []*iam.Group) ([] } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.Group) error); ok { r1 = rf(_a0) } else { @@ -86,6 +95,10 @@ func (_m *MockIAMRepository) ListAllGroups() ([]*iam.Group, error) { ret := _m.Called() var r0 []*iam.Group + var r1 error + if rf, ok := ret.Get(0).(func() ([]*iam.Group, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*iam.Group); ok { r0 = rf() } else { @@ -94,7 +107,6 @@ func (_m *MockIAMRepository) ListAllGroups() ([]*iam.Group, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -109,6 +121,10 @@ func (_m *MockIAMRepository) ListAllPolicies() ([]*iam.Policy, error) { ret := _m.Called() var r0 []*iam.Policy + var r1 error + if rf, ok := ret.Get(0).(func() ([]*iam.Policy, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*iam.Policy); ok { r0 = rf() } else { @@ -117,7 +133,6 @@ func (_m *MockIAMRepository) ListAllPolicies() ([]*iam.Policy, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -132,6 +147,10 @@ func (_m *MockIAMRepository) ListAllRolePolicies(_a0 []*iam.Role) ([]RolePolicy, ret := _m.Called(_a0) var r0 []RolePolicy + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.Role) ([]RolePolicy, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.Role) []RolePolicy); ok { r0 = rf(_a0) } else { @@ -140,7 +159,6 @@ func (_m *MockIAMRepository) ListAllRolePolicies(_a0 []*iam.Role) ([]RolePolicy, } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.Role) error); ok { r1 = rf(_a0) } else { @@ -155,6 +173,10 @@ func (_m *MockIAMRepository) ListAllRolePolicyAttachments(_a0 []*iam.Role) ([]*A ret := _m.Called(_a0) var r0 []*AttachedRolePolicy + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.Role) ([]*AttachedRolePolicy, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.Role) []*AttachedRolePolicy); ok { r0 = rf(_a0) } else { @@ -163,7 +185,6 @@ func (_m *MockIAMRepository) ListAllRolePolicyAttachments(_a0 []*iam.Role) ([]*A } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.Role) error); ok { r1 = rf(_a0) } else { @@ -178,6 +199,10 @@ func (_m *MockIAMRepository) ListAllRoles() ([]*iam.Role, error) { ret := _m.Called() var r0 []*iam.Role + var r1 error + if rf, ok := ret.Get(0).(func() ([]*iam.Role, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*iam.Role); ok { r0 = rf() } else { @@ -186,7 +211,6 @@ func (_m *MockIAMRepository) ListAllRoles() ([]*iam.Role, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -201,6 +225,10 @@ func (_m *MockIAMRepository) ListAllUserPolicies(_a0 []*iam.User) ([]string, err ret := _m.Called(_a0) var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.User) ([]string, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.User) []string); ok { r0 = rf(_a0) } else { @@ -209,7 +237,6 @@ func (_m *MockIAMRepository) ListAllUserPolicies(_a0 []*iam.User) ([]string, err } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.User) error); ok { r1 = rf(_a0) } else { @@ -224,6 +251,10 @@ func (_m *MockIAMRepository) ListAllUserPolicyAttachments(_a0 []*iam.User) ([]*A ret := _m.Called(_a0) var r0 []*AttachedUserPolicy + var r1 error + if rf, ok := ret.Get(0).(func([]*iam.User) ([]*AttachedUserPolicy, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func([]*iam.User) []*AttachedUserPolicy); ok { r0 = rf(_a0) } else { @@ -232,7 +263,6 @@ func (_m *MockIAMRepository) ListAllUserPolicyAttachments(_a0 []*iam.User) ([]*A } } - var r1 error if rf, ok := ret.Get(1).(func([]*iam.User) error); ok { r1 = rf(_a0) } else { @@ -247,6 +277,10 @@ func (_m *MockIAMRepository) ListAllUsers() ([]*iam.User, error) { ret := _m.Called() var r0 []*iam.User + var r1 error + if rf, ok := ret.Get(0).(func() ([]*iam.User, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*iam.User); ok { r0 = rf() } else { @@ -255,7 +289,6 @@ func (_m *MockIAMRepository) ListAllUsers() ([]*iam.User, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -264,3 +297,18 @@ func (_m *MockIAMRepository) ListAllUsers() ([]*iam.User, error) { return r0, r1 } + +type mockConstructorTestingTNewMockIAMRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockIAMRepository creates a new instance of MockIAMRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockIAMRepository(t mockConstructorTestingTNewMockIAMRepository) *MockIAMRepository { + mock := &MockIAMRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_KMSRepository.go b/enumeration/remote/aws/repository/mock_KMSRepository.go index f4b9a45eb..e068f80ce 100644 --- a/enumeration/remote/aws/repository/mock_KMSRepository.go +++ b/enumeration/remote/aws/repository/mock_KMSRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockKMSRepository) ListAllAliases() ([]*kms.AliasListEntry, error) { ret := _m.Called() var r0 []*kms.AliasListEntry + var r1 error + if rf, ok := ret.Get(0).(func() ([]*kms.AliasListEntry, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*kms.AliasListEntry); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockKMSRepository) ListAllAliases() ([]*kms.AliasListEntry, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockKMSRepository) ListAllKeys() ([]*kms.KeyListEntry, error) { ret := _m.Called() var r0 []*kms.KeyListEntry + var r1 error + if rf, ok := ret.Get(0).(func() ([]*kms.KeyListEntry, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*kms.KeyListEntry); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockKMSRepository) ListAllKeys() ([]*kms.KeyListEntry, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockKMSRepository) ListAllKeys() ([]*kms.KeyListEntry, error) { return r0, r1 } + +type mockConstructorTestingTNewMockKMSRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockKMSRepository creates a new instance of MockKMSRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockKMSRepository(t mockConstructorTestingTNewMockKMSRepository) *MockKMSRepository { + mock := &MockKMSRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_LambdaRepository.go b/enumeration/remote/aws/repository/mock_LambdaRepository.go index 63b1d2228..202809437 100644 --- a/enumeration/remote/aws/repository/mock_LambdaRepository.go +++ b/enumeration/remote/aws/repository/mock_LambdaRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockLambdaRepository) ListAllLambdaEventSourceMappings() ([]*lambda.Ev ret := _m.Called() var r0 []*lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func() ([]*lambda.EventSourceMappingConfiguration, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*lambda.EventSourceMappingConfiguration); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockLambdaRepository) ListAllLambdaEventSourceMappings() ([]*lambda.Ev } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockLambdaRepository) ListAllLambdaFunctions() ([]*lambda.FunctionConf ret := _m.Called() var r0 []*lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func() ([]*lambda.FunctionConfiguration, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*lambda.FunctionConfiguration); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockLambdaRepository) ListAllLambdaFunctions() ([]*lambda.FunctionConf } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockLambdaRepository) ListAllLambdaFunctions() ([]*lambda.FunctionConf return r0, r1 } + +type mockConstructorTestingTNewMockLambdaRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockLambdaRepository creates a new instance of MockLambdaRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockLambdaRepository(t mockConstructorTestingTNewMockLambdaRepository) *MockLambdaRepository { + mock := &MockLambdaRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_RDSRepository.go b/enumeration/remote/aws/repository/mock_RDSRepository.go index 8620d7f09..7e4e9298e 100644 --- a/enumeration/remote/aws/repository/mock_RDSRepository.go +++ b/enumeration/remote/aws/repository/mock_RDSRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockRDSRepository) ListAllDBClusters() ([]*rds.DBCluster, error) { ret := _m.Called() var r0 []*rds.DBCluster + var r1 error + if rf, ok := ret.Get(0).(func() ([]*rds.DBCluster, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*rds.DBCluster); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockRDSRepository) ListAllDBClusters() ([]*rds.DBCluster, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockRDSRepository) ListAllDBInstances() ([]*rds.DBInstance, error) { ret := _m.Called() var r0 []*rds.DBInstance + var r1 error + if rf, ok := ret.Get(0).(func() ([]*rds.DBInstance, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*rds.DBInstance); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockRDSRepository) ListAllDBInstances() ([]*rds.DBInstance, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -63,6 +69,10 @@ func (_m *MockRDSRepository) ListAllDBSubnetGroups() ([]*rds.DBSubnetGroup, erro ret := _m.Called() var r0 []*rds.DBSubnetGroup + var r1 error + if rf, ok := ret.Get(0).(func() ([]*rds.DBSubnetGroup, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*rds.DBSubnetGroup); ok { r0 = rf() } else { @@ -71,7 +81,6 @@ func (_m *MockRDSRepository) ListAllDBSubnetGroups() ([]*rds.DBSubnetGroup, erro } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -80,3 +89,18 @@ func (_m *MockRDSRepository) ListAllDBSubnetGroups() ([]*rds.DBSubnetGroup, erro return r0, r1 } + +type mockConstructorTestingTNewMockRDSRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockRDSRepository creates a new instance of MockRDSRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockRDSRepository(t mockConstructorTestingTNewMockRDSRepository) *MockRDSRepository { + mock := &MockRDSRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_Route53Repository.go b/enumeration/remote/aws/repository/mock_Route53Repository.go index 08fd833dd..c7470230e 100644 --- a/enumeration/remote/aws/repository/mock_Route53Repository.go +++ b/enumeration/remote/aws/repository/mock_Route53Repository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockRoute53Repository) ListAllHealthChecks() ([]*route53.HealthCheck, ret := _m.Called() var r0 []*route53.HealthCheck + var r1 error + if rf, ok := ret.Get(0).(func() ([]*route53.HealthCheck, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*route53.HealthCheck); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockRoute53Repository) ListAllHealthChecks() ([]*route53.HealthCheck, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockRoute53Repository) ListAllZones() ([]*route53.HostedZone, error) { ret := _m.Called() var r0 []*route53.HostedZone + var r1 error + if rf, ok := ret.Get(0).(func() ([]*route53.HostedZone, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*route53.HostedZone); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockRoute53Repository) ListAllZones() ([]*route53.HostedZone, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -63,6 +69,10 @@ func (_m *MockRoute53Repository) ListRecordsForZone(zoneId string) ([]*route53.R ret := _m.Called(zoneId) var r0 []*route53.ResourceRecordSet + var r1 error + if rf, ok := ret.Get(0).(func(string) ([]*route53.ResourceRecordSet, error)); ok { + return rf(zoneId) + } if rf, ok := ret.Get(0).(func(string) []*route53.ResourceRecordSet); ok { r0 = rf(zoneId) } else { @@ -71,7 +81,6 @@ func (_m *MockRoute53Repository) ListRecordsForZone(zoneId string) ([]*route53.R } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(zoneId) } else { @@ -80,3 +89,18 @@ func (_m *MockRoute53Repository) ListRecordsForZone(zoneId string) ([]*route53.R return r0, r1 } + +type mockConstructorTestingTNewMockRoute53Repository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockRoute53Repository creates a new instance of MockRoute53Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockRoute53Repository(t mockConstructorTestingTNewMockRoute53Repository) *MockRoute53Repository { + mock := &MockRoute53Repository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_S3ControlRepository.go b/enumeration/remote/aws/repository/mock_S3ControlRepository.go index 4b220bbbf..0e4bd64c6 100644 --- a/enumeration/remote/aws/repository/mock_S3ControlRepository.go +++ b/enumeration/remote/aws/repository/mock_S3ControlRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockS3ControlRepository) DescribeAccountPublicAccessBlock(accountID st ret := _m.Called(accountID) var r0 *s3control.PublicAccessBlockConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(string) (*s3control.PublicAccessBlockConfiguration, error)); ok { + return rf(accountID) + } if rf, ok := ret.Get(0).(func(string) *s3control.PublicAccessBlockConfiguration); ok { r0 = rf(accountID) } else { @@ -25,7 +29,6 @@ func (_m *MockS3ControlRepository) DescribeAccountPublicAccessBlock(accountID st } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(accountID) } else { diff --git a/enumeration/remote/aws/repository/mock_S3Repository.go b/enumeration/remote/aws/repository/mock_S3Repository.go index e3e879b38..4bc3cb864 100644 --- a/enumeration/remote/aws/repository/mock_S3Repository.go +++ b/enumeration/remote/aws/repository/mock_S3Repository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,13 +17,16 @@ func (_m *MockS3Repository) GetBucketLocation(bucketName string) (string, error) ret := _m.Called(bucketName) var r0 string + var r1 error + if rf, ok := ret.Get(0).(func(string) (string, error)); ok { + return rf(bucketName) + } if rf, ok := ret.Get(0).(func(string) string); ok { r0 = rf(bucketName) } else { r0 = ret.Get(0).(string) } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(bucketName) } else { @@ -38,6 +41,10 @@ func (_m *MockS3Repository) GetBucketNotification(bucketName string, region stri ret := _m.Called(bucketName, region) var r0 *s3.NotificationConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(string, string) (*s3.NotificationConfiguration, error)); ok { + return rf(bucketName, region) + } if rf, ok := ret.Get(0).(func(string, string) *s3.NotificationConfiguration); ok { r0 = rf(bucketName, region) } else { @@ -46,7 +53,6 @@ func (_m *MockS3Repository) GetBucketNotification(bucketName string, region stri } } - var r1 error if rf, ok := ret.Get(1).(func(string, string) error); ok { r1 = rf(bucketName, region) } else { @@ -61,6 +67,10 @@ func (_m *MockS3Repository) GetBucketPolicy(bucketName string, region string) (* ret := _m.Called(bucketName, region) var r0 *string + var r1 error + if rf, ok := ret.Get(0).(func(string, string) (*string, error)); ok { + return rf(bucketName, region) + } if rf, ok := ret.Get(0).(func(string, string) *string); ok { r0 = rf(bucketName, region) } else { @@ -69,7 +79,6 @@ func (_m *MockS3Repository) GetBucketPolicy(bucketName string, region string) (* } } - var r1 error if rf, ok := ret.Get(1).(func(string, string) error); ok { r1 = rf(bucketName, region) } else { @@ -84,6 +93,10 @@ func (_m *MockS3Repository) GetBucketPublicAccessBlock(bucketName string, region ret := _m.Called(bucketName, region) var r0 *s3.PublicAccessBlockConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(string, string) (*s3.PublicAccessBlockConfiguration, error)); ok { + return rf(bucketName, region) + } if rf, ok := ret.Get(0).(func(string, string) *s3.PublicAccessBlockConfiguration); ok { r0 = rf(bucketName, region) } else { @@ -92,7 +105,6 @@ func (_m *MockS3Repository) GetBucketPublicAccessBlock(bucketName string, region } } - var r1 error if rf, ok := ret.Get(1).(func(string, string) error); ok { r1 = rf(bucketName, region) } else { @@ -107,6 +119,10 @@ func (_m *MockS3Repository) ListAllBuckets() ([]*s3.Bucket, error) { ret := _m.Called() var r0 []*s3.Bucket + var r1 error + if rf, ok := ret.Get(0).(func() ([]*s3.Bucket, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*s3.Bucket); ok { r0 = rf() } else { @@ -115,7 +131,6 @@ func (_m *MockS3Repository) ListAllBuckets() ([]*s3.Bucket, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -130,6 +145,10 @@ func (_m *MockS3Repository) ListBucketAnalyticsConfigurations(bucket *s3.Bucket, ret := _m.Called(bucket, region) var r0 []*s3.AnalyticsConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*s3.Bucket, string) ([]*s3.AnalyticsConfiguration, error)); ok { + return rf(bucket, region) + } if rf, ok := ret.Get(0).(func(*s3.Bucket, string) []*s3.AnalyticsConfiguration); ok { r0 = rf(bucket, region) } else { @@ -138,7 +157,6 @@ func (_m *MockS3Repository) ListBucketAnalyticsConfigurations(bucket *s3.Bucket, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.Bucket, string) error); ok { r1 = rf(bucket, region) } else { @@ -153,6 +171,10 @@ func (_m *MockS3Repository) ListBucketInventoryConfigurations(bucket *s3.Bucket, ret := _m.Called(bucket, region) var r0 []*s3.InventoryConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*s3.Bucket, string) ([]*s3.InventoryConfiguration, error)); ok { + return rf(bucket, region) + } if rf, ok := ret.Get(0).(func(*s3.Bucket, string) []*s3.InventoryConfiguration); ok { r0 = rf(bucket, region) } else { @@ -161,7 +183,6 @@ func (_m *MockS3Repository) ListBucketInventoryConfigurations(bucket *s3.Bucket, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.Bucket, string) error); ok { r1 = rf(bucket, region) } else { @@ -176,6 +197,10 @@ func (_m *MockS3Repository) ListBucketMetricsConfigurations(bucket *s3.Bucket, r ret := _m.Called(bucket, region) var r0 []*s3.MetricsConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*s3.Bucket, string) ([]*s3.MetricsConfiguration, error)); ok { + return rf(bucket, region) + } if rf, ok := ret.Get(0).(func(*s3.Bucket, string) []*s3.MetricsConfiguration); ok { r0 = rf(bucket, region) } else { @@ -184,7 +209,6 @@ func (_m *MockS3Repository) ListBucketMetricsConfigurations(bucket *s3.Bucket, r } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.Bucket, string) error); ok { r1 = rf(bucket, region) } else { @@ -193,3 +217,18 @@ func (_m *MockS3Repository) ListBucketMetricsConfigurations(bucket *s3.Bucket, r return r0, r1 } + +type mockConstructorTestingTNewMockS3Repository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockS3Repository creates a new instance of MockS3Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockS3Repository(t mockConstructorTestingTNewMockS3Repository) *MockS3Repository { + mock := &MockS3Repository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_SNSRepository.go b/enumeration/remote/aws/repository/mock_SNSRepository.go index 5d933b476..2313c3bba 100644 --- a/enumeration/remote/aws/repository/mock_SNSRepository.go +++ b/enumeration/remote/aws/repository/mock_SNSRepository.go @@ -1,14 +1,13 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/stretchr/testify/mock" - - "github.com/aws/aws-sdk-go/service/sns" + sns "github.com/aws/aws-sdk-go/service/sns" + mock "github.com/stretchr/testify/mock" ) -// MockSNSRepository is an autogenerated mock type for the MockSNSRepository type +// MockSNSRepository is an autogenerated mock type for the SNSRepository type type MockSNSRepository struct { mock.Mock } @@ -18,6 +17,10 @@ func (_m *MockSNSRepository) ListAllSubscriptions() ([]*sns.Subscription, error) ret := _m.Called() var r0 []*sns.Subscription + var r1 error + if rf, ok := ret.Get(0).(func() ([]*sns.Subscription, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*sns.Subscription); ok { r0 = rf() } else { @@ -26,7 +29,6 @@ func (_m *MockSNSRepository) ListAllSubscriptions() ([]*sns.Subscription, error) } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -41,6 +43,10 @@ func (_m *MockSNSRepository) ListAllTopics() ([]*sns.Topic, error) { ret := _m.Called() var r0 []*sns.Topic + var r1 error + if rf, ok := ret.Get(0).(func() ([]*sns.Topic, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*sns.Topic); ok { r0 = rf() } else { @@ -49,7 +55,6 @@ func (_m *MockSNSRepository) ListAllTopics() ([]*sns.Topic, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -58,3 +63,18 @@ func (_m *MockSNSRepository) ListAllTopics() ([]*sns.Topic, error) { return r0, r1 } + +type mockConstructorTestingTNewMockSNSRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockSNSRepository creates a new instance of MockSNSRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockSNSRepository(t mockConstructorTestingTNewMockSNSRepository) *MockSNSRepository { + mock := &MockSNSRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/aws/repository/mock_SQSRepository.go b/enumeration/remote/aws/repository/mock_SQSRepository.go index 5e4c6bd28..ea99f4d7e 100644 --- a/enumeration/remote/aws/repository/mock_SQSRepository.go +++ b/enumeration/remote/aws/repository/mock_SQSRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockSQSRepository) GetQueueAttributes(url string) (*sqs.GetQueueAttrib ret := _m.Called(url) var r0 *sqs.GetQueueAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(string) (*sqs.GetQueueAttributesOutput, error)); ok { + return rf(url) + } if rf, ok := ret.Get(0).(func(string) *sqs.GetQueueAttributesOutput); ok { r0 = rf(url) } else { @@ -25,7 +29,6 @@ func (_m *MockSQSRepository) GetQueueAttributes(url string) (*sqs.GetQueueAttrib } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(url) } else { @@ -40,6 +43,10 @@ func (_m *MockSQSRepository) ListAllQueues() ([]*string, error) { ret := _m.Called() var r0 []*string + var r1 error + if rf, ok := ret.Get(0).(func() ([]*string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*string); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockSQSRepository) ListAllQueues() ([]*string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockSQSRepository) ListAllQueues() ([]*string, error) { return r0, r1 } + +type mockConstructorTestingTNewMockSQSRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockSQSRepository creates a new instance of MockSQSRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockSQSRepository(t mockConstructorTestingTNewMockSQSRepository) *MockSQSRepository { + mock := &MockSQSRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_ComputeRepository.go b/enumeration/remote/azurerm/repository/mock_ComputeRepository.go index 6152421fd..fa383406e 100644 --- a/enumeration/remote/azurerm/repository/mock_ComputeRepository.go +++ b/enumeration/remote/azurerm/repository/mock_ComputeRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockComputeRepository) ListAllImages() ([]*armcompute.Image, error) { ret := _m.Called() var r0 []*armcompute.Image + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armcompute.Image, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armcompute.Image); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockComputeRepository) ListAllImages() ([]*armcompute.Image, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -35,11 +38,15 @@ func (_m *MockComputeRepository) ListAllImages() ([]*armcompute.Image, error) { return r0, r1 } -// ListAllPublicKeys provides a mock function with given fields: +// ListAllSSHPublicKeys provides a mock function with given fields: func (_m *MockComputeRepository) ListAllSSHPublicKeys() ([]*armcompute.SSHPublicKeyResource, error) { ret := _m.Called() var r0 []*armcompute.SSHPublicKeyResource + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armcompute.SSHPublicKeyResource, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armcompute.SSHPublicKeyResource); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockComputeRepository) ListAllSSHPublicKeys() ([]*armcompute.SSHPublic } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockComputeRepository) ListAllSSHPublicKeys() ([]*armcompute.SSHPublic return r0, r1 } + +type mockConstructorTestingTNewMockComputeRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockComputeRepository creates a new instance of MockComputeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockComputeRepository(t mockConstructorTestingTNewMockComputeRepository) *MockComputeRepository { + mock := &MockComputeRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_ContainerRegistryRepository.go b/enumeration/remote/azurerm/repository/mock_ContainerRegistryRepository.go index c5bd8bcd3..c7c5b7268 100644 --- a/enumeration/remote/azurerm/repository/mock_ContainerRegistryRepository.go +++ b/enumeration/remote/azurerm/repository/mock_ContainerRegistryRepository.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" + armcontainerregistry "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" mock "github.com/stretchr/testify/mock" ) @@ -17,6 +17,10 @@ func (_m *MockContainerRegistryRepository) ListAllContainerRegistries() ([]*armc ret := _m.Called() var r0 []*armcontainerregistry.Registry + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armcontainerregistry.Registry, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armcontainerregistry.Registry); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockContainerRegistryRepository) ListAllContainerRegistries() ([]*armc } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockContainerRegistryRepository) ListAllContainerRegistries() ([]*armc return r0, r1 } + +type mockConstructorTestingTNewMockContainerRegistryRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockContainerRegistryRepository creates a new instance of MockContainerRegistryRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockContainerRegistryRepository(t mockConstructorTestingTNewMockContainerRegistryRepository) *MockContainerRegistryRepository { + mock := &MockContainerRegistryRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_NetworkRepository.go b/enumeration/remote/azurerm/repository/mock_NetworkRepository.go index 009058d47..f2e80626b 100644 --- a/enumeration/remote/azurerm/repository/mock_NetworkRepository.go +++ b/enumeration/remote/azurerm/repository/mock_NetworkRepository.go @@ -1,9 +1,9 @@ -// Code generated by mockery v2.8.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -17,6 +17,10 @@ func (_m *MockNetworkRepository) ListAllFirewalls() ([]*armnetwork.AzureFirewall ret := _m.Called() var r0 []*armnetwork.AzureFirewall + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.AzureFirewall, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.AzureFirewall); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockNetworkRepository) ListAllFirewalls() ([]*armnetwork.AzureFirewall } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockNetworkRepository) ListAllLoadBalancers() ([]*armnetwork.LoadBalan ret := _m.Called() var r0 []*armnetwork.LoadBalancer + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.LoadBalancer, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.LoadBalancer); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockNetworkRepository) ListAllLoadBalancers() ([]*armnetwork.LoadBalan } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -63,6 +69,10 @@ func (_m *MockNetworkRepository) ListAllPublicIPAddresses() ([]*armnetwork.Publi ret := _m.Called() var r0 []*armnetwork.PublicIPAddress + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.PublicIPAddress, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.PublicIPAddress); ok { r0 = rf() } else { @@ -71,7 +81,6 @@ func (_m *MockNetworkRepository) ListAllPublicIPAddresses() ([]*armnetwork.Publi } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -86,6 +95,10 @@ func (_m *MockNetworkRepository) ListAllRouteTables() ([]*armnetwork.RouteTable, ret := _m.Called() var r0 []*armnetwork.RouteTable + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.RouteTable, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.RouteTable); ok { r0 = rf() } else { @@ -94,7 +107,6 @@ func (_m *MockNetworkRepository) ListAllRouteTables() ([]*armnetwork.RouteTable, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -109,6 +121,10 @@ func (_m *MockNetworkRepository) ListAllSecurityGroups() ([]*armnetwork.NetworkS ret := _m.Called() var r0 []*armnetwork.NetworkSecurityGroup + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.NetworkSecurityGroup, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.NetworkSecurityGroup); ok { r0 = rf() } else { @@ -117,7 +133,6 @@ func (_m *MockNetworkRepository) ListAllSecurityGroups() ([]*armnetwork.NetworkS } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -132,6 +147,10 @@ func (_m *MockNetworkRepository) ListAllSubnets(virtualNetwork *armnetwork.Virtu ret := _m.Called(virtualNetwork) var r0 []*armnetwork.Subnet + var r1 error + if rf, ok := ret.Get(0).(func(*armnetwork.VirtualNetwork) ([]*armnetwork.Subnet, error)); ok { + return rf(virtualNetwork) + } if rf, ok := ret.Get(0).(func(*armnetwork.VirtualNetwork) []*armnetwork.Subnet); ok { r0 = rf(virtualNetwork) } else { @@ -140,7 +159,6 @@ func (_m *MockNetworkRepository) ListAllSubnets(virtualNetwork *armnetwork.Virtu } } - var r1 error if rf, ok := ret.Get(1).(func(*armnetwork.VirtualNetwork) error); ok { r1 = rf(virtualNetwork) } else { @@ -155,6 +173,10 @@ func (_m *MockNetworkRepository) ListAllVirtualNetworks() ([]*armnetwork.Virtual ret := _m.Called() var r0 []*armnetwork.VirtualNetwork + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armnetwork.VirtualNetwork, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armnetwork.VirtualNetwork); ok { r0 = rf() } else { @@ -163,7 +185,6 @@ func (_m *MockNetworkRepository) ListAllVirtualNetworks() ([]*armnetwork.Virtual } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -178,6 +199,10 @@ func (_m *MockNetworkRepository) ListLoadBalancerRules(_a0 *armnetwork.LoadBalan ret := _m.Called(_a0) var r0 []*armnetwork.LoadBalancingRule + var r1 error + if rf, ok := ret.Get(0).(func(*armnetwork.LoadBalancer) ([]*armnetwork.LoadBalancingRule, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*armnetwork.LoadBalancer) []*armnetwork.LoadBalancingRule); ok { r0 = rf(_a0) } else { @@ -186,7 +211,6 @@ func (_m *MockNetworkRepository) ListLoadBalancerRules(_a0 *armnetwork.LoadBalan } } - var r1 error if rf, ok := ret.Get(1).(func(*armnetwork.LoadBalancer) error); ok { r1 = rf(_a0) } else { @@ -195,3 +219,18 @@ func (_m *MockNetworkRepository) ListLoadBalancerRules(_a0 *armnetwork.LoadBalan return r0, r1 } + +type mockConstructorTestingTNewMockNetworkRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockNetworkRepository creates a new instance of MockNetworkRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockNetworkRepository(t mockConstructorTestingTNewMockNetworkRepository) *MockNetworkRepository { + mock := &MockNetworkRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_PostgresqlRespository.go b/enumeration/remote/azurerm/repository/mock_PostgresqlRespository.go index 9c69e5da3..adadcbdb9 100644 --- a/enumeration/remote/azurerm/repository/mock_PostgresqlRespository.go +++ b/enumeration/remote/azurerm/repository/mock_PostgresqlRespository.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" + armpostgresql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" mock "github.com/stretchr/testify/mock" ) @@ -17,6 +17,10 @@ func (_m *MockPostgresqlRespository) ListAllDatabasesByServer(server *armpostgre ret := _m.Called(server) var r0 []*armpostgresql.Database + var r1 error + if rf, ok := ret.Get(0).(func(*armpostgresql.Server) ([]*armpostgresql.Database, error)); ok { + return rf(server) + } if rf, ok := ret.Get(0).(func(*armpostgresql.Server) []*armpostgresql.Database); ok { r0 = rf(server) } else { @@ -25,7 +29,6 @@ func (_m *MockPostgresqlRespository) ListAllDatabasesByServer(server *armpostgre } } - var r1 error if rf, ok := ret.Get(1).(func(*armpostgresql.Server) error); ok { r1 = rf(server) } else { @@ -40,6 +43,10 @@ func (_m *MockPostgresqlRespository) ListAllServers() ([]*armpostgresql.Server, ret := _m.Called() var r0 []*armpostgresql.Server + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armpostgresql.Server, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armpostgresql.Server); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockPostgresqlRespository) ListAllServers() ([]*armpostgresql.Server, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -57,3 +63,18 @@ func (_m *MockPostgresqlRespository) ListAllServers() ([]*armpostgresql.Server, return r0, r1 } + +type mockConstructorTestingTNewMockPostgresqlRespository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockPostgresqlRespository creates a new instance of MockPostgresqlRespository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockPostgresqlRespository(t mockConstructorTestingTNewMockPostgresqlRespository) *MockPostgresqlRespository { + mock := &MockPostgresqlRespository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_PrivateDNSRepository.go b/enumeration/remote/azurerm/repository/mock_PrivateDNSRepository.go index f4227efcf..4b0bcc2ce 100644 --- a/enumeration/remote/azurerm/repository/mock_PrivateDNSRepository.go +++ b/enumeration/remote/azurerm/repository/mock_PrivateDNSRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockPrivateDNSRepository) ListAllAAAARecords(zone *armprivatedns.Priva ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -25,7 +29,6 @@ func (_m *MockPrivateDNSRepository) ListAllAAAARecords(zone *armprivatedns.Priva } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -40,6 +43,10 @@ func (_m *MockPrivateDNSRepository) ListAllARecords(zone *armprivatedns.PrivateZ ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -48,7 +55,6 @@ func (_m *MockPrivateDNSRepository) ListAllARecords(zone *armprivatedns.PrivateZ } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -63,6 +69,10 @@ func (_m *MockPrivateDNSRepository) ListAllCNAMERecords(zone *armprivatedns.Priv ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -71,7 +81,6 @@ func (_m *MockPrivateDNSRepository) ListAllCNAMERecords(zone *armprivatedns.Priv } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -86,6 +95,10 @@ func (_m *MockPrivateDNSRepository) ListAllMXRecords(zone *armprivatedns.Private ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -94,7 +107,6 @@ func (_m *MockPrivateDNSRepository) ListAllMXRecords(zone *armprivatedns.Private } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -109,6 +121,10 @@ func (_m *MockPrivateDNSRepository) ListAllPTRRecords(zone *armprivatedns.Privat ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -117,7 +133,6 @@ func (_m *MockPrivateDNSRepository) ListAllPTRRecords(zone *armprivatedns.Privat } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -132,6 +147,10 @@ func (_m *MockPrivateDNSRepository) ListAllPrivateZones() ([]*armprivatedns.Priv ret := _m.Called() var r0 []*armprivatedns.PrivateZone + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armprivatedns.PrivateZone, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armprivatedns.PrivateZone); ok { r0 = rf() } else { @@ -140,7 +159,6 @@ func (_m *MockPrivateDNSRepository) ListAllPrivateZones() ([]*armprivatedns.Priv } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -155,6 +173,10 @@ func (_m *MockPrivateDNSRepository) ListAllSRVRecords(zone *armprivatedns.Privat ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -163,7 +185,6 @@ func (_m *MockPrivateDNSRepository) ListAllSRVRecords(zone *armprivatedns.Privat } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -178,6 +199,10 @@ func (_m *MockPrivateDNSRepository) ListAllTXTRecords(zone *armprivatedns.Privat ret := _m.Called(zone) var r0 []*armprivatedns.RecordSet + var r1 error + if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) ([]*armprivatedns.RecordSet, error)); ok { + return rf(zone) + } if rf, ok := ret.Get(0).(func(*armprivatedns.PrivateZone) []*armprivatedns.RecordSet); ok { r0 = rf(zone) } else { @@ -186,7 +211,6 @@ func (_m *MockPrivateDNSRepository) ListAllTXTRecords(zone *armprivatedns.Privat } } - var r1 error if rf, ok := ret.Get(1).(func(*armprivatedns.PrivateZone) error); ok { r1 = rf(zone) } else { @@ -195,3 +219,18 @@ func (_m *MockPrivateDNSRepository) ListAllTXTRecords(zone *armprivatedns.Privat return r0, r1 } + +type mockConstructorTestingTNewMockPrivateDNSRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockPrivateDNSRepository creates a new instance of MockPrivateDNSRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockPrivateDNSRepository(t mockConstructorTestingTNewMockPrivateDNSRepository) *MockPrivateDNSRepository { + mock := &MockPrivateDNSRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_ResourcesRepository.go b/enumeration/remote/azurerm/repository/mock_ResourcesRepository.go index bc4cf0233..65ee7b464 100644 --- a/enumeration/remote/azurerm/repository/mock_ResourcesRepository.go +++ b/enumeration/remote/azurerm/repository/mock_ResourcesRepository.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" + armresources "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" mock "github.com/stretchr/testify/mock" ) @@ -17,6 +17,10 @@ func (_m *MockResourcesRepository) ListAllResourceGroups() ([]*armresources.Reso ret := _m.Called() var r0 []*armresources.ResourceGroup + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armresources.ResourceGroup, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armresources.ResourceGroup); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockResourcesRepository) ListAllResourceGroups() ([]*armresources.Reso } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -34,3 +37,18 @@ func (_m *MockResourcesRepository) ListAllResourceGroups() ([]*armresources.Reso return r0, r1 } + +type mockConstructorTestingTNewMockResourcesRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockResourcesRepository creates a new instance of MockResourcesRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockResourcesRepository(t mockConstructorTestingTNewMockResourcesRepository) *MockResourcesRepository { + mock := &MockResourcesRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_StorageRespository.go b/enumeration/remote/azurerm/repository/mock_StorageRespository.go index 4af38c8d1..d16a201e6 100644 --- a/enumeration/remote/azurerm/repository/mock_StorageRespository.go +++ b/enumeration/remote/azurerm/repository/mock_StorageRespository.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" + armstorage "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" mock "github.com/stretchr/testify/mock" ) @@ -17,6 +17,10 @@ func (_m *MockStorageRespository) ListAllStorageAccount() ([]*armstorage.Storage ret := _m.Called() var r0 []*armstorage.StorageAccount + var r1 error + if rf, ok := ret.Get(0).(func() ([]*armstorage.StorageAccount, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*armstorage.StorageAccount); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockStorageRespository) ListAllStorageAccount() ([]*armstorage.Storage } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockStorageRespository) ListAllStorageContainer(account *armstorage.St ret := _m.Called(account) var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func(*armstorage.StorageAccount) ([]string, error)); ok { + return rf(account) + } if rf, ok := ret.Get(0).(func(*armstorage.StorageAccount) []string); ok { r0 = rf(account) } else { @@ -48,7 +55,6 @@ func (_m *MockStorageRespository) ListAllStorageContainer(account *armstorage.St } } - var r1 error if rf, ok := ret.Get(1).(func(*armstorage.StorageAccount) error); ok { r1 = rf(account) } else { @@ -57,3 +63,18 @@ func (_m *MockStorageRespository) ListAllStorageContainer(account *armstorage.St return r0, r1 } + +type mockConstructorTestingTNewMockStorageRespository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockStorageRespository creates a new instance of MockStorageRespository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockStorageRespository(t mockConstructorTestingTNewMockStorageRespository) *MockStorageRespository { + mock := &MockStorageRespository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_blobContainerClient.go b/enumeration/remote/azurerm/repository/mock_blobContainerClient.go index a3335bf2f..0f28307a5 100644 --- a/enumeration/remote/azurerm/repository/mock_blobContainerClient.go +++ b/enumeration/remote/azurerm/repository/mock_blobContainerClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" + armstorage "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockBlobContainerClient) List(resourceGroupName string, accountName st return r0 } + +type mockConstructorTestingTnewMockBlobContainerClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockBlobContainerClient creates a new instance of mockBlobContainerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockBlobContainerClient(t mockConstructorTestingTnewMockBlobContainerClient) *mockBlobContainerClient { + mock := &mockBlobContainerClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_blobContainerListPager.go b/enumeration/remote/azurerm/repository/mock_blobContainerListPager.go index 5314dee7b..d894e9131 100644 --- a/enumeration/remote/azurerm/repository/mock_blobContainerListPager.go +++ b/enumeration/remote/azurerm/repository/mock_blobContainerListPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" + armstorage "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockBlobContainerListPager) PageResponse() armstorage.BlobContainersLi return r0 } + +type mockConstructorTestingTnewMockBlobContainerListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockBlobContainerListPager creates a new instance of mockBlobContainerListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockBlobContainerListPager(t mockConstructorTestingTnewMockBlobContainerListPager) *mockBlobContainerListPager { + mock := &mockBlobContainerListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_firewallsClient.go b/enumeration/remote/azurerm/repository/mock_firewallsClient.go index be75f3707..336de87f3 100644 --- a/enumeration/remote/azurerm/repository/mock_firewallsClient.go +++ b/enumeration/remote/azurerm/repository/mock_firewallsClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockFirewallsClient) ListAll(options *armnetwork.AzureFirewallsListAll return r0 } + +type mockConstructorTestingTnewMockFirewallsClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockFirewallsClient creates a new instance of mockFirewallsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockFirewallsClient(t mockConstructorTestingTnewMockFirewallsClient) *mockFirewallsClient { + mock := &mockFirewallsClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_firewallsListAllPager.go b/enumeration/remote/azurerm/repository/mock_firewallsListAllPager.go index 3f41bcb69..a64b7b24f 100644 --- a/enumeration/remote/azurerm/repository/mock_firewallsListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_firewallsListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockFirewallsListAllPager) PageResponse() armnetwork.AzureFirewallsLis return r0 } + +type mockConstructorTestingTnewMockFirewallsListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockFirewallsListAllPager creates a new instance of mockFirewallsListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockFirewallsListAllPager(t mockConstructorTestingTnewMockFirewallsListAllPager) *mockFirewallsListAllPager { + mock := &mockFirewallsListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_imagesClient.go b/enumeration/remote/azurerm/repository/mock_imagesClient.go index 10234e263..1138070f0 100644 --- a/enumeration/remote/azurerm/repository/mock_imagesClient.go +++ b/enumeration/remote/azurerm/repository/mock_imagesClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -27,3 +27,18 @@ func (_m *mockImagesClient) List(options *armcompute.ImagesListOptions) imagesLi return r0 } + +type mockConstructorTestingTnewMockImagesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockImagesClient creates a new instance of mockImagesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockImagesClient(t mockConstructorTestingTnewMockImagesClient) *mockImagesClient { + mock := &mockImagesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_imagesListPager.go b/enumeration/remote/azurerm/repository/mock_imagesListPager.go index 2bf8edcd6..f269243f3 100644 --- a/enumeration/remote/azurerm/repository/mock_imagesListPager.go +++ b/enumeration/remote/azurerm/repository/mock_imagesListPager.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -56,3 +56,18 @@ func (_m *mockImagesListPager) PageResponse() armcompute.ImagesListResponse { return r0 } + +type mockConstructorTestingTnewMockImagesListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockImagesListPager creates a new instance of mockImagesListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockImagesListPager(t mockConstructorTestingTnewMockImagesListPager) *mockImagesListPager { + mock := &mockImagesListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_loadBalancerRulesClient.go b/enumeration/remote/azurerm/repository/mock_loadBalancerRulesClient.go index 4dd2fc9aa..85da56f1f 100644 --- a/enumeration/remote/azurerm/repository/mock_loadBalancerRulesClient.go +++ b/enumeration/remote/azurerm/repository/mock_loadBalancerRulesClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v2.8.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockLoadBalancerRulesClient) List(_a0 string, _a1 string, _a2 *armnetw return r0 } + +type mockConstructorTestingTnewMockLoadBalancerRulesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockLoadBalancerRulesClient creates a new instance of mockLoadBalancerRulesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockLoadBalancerRulesClient(t mockConstructorTestingTnewMockLoadBalancerRulesClient) *mockLoadBalancerRulesClient { + mock := &mockLoadBalancerRulesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_loadBalancerRulesListAllPager.go b/enumeration/remote/azurerm/repository/mock_loadBalancerRulesListAllPager.go index 751f1f98d..42d632fcf 100644 --- a/enumeration/remote/azurerm/repository/mock_loadBalancerRulesListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_loadBalancerRulesListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v2.8.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockLoadBalancerRulesListAllPager) PageResponse() armnetwork.LoadBalan return r0 } + +type mockConstructorTestingTnewMockLoadBalancerRulesListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockLoadBalancerRulesListAllPager creates a new instance of mockLoadBalancerRulesListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockLoadBalancerRulesListAllPager(t mockConstructorTestingTnewMockLoadBalancerRulesListAllPager) *mockLoadBalancerRulesListAllPager { + mock := &mockLoadBalancerRulesListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_loadBalancersClient.go b/enumeration/remote/azurerm/repository/mock_loadBalancersClient.go index 8ece65731..e5108fa3b 100644 --- a/enumeration/remote/azurerm/repository/mock_loadBalancersClient.go +++ b/enumeration/remote/azurerm/repository/mock_loadBalancersClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockLoadBalancersClient) ListAll(options *armnetwork.LoadBalancersList return r0 } + +type mockConstructorTestingTnewMockLoadBalancersClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockLoadBalancersClient creates a new instance of mockLoadBalancersClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockLoadBalancersClient(t mockConstructorTestingTnewMockLoadBalancersClient) *mockLoadBalancersClient { + mock := &mockLoadBalancersClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_loadBalancersListAllPager.go b/enumeration/remote/azurerm/repository/mock_loadBalancersListAllPager.go index 29b8aed04..339df9dd8 100644 --- a/enumeration/remote/azurerm/repository/mock_loadBalancersListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_loadBalancersListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockLoadBalancersListAllPager) PageResponse() armnetwork.LoadBalancers return r0 } + +type mockConstructorTestingTnewMockLoadBalancersListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockLoadBalancersListAllPager creates a new instance of mockLoadBalancersListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockLoadBalancersListAllPager(t mockConstructorTestingTnewMockLoadBalancersListAllPager) *mockLoadBalancersListAllPager { + mock := &mockLoadBalancersListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsClient.go b/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsClient.go index 410e85608..d6975039c 100644 --- a/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsClient.go +++ b/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockNetworkSecurityGroupsClient) ListAll(options *armnetwork.NetworkSe return r0 } + +type mockConstructorTestingTnewMockNetworkSecurityGroupsClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockNetworkSecurityGroupsClient creates a new instance of mockNetworkSecurityGroupsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockNetworkSecurityGroupsClient(t mockConstructorTestingTnewMockNetworkSecurityGroupsClient) *mockNetworkSecurityGroupsClient { + mock := &mockNetworkSecurityGroupsClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsListAllPager.go b/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsListAllPager.go index 3629335ce..abf4c76b1 100644 --- a/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_networkSecurityGroupsListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockNetworkSecurityGroupsListAllPager) PageResponse() armnetwork.Netwo return r0 } + +type mockConstructorTestingTnewMockNetworkSecurityGroupsListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockNetworkSecurityGroupsListAllPager creates a new instance of mockNetworkSecurityGroupsListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockNetworkSecurityGroupsListAllPager(t mockConstructorTestingTnewMockNetworkSecurityGroupsListAllPager) *mockNetworkSecurityGroupsListAllPager { + mock := &mockNetworkSecurityGroupsListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_postgresqlDatabaseClient.go b/enumeration/remote/azurerm/repository/mock_postgresqlDatabaseClient.go index e18380dda..3d21fb635 100644 --- a/enumeration/remote/azurerm/repository/mock_postgresqlDatabaseClient.go +++ b/enumeration/remote/azurerm/repository/mock_postgresqlDatabaseClient.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" + armpostgresql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" mock "github.com/stretchr/testify/mock" ) @@ -20,13 +20,16 @@ func (_m *mockPostgresqlDatabaseClient) ListByServer(_a0 context.Context, _a1 st ret := _m.Called(_a0, _a1, _a2, _a3) var r0 armpostgresql.DatabasesListByServerResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, string, string, *armpostgresql.DatabasesListByServerOptions) (armpostgresql.DatabasesListByServerResponse, error)); ok { + return rf(_a0, _a1, _a2, _a3) + } if rf, ok := ret.Get(0).(func(context.Context, string, string, *armpostgresql.DatabasesListByServerOptions) armpostgresql.DatabasesListByServerResponse); ok { r0 = rf(_a0, _a1, _a2, _a3) } else { r0 = ret.Get(0).(armpostgresql.DatabasesListByServerResponse) } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, string, string, *armpostgresql.DatabasesListByServerOptions) error); ok { r1 = rf(_a0, _a1, _a2, _a3) } else { @@ -35,3 +38,18 @@ func (_m *mockPostgresqlDatabaseClient) ListByServer(_a0 context.Context, _a1 st return r0, r1 } + +type mockConstructorTestingTnewMockPostgresqlDatabaseClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPostgresqlDatabaseClient creates a new instance of mockPostgresqlDatabaseClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPostgresqlDatabaseClient(t mockConstructorTestingTnewMockPostgresqlDatabaseClient) *mockPostgresqlDatabaseClient { + mock := &mockPostgresqlDatabaseClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_postgresqlServersClient.go b/enumeration/remote/azurerm/repository/mock_postgresqlServersClient.go index 9aa16c0f3..19c810098 100644 --- a/enumeration/remote/azurerm/repository/mock_postgresqlServersClient.go +++ b/enumeration/remote/azurerm/repository/mock_postgresqlServersClient.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" + armpostgresql "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresql/armpostgresql" mock "github.com/stretchr/testify/mock" ) @@ -20,13 +20,16 @@ func (_m *mockPostgresqlServersClient) List(_a0 context.Context, _a1 *armpostgre ret := _m.Called(_a0, _a1) var r0 armpostgresql.ServersListResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *armpostgresql.ServersListOptions) (armpostgresql.ServersListResponse, error)); ok { + return rf(_a0, _a1) + } if rf, ok := ret.Get(0).(func(context.Context, *armpostgresql.ServersListOptions) armpostgresql.ServersListResponse); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Get(0).(armpostgresql.ServersListResponse) } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *armpostgresql.ServersListOptions) error); ok { r1 = rf(_a0, _a1) } else { @@ -35,3 +38,18 @@ func (_m *mockPostgresqlServersClient) List(_a0 context.Context, _a1 *armpostgre return r0, r1 } + +type mockConstructorTestingTnewMockPostgresqlServersClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPostgresqlServersClient creates a new instance of mockPostgresqlServersClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPostgresqlServersClient(t mockConstructorTestingTnewMockPostgresqlServersClient) *mockPostgresqlServersClient { + mock := &mockPostgresqlServersClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_privateDNSRecordSetListPager.go b/enumeration/remote/azurerm/repository/mock_privateDNSRecordSetListPager.go index ad2c55a4a..608eee345 100644 --- a/enumeration/remote/azurerm/repository/mock_privateDNSRecordSetListPager.go +++ b/enumeration/remote/azurerm/repository/mock_privateDNSRecordSetListPager.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -56,3 +56,18 @@ func (_m *mockPrivateDNSRecordSetListPager) PageResponse() armprivatedns.RecordS return r0 } + +type mockConstructorTestingTnewMockPrivateDNSRecordSetListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPrivateDNSRecordSetListPager creates a new instance of mockPrivateDNSRecordSetListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPrivateDNSRecordSetListPager(t mockConstructorTestingTnewMockPrivateDNSRecordSetListPager) *mockPrivateDNSRecordSetListPager { + mock := &mockPrivateDNSRecordSetListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_privateDNSZoneListPager.go b/enumeration/remote/azurerm/repository/mock_privateDNSZoneListPager.go index aae96ca91..2b2556b19 100644 --- a/enumeration/remote/azurerm/repository/mock_privateDNSZoneListPager.go +++ b/enumeration/remote/azurerm/repository/mock_privateDNSZoneListPager.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -56,3 +56,18 @@ func (_m *mockPrivateDNSZoneListPager) PageResponse() armprivatedns.PrivateZones return r0 } + +type mockConstructorTestingTnewMockPrivateDNSZoneListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPrivateDNSZoneListPager creates a new instance of mockPrivateDNSZoneListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPrivateDNSZoneListPager(t mockConstructorTestingTnewMockPrivateDNSZoneListPager) *mockPrivateDNSZoneListPager { + mock := &mockPrivateDNSZoneListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_privateRecordSetClient.go b/enumeration/remote/azurerm/repository/mock_privateRecordSetClient.go index 2e28bad9d..9855aa9ff 100644 --- a/enumeration/remote/azurerm/repository/mock_privateRecordSetClient.go +++ b/enumeration/remote/azurerm/repository/mock_privateRecordSetClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -27,3 +27,18 @@ func (_m *mockPrivateRecordSetClient) List(resourceGroupName string, privateZone return r0 } + +type mockConstructorTestingTnewMockPrivateRecordSetClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPrivateRecordSetClient creates a new instance of mockPrivateRecordSetClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPrivateRecordSetClient(t mockConstructorTestingTnewMockPrivateRecordSetClient) *mockPrivateRecordSetClient { + mock := &mockPrivateRecordSetClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_privateZonesClient.go b/enumeration/remote/azurerm/repository/mock_privateZonesClient.go index 914f74db9..0d2bb3fee 100644 --- a/enumeration/remote/azurerm/repository/mock_privateZonesClient.go +++ b/enumeration/remote/azurerm/repository/mock_privateZonesClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -27,3 +27,18 @@ func (_m *mockPrivateZonesClient) List(options *armprivatedns.PrivateZonesListOp return r0 } + +type mockConstructorTestingTnewMockPrivateZonesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPrivateZonesClient creates a new instance of mockPrivateZonesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPrivateZonesClient(t mockConstructorTestingTnewMockPrivateZonesClient) *mockPrivateZonesClient { + mock := &mockPrivateZonesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_publicIPAddressesClient.go b/enumeration/remote/azurerm/repository/mock_publicIPAddressesClient.go index 64f11a56d..ffc8e4217 100644 --- a/enumeration/remote/azurerm/repository/mock_publicIPAddressesClient.go +++ b/enumeration/remote/azurerm/repository/mock_publicIPAddressesClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockPublicIPAddressesClient) ListAll(options *armnetwork.PublicIPAddre return r0 } + +type mockConstructorTestingTnewMockPublicIPAddressesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPublicIPAddressesClient creates a new instance of mockPublicIPAddressesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPublicIPAddressesClient(t mockConstructorTestingTnewMockPublicIPAddressesClient) *mockPublicIPAddressesClient { + mock := &mockPublicIPAddressesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_publicIPAddressesListAllPager.go b/enumeration/remote/azurerm/repository/mock_publicIPAddressesListAllPager.go index 915513471..d7142d6b7 100644 --- a/enumeration/remote/azurerm/repository/mock_publicIPAddressesListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_publicIPAddressesListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockPublicIPAddressesListAllPager) PageResponse() armnetwork.PublicIPA return r0 } + +type mockConstructorTestingTnewMockPublicIPAddressesListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockPublicIPAddressesListAllPager creates a new instance of mockPublicIPAddressesListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockPublicIPAddressesListAllPager(t mockConstructorTestingTnewMockPublicIPAddressesListAllPager) *mockPublicIPAddressesListAllPager { + mock := &mockPublicIPAddressesListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_registryClient.go b/enumeration/remote/azurerm/repository/mock_registryClient.go index 81a27070c..ed9d821b8 100644 --- a/enumeration/remote/azurerm/repository/mock_registryClient.go +++ b/enumeration/remote/azurerm/repository/mock_registryClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" + armcontainerregistry "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockRegistryClient) List(options *armcontainerregistry.RegistriesListO return r0 } + +type mockConstructorTestingTnewMockRegistryClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockRegistryClient creates a new instance of mockRegistryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockRegistryClient(t mockConstructorTestingTnewMockRegistryClient) *mockRegistryClient { + mock := &mockRegistryClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_registryListAllPager.go b/enumeration/remote/azurerm/repository/mock_registryListAllPager.go index 485b0d5a5..b00c9aaaa 100644 --- a/enumeration/remote/azurerm/repository/mock_registryListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_registryListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" + armcontainerregistry "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockRegistryListAllPager) PageResponse() armcontainerregistry.Registri return r0 } + +type mockConstructorTestingTnewMockRegistryListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockRegistryListAllPager creates a new instance of mockRegistryListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockRegistryListAllPager(t mockConstructorTestingTnewMockRegistryListAllPager) *mockRegistryListAllPager { + mock := &mockRegistryListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_resourcesClient.go b/enumeration/remote/azurerm/repository/mock_resourcesClient.go index 89199d4e0..8d5cb5944 100644 --- a/enumeration/remote/azurerm/repository/mock_resourcesClient.go +++ b/enumeration/remote/azurerm/repository/mock_resourcesClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" + armresources "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockResourcesClient) List(options *armresources.ResourceGroupsListOpti return r0 } + +type mockConstructorTestingTnewMockResourcesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockResourcesClient creates a new instance of mockResourcesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockResourcesClient(t mockConstructorTestingTnewMockResourcesClient) *mockResourcesClient { + mock := &mockResourcesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_resourcesListPager.go b/enumeration/remote/azurerm/repository/mock_resourcesListPager.go index 40b9b27d5..e78876dec 100644 --- a/enumeration/remote/azurerm/repository/mock_resourcesListPager.go +++ b/enumeration/remote/azurerm/repository/mock_resourcesListPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" + armresources "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockResourcesListPager) PageResponse() armresources.ResourceGroupsList return r0 } + +type mockConstructorTestingTnewMockResourcesListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockResourcesListPager creates a new instance of mockResourcesListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockResourcesListPager(t mockConstructorTestingTnewMockResourcesListPager) *mockResourcesListPager { + mock := &mockResourcesListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_routeTablesClient.go b/enumeration/remote/azurerm/repository/mock_routeTablesClient.go index dc15ae395..db71f93cd 100644 --- a/enumeration/remote/azurerm/repository/mock_routeTablesClient.go +++ b/enumeration/remote/azurerm/repository/mock_routeTablesClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockRouteTablesClient) ListAll(options *armnetwork.RouteTablesListAllO return r0 } + +type mockConstructorTestingTnewMockRouteTablesClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockRouteTablesClient creates a new instance of mockRouteTablesClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockRouteTablesClient(t mockConstructorTestingTnewMockRouteTablesClient) *mockRouteTablesClient { + mock := &mockRouteTablesClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_routeTablesListAllPager.go b/enumeration/remote/azurerm/repository/mock_routeTablesListAllPager.go index 053857154..b6d37d985 100644 --- a/enumeration/remote/azurerm/repository/mock_routeTablesListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_routeTablesListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockRouteTablesListAllPager) PageResponse() armnetwork.RouteTablesList return r0 } + +type mockConstructorTestingTnewMockRouteTablesListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockRouteTablesListAllPager creates a new instance of mockRouteTablesListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockRouteTablesListAllPager(t mockConstructorTestingTnewMockRouteTablesListAllPager) *mockRouteTablesListAllPager { + mock := &mockRouteTablesListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_sshPublicKeyClient.go b/enumeration/remote/azurerm/repository/mock_sshPublicKeyClient.go index 8c8a0b24a..256e3c4cc 100644 --- a/enumeration/remote/azurerm/repository/mock_sshPublicKeyClient.go +++ b/enumeration/remote/azurerm/repository/mock_sshPublicKeyClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -27,3 +27,18 @@ func (_m *mockSshPublicKeyClient) ListBySubscription(options *armcompute.SSHPubl return r0 } + +type mockConstructorTestingTnewMockSshPublicKeyClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockSshPublicKeyClient creates a new instance of mockSshPublicKeyClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockSshPublicKeyClient(t mockConstructorTestingTnewMockSshPublicKeyClient) *mockSshPublicKeyClient { + mock := &mockSshPublicKeyClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_sshPublicKeyListPager.go b/enumeration/remote/azurerm/repository/mock_sshPublicKeyListPager.go index 7290b33cb..58c3afc87 100644 --- a/enumeration/remote/azurerm/repository/mock_sshPublicKeyListPager.go +++ b/enumeration/remote/azurerm/repository/mock_sshPublicKeyListPager.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -56,3 +56,18 @@ func (_m *mockSshPublicKeyListPager) PageResponse() armcompute.SSHPublicKeysList return r0 } + +type mockConstructorTestingTnewMockSshPublicKeyListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockSshPublicKeyListPager creates a new instance of mockSshPublicKeyListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockSshPublicKeyListPager(t mockConstructorTestingTnewMockSshPublicKeyListPager) *mockSshPublicKeyListPager { + mock := &mockSshPublicKeyListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_storageAccountClient.go b/enumeration/remote/azurerm/repository/mock_storageAccountClient.go index e2fcda65f..4eb82e4d1 100644 --- a/enumeration/remote/azurerm/repository/mock_storageAccountClient.go +++ b/enumeration/remote/azurerm/repository/mock_storageAccountClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" + armstorage "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockStorageAccountClient) List(options *armstorage.StorageAccountsList return r0 } + +type mockConstructorTestingTnewMockStorageAccountClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockStorageAccountClient creates a new instance of mockStorageAccountClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockStorageAccountClient(t mockConstructorTestingTnewMockStorageAccountClient) *mockStorageAccountClient { + mock := &mockStorageAccountClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_storageAccountListPager.go b/enumeration/remote/azurerm/repository/mock_storageAccountListPager.go index 7ebbd30c7..2f585ab97 100644 --- a/enumeration/remote/azurerm/repository/mock_storageAccountListPager.go +++ b/enumeration/remote/azurerm/repository/mock_storageAccountListPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" + armstorage "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockStorageAccountListPager) PageResponse() armstorage.StorageAccounts return r0 } + +type mockConstructorTestingTnewMockStorageAccountListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockStorageAccountListPager creates a new instance of mockStorageAccountListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockStorageAccountListPager(t mockConstructorTestingTnewMockStorageAccountListPager) *mockStorageAccountListPager { + mock := &mockStorageAccountListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_subnetsClient.go b/enumeration/remote/azurerm/repository/mock_subnetsClient.go index 8e9c7c253..4218123cf 100644 --- a/enumeration/remote/azurerm/repository/mock_subnetsClient.go +++ b/enumeration/remote/azurerm/repository/mock_subnetsClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -27,3 +27,18 @@ func (_m *mockSubnetsClient) List(resourceGroupName string, virtualNetworkName s return r0 } + +type mockConstructorTestingTnewMockSubnetsClient interface { + mock.TestingT + Cleanup(func()) +} + +// newMockSubnetsClient creates a new instance of mockSubnetsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockSubnetsClient(t mockConstructorTestingTnewMockSubnetsClient) *mockSubnetsClient { + mock := &mockSubnetsClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_subnetsListPager.go b/enumeration/remote/azurerm/repository/mock_subnetsListPager.go index 15a1340f1..f458dc254 100644 --- a/enumeration/remote/azurerm/repository/mock_subnetsListPager.go +++ b/enumeration/remote/azurerm/repository/mock_subnetsListPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockSubnetsListPager) PageResponse() armnetwork.SubnetsListResponse { return r0 } + +type mockConstructorTestingTnewMockSubnetsListPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockSubnetsListPager creates a new instance of mockSubnetsListPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockSubnetsListPager(t mockConstructorTestingTnewMockSubnetsListPager) *mockSubnetsListPager { + mock := &mockSubnetsListPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/azurerm/repository/mock_virtualNetworksListAllPager.go b/enumeration/remote/azurerm/repository/mock_virtualNetworksListAllPager.go index 6c978ad8f..6811accf3 100644 --- a/enumeration/remote/azurerm/repository/mock_virtualNetworksListAllPager.go +++ b/enumeration/remote/azurerm/repository/mock_virtualNetworksListAllPager.go @@ -1,11 +1,11 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository import ( context "context" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" + armnetwork "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork" mock "github.com/stretchr/testify/mock" ) @@ -56,3 +56,18 @@ func (_m *mockVirtualNetworksListAllPager) PageResponse() armnetwork.VirtualNetw return r0 } + +type mockConstructorTestingTnewMockVirtualNetworksListAllPager interface { + mock.TestingT + Cleanup(func()) +} + +// newMockVirtualNetworksListAllPager creates a new instance of mockVirtualNetworksListAllPager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func newMockVirtualNetworksListAllPager(t mockConstructorTestingTnewMockVirtualNetworksListAllPager) *mockVirtualNetworksListAllPager { + mock := &mockVirtualNetworksListAllPager{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/cache/mock_Cache.go b/enumeration/remote/cache/mock_Cache.go index c50cc4eda..60e265ce4 100644 --- a/enumeration/remote/cache/mock_Cache.go +++ b/enumeration/remote/cache/mock_Cache.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package cache @@ -73,3 +73,18 @@ func (_m *MockCache) Put(_a0 string, _a1 interface{}) bool { func (_m *MockCache) Unlock(_a0 string) { _m.Called(_a0) } + +type mockConstructorTestingTNewMockCache interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockCache creates a new instance of MockCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockCache(t mockConstructorTestingTNewMockCache) *MockCache { + mock := &MockCache{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/common/mock_Enumerator.go b/enumeration/remote/common/mock_Enumerator.go index 98ef337ed..6a68ecfd8 100644 --- a/enumeration/remote/common/mock_Enumerator.go +++ b/enumeration/remote/common/mock_Enumerator.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package common @@ -17,6 +17,10 @@ func (_m *MockEnumerator) Enumerate() ([]*resource.Resource, error) { ret := _m.Called() var r0 []*resource.Resource + var r1 error + if rf, ok := ret.Get(0).(func() ([]*resource.Resource, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*resource.Resource); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockEnumerator) Enumerate() ([]*resource.Resource, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -48,3 +51,18 @@ func (_m *MockEnumerator) SupportedType() resource.ResourceType { return r0 } + +type mockConstructorTestingTNewMockEnumerator interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockEnumerator creates a new instance of MockEnumerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockEnumerator(t mockConstructorTestingTNewMockEnumerator) *MockEnumerator { + mock := &MockEnumerator{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/github/mock_GithubRepository.go b/enumeration/remote/github/mock_GithubRepository.go index 45cda652c..e43aaa429 100644 --- a/enumeration/remote/github/mock_GithubRepository.go +++ b/enumeration/remote/github/mock_GithubRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.3.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package github @@ -9,11 +9,15 @@ type MockGithubRepository struct { mock.Mock } -// ListMembership provides a mock function with given fields: -func (_m *MockGithubRepository) ListMembership() ([]string, error) { +// ListBranchProtection provides a mock function with given fields: +func (_m *MockGithubRepository) ListBranchProtection() ([]string, error) { ret := _m.Called() var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func() ([]string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []string); ok { r0 = rf() } else { @@ -22,7 +26,6 @@ func (_m *MockGithubRepository) ListMembership() ([]string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -32,11 +35,15 @@ func (_m *MockGithubRepository) ListMembership() ([]string, error) { return r0, r1 } -// ListBranchProtection provides a mock function with given fields: -func (_m *MockGithubRepository) ListBranchProtection() ([]string, error) { +// ListMembership provides a mock function with given fields: +func (_m *MockGithubRepository) ListMembership() ([]string, error) { ret := _m.Called() var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func() ([]string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []string); ok { r0 = rf() } else { @@ -45,7 +52,6 @@ func (_m *MockGithubRepository) ListBranchProtection() ([]string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -60,6 +66,10 @@ func (_m *MockGithubRepository) ListRepositories() ([]string, error) { ret := _m.Called() var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func() ([]string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []string); ok { r0 = rf() } else { @@ -68,7 +78,6 @@ func (_m *MockGithubRepository) ListRepositories() ([]string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -83,6 +92,10 @@ func (_m *MockGithubRepository) ListTeamMemberships() ([]string, error) { ret := _m.Called() var r0 []string + var r1 error + if rf, ok := ret.Get(0).(func() ([]string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []string); ok { r0 = rf() } else { @@ -91,7 +104,6 @@ func (_m *MockGithubRepository) ListTeamMemberships() ([]string, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -106,6 +118,10 @@ func (_m *MockGithubRepository) ListTeams() ([]Team, error) { ret := _m.Called() var r0 []Team + var r1 error + if rf, ok := ret.Get(0).(func() ([]Team, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []Team); ok { r0 = rf() } else { @@ -114,7 +130,6 @@ func (_m *MockGithubRepository) ListTeams() ([]Team, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -123,3 +138,18 @@ func (_m *MockGithubRepository) ListTeams() ([]Team, error) { return r0, r1 } + +type mockConstructorTestingTNewMockGithubRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockGithubRepository creates a new instance of MockGithubRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockGithubRepository(t mockConstructorTestingTNewMockGithubRepository) *MockGithubRepository { + mock := &MockGithubRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/google/repository/mock_AssetRepository.go b/enumeration/remote/google/repository/mock_AssetRepository.go index 0afc92935..3a7ea0e49 100644 --- a/enumeration/remote/google/repository/mock_AssetRepository.go +++ b/enumeration/remote/google/repository/mock_AssetRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.16.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -17,6 +17,10 @@ func (_m *MockAssetRepository) SearchAllAddresses() ([]*asset.ResourceSearchResu ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -25,7 +29,6 @@ func (_m *MockAssetRepository) SearchAllAddresses() ([]*asset.ResourceSearchResu } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -40,6 +43,10 @@ func (_m *MockAssetRepository) SearchAllBigtableInstances() ([]*asset.Asset, err ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -48,7 +55,6 @@ func (_m *MockAssetRepository) SearchAllBigtableInstances() ([]*asset.Asset, err } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -63,6 +69,10 @@ func (_m *MockAssetRepository) SearchAllBigtableTables() ([]*asset.Asset, error) ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -71,7 +81,6 @@ func (_m *MockAssetRepository) SearchAllBigtableTables() ([]*asset.Asset, error) } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -86,6 +95,10 @@ func (_m *MockAssetRepository) SearchAllBuckets() ([]*asset.ResourceSearchResult ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -94,7 +107,6 @@ func (_m *MockAssetRepository) SearchAllBuckets() ([]*asset.ResourceSearchResult } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -109,6 +121,10 @@ func (_m *MockAssetRepository) SearchAllCloudRunServices() ([]*asset.ResourceSea ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -117,7 +133,6 @@ func (_m *MockAssetRepository) SearchAllCloudRunServices() ([]*asset.ResourceSea } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -132,6 +147,10 @@ func (_m *MockAssetRepository) SearchAllDNSManagedZones() ([]*asset.ResourceSear ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -140,7 +159,6 @@ func (_m *MockAssetRepository) SearchAllDNSManagedZones() ([]*asset.ResourceSear } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -155,6 +173,10 @@ func (_m *MockAssetRepository) SearchAllDatasets() ([]*asset.ResourceSearchResul ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -163,7 +185,6 @@ func (_m *MockAssetRepository) SearchAllDatasets() ([]*asset.ResourceSearchResul } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -178,6 +199,10 @@ func (_m *MockAssetRepository) SearchAllDisks() ([]*asset.ResourceSearchResult, ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -186,7 +211,6 @@ func (_m *MockAssetRepository) SearchAllDisks() ([]*asset.ResourceSearchResult, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -201,6 +225,10 @@ func (_m *MockAssetRepository) SearchAllFirewalls() ([]*asset.ResourceSearchResu ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -209,7 +237,6 @@ func (_m *MockAssetRepository) SearchAllFirewalls() ([]*asset.ResourceSearchResu } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -224,6 +251,10 @@ func (_m *MockAssetRepository) SearchAllForwardingRules() ([]*asset.Asset, error ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -232,7 +263,6 @@ func (_m *MockAssetRepository) SearchAllForwardingRules() ([]*asset.Asset, error } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -247,6 +277,10 @@ func (_m *MockAssetRepository) SearchAllFunctions() ([]*asset.Asset, error) { ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -255,7 +289,6 @@ func (_m *MockAssetRepository) SearchAllFunctions() ([]*asset.Asset, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -270,6 +303,10 @@ func (_m *MockAssetRepository) SearchAllGlobalAddresses() ([]*asset.Asset, error ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -278,7 +315,6 @@ func (_m *MockAssetRepository) SearchAllGlobalAddresses() ([]*asset.Asset, error } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -293,6 +329,10 @@ func (_m *MockAssetRepository) SearchAllGlobalForwardingRules() ([]*asset.Asset, ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -301,7 +341,6 @@ func (_m *MockAssetRepository) SearchAllGlobalForwardingRules() ([]*asset.Asset, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -316,6 +355,10 @@ func (_m *MockAssetRepository) SearchAllHealthChecks() ([]*asset.ResourceSearchR ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -324,7 +367,6 @@ func (_m *MockAssetRepository) SearchAllHealthChecks() ([]*asset.ResourceSearchR } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -339,6 +381,10 @@ func (_m *MockAssetRepository) SearchAllImages() ([]*asset.ResourceSearchResult, ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -347,7 +393,6 @@ func (_m *MockAssetRepository) SearchAllImages() ([]*asset.ResourceSearchResult, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -362,6 +407,10 @@ func (_m *MockAssetRepository) SearchAllInstanceGroupManagers() ([]*asset.Asset, ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -370,7 +419,6 @@ func (_m *MockAssetRepository) SearchAllInstanceGroupManagers() ([]*asset.Asset, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -385,6 +433,10 @@ func (_m *MockAssetRepository) SearchAllInstanceGroups() ([]*asset.ResourceSearc ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -393,7 +445,6 @@ func (_m *MockAssetRepository) SearchAllInstanceGroups() ([]*asset.ResourceSearc } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -408,6 +459,10 @@ func (_m *MockAssetRepository) SearchAllInstances() ([]*asset.ResourceSearchResu ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -416,7 +471,6 @@ func (_m *MockAssetRepository) SearchAllInstances() ([]*asset.ResourceSearchResu } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -431,6 +485,10 @@ func (_m *MockAssetRepository) SearchAllNetworks() ([]*asset.ResourceSearchResul ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -439,7 +497,6 @@ func (_m *MockAssetRepository) SearchAllNetworks() ([]*asset.ResourceSearchResul } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -454,6 +511,10 @@ func (_m *MockAssetRepository) SearchAllNodeGroups() ([]*asset.Asset, error) { ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -462,7 +523,6 @@ func (_m *MockAssetRepository) SearchAllNodeGroups() ([]*asset.Asset, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -477,6 +537,10 @@ func (_m *MockAssetRepository) SearchAllRouters() ([]*asset.ResourceSearchResult ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -485,7 +549,6 @@ func (_m *MockAssetRepository) SearchAllRouters() ([]*asset.ResourceSearchResult } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -500,6 +563,10 @@ func (_m *MockAssetRepository) SearchAllSQLDatabaseInstances() ([]*asset.Asset, ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -508,7 +575,6 @@ func (_m *MockAssetRepository) SearchAllSQLDatabaseInstances() ([]*asset.Asset, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -523,6 +589,10 @@ func (_m *MockAssetRepository) SearchAllSslCertificates() ([]*asset.Asset, error ret := _m.Called() var r0 []*asset.Asset + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.Asset, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.Asset); ok { r0 = rf() } else { @@ -531,7 +601,6 @@ func (_m *MockAssetRepository) SearchAllSslCertificates() ([]*asset.Asset, error } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -546,6 +615,10 @@ func (_m *MockAssetRepository) SearchAllSubnetworks() ([]*asset.ResourceSearchRe ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -554,7 +627,6 @@ func (_m *MockAssetRepository) SearchAllSubnetworks() ([]*asset.ResourceSearchRe } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -569,6 +641,10 @@ func (_m *MockAssetRepository) SearchAllTables() ([]*asset.ResourceSearchResult, ret := _m.Called() var r0 []*asset.ResourceSearchResult + var r1 error + if rf, ok := ret.Get(0).(func() ([]*asset.ResourceSearchResult, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*asset.ResourceSearchResult); ok { r0 = rf() } else { @@ -577,7 +653,6 @@ func (_m *MockAssetRepository) SearchAllTables() ([]*asset.ResourceSearchResult, } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { diff --git a/enumeration/remote/google/repository/mock_CloudResourceManagerRepository.go b/enumeration/remote/google/repository/mock_CloudResourceManagerRepository.go index 4b2a7658f..c0530a017 100644 --- a/enumeration/remote/google/repository/mock_CloudResourceManagerRepository.go +++ b/enumeration/remote/google/repository/mock_CloudResourceManagerRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -14,6 +14,10 @@ func (_m *MockCloudResourceManagerRepository) ListProjectsBindings() (map[string ret := _m.Called() var r0 map[string]map[string][]string + var r1 error + if rf, ok := ret.Get(0).(func() (map[string]map[string][]string, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() map[string]map[string][]string); ok { r0 = rf() } else { @@ -22,7 +26,6 @@ func (_m *MockCloudResourceManagerRepository) ListProjectsBindings() (map[string } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -31,3 +34,18 @@ func (_m *MockCloudResourceManagerRepository) ListProjectsBindings() (map[string return r0, r1 } + +type mockConstructorTestingTNewMockCloudResourceManagerRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockCloudResourceManagerRepository creates a new instance of MockCloudResourceManagerRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockCloudResourceManagerRepository(t mockConstructorTestingTNewMockCloudResourceManagerRepository) *MockCloudResourceManagerRepository { + mock := &MockCloudResourceManagerRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/remote/google/repository/mock_StorageRepository.go b/enumeration/remote/google/repository/mock_StorageRepository.go index af0be88c0..5dab50744 100644 --- a/enumeration/remote/google/repository/mock_StorageRepository.go +++ b/enumeration/remote/google/repository/mock_StorageRepository.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package repository @@ -14,6 +14,10 @@ func (_m *MockStorageRepository) ListAllBindings(bucketName string) (map[string] ret := _m.Called(bucketName) var r0 map[string][]string + var r1 error + if rf, ok := ret.Get(0).(func(string) (map[string][]string, error)); ok { + return rf(bucketName) + } if rf, ok := ret.Get(0).(func(string) map[string][]string); ok { r0 = rf(bucketName) } else { @@ -22,7 +26,6 @@ func (_m *MockStorageRepository) ListAllBindings(bucketName string) (map[string] } } - var r1 error if rf, ok := ret.Get(1).(func(string) error); ok { r1 = rf(bucketName) } else { @@ -31,3 +34,18 @@ func (_m *MockStorageRepository) ListAllBindings(bucketName string) (map[string] return r0, r1 } + +type mockConstructorTestingTNewMockStorageRepository interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockStorageRepository creates a new instance of MockStorageRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockStorageRepository(t mockConstructorTestingTNewMockStorageRepository) *MockStorageRepository { + mock := &MockStorageRepository{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/enumeration/resource/mock_Supplier.go b/enumeration/resource/mock_Supplier.go index 981d4f489..83b1d2afd 100644 --- a/enumeration/resource/mock_Supplier.go +++ b/enumeration/resource/mock_Supplier.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package resource @@ -14,6 +14,10 @@ func (_m *MockSupplier) Resources() ([]*Resource, error) { ret := _m.Called() var r0 []*Resource + var r1 error + if rf, ok := ret.Get(0).(func() ([]*Resource, error)); ok { + return rf() + } if rf, ok := ret.Get(0).(func() []*Resource); ok { r0 = rf() } else { @@ -22,7 +26,6 @@ func (_m *MockSupplier) Resources() ([]*Resource, error) { } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -31,3 +34,18 @@ func (_m *MockSupplier) Resources() ([]*Resource, error) { return r0, r1 } + +type mockConstructorTestingTNewMockSupplier interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockSupplier creates a new instance of MockSupplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockSupplier(t mockConstructorTestingTNewMockSupplier) *MockSupplier { + mock := &MockSupplier{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/go.mod b/go.mod index 9627a3e5f..08973db20 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module github.com/snyk/driftctl go 1.17 require ( - cloud.google.com/go/asset v0.1.0 - cloud.google.com/go/storage v1.10.0 + cloud.google.com/go/asset v1.8.0 + cloud.google.com/go/storage v1.27.0 github.com/Azure/azure-sdk-for-go/sdk/azcore v0.20.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.12.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v0.2.0 @@ -16,7 +16,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v0.2.0 github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.2.0 github.com/Azure/go-autorest/autorest v0.11.3 - github.com/aws/aws-sdk-go v1.38.68 + github.com/aws/aws-sdk-go v1.44.122 github.com/bmatcuk/doublestar/v4 v4.0.1 github.com/eapache/go-resiliency v1.2.0 github.com/fatih/color v1.9.0 @@ -24,11 +24,11 @@ require ( github.com/getsentry/sentry-go v0.10.0 github.com/ghodss/yaml v1.0.0 github.com/go-git/go-git/v5 v5.4.2 - github.com/hashicorp/go-getter v1.6.1 + github.com/hashicorp/go-getter v1.7.0 github.com/hashicorp/go-hclog v0.9.2 github.com/hashicorp/go-plugin v1.3.0 github.com/hashicorp/go-tfe v0.20.0 - github.com/hashicorp/go-version v1.3.0 + github.com/hashicorp/go-version v1.6.0 github.com/hashicorp/hcl/v2 v2.7.2 github.com/hashicorp/terraform v0.14.0 github.com/hashicorp/terraform-exec v0.14.0 @@ -48,16 +48,18 @@ require ( github.com/yudai/gojsondiff v1.0.0 github.com/zclconf/go-cty v1.8.4 go.uber.org/atomic v1.4.0 - golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a + golang.org/x/oauth2 v0.1.0 golang.org/x/sync v0.1.0 - google.golang.org/api v0.54.0 - google.golang.org/genproto v0.0.0-20210813162853-db860fec028c - google.golang.org/grpc v1.39.1 - google.golang.org/protobuf v1.27.1 + google.golang.org/api v0.100.0 + google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71 + google.golang.org/grpc v1.50.1 + google.golang.org/protobuf v1.28.1 ) require ( - cloud.google.com/go v0.92.1 // indirect + cloud.google.com/go v0.104.0 // indirect + cloud.google.com/go/compute v1.10.0 // indirect + cloud.google.com/go/iam v0.5.0 // indirect github.com/Azure/azure-sdk-for-go v59.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v0.8.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect @@ -80,13 +82,14 @@ require ( github.com/go-git/go-billy/v5 v5.3.1 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect github.com/go-openapi/swag v0.19.5 // indirect - github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/mock v1.6.0 // indirect github.com/golang/protobuf v1.5.2 // indirect - github.com/google/go-cmp v0.5.6 // indirect + github.com/google/go-cmp v0.5.9 // indirect github.com/google/go-querystring v1.1.0 // indirect - github.com/google/uuid v1.1.2 // indirect - github.com/googleapis/gax-go/v2 v2.0.5 // indirect + github.com/google/uuid v1.3.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect + github.com/googleapis/gax-go/v2 v2.6.0 // indirect github.com/hashicorp/errwrap v1.0.0 // indirect github.com/hashicorp/go-checkpoint v0.5.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect @@ -102,13 +105,13 @@ require ( github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect github.com/inconshreveable/mousetrap v1.0.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect - github.com/klauspost/compress v1.11.2 // indirect + github.com/klauspost/compress v1.15.11 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.3 // indirect github.com/magiconair/properties v1.8.1 // indirect github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect github.com/mattn/go-colorable v0.1.7 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect - github.com/mitchellh/go-testing-interface v1.0.4 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect github.com/mitchellh/go-wordwrap v1.0.0 // indirect github.com/mitchellh/mapstructure v1.1.2 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect @@ -123,7 +126,7 @@ require ( github.com/spf13/jwalterweatherman v1.0.0 // indirect github.com/stretchr/objx v0.1.1 // indirect github.com/subosito/gotenv v1.2.0 // indirect - github.com/ulikunitz/xz v0.5.8 // indirect + github.com/ulikunitz/xz v0.5.10 // indirect github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect github.com/vmihailenco/tagparser v0.1.1 // indirect github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect @@ -135,6 +138,7 @@ require ( golang.org/x/sys v0.6.0 // indirect golang.org/x/text v0.8.0 // indirect golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect google.golang.org/appengine v1.6.7 // indirect gopkg.in/ini.v1 v1.51.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/go.sum b/go.sum index d8add5635..c77cd7c01 100644 --- a/go.sum +++ b/go.sum @@ -22,29 +22,164 @@ cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAV cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.92.1 h1:SksndBqcedHQyGc0+BKQNX3HB0KxocwnSU/0VXFeqP0= -cloud.google.com/go v0.92.1/go.mod h1:cMc7asehN84LBi1JGTHo4n8wuaGuNAZ7lR7b1YNJBrE= -cloud.google.com/go/asset v0.1.0 h1:PJ7LYN5g6r8JwDdBABrE/mtNhSu3kKCRgGukKR4v8ok= -cloud.google.com/go/asset v0.1.0/go.mod h1:GYxqEh/Sp2Am02W0znTHRLmpuFNiqoQb5D65WSWlpfU= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= +cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.104.0 h1:gSmWO7DY1vOm0MVU6DNXM11BWHHsTUmsC5cv1fuW5X8= +cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= +cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= +cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= +cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= +cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= +cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= +cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= +cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= +cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= +cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= +cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= +cloud.google.com/go/asset v1.8.0 h1:qzYOcI6u4CD+0R1E8rWbrqs04fISCcg2YYxW8yBAqFM= +cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= +cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= +cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= +cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= +cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= +cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= +cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= +cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= +cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= +cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= +cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= +cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.10.0 h1:aoLIYaA1fX3ywihqpBk2APQKOo20nXsp1GEZQbx5Jk4= +cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= +cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= +cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= +cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= +cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= +cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= +cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= +cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= +cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= +cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= +cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= +cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= +cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= +cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= +cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= +cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= +cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= +cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= +cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= +cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= +cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= +cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= +cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= +cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= +cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= +cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= +cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= +cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= +cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= +cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= +cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= +cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= +cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= +cloud.google.com/go/iam v0.5.0 h1:fz9X5zyTWBmamZsqvqZqD7khbifcZF/q+Z1J8pfhIUg= +cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= +cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= +cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= +cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= +cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= +cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= +cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= +cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= +cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= +cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= +cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= +cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= +cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= +cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= +cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= +cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= +cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= +cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= +cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= +cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= +cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= +cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= +cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= +cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= +cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= +cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= +cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= +cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= +cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= +cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= +cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= +cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= +cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= +cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= +cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= +cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= +cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= +cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= +cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= +cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= +cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= +cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= +cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= +cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= +cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= +cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= +cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= +cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0 h1:STgFzyU5/8miMl0//zKh2aQeTyeaUH3WN9bSUiJ09bA= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= +cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= +cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= +cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= +cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= +cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= +cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= +cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= +cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= +cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= +cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= +cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= +cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= +cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= github.com/Azure/azure-sdk-for-go v45.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -156,8 +291,8 @@ github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgI github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.38.68 h1:aOG8geU4SohNp659eKBHRBgbqSrZ6jNZlfimIuJAwL8= -github.com/aws/aws-sdk-go v1.38.68/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.44.122 h1:p6mw01WBaNpbdP2xrisz5tIkcNwzj/HysobNoaAHjgo= +github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g= github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -173,6 +308,7 @@ github.com/bmatcuk/doublestar/v4 v4.0.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTS github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= @@ -181,7 +317,12 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM= github.com/coreos/bbolt v1.3.0/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= @@ -227,6 +368,8 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/evanphx/json-patch v0.0.0-20190203023257-5858425f7550/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= @@ -296,8 +439,9 @@ github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4er github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -343,8 +487,11 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= @@ -371,16 +518,28 @@ github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210804190019-f964ff605595/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.2.0 h1:y8Yozv7SZtlU//QXbezB6QkpuE6jMD2/gfzk4AftXjs= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5 h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= +github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= +github.com/googleapis/gax-go/v2 v2.6.0 h1:SXk3ABtQYDT/OH8jAyvEOQ58mgawq5C4o/4/89qN2ZU= +github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/gophercloud/gophercloud v0.6.1-0.20191122030953-d8ac278c1c9d/go.mod h1:ozGNgr9KYOVATV5jsgHl/ceCDXGuguqOZAzoQ/2vcNM= github.com/gophercloud/gophercloud v0.10.1-0.20200424014253-c3bfe50899e5/go.mod h1:gmC5oQqMDOMO1t1gq5DquX/yAU808e/4mzjjDA76+Ss= github.com/gophercloud/utils v0.0.0-20200423144003-7c72efc7435d/go.mod h1:ehWUbLQJPqS0Ep+CxeD559hsm9pthPXadJNKwZkp43w= @@ -410,8 +569,8 @@ github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9n github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-getter v1.5.1/go.mod h1:a7z7NPPfNQpJWcn4rSWFtdrSldqLdLPEF3d8nFMsSLM= github.com/hashicorp/go-getter v1.5.3/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI= -github.com/hashicorp/go-getter v1.6.1 h1:NASsgP4q6tL94WH6nJxKWj8As2H/2kop/bB1d8JMyRY= -github.com/hashicorp/go-getter v1.6.1/go.mod h1:IZCrswsZPeWv9IkVnLElzRU/gz/QPi6pZHn4tv6vbwA= +github.com/hashicorp/go-getter v1.7.0 h1:bzrYP+qu/gMrL1au7/aDvkoOVGUJpeKBgbqRHACAFDY= +github.com/hashicorp/go-getter v1.7.0/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-hclog v0.0.0-20180709165350-ff2cf002a8dd/go.mod h1:9bjs9uLqI8l75knNv3lV1kA55veR+WUPSiKIWcQHudI= github.com/hashicorp/go-hclog v0.9.2 h1:CG6TE5H9/JXsFWJCfoIVpKFIkFe6ysEuHirp4DxCsHI= github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= @@ -445,8 +604,9 @@ github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/b github.com/hashicorp/go-version v1.0.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/go-version v1.3.0 h1:McDWVJIU/y+u1BRV06dPaLfLCaT7fUTJLp5r04x7iNw= github.com/hashicorp/go-version v1.3.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= @@ -536,8 +696,9 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.11.2 h1:MiK62aErc3gIiVEtyzKfeOHgW7atJb5g/KNX5m3c2nQ= github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= +github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= +github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3 h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8= @@ -612,8 +773,8 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/go-linereader v0.0.0-20190213213312-1b945b3263eb/go.mod h1:OaY7UOoTkkrX3wRwjpYRKafIkkyeD0UtweSHAWWiqQM= github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-testing-interface v1.0.4 h1:ZU1VNC02qyufSZsjjs7+khruk2fKvbQ3TwRV/IBCeFA= -github.com/mitchellh/go-testing-interface v1.0.4/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4= github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= @@ -767,8 +928,9 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ulikunitz/xz v0.5.8 h1:ERv8V6GKqVi23rgu5cj9pVfVzJbOqAY2Ntl88O6c2nQ= github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8= +github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= @@ -942,7 +1104,18 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= @@ -959,8 +1132,19 @@ golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a h1:4Kd8OPUx1xgUwrHDaviWZO8MsgoZTZYC3g+8m16RBww= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +golang.org/x/oauth2 v0.1.0 h1:isLCZuhj4v+tYv7eskaN4v/TM+A1begWWgyVJDdl1+Y= +golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -972,7 +1156,9 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1041,14 +1227,31 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220517195934-5e4e11fc645e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= @@ -1063,6 +1266,7 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= @@ -1135,8 +1339,12 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -1163,8 +1371,30 @@ google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59t google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0 h1:ECJUVngj71QI6XEm7b1sAf8BljU5inEhMbKPR8Lxhhk= google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= +google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= +google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= +google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= +google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.100.0 h1:LGUYIrbW9pzYQQ8NWXlaIVkgnfubVBZbMFb9P8TK374= +google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1213,6 +1443,7 @@ google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= @@ -1223,8 +1454,58 @@ google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c h1:iLQakcwWG3k/++1q/46apVb1sUQ3IqIdn9yUE6eh/xA= google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= +google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= +google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= +google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71 h1:GEgb2jF5zxsFJpJfg9RoDDWm7tiwc/DDSTE2BtLUkXU= +google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1250,8 +1531,19 @@ google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQ google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.39.1 h1:f37vZbBVTiJ6jKG5mWz8ySOBxNqy6ViPgyhSdVnxF3E= google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY= +google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1265,8 +1557,10 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/pkg/filter/mock_Filter.go b/pkg/filter/mock_Filter.go index 92be8af5e..b14bfe6ea 100644 --- a/pkg/filter/mock_Filter.go +++ b/pkg/filter/mock_Filter.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package filter @@ -53,3 +53,18 @@ func (_m *MockFilter) IsTypeIgnored(ty resource.ResourceType) bool { return r0 } + +type mockConstructorTestingTNewMockFilter interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFilter creates a new instance of MockFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFilter(t mockConstructorTestingTNewMockFilter) *MockFilter { + mock := &MockFilter{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/http/mock_HTTPClient.go b/pkg/http/mock_HTTPClient.go index 90630d90d..87f6c26c3 100644 --- a/pkg/http/mock_HTTPClient.go +++ b/pkg/http/mock_HTTPClient.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package http import ( - "net/http" + nethttp "net/http" mock "github.com/stretchr/testify/mock" ) @@ -14,20 +14,23 @@ type MockHTTPClient struct { } // Do provides a mock function with given fields: req -func (_m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) { +func (_m *MockHTTPClient) Do(req *nethttp.Request) (*nethttp.Response, error) { ret := _m.Called(req) - var r0 *http.Response - if rf, ok := ret.Get(0).(func(*http.Request) *http.Response); ok { + var r0 *nethttp.Response + var r1 error + if rf, ok := ret.Get(0).(func(*nethttp.Request) (*nethttp.Response, error)); ok { + return rf(req) + } + if rf, ok := ret.Get(0).(func(*nethttp.Request) *nethttp.Response); ok { r0 = rf(req) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*http.Response) + r0 = ret.Get(0).(*nethttp.Response) } } - var r1 error - if rf, ok := ret.Get(1).(func(*http.Request) error); ok { + if rf, ok := ret.Get(1).(func(*nethttp.Request) error); ok { r1 = rf(req) } else { r1 = ret.Error(1) @@ -35,3 +38,18 @@ func (_m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) { return r0, r1 } + +type mockConstructorTestingTNewMockHTTPClient interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockHTTPClient creates a new instance of MockHTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockHTTPClient(t mockConstructorTestingTNewMockHTTPClient) *MockHTTPClient { + mock := &MockHTTPClient{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/output/mock_Progress.go b/pkg/output/mock_Progress.go index 46619dc39..f4cf14cfb 100644 --- a/pkg/output/mock_Progress.go +++ b/pkg/output/mock_Progress.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package output @@ -37,3 +37,18 @@ func (_m *MockProgress) Val() uint64 { return r0 } + +type mockConstructorTestingTNewMockProgress interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockProgress creates a new instance of MockProgress. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockProgress(t mockConstructorTestingTNewMockProgress) *MockProgress { + mock := &MockProgress{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/resource/mock_IaCSupplier.go b/pkg/resource/mock_IaCSupplier.go index 508b0126e..073e940ea 100644 --- a/pkg/resource/mock_IaCSupplier.go +++ b/pkg/resource/mock_IaCSupplier.go @@ -1,9 +1,9 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package resource import ( - "github.com/snyk/driftctl/enumeration/resource" + enumerationresource "github.com/snyk/driftctl/enumeration/resource" mock "github.com/stretchr/testify/mock" ) @@ -13,19 +13,22 @@ type MockIaCSupplier struct { } // Resources provides a mock function with given fields: -func (_m *MockIaCSupplier) Resources() ([]*resource.Resource, error) { +func (_m *MockIaCSupplier) Resources() ([]*enumerationresource.Resource, error) { ret := _m.Called() - var r0 []*resource.Resource - if rf, ok := ret.Get(0).(func() []*resource.Resource); ok { + var r0 []*enumerationresource.Resource + var r1 error + if rf, ok := ret.Get(0).(func() ([]*enumerationresource.Resource, error)); ok { + return rf() + } + if rf, ok := ret.Get(0).(func() []*enumerationresource.Resource); ok { r0 = rf() } else { if ret.Get(0) != nil { - r0 = ret.Get(0).([]*resource.Resource) + r0 = ret.Get(0).([]*enumerationresource.Resource) } } - var r1 error if rf, ok := ret.Get(1).(func() error); ok { r1 = rf() } else { @@ -48,3 +51,18 @@ func (_m *MockIaCSupplier) SourceCount() uint { return r0 } + +type mockConstructorTestingTNewMockIaCSupplier interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockIaCSupplier creates a new instance of MockIaCSupplier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockIaCSupplier(t mockConstructorTestingTNewMockIaCSupplier) *MockIaCSupplier { + mock := &MockIaCSupplier{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/pkg/resource/mock_ResourceFactory.go b/pkg/resource/mock_ResourceFactory.go index 1eec2fab8..13bb8d204 100644 --- a/pkg/resource/mock_ResourceFactory.go +++ b/pkg/resource/mock_ResourceFactory.go @@ -1,11 +1,10 @@ -// Code generated by mockery v2.3.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package resource import ( - "github.com/snyk/driftctl/enumeration/resource" + enumerationresource "github.com/snyk/driftctl/enumeration/resource" mock "github.com/stretchr/testify/mock" - cty "github.com/zclconf/go-cty/cty" ) // MockResourceFactory is an autogenerated mock type for the ResourceFactory type @@ -14,40 +13,32 @@ type MockResourceFactory struct { } // CreateAbstractResource provides a mock function with given fields: ty, id, data -func (_m *MockResourceFactory) CreateAbstractResource(ty string, id string, data map[string]interface{}) *resource.Resource { +func (_m *MockResourceFactory) CreateAbstractResource(ty string, id string, data map[string]interface{}) *enumerationresource.Resource { ret := _m.Called(ty, id, data) - var r0 *resource.Resource - if rf, ok := ret.Get(0).(func(string, string, map[string]interface{}) *resource.Resource); ok { + var r0 *enumerationresource.Resource + if rf, ok := ret.Get(0).(func(string, string, map[string]interface{}) *enumerationresource.Resource); ok { r0 = rf(ty, id, data) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*resource.Resource) + r0 = ret.Get(0).(*enumerationresource.Resource) } } return r0 } -// CreateResource provides a mock function with given fields: data, ty -func (_m *MockResourceFactory) CreateResource(data interface{}, ty string) (*cty.Value, error) { - ret := _m.Called(data, ty) +type mockConstructorTestingTNewMockResourceFactory interface { + mock.TestingT + Cleanup(func()) +} - var r0 *cty.Value - if rf, ok := ret.Get(0).(func(interface{}, string) *cty.Value); ok { - r0 = rf(data, ty) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*cty.Value) - } - } +// NewMockResourceFactory creates a new instance of MockResourceFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockResourceFactory(t mockConstructorTestingTNewMockResourceFactory) *MockResourceFactory { + mock := &MockResourceFactory{} + mock.Mock.Test(t) - var r1 error - if rf, ok := ret.Get(1).(func(interface{}, string) error); ok { - r1 = rf(data, ty) - } else { - r1 = ret.Error(1) - } + t.Cleanup(func() { mock.AssertExpectations(t) }) - return r0, r1 + return mock } diff --git a/test/aws/mock_FakeApiGateway.go b/test/aws/mock_FakeApiGateway.go index 7f4504ed3..2cf3a1422 100644 --- a/test/aws/mock_FakeApiGateway.go +++ b/test/aws/mock_FakeApiGateway.go @@ -1,12 +1,12 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws import ( - apigateway "github.com/aws/aws-sdk-go/service/apigateway" - context "context" + apigateway "github.com/aws/aws-sdk-go/service/apigateway" + mock "github.com/stretchr/testify/mock" request "github.com/aws/aws-sdk-go/aws/request" @@ -22,6 +22,10 @@ func (_m *MockFakeApiGateway) CreateApiKey(_a0 *apigateway.CreateApiKeyInput) (* ret := _m.Called(_a0) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateApiKeyInput) (*apigateway.ApiKey, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateApiKeyInput) *apigateway.ApiKey); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeApiGateway) CreateApiKey(_a0 *apigateway.CreateApiKeyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateApiKeyInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeApiGateway) CreateApiKeyRequest(_a0 *apigateway.CreateApiKeyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ApiKey + if rf, ok := ret.Get(0).(func(*apigateway.CreateApiKeyInput) (*request.Request, *apigateway.ApiKey)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateApiKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeApiGateway) CreateApiKeyRequest(_a0 *apigateway.CreateApiKeyIn } } - var r1 *apigateway.ApiKey if rf, ok := ret.Get(1).(func(*apigateway.CreateApiKeyInput) *apigateway.ApiKey); ok { r1 = rf(_a0) } else { @@ -77,6 +83,10 @@ func (_m *MockFakeApiGateway) CreateApiKeyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateApiKeyInput, ...request.Option) (*apigateway.ApiKey, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateApiKeyInput, ...request.Option) *apigateway.ApiKey); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +95,6 @@ func (_m *MockFakeApiGateway) CreateApiKeyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateApiKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -100,6 +109,10 @@ func (_m *MockFakeApiGateway) CreateAuthorizer(_a0 *apigateway.CreateAuthorizerI ret := _m.Called(_a0) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateAuthorizerInput) (*apigateway.Authorizer, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateAuthorizerInput) *apigateway.Authorizer); ok { r0 = rf(_a0) } else { @@ -108,7 +121,6 @@ func (_m *MockFakeApiGateway) CreateAuthorizer(_a0 *apigateway.CreateAuthorizerI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -123,6 +135,10 @@ func (_m *MockFakeApiGateway) CreateAuthorizerRequest(_a0 *apigateway.CreateAuth ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Authorizer + if rf, ok := ret.Get(0).(func(*apigateway.CreateAuthorizerInput) (*request.Request, *apigateway.Authorizer)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +147,6 @@ func (_m *MockFakeApiGateway) CreateAuthorizerRequest(_a0 *apigateway.CreateAuth } } - var r1 *apigateway.Authorizer if rf, ok := ret.Get(1).(func(*apigateway.CreateAuthorizerInput) *apigateway.Authorizer); ok { r1 = rf(_a0) } else { @@ -155,6 +170,10 @@ func (_m *MockFakeApiGateway) CreateAuthorizerWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateAuthorizerInput, ...request.Option) (*apigateway.Authorizer, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateAuthorizerInput, ...request.Option) *apigateway.Authorizer); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +182,6 @@ func (_m *MockFakeApiGateway) CreateAuthorizerWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +196,10 @@ func (_m *MockFakeApiGateway) CreateBasePathMapping(_a0 *apigateway.CreateBasePa ret := _m.Called(_a0) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateBasePathMappingInput) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateBasePathMappingInput) *apigateway.BasePathMapping); ok { r0 = rf(_a0) } else { @@ -186,7 +208,6 @@ func (_m *MockFakeApiGateway) CreateBasePathMapping(_a0 *apigateway.CreateBasePa } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateBasePathMappingInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +222,10 @@ func (_m *MockFakeApiGateway) CreateBasePathMappingRequest(_a0 *apigateway.Creat ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.BasePathMapping + if rf, ok := ret.Get(0).(func(*apigateway.CreateBasePathMappingInput) (*request.Request, *apigateway.BasePathMapping)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateBasePathMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +234,6 @@ func (_m *MockFakeApiGateway) CreateBasePathMappingRequest(_a0 *apigateway.Creat } } - var r1 *apigateway.BasePathMapping if rf, ok := ret.Get(1).(func(*apigateway.CreateBasePathMappingInput) *apigateway.BasePathMapping); ok { r1 = rf(_a0) } else { @@ -233,6 +257,10 @@ func (_m *MockFakeApiGateway) CreateBasePathMappingWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateBasePathMappingInput, ...request.Option) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateBasePathMappingInput, ...request.Option) *apigateway.BasePathMapping); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +269,6 @@ func (_m *MockFakeApiGateway) CreateBasePathMappingWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateBasePathMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +283,10 @@ func (_m *MockFakeApiGateway) CreateDeployment(_a0 *apigateway.CreateDeploymentI ret := _m.Called(_a0) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateDeploymentInput) (*apigateway.Deployment, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDeploymentInput) *apigateway.Deployment); ok { r0 = rf(_a0) } else { @@ -264,7 +295,6 @@ func (_m *MockFakeApiGateway) CreateDeployment(_a0 *apigateway.CreateDeploymentI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -279,6 +309,10 @@ func (_m *MockFakeApiGateway) CreateDeploymentRequest(_a0 *apigateway.CreateDepl ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Deployment + if rf, ok := ret.Get(0).(func(*apigateway.CreateDeploymentInput) (*request.Request, *apigateway.Deployment)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -287,7 +321,6 @@ func (_m *MockFakeApiGateway) CreateDeploymentRequest(_a0 *apigateway.CreateDepl } } - var r1 *apigateway.Deployment if rf, ok := ret.Get(1).(func(*apigateway.CreateDeploymentInput) *apigateway.Deployment); ok { r1 = rf(_a0) } else { @@ -311,6 +344,10 @@ func (_m *MockFakeApiGateway) CreateDeploymentWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDeploymentInput, ...request.Option) (*apigateway.Deployment, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDeploymentInput, ...request.Option) *apigateway.Deployment); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -319,7 +356,6 @@ func (_m *MockFakeApiGateway) CreateDeploymentWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -334,6 +370,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationPart(_a0 *apigateway.CreateDocu ret := _m.Called(_a0) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationPartInput) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationPartInput) *apigateway.DocumentationPart); ok { r0 = rf(_a0) } else { @@ -342,7 +382,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationPart(_a0 *apigateway.CreateDocu } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateDocumentationPartInput) error); ok { r1 = rf(_a0) } else { @@ -357,6 +396,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationPartRequest(_a0 *apigateway.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationPart + if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationPartInput) (*request.Request, *apigateway.DocumentationPart)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -365,7 +408,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationPartRequest(_a0 *apigateway.Cre } } - var r1 *apigateway.DocumentationPart if rf, ok := ret.Get(1).(func(*apigateway.CreateDocumentationPartInput) *apigateway.DocumentationPart); ok { r1 = rf(_a0) } else { @@ -389,6 +431,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationPartWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDocumentationPartInput, ...request.Option) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDocumentationPartInput, ...request.Option) *apigateway.DocumentationPart); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -397,7 +443,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationPartWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateDocumentationPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -412,6 +457,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersion(_a0 *apigateway.CreateD ret := _m.Called(_a0) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationVersionInput) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r0 = rf(_a0) } else { @@ -420,7 +469,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersion(_a0 *apigateway.CreateD } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateDocumentationVersionInput) error); ok { r1 = rf(_a0) } else { @@ -435,6 +483,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersionRequest(_a0 *apigateway. ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationVersion + if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationVersionInput) (*request.Request, *apigateway.DocumentationVersion)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDocumentationVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -443,7 +495,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersionRequest(_a0 *apigateway. } } - var r1 *apigateway.DocumentationVersion if rf, ok := ret.Get(1).(func(*apigateway.CreateDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r1 = rf(_a0) } else { @@ -467,6 +518,10 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersionWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDocumentationVersionInput, ...request.Option) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDocumentationVersionInput, ...request.Option) *apigateway.DocumentationVersion); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -475,7 +530,6 @@ func (_m *MockFakeApiGateway) CreateDocumentationVersionWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateDocumentationVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -490,6 +544,10 @@ func (_m *MockFakeApiGateway) CreateDomainName(_a0 *apigateway.CreateDomainNameI ret := _m.Called(_a0) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateDomainNameInput) (*apigateway.DomainName, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDomainNameInput) *apigateway.DomainName); ok { r0 = rf(_a0) } else { @@ -498,7 +556,6 @@ func (_m *MockFakeApiGateway) CreateDomainName(_a0 *apigateway.CreateDomainNameI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -513,6 +570,10 @@ func (_m *MockFakeApiGateway) CreateDomainNameRequest(_a0 *apigateway.CreateDoma ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DomainName + if rf, ok := ret.Get(0).(func(*apigateway.CreateDomainNameInput) (*request.Request, *apigateway.DomainName)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -521,7 +582,6 @@ func (_m *MockFakeApiGateway) CreateDomainNameRequest(_a0 *apigateway.CreateDoma } } - var r1 *apigateway.DomainName if rf, ok := ret.Get(1).(func(*apigateway.CreateDomainNameInput) *apigateway.DomainName); ok { r1 = rf(_a0) } else { @@ -545,6 +605,10 @@ func (_m *MockFakeApiGateway) CreateDomainNameWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDomainNameInput, ...request.Option) (*apigateway.DomainName, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateDomainNameInput, ...request.Option) *apigateway.DomainName); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -553,7 +617,6 @@ func (_m *MockFakeApiGateway) CreateDomainNameWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -568,6 +631,10 @@ func (_m *MockFakeApiGateway) CreateModel(_a0 *apigateway.CreateModelInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateModelInput) (*apigateway.Model, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateModelInput) *apigateway.Model); ok { r0 = rf(_a0) } else { @@ -576,7 +643,6 @@ func (_m *MockFakeApiGateway) CreateModel(_a0 *apigateway.CreateModelInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateModelInput) error); ok { r1 = rf(_a0) } else { @@ -591,6 +657,10 @@ func (_m *MockFakeApiGateway) CreateModelRequest(_a0 *apigateway.CreateModelInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Model + if rf, ok := ret.Get(0).(func(*apigateway.CreateModelInput) (*request.Request, *apigateway.Model)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -599,7 +669,6 @@ func (_m *MockFakeApiGateway) CreateModelRequest(_a0 *apigateway.CreateModelInpu } } - var r1 *apigateway.Model if rf, ok := ret.Get(1).(func(*apigateway.CreateModelInput) *apigateway.Model); ok { r1 = rf(_a0) } else { @@ -623,6 +692,10 @@ func (_m *MockFakeApiGateway) CreateModelWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateModelInput, ...request.Option) (*apigateway.Model, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateModelInput, ...request.Option) *apigateway.Model); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -631,7 +704,6 @@ func (_m *MockFakeApiGateway) CreateModelWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -646,6 +718,10 @@ func (_m *MockFakeApiGateway) CreateRequestValidator(_a0 *apigateway.CreateReque ret := _m.Called(_a0) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateRequestValidatorInput) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0) } else { @@ -654,7 +730,6 @@ func (_m *MockFakeApiGateway) CreateRequestValidator(_a0 *apigateway.CreateReque } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateRequestValidatorInput) error); ok { r1 = rf(_a0) } else { @@ -669,6 +744,10 @@ func (_m *MockFakeApiGateway) CreateRequestValidatorRequest(_a0 *apigateway.Crea ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateRequestValidatorOutput + if rf, ok := ret.Get(0).(func(*apigateway.CreateRequestValidatorInput) (*request.Request, *apigateway.UpdateRequestValidatorOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateRequestValidatorInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -677,7 +756,6 @@ func (_m *MockFakeApiGateway) CreateRequestValidatorRequest(_a0 *apigateway.Crea } } - var r1 *apigateway.UpdateRequestValidatorOutput if rf, ok := ret.Get(1).(func(*apigateway.CreateRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r1 = rf(_a0) } else { @@ -701,6 +779,10 @@ func (_m *MockFakeApiGateway) CreateRequestValidatorWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateRequestValidatorInput, ...request.Option) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateRequestValidatorInput, ...request.Option) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -709,7 +791,6 @@ func (_m *MockFakeApiGateway) CreateRequestValidatorWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateRequestValidatorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -724,6 +805,10 @@ func (_m *MockFakeApiGateway) CreateResource(_a0 *apigateway.CreateResourceInput ret := _m.Called(_a0) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateResourceInput) (*apigateway.Resource, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateResourceInput) *apigateway.Resource); ok { r0 = rf(_a0) } else { @@ -732,7 +817,6 @@ func (_m *MockFakeApiGateway) CreateResource(_a0 *apigateway.CreateResourceInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateResourceInput) error); ok { r1 = rf(_a0) } else { @@ -747,6 +831,10 @@ func (_m *MockFakeApiGateway) CreateResourceRequest(_a0 *apigateway.CreateResour ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Resource + if rf, ok := ret.Get(0).(func(*apigateway.CreateResourceInput) (*request.Request, *apigateway.Resource)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -755,7 +843,6 @@ func (_m *MockFakeApiGateway) CreateResourceRequest(_a0 *apigateway.CreateResour } } - var r1 *apigateway.Resource if rf, ok := ret.Get(1).(func(*apigateway.CreateResourceInput) *apigateway.Resource); ok { r1 = rf(_a0) } else { @@ -779,6 +866,10 @@ func (_m *MockFakeApiGateway) CreateResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateResourceInput, ...request.Option) (*apigateway.Resource, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateResourceInput, ...request.Option) *apigateway.Resource); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -787,7 +878,6 @@ func (_m *MockFakeApiGateway) CreateResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -802,6 +892,10 @@ func (_m *MockFakeApiGateway) CreateRestApi(_a0 *apigateway.CreateRestApiInput) ret := _m.Called(_a0) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateRestApiInput) (*apigateway.RestApi, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateRestApiInput) *apigateway.RestApi); ok { r0 = rf(_a0) } else { @@ -810,7 +904,6 @@ func (_m *MockFakeApiGateway) CreateRestApi(_a0 *apigateway.CreateRestApiInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -825,6 +918,10 @@ func (_m *MockFakeApiGateway) CreateRestApiRequest(_a0 *apigateway.CreateRestApi ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.RestApi + if rf, ok := ret.Get(0).(func(*apigateway.CreateRestApiInput) (*request.Request, *apigateway.RestApi)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -833,7 +930,6 @@ func (_m *MockFakeApiGateway) CreateRestApiRequest(_a0 *apigateway.CreateRestApi } } - var r1 *apigateway.RestApi if rf, ok := ret.Get(1).(func(*apigateway.CreateRestApiInput) *apigateway.RestApi); ok { r1 = rf(_a0) } else { @@ -857,6 +953,10 @@ func (_m *MockFakeApiGateway) CreateRestApiWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateRestApiInput, ...request.Option) (*apigateway.RestApi, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateRestApiInput, ...request.Option) *apigateway.RestApi); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -865,7 +965,6 @@ func (_m *MockFakeApiGateway) CreateRestApiWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -880,6 +979,10 @@ func (_m *MockFakeApiGateway) CreateStage(_a0 *apigateway.CreateStageInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateStageInput) (*apigateway.Stage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateStageInput) *apigateway.Stage); ok { r0 = rf(_a0) } else { @@ -888,7 +991,6 @@ func (_m *MockFakeApiGateway) CreateStage(_a0 *apigateway.CreateStageInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateStageInput) error); ok { r1 = rf(_a0) } else { @@ -903,6 +1005,10 @@ func (_m *MockFakeApiGateway) CreateStageRequest(_a0 *apigateway.CreateStageInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Stage + if rf, ok := ret.Get(0).(func(*apigateway.CreateStageInput) (*request.Request, *apigateway.Stage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -911,7 +1017,6 @@ func (_m *MockFakeApiGateway) CreateStageRequest(_a0 *apigateway.CreateStageInpu } } - var r1 *apigateway.Stage if rf, ok := ret.Get(1).(func(*apigateway.CreateStageInput) *apigateway.Stage); ok { r1 = rf(_a0) } else { @@ -935,6 +1040,10 @@ func (_m *MockFakeApiGateway) CreateStageWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateStageInput, ...request.Option) (*apigateway.Stage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateStageInput, ...request.Option) *apigateway.Stage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -943,7 +1052,6 @@ func (_m *MockFakeApiGateway) CreateStageWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -958,6 +1066,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlan(_a0 *apigateway.CreateUsagePlanInp ret := _m.Called(_a0) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanInput) (*apigateway.UsagePlan, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanInput) *apigateway.UsagePlan); ok { r0 = rf(_a0) } else { @@ -966,7 +1078,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlan(_a0 *apigateway.CreateUsagePlanInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateUsagePlanInput) error); ok { r1 = rf(_a0) } else { @@ -981,6 +1092,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKey(_a0 *apigateway.CreateUsagePlan ret := _m.Called(_a0) var r0 *apigateway.UsagePlanKey + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanKeyInput) (*apigateway.UsagePlanKey, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanKeyInput) *apigateway.UsagePlanKey); ok { r0 = rf(_a0) } else { @@ -989,7 +1104,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKey(_a0 *apigateway.CreateUsagePlan } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateUsagePlanKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1004,6 +1118,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKeyRequest(_a0 *apigateway.CreateUs ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UsagePlanKey + if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanKeyInput) (*request.Request, *apigateway.UsagePlanKey)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1012,7 +1130,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKeyRequest(_a0 *apigateway.CreateUs } } - var r1 *apigateway.UsagePlanKey if rf, ok := ret.Get(1).(func(*apigateway.CreateUsagePlanKeyInput) *apigateway.UsagePlanKey); ok { r1 = rf(_a0) } else { @@ -1036,6 +1153,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKeyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.UsagePlanKey + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateUsagePlanKeyInput, ...request.Option) (*apigateway.UsagePlanKey, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateUsagePlanKeyInput, ...request.Option) *apigateway.UsagePlanKey); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1044,7 +1165,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlanKeyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateUsagePlanKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1059,6 +1179,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlanRequest(_a0 *apigateway.CreateUsage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UsagePlan + if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanInput) (*request.Request, *apigateway.UsagePlan)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateUsagePlanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1067,7 +1191,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlanRequest(_a0 *apigateway.CreateUsage } } - var r1 *apigateway.UsagePlan if rf, ok := ret.Get(1).(func(*apigateway.CreateUsagePlanInput) *apigateway.UsagePlan); ok { r1 = rf(_a0) } else { @@ -1091,6 +1214,10 @@ func (_m *MockFakeApiGateway) CreateUsagePlanWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateUsagePlanInput, ...request.Option) (*apigateway.UsagePlan, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateUsagePlanInput, ...request.Option) *apigateway.UsagePlan); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1099,7 +1226,6 @@ func (_m *MockFakeApiGateway) CreateUsagePlanWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateUsagePlanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1114,6 +1240,10 @@ func (_m *MockFakeApiGateway) CreateVpcLink(_a0 *apigateway.CreateVpcLinkInput) ret := _m.Called(_a0) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.CreateVpcLinkInput) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -1122,7 +1252,6 @@ func (_m *MockFakeApiGateway) CreateVpcLink(_a0 *apigateway.CreateVpcLinkInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.CreateVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -1137,6 +1266,10 @@ func (_m *MockFakeApiGateway) CreateVpcLinkRequest(_a0 *apigateway.CreateVpcLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigateway.CreateVpcLinkInput) (*request.Request, *apigateway.UpdateVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.CreateVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1145,7 +1278,6 @@ func (_m *MockFakeApiGateway) CreateVpcLinkRequest(_a0 *apigateway.CreateVpcLink } } - var r1 *apigateway.UpdateVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigateway.CreateVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -1169,6 +1301,10 @@ func (_m *MockFakeApiGateway) CreateVpcLinkWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateVpcLinkInput, ...request.Option) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.CreateVpcLinkInput, ...request.Option) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1177,7 +1313,6 @@ func (_m *MockFakeApiGateway) CreateVpcLinkWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.CreateVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1192,6 +1327,10 @@ func (_m *MockFakeApiGateway) DeleteApiKey(_a0 *apigateway.DeleteApiKeyInput) (* ret := _m.Called(_a0) var r0 *apigateway.DeleteApiKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteApiKeyInput) (*apigateway.DeleteApiKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteApiKeyInput) *apigateway.DeleteApiKeyOutput); ok { r0 = rf(_a0) } else { @@ -1200,7 +1339,6 @@ func (_m *MockFakeApiGateway) DeleteApiKey(_a0 *apigateway.DeleteApiKeyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteApiKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1215,6 +1353,10 @@ func (_m *MockFakeApiGateway) DeleteApiKeyRequest(_a0 *apigateway.DeleteApiKeyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteApiKeyOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteApiKeyInput) (*request.Request, *apigateway.DeleteApiKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteApiKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1223,7 +1365,6 @@ func (_m *MockFakeApiGateway) DeleteApiKeyRequest(_a0 *apigateway.DeleteApiKeyIn } } - var r1 *apigateway.DeleteApiKeyOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteApiKeyInput) *apigateway.DeleteApiKeyOutput); ok { r1 = rf(_a0) } else { @@ -1247,6 +1388,10 @@ func (_m *MockFakeApiGateway) DeleteApiKeyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.DeleteApiKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteApiKeyInput, ...request.Option) (*apigateway.DeleteApiKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteApiKeyInput, ...request.Option) *apigateway.DeleteApiKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1255,7 +1400,6 @@ func (_m *MockFakeApiGateway) DeleteApiKeyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteApiKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1270,6 +1414,10 @@ func (_m *MockFakeApiGateway) DeleteAuthorizer(_a0 *apigateway.DeleteAuthorizerI ret := _m.Called(_a0) var r0 *apigateway.DeleteAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteAuthorizerInput) (*apigateway.DeleteAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteAuthorizerInput) *apigateway.DeleteAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -1278,7 +1426,6 @@ func (_m *MockFakeApiGateway) DeleteAuthorizer(_a0 *apigateway.DeleteAuthorizerI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -1293,6 +1440,10 @@ func (_m *MockFakeApiGateway) DeleteAuthorizerRequest(_a0 *apigateway.DeleteAuth ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteAuthorizerInput) (*request.Request, *apigateway.DeleteAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1301,7 +1452,6 @@ func (_m *MockFakeApiGateway) DeleteAuthorizerRequest(_a0 *apigateway.DeleteAuth } } - var r1 *apigateway.DeleteAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteAuthorizerInput) *apigateway.DeleteAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -1325,6 +1475,10 @@ func (_m *MockFakeApiGateway) DeleteAuthorizerWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.DeleteAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteAuthorizerInput, ...request.Option) (*apigateway.DeleteAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteAuthorizerInput, ...request.Option) *apigateway.DeleteAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1333,7 +1487,6 @@ func (_m *MockFakeApiGateway) DeleteAuthorizerWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1348,6 +1501,10 @@ func (_m *MockFakeApiGateway) DeleteBasePathMapping(_a0 *apigateway.DeleteBasePa ret := _m.Called(_a0) var r0 *apigateway.DeleteBasePathMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteBasePathMappingInput) (*apigateway.DeleteBasePathMappingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteBasePathMappingInput) *apigateway.DeleteBasePathMappingOutput); ok { r0 = rf(_a0) } else { @@ -1356,7 +1513,6 @@ func (_m *MockFakeApiGateway) DeleteBasePathMapping(_a0 *apigateway.DeleteBasePa } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteBasePathMappingInput) error); ok { r1 = rf(_a0) } else { @@ -1371,6 +1527,10 @@ func (_m *MockFakeApiGateway) DeleteBasePathMappingRequest(_a0 *apigateway.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteBasePathMappingOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteBasePathMappingInput) (*request.Request, *apigateway.DeleteBasePathMappingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteBasePathMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1379,7 +1539,6 @@ func (_m *MockFakeApiGateway) DeleteBasePathMappingRequest(_a0 *apigateway.Delet } } - var r1 *apigateway.DeleteBasePathMappingOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteBasePathMappingInput) *apigateway.DeleteBasePathMappingOutput); ok { r1 = rf(_a0) } else { @@ -1403,6 +1562,10 @@ func (_m *MockFakeApiGateway) DeleteBasePathMappingWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.DeleteBasePathMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteBasePathMappingInput, ...request.Option) (*apigateway.DeleteBasePathMappingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteBasePathMappingInput, ...request.Option) *apigateway.DeleteBasePathMappingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1411,7 +1574,6 @@ func (_m *MockFakeApiGateway) DeleteBasePathMappingWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteBasePathMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1426,6 +1588,10 @@ func (_m *MockFakeApiGateway) DeleteClientCertificate(_a0 *apigateway.DeleteClie ret := _m.Called(_a0) var r0 *apigateway.DeleteClientCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteClientCertificateInput) (*apigateway.DeleteClientCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteClientCertificateInput) *apigateway.DeleteClientCertificateOutput); ok { r0 = rf(_a0) } else { @@ -1434,7 +1600,6 @@ func (_m *MockFakeApiGateway) DeleteClientCertificate(_a0 *apigateway.DeleteClie } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteClientCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -1449,6 +1614,10 @@ func (_m *MockFakeApiGateway) DeleteClientCertificateRequest(_a0 *apigateway.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteClientCertificateOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteClientCertificateInput) (*request.Request, *apigateway.DeleteClientCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteClientCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1457,7 +1626,6 @@ func (_m *MockFakeApiGateway) DeleteClientCertificateRequest(_a0 *apigateway.Del } } - var r1 *apigateway.DeleteClientCertificateOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteClientCertificateInput) *apigateway.DeleteClientCertificateOutput); ok { r1 = rf(_a0) } else { @@ -1481,6 +1649,10 @@ func (_m *MockFakeApiGateway) DeleteClientCertificateWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.DeleteClientCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteClientCertificateInput, ...request.Option) (*apigateway.DeleteClientCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteClientCertificateInput, ...request.Option) *apigateway.DeleteClientCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1489,7 +1661,6 @@ func (_m *MockFakeApiGateway) DeleteClientCertificateWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteClientCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1504,6 +1675,10 @@ func (_m *MockFakeApiGateway) DeleteDeployment(_a0 *apigateway.DeleteDeploymentI ret := _m.Called(_a0) var r0 *apigateway.DeleteDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDeploymentInput) (*apigateway.DeleteDeploymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDeploymentInput) *apigateway.DeleteDeploymentOutput); ok { r0 = rf(_a0) } else { @@ -1512,7 +1687,6 @@ func (_m *MockFakeApiGateway) DeleteDeployment(_a0 *apigateway.DeleteDeploymentI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -1527,6 +1701,10 @@ func (_m *MockFakeApiGateway) DeleteDeploymentRequest(_a0 *apigateway.DeleteDepl ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteDeploymentOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDeploymentInput) (*request.Request, *apigateway.DeleteDeploymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1535,7 +1713,6 @@ func (_m *MockFakeApiGateway) DeleteDeploymentRequest(_a0 *apigateway.DeleteDepl } } - var r1 *apigateway.DeleteDeploymentOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteDeploymentInput) *apigateway.DeleteDeploymentOutput); ok { r1 = rf(_a0) } else { @@ -1559,6 +1736,10 @@ func (_m *MockFakeApiGateway) DeleteDeploymentWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.DeleteDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDeploymentInput, ...request.Option) (*apigateway.DeleteDeploymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDeploymentInput, ...request.Option) *apigateway.DeleteDeploymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1567,7 +1748,6 @@ func (_m *MockFakeApiGateway) DeleteDeploymentWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1582,6 +1762,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPart(_a0 *apigateway.DeleteDocu ret := _m.Called(_a0) var r0 *apigateway.DeleteDocumentationPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationPartInput) (*apigateway.DeleteDocumentationPartOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationPartInput) *apigateway.DeleteDocumentationPartOutput); ok { r0 = rf(_a0) } else { @@ -1590,7 +1774,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPart(_a0 *apigateway.DeleteDocu } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteDocumentationPartInput) error); ok { r1 = rf(_a0) } else { @@ -1605,6 +1788,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPartRequest(_a0 *apigateway.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteDocumentationPartOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationPartInput) (*request.Request, *apigateway.DeleteDocumentationPartOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1613,7 +1800,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPartRequest(_a0 *apigateway.Del } } - var r1 *apigateway.DeleteDocumentationPartOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteDocumentationPartInput) *apigateway.DeleteDocumentationPartOutput); ok { r1 = rf(_a0) } else { @@ -1637,6 +1823,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPartWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.DeleteDocumentationPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDocumentationPartInput, ...request.Option) (*apigateway.DeleteDocumentationPartOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDocumentationPartInput, ...request.Option) *apigateway.DeleteDocumentationPartOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1645,7 +1835,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationPartWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteDocumentationPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1660,6 +1849,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersion(_a0 *apigateway.DeleteD ret := _m.Called(_a0) var r0 *apigateway.DeleteDocumentationVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationVersionInput) (*apigateway.DeleteDocumentationVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationVersionInput) *apigateway.DeleteDocumentationVersionOutput); ok { r0 = rf(_a0) } else { @@ -1668,7 +1861,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersion(_a0 *apigateway.DeleteD } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteDocumentationVersionInput) error); ok { r1 = rf(_a0) } else { @@ -1683,6 +1875,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersionRequest(_a0 *apigateway. ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteDocumentationVersionOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationVersionInput) (*request.Request, *apigateway.DeleteDocumentationVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDocumentationVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1691,7 +1887,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersionRequest(_a0 *apigateway. } } - var r1 *apigateway.DeleteDocumentationVersionOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteDocumentationVersionInput) *apigateway.DeleteDocumentationVersionOutput); ok { r1 = rf(_a0) } else { @@ -1715,6 +1910,10 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersionWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *apigateway.DeleteDocumentationVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDocumentationVersionInput, ...request.Option) (*apigateway.DeleteDocumentationVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDocumentationVersionInput, ...request.Option) *apigateway.DeleteDocumentationVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1723,7 +1922,6 @@ func (_m *MockFakeApiGateway) DeleteDocumentationVersionWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteDocumentationVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1738,6 +1936,10 @@ func (_m *MockFakeApiGateway) DeleteDomainName(_a0 *apigateway.DeleteDomainNameI ret := _m.Called(_a0) var r0 *apigateway.DeleteDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDomainNameInput) (*apigateway.DeleteDomainNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDomainNameInput) *apigateway.DeleteDomainNameOutput); ok { r0 = rf(_a0) } else { @@ -1746,7 +1948,6 @@ func (_m *MockFakeApiGateway) DeleteDomainName(_a0 *apigateway.DeleteDomainNameI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -1761,6 +1962,10 @@ func (_m *MockFakeApiGateway) DeleteDomainNameRequest(_a0 *apigateway.DeleteDoma ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteDomainNameOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteDomainNameInput) (*request.Request, *apigateway.DeleteDomainNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1769,7 +1974,6 @@ func (_m *MockFakeApiGateway) DeleteDomainNameRequest(_a0 *apigateway.DeleteDoma } } - var r1 *apigateway.DeleteDomainNameOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteDomainNameInput) *apigateway.DeleteDomainNameOutput); ok { r1 = rf(_a0) } else { @@ -1793,6 +1997,10 @@ func (_m *MockFakeApiGateway) DeleteDomainNameWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.DeleteDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDomainNameInput, ...request.Option) (*apigateway.DeleteDomainNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteDomainNameInput, ...request.Option) *apigateway.DeleteDomainNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1801,7 +2009,6 @@ func (_m *MockFakeApiGateway) DeleteDomainNameWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1816,6 +2023,10 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponse(_a0 *apigateway.DeleteGatewa ret := _m.Called(_a0) var r0 *apigateway.DeleteGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteGatewayResponseInput) (*apigateway.DeleteGatewayResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteGatewayResponseInput) *apigateway.DeleteGatewayResponseOutput); ok { r0 = rf(_a0) } else { @@ -1824,7 +2035,6 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponse(_a0 *apigateway.DeleteGatewa } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteGatewayResponseInput) error); ok { r1 = rf(_a0) } else { @@ -1839,6 +2049,10 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponseRequest(_a0 *apigateway.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteGatewayResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteGatewayResponseInput) (*request.Request, *apigateway.DeleteGatewayResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteGatewayResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1847,7 +2061,6 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponseRequest(_a0 *apigateway.Delet } } - var r1 *apigateway.DeleteGatewayResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteGatewayResponseInput) *apigateway.DeleteGatewayResponseOutput); ok { r1 = rf(_a0) } else { @@ -1871,6 +2084,10 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponseWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.DeleteGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteGatewayResponseInput, ...request.Option) (*apigateway.DeleteGatewayResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteGatewayResponseInput, ...request.Option) *apigateway.DeleteGatewayResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1879,7 +2096,6 @@ func (_m *MockFakeApiGateway) DeleteGatewayResponseWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteGatewayResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1894,6 +2110,10 @@ func (_m *MockFakeApiGateway) DeleteIntegration(_a0 *apigateway.DeleteIntegratio ret := _m.Called(_a0) var r0 *apigateway.DeleteIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationInput) (*apigateway.DeleteIntegrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationInput) *apigateway.DeleteIntegrationOutput); ok { r0 = rf(_a0) } else { @@ -1902,7 +2122,6 @@ func (_m *MockFakeApiGateway) DeleteIntegration(_a0 *apigateway.DeleteIntegratio } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -1917,6 +2136,10 @@ func (_m *MockFakeApiGateway) DeleteIntegrationRequest(_a0 *apigateway.DeleteInt ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteIntegrationOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationInput) (*request.Request, *apigateway.DeleteIntegrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1925,7 +2148,6 @@ func (_m *MockFakeApiGateway) DeleteIntegrationRequest(_a0 *apigateway.DeleteInt } } - var r1 *apigateway.DeleteIntegrationOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteIntegrationInput) *apigateway.DeleteIntegrationOutput); ok { r1 = rf(_a0) } else { @@ -1942,6 +2164,10 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponse(_a0 *apigateway.DeleteIn ret := _m.Called(_a0) var r0 *apigateway.DeleteIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationResponseInput) (*apigateway.DeleteIntegrationResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationResponseInput) *apigateway.DeleteIntegrationResponseOutput); ok { r0 = rf(_a0) } else { @@ -1950,7 +2176,6 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponse(_a0 *apigateway.DeleteIn } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -1965,6 +2190,10 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponseRequest(_a0 *apigateway.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteIntegrationResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationResponseInput) (*request.Request, *apigateway.DeleteIntegrationResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1973,7 +2202,6 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponseRequest(_a0 *apigateway.D } } - var r1 *apigateway.DeleteIntegrationResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteIntegrationResponseInput) *apigateway.DeleteIntegrationResponseOutput); ok { r1 = rf(_a0) } else { @@ -1997,6 +2225,10 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponseWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigateway.DeleteIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteIntegrationResponseInput, ...request.Option) (*apigateway.DeleteIntegrationResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteIntegrationResponseInput, ...request.Option) *apigateway.DeleteIntegrationResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2005,7 +2237,6 @@ func (_m *MockFakeApiGateway) DeleteIntegrationResponseWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2027,6 +2258,10 @@ func (_m *MockFakeApiGateway) DeleteIntegrationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.DeleteIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteIntegrationInput, ...request.Option) (*apigateway.DeleteIntegrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteIntegrationInput, ...request.Option) *apigateway.DeleteIntegrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2035,7 +2270,6 @@ func (_m *MockFakeApiGateway) DeleteIntegrationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2050,6 +2284,10 @@ func (_m *MockFakeApiGateway) DeleteMethod(_a0 *apigateway.DeleteMethodInput) (* ret := _m.Called(_a0) var r0 *apigateway.DeleteMethodOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodInput) (*apigateway.DeleteMethodOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodInput) *apigateway.DeleteMethodOutput); ok { r0 = rf(_a0) } else { @@ -2058,7 +2296,6 @@ func (_m *MockFakeApiGateway) DeleteMethod(_a0 *apigateway.DeleteMethodInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteMethodInput) error); ok { r1 = rf(_a0) } else { @@ -2073,6 +2310,10 @@ func (_m *MockFakeApiGateway) DeleteMethodRequest(_a0 *apigateway.DeleteMethodIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteMethodOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodInput) (*request.Request, *apigateway.DeleteMethodOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2081,7 +2322,6 @@ func (_m *MockFakeApiGateway) DeleteMethodRequest(_a0 *apigateway.DeleteMethodIn } } - var r1 *apigateway.DeleteMethodOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteMethodInput) *apigateway.DeleteMethodOutput); ok { r1 = rf(_a0) } else { @@ -2098,6 +2338,10 @@ func (_m *MockFakeApiGateway) DeleteMethodResponse(_a0 *apigateway.DeleteMethodR ret := _m.Called(_a0) var r0 *apigateway.DeleteMethodResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodResponseInput) (*apigateway.DeleteMethodResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodResponseInput) *apigateway.DeleteMethodResponseOutput); ok { r0 = rf(_a0) } else { @@ -2106,7 +2350,6 @@ func (_m *MockFakeApiGateway) DeleteMethodResponse(_a0 *apigateway.DeleteMethodR } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteMethodResponseInput) error); ok { r1 = rf(_a0) } else { @@ -2121,6 +2364,10 @@ func (_m *MockFakeApiGateway) DeleteMethodResponseRequest(_a0 *apigateway.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteMethodResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodResponseInput) (*request.Request, *apigateway.DeleteMethodResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteMethodResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2129,7 +2376,6 @@ func (_m *MockFakeApiGateway) DeleteMethodResponseRequest(_a0 *apigateway.Delete } } - var r1 *apigateway.DeleteMethodResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteMethodResponseInput) *apigateway.DeleteMethodResponseOutput); ok { r1 = rf(_a0) } else { @@ -2153,6 +2399,10 @@ func (_m *MockFakeApiGateway) DeleteMethodResponseWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.DeleteMethodResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteMethodResponseInput, ...request.Option) (*apigateway.DeleteMethodResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteMethodResponseInput, ...request.Option) *apigateway.DeleteMethodResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2161,7 +2411,6 @@ func (_m *MockFakeApiGateway) DeleteMethodResponseWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteMethodResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2183,6 +2432,10 @@ func (_m *MockFakeApiGateway) DeleteMethodWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.DeleteMethodOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteMethodInput, ...request.Option) (*apigateway.DeleteMethodOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteMethodInput, ...request.Option) *apigateway.DeleteMethodOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2191,7 +2444,6 @@ func (_m *MockFakeApiGateway) DeleteMethodWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteMethodInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2206,6 +2458,10 @@ func (_m *MockFakeApiGateway) DeleteModel(_a0 *apigateway.DeleteModelInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.DeleteModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteModelInput) (*apigateway.DeleteModelOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteModelInput) *apigateway.DeleteModelOutput); ok { r0 = rf(_a0) } else { @@ -2214,7 +2470,6 @@ func (_m *MockFakeApiGateway) DeleteModel(_a0 *apigateway.DeleteModelInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteModelInput) error); ok { r1 = rf(_a0) } else { @@ -2229,6 +2484,10 @@ func (_m *MockFakeApiGateway) DeleteModelRequest(_a0 *apigateway.DeleteModelInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteModelOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteModelInput) (*request.Request, *apigateway.DeleteModelOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2237,7 +2496,6 @@ func (_m *MockFakeApiGateway) DeleteModelRequest(_a0 *apigateway.DeleteModelInpu } } - var r1 *apigateway.DeleteModelOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteModelInput) *apigateway.DeleteModelOutput); ok { r1 = rf(_a0) } else { @@ -2261,6 +2519,10 @@ func (_m *MockFakeApiGateway) DeleteModelWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.DeleteModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteModelInput, ...request.Option) (*apigateway.DeleteModelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteModelInput, ...request.Option) *apigateway.DeleteModelOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2269,7 +2531,6 @@ func (_m *MockFakeApiGateway) DeleteModelWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2284,6 +2545,10 @@ func (_m *MockFakeApiGateway) DeleteRequestValidator(_a0 *apigateway.DeleteReque ret := _m.Called(_a0) var r0 *apigateway.DeleteRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteRequestValidatorInput) (*apigateway.DeleteRequestValidatorOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteRequestValidatorInput) *apigateway.DeleteRequestValidatorOutput); ok { r0 = rf(_a0) } else { @@ -2292,7 +2557,6 @@ func (_m *MockFakeApiGateway) DeleteRequestValidator(_a0 *apigateway.DeleteReque } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteRequestValidatorInput) error); ok { r1 = rf(_a0) } else { @@ -2307,6 +2571,10 @@ func (_m *MockFakeApiGateway) DeleteRequestValidatorRequest(_a0 *apigateway.Dele ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteRequestValidatorOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteRequestValidatorInput) (*request.Request, *apigateway.DeleteRequestValidatorOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteRequestValidatorInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2315,7 +2583,6 @@ func (_m *MockFakeApiGateway) DeleteRequestValidatorRequest(_a0 *apigateway.Dele } } - var r1 *apigateway.DeleteRequestValidatorOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteRequestValidatorInput) *apigateway.DeleteRequestValidatorOutput); ok { r1 = rf(_a0) } else { @@ -2339,6 +2606,10 @@ func (_m *MockFakeApiGateway) DeleteRequestValidatorWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *apigateway.DeleteRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteRequestValidatorInput, ...request.Option) (*apigateway.DeleteRequestValidatorOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteRequestValidatorInput, ...request.Option) *apigateway.DeleteRequestValidatorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2347,7 +2618,6 @@ func (_m *MockFakeApiGateway) DeleteRequestValidatorWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteRequestValidatorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2362,6 +2632,10 @@ func (_m *MockFakeApiGateway) DeleteResource(_a0 *apigateway.DeleteResourceInput ret := _m.Called(_a0) var r0 *apigateway.DeleteResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteResourceInput) (*apigateway.DeleteResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteResourceInput) *apigateway.DeleteResourceOutput); ok { r0 = rf(_a0) } else { @@ -2370,7 +2644,6 @@ func (_m *MockFakeApiGateway) DeleteResource(_a0 *apigateway.DeleteResourceInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteResourceInput) error); ok { r1 = rf(_a0) } else { @@ -2385,6 +2658,10 @@ func (_m *MockFakeApiGateway) DeleteResourceRequest(_a0 *apigateway.DeleteResour ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteResourceOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteResourceInput) (*request.Request, *apigateway.DeleteResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2393,7 +2670,6 @@ func (_m *MockFakeApiGateway) DeleteResourceRequest(_a0 *apigateway.DeleteResour } } - var r1 *apigateway.DeleteResourceOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteResourceInput) *apigateway.DeleteResourceOutput); ok { r1 = rf(_a0) } else { @@ -2417,6 +2693,10 @@ func (_m *MockFakeApiGateway) DeleteResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.DeleteResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteResourceInput, ...request.Option) (*apigateway.DeleteResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteResourceInput, ...request.Option) *apigateway.DeleteResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2425,7 +2705,6 @@ func (_m *MockFakeApiGateway) DeleteResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2440,6 +2719,10 @@ func (_m *MockFakeApiGateway) DeleteRestApi(_a0 *apigateway.DeleteRestApiInput) ret := _m.Called(_a0) var r0 *apigateway.DeleteRestApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteRestApiInput) (*apigateway.DeleteRestApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteRestApiInput) *apigateway.DeleteRestApiOutput); ok { r0 = rf(_a0) } else { @@ -2448,7 +2731,6 @@ func (_m *MockFakeApiGateway) DeleteRestApi(_a0 *apigateway.DeleteRestApiInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -2463,6 +2745,10 @@ func (_m *MockFakeApiGateway) DeleteRestApiRequest(_a0 *apigateway.DeleteRestApi ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteRestApiOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteRestApiInput) (*request.Request, *apigateway.DeleteRestApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2471,7 +2757,6 @@ func (_m *MockFakeApiGateway) DeleteRestApiRequest(_a0 *apigateway.DeleteRestApi } } - var r1 *apigateway.DeleteRestApiOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteRestApiInput) *apigateway.DeleteRestApiOutput); ok { r1 = rf(_a0) } else { @@ -2495,6 +2780,10 @@ func (_m *MockFakeApiGateway) DeleteRestApiWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.DeleteRestApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteRestApiInput, ...request.Option) (*apigateway.DeleteRestApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteRestApiInput, ...request.Option) *apigateway.DeleteRestApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2503,7 +2792,6 @@ func (_m *MockFakeApiGateway) DeleteRestApiWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2518,6 +2806,10 @@ func (_m *MockFakeApiGateway) DeleteStage(_a0 *apigateway.DeleteStageInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.DeleteStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteStageInput) (*apigateway.DeleteStageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteStageInput) *apigateway.DeleteStageOutput); ok { r0 = rf(_a0) } else { @@ -2526,7 +2818,6 @@ func (_m *MockFakeApiGateway) DeleteStage(_a0 *apigateway.DeleteStageInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteStageInput) error); ok { r1 = rf(_a0) } else { @@ -2541,6 +2832,10 @@ func (_m *MockFakeApiGateway) DeleteStageRequest(_a0 *apigateway.DeleteStageInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteStageOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteStageInput) (*request.Request, *apigateway.DeleteStageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2549,7 +2844,6 @@ func (_m *MockFakeApiGateway) DeleteStageRequest(_a0 *apigateway.DeleteStageInpu } } - var r1 *apigateway.DeleteStageOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteStageInput) *apigateway.DeleteStageOutput); ok { r1 = rf(_a0) } else { @@ -2573,6 +2867,10 @@ func (_m *MockFakeApiGateway) DeleteStageWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.DeleteStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteStageInput, ...request.Option) (*apigateway.DeleteStageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteStageInput, ...request.Option) *apigateway.DeleteStageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2581,7 +2879,6 @@ func (_m *MockFakeApiGateway) DeleteStageWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2596,6 +2893,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlan(_a0 *apigateway.DeleteUsagePlanInp ret := _m.Called(_a0) var r0 *apigateway.DeleteUsagePlanOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanInput) (*apigateway.DeleteUsagePlanOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanInput) *apigateway.DeleteUsagePlanOutput); ok { r0 = rf(_a0) } else { @@ -2604,7 +2905,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlan(_a0 *apigateway.DeleteUsagePlanInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteUsagePlanInput) error); ok { r1 = rf(_a0) } else { @@ -2619,6 +2919,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKey(_a0 *apigateway.DeleteUsagePlan ret := _m.Called(_a0) var r0 *apigateway.DeleteUsagePlanKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanKeyInput) (*apigateway.DeleteUsagePlanKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanKeyInput) *apigateway.DeleteUsagePlanKeyOutput); ok { r0 = rf(_a0) } else { @@ -2627,7 +2931,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKey(_a0 *apigateway.DeleteUsagePlan } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteUsagePlanKeyInput) error); ok { r1 = rf(_a0) } else { @@ -2642,6 +2945,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKeyRequest(_a0 *apigateway.DeleteUs ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteUsagePlanKeyOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanKeyInput) (*request.Request, *apigateway.DeleteUsagePlanKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2650,7 +2957,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKeyRequest(_a0 *apigateway.DeleteUs } } - var r1 *apigateway.DeleteUsagePlanKeyOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteUsagePlanKeyInput) *apigateway.DeleteUsagePlanKeyOutput); ok { r1 = rf(_a0) } else { @@ -2674,6 +2980,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKeyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.DeleteUsagePlanKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteUsagePlanKeyInput, ...request.Option) (*apigateway.DeleteUsagePlanKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteUsagePlanKeyInput, ...request.Option) *apigateway.DeleteUsagePlanKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2682,7 +2992,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanKeyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteUsagePlanKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2697,6 +3006,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanRequest(_a0 *apigateway.DeleteUsage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteUsagePlanOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanInput) (*request.Request, *apigateway.DeleteUsagePlanOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteUsagePlanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2705,7 +3018,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanRequest(_a0 *apigateway.DeleteUsage } } - var r1 *apigateway.DeleteUsagePlanOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteUsagePlanInput) *apigateway.DeleteUsagePlanOutput); ok { r1 = rf(_a0) } else { @@ -2729,6 +3041,10 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigateway.DeleteUsagePlanOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteUsagePlanInput, ...request.Option) (*apigateway.DeleteUsagePlanOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteUsagePlanInput, ...request.Option) *apigateway.DeleteUsagePlanOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2737,7 +3053,6 @@ func (_m *MockFakeApiGateway) DeleteUsagePlanWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteUsagePlanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2752,6 +3067,10 @@ func (_m *MockFakeApiGateway) DeleteVpcLink(_a0 *apigateway.DeleteVpcLinkInput) ret := _m.Called(_a0) var r0 *apigateway.DeleteVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.DeleteVpcLinkInput) (*apigateway.DeleteVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteVpcLinkInput) *apigateway.DeleteVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -2760,7 +3079,6 @@ func (_m *MockFakeApiGateway) DeleteVpcLink(_a0 *apigateway.DeleteVpcLinkInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.DeleteVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -2775,6 +3093,10 @@ func (_m *MockFakeApiGateway) DeleteVpcLinkRequest(_a0 *apigateway.DeleteVpcLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DeleteVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigateway.DeleteVpcLinkInput) (*request.Request, *apigateway.DeleteVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.DeleteVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2783,7 +3105,6 @@ func (_m *MockFakeApiGateway) DeleteVpcLinkRequest(_a0 *apigateway.DeleteVpcLink } } - var r1 *apigateway.DeleteVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigateway.DeleteVpcLinkInput) *apigateway.DeleteVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -2807,6 +3128,10 @@ func (_m *MockFakeApiGateway) DeleteVpcLinkWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.DeleteVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteVpcLinkInput, ...request.Option) (*apigateway.DeleteVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.DeleteVpcLinkInput, ...request.Option) *apigateway.DeleteVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2815,7 +3140,6 @@ func (_m *MockFakeApiGateway) DeleteVpcLinkWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.DeleteVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2830,6 +3154,10 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCache(_a0 *apigateway.FlushSt ret := _m.Called(_a0) var r0 *apigateway.FlushStageAuthorizersCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.FlushStageAuthorizersCacheInput) (*apigateway.FlushStageAuthorizersCacheOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.FlushStageAuthorizersCacheInput) *apigateway.FlushStageAuthorizersCacheOutput); ok { r0 = rf(_a0) } else { @@ -2838,7 +3166,6 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCache(_a0 *apigateway.FlushSt } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.FlushStageAuthorizersCacheInput) error); ok { r1 = rf(_a0) } else { @@ -2853,6 +3180,10 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCacheRequest(_a0 *apigateway. ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.FlushStageAuthorizersCacheOutput + if rf, ok := ret.Get(0).(func(*apigateway.FlushStageAuthorizersCacheInput) (*request.Request, *apigateway.FlushStageAuthorizersCacheOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.FlushStageAuthorizersCacheInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2861,7 +3192,6 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCacheRequest(_a0 *apigateway. } } - var r1 *apigateway.FlushStageAuthorizersCacheOutput if rf, ok := ret.Get(1).(func(*apigateway.FlushStageAuthorizersCacheInput) *apigateway.FlushStageAuthorizersCacheOutput); ok { r1 = rf(_a0) } else { @@ -2885,6 +3215,10 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCacheWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *apigateway.FlushStageAuthorizersCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.FlushStageAuthorizersCacheInput, ...request.Option) (*apigateway.FlushStageAuthorizersCacheOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.FlushStageAuthorizersCacheInput, ...request.Option) *apigateway.FlushStageAuthorizersCacheOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2893,7 +3227,6 @@ func (_m *MockFakeApiGateway) FlushStageAuthorizersCacheWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.FlushStageAuthorizersCacheInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2908,6 +3241,10 @@ func (_m *MockFakeApiGateway) FlushStageCache(_a0 *apigateway.FlushStageCacheInp ret := _m.Called(_a0) var r0 *apigateway.FlushStageCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.FlushStageCacheInput) (*apigateway.FlushStageCacheOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.FlushStageCacheInput) *apigateway.FlushStageCacheOutput); ok { r0 = rf(_a0) } else { @@ -2916,7 +3253,6 @@ func (_m *MockFakeApiGateway) FlushStageCache(_a0 *apigateway.FlushStageCacheInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.FlushStageCacheInput) error); ok { r1 = rf(_a0) } else { @@ -2931,6 +3267,10 @@ func (_m *MockFakeApiGateway) FlushStageCacheRequest(_a0 *apigateway.FlushStageC ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.FlushStageCacheOutput + if rf, ok := ret.Get(0).(func(*apigateway.FlushStageCacheInput) (*request.Request, *apigateway.FlushStageCacheOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.FlushStageCacheInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2939,7 +3279,6 @@ func (_m *MockFakeApiGateway) FlushStageCacheRequest(_a0 *apigateway.FlushStageC } } - var r1 *apigateway.FlushStageCacheOutput if rf, ok := ret.Get(1).(func(*apigateway.FlushStageCacheInput) *apigateway.FlushStageCacheOutput); ok { r1 = rf(_a0) } else { @@ -2963,6 +3302,10 @@ func (_m *MockFakeApiGateway) FlushStageCacheWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigateway.FlushStageCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.FlushStageCacheInput, ...request.Option) (*apigateway.FlushStageCacheOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.FlushStageCacheInput, ...request.Option) *apigateway.FlushStageCacheOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2971,7 +3314,6 @@ func (_m *MockFakeApiGateway) FlushStageCacheWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.FlushStageCacheInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2986,6 +3328,10 @@ func (_m *MockFakeApiGateway) GenerateClientCertificate(_a0 *apigateway.Generate ret := _m.Called(_a0) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GenerateClientCertificateInput) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GenerateClientCertificateInput) *apigateway.ClientCertificate); ok { r0 = rf(_a0) } else { @@ -2994,7 +3340,6 @@ func (_m *MockFakeApiGateway) GenerateClientCertificate(_a0 *apigateway.Generate } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GenerateClientCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -3009,6 +3354,10 @@ func (_m *MockFakeApiGateway) GenerateClientCertificateRequest(_a0 *apigateway.G ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ClientCertificate + if rf, ok := ret.Get(0).(func(*apigateway.GenerateClientCertificateInput) (*request.Request, *apigateway.ClientCertificate)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GenerateClientCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3017,7 +3366,6 @@ func (_m *MockFakeApiGateway) GenerateClientCertificateRequest(_a0 *apigateway.G } } - var r1 *apigateway.ClientCertificate if rf, ok := ret.Get(1).(func(*apigateway.GenerateClientCertificateInput) *apigateway.ClientCertificate); ok { r1 = rf(_a0) } else { @@ -3041,6 +3389,10 @@ func (_m *MockFakeApiGateway) GenerateClientCertificateWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GenerateClientCertificateInput, ...request.Option) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GenerateClientCertificateInput, ...request.Option) *apigateway.ClientCertificate); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3049,7 +3401,6 @@ func (_m *MockFakeApiGateway) GenerateClientCertificateWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GenerateClientCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3064,6 +3415,10 @@ func (_m *MockFakeApiGateway) GetAccount(_a0 *apigateway.GetAccountInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.Account + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetAccountInput) (*apigateway.Account, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAccountInput) *apigateway.Account); ok { r0 = rf(_a0) } else { @@ -3072,7 +3427,6 @@ func (_m *MockFakeApiGateway) GetAccount(_a0 *apigateway.GetAccountInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetAccountInput) error); ok { r1 = rf(_a0) } else { @@ -3087,6 +3441,10 @@ func (_m *MockFakeApiGateway) GetAccountRequest(_a0 *apigateway.GetAccountInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Account + if rf, ok := ret.Get(0).(func(*apigateway.GetAccountInput) (*request.Request, *apigateway.Account)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAccountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3095,7 +3453,6 @@ func (_m *MockFakeApiGateway) GetAccountRequest(_a0 *apigateway.GetAccountInput) } } - var r1 *apigateway.Account if rf, ok := ret.Get(1).(func(*apigateway.GetAccountInput) *apigateway.Account); ok { r1 = rf(_a0) } else { @@ -3119,6 +3476,10 @@ func (_m *MockFakeApiGateway) GetAccountWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.Account + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAccountInput, ...request.Option) (*apigateway.Account, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAccountInput, ...request.Option) *apigateway.Account); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3127,7 +3488,6 @@ func (_m *MockFakeApiGateway) GetAccountWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetAccountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3142,6 +3502,10 @@ func (_m *MockFakeApiGateway) GetApiKey(_a0 *apigateway.GetApiKeyInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeyInput) (*apigateway.ApiKey, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeyInput) *apigateway.ApiKey); ok { r0 = rf(_a0) } else { @@ -3150,7 +3514,6 @@ func (_m *MockFakeApiGateway) GetApiKey(_a0 *apigateway.GetApiKeyInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetApiKeyInput) error); ok { r1 = rf(_a0) } else { @@ -3165,6 +3528,10 @@ func (_m *MockFakeApiGateway) GetApiKeyRequest(_a0 *apigateway.GetApiKeyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ApiKey + if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeyInput) (*request.Request, *apigateway.ApiKey)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3173,7 +3540,6 @@ func (_m *MockFakeApiGateway) GetApiKeyRequest(_a0 *apigateway.GetApiKeyInput) ( } } - var r1 *apigateway.ApiKey if rf, ok := ret.Get(1).(func(*apigateway.GetApiKeyInput) *apigateway.ApiKey); ok { r1 = rf(_a0) } else { @@ -3197,6 +3563,10 @@ func (_m *MockFakeApiGateway) GetApiKeyWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetApiKeyInput, ...request.Option) (*apigateway.ApiKey, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetApiKeyInput, ...request.Option) *apigateway.ApiKey); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3205,7 +3575,6 @@ func (_m *MockFakeApiGateway) GetApiKeyWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetApiKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3220,6 +3589,10 @@ func (_m *MockFakeApiGateway) GetApiKeys(_a0 *apigateway.GetApiKeysInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.GetApiKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeysInput) (*apigateway.GetApiKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeysInput) *apigateway.GetApiKeysOutput); ok { r0 = rf(_a0) } else { @@ -3228,7 +3601,6 @@ func (_m *MockFakeApiGateway) GetApiKeys(_a0 *apigateway.GetApiKeysInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetApiKeysInput) error); ok { r1 = rf(_a0) } else { @@ -3278,6 +3650,10 @@ func (_m *MockFakeApiGateway) GetApiKeysRequest(_a0 *apigateway.GetApiKeysInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetApiKeysOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeysInput) (*request.Request, *apigateway.GetApiKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetApiKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3286,7 +3662,6 @@ func (_m *MockFakeApiGateway) GetApiKeysRequest(_a0 *apigateway.GetApiKeysInput) } } - var r1 *apigateway.GetApiKeysOutput if rf, ok := ret.Get(1).(func(*apigateway.GetApiKeysInput) *apigateway.GetApiKeysOutput); ok { r1 = rf(_a0) } else { @@ -3310,6 +3685,10 @@ func (_m *MockFakeApiGateway) GetApiKeysWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.GetApiKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetApiKeysInput, ...request.Option) (*apigateway.GetApiKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetApiKeysInput, ...request.Option) *apigateway.GetApiKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3318,7 +3697,6 @@ func (_m *MockFakeApiGateway) GetApiKeysWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetApiKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3333,6 +3711,10 @@ func (_m *MockFakeApiGateway) GetAuthorizer(_a0 *apigateway.GetAuthorizerInput) ret := _m.Called(_a0) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizerInput) (*apigateway.Authorizer, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizerInput) *apigateway.Authorizer); ok { r0 = rf(_a0) } else { @@ -3341,7 +3723,6 @@ func (_m *MockFakeApiGateway) GetAuthorizer(_a0 *apigateway.GetAuthorizerInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -3356,6 +3737,10 @@ func (_m *MockFakeApiGateway) GetAuthorizerRequest(_a0 *apigateway.GetAuthorizer ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Authorizer + if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizerInput) (*request.Request, *apigateway.Authorizer)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3364,7 +3749,6 @@ func (_m *MockFakeApiGateway) GetAuthorizerRequest(_a0 *apigateway.GetAuthorizer } } - var r1 *apigateway.Authorizer if rf, ok := ret.Get(1).(func(*apigateway.GetAuthorizerInput) *apigateway.Authorizer); ok { r1 = rf(_a0) } else { @@ -3388,6 +3772,10 @@ func (_m *MockFakeApiGateway) GetAuthorizerWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAuthorizerInput, ...request.Option) (*apigateway.Authorizer, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAuthorizerInput, ...request.Option) *apigateway.Authorizer); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3396,7 +3784,6 @@ func (_m *MockFakeApiGateway) GetAuthorizerWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3411,6 +3798,10 @@ func (_m *MockFakeApiGateway) GetAuthorizers(_a0 *apigateway.GetAuthorizersInput ret := _m.Called(_a0) var r0 *apigateway.GetAuthorizersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizersInput) (*apigateway.GetAuthorizersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizersInput) *apigateway.GetAuthorizersOutput); ok { r0 = rf(_a0) } else { @@ -3419,7 +3810,6 @@ func (_m *MockFakeApiGateway) GetAuthorizers(_a0 *apigateway.GetAuthorizersInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetAuthorizersInput) error); ok { r1 = rf(_a0) } else { @@ -3434,6 +3824,10 @@ func (_m *MockFakeApiGateway) GetAuthorizersRequest(_a0 *apigateway.GetAuthorize ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetAuthorizersOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizersInput) (*request.Request, *apigateway.GetAuthorizersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetAuthorizersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3442,7 +3836,6 @@ func (_m *MockFakeApiGateway) GetAuthorizersRequest(_a0 *apigateway.GetAuthorize } } - var r1 *apigateway.GetAuthorizersOutput if rf, ok := ret.Get(1).(func(*apigateway.GetAuthorizersInput) *apigateway.GetAuthorizersOutput); ok { r1 = rf(_a0) } else { @@ -3466,6 +3859,10 @@ func (_m *MockFakeApiGateway) GetAuthorizersWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.GetAuthorizersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAuthorizersInput, ...request.Option) (*apigateway.GetAuthorizersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetAuthorizersInput, ...request.Option) *apigateway.GetAuthorizersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3474,7 +3871,6 @@ func (_m *MockFakeApiGateway) GetAuthorizersWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetAuthorizersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3489,6 +3885,10 @@ func (_m *MockFakeApiGateway) GetBasePathMapping(_a0 *apigateway.GetBasePathMapp ret := _m.Called(_a0) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingInput) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingInput) *apigateway.BasePathMapping); ok { r0 = rf(_a0) } else { @@ -3497,7 +3897,6 @@ func (_m *MockFakeApiGateway) GetBasePathMapping(_a0 *apigateway.GetBasePathMapp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetBasePathMappingInput) error); ok { r1 = rf(_a0) } else { @@ -3512,6 +3911,10 @@ func (_m *MockFakeApiGateway) GetBasePathMappingRequest(_a0 *apigateway.GetBaseP ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.BasePathMapping + if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingInput) (*request.Request, *apigateway.BasePathMapping)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3520,7 +3923,6 @@ func (_m *MockFakeApiGateway) GetBasePathMappingRequest(_a0 *apigateway.GetBaseP } } - var r1 *apigateway.BasePathMapping if rf, ok := ret.Get(1).(func(*apigateway.GetBasePathMappingInput) *apigateway.BasePathMapping); ok { r1 = rf(_a0) } else { @@ -3544,6 +3946,10 @@ func (_m *MockFakeApiGateway) GetBasePathMappingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetBasePathMappingInput, ...request.Option) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetBasePathMappingInput, ...request.Option) *apigateway.BasePathMapping); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3552,7 +3958,6 @@ func (_m *MockFakeApiGateway) GetBasePathMappingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetBasePathMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3567,6 +3972,10 @@ func (_m *MockFakeApiGateway) GetBasePathMappings(_a0 *apigateway.GetBasePathMap ret := _m.Called(_a0) var r0 *apigateway.GetBasePathMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingsInput) (*apigateway.GetBasePathMappingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingsInput) *apigateway.GetBasePathMappingsOutput); ok { r0 = rf(_a0) } else { @@ -3575,7 +3984,6 @@ func (_m *MockFakeApiGateway) GetBasePathMappings(_a0 *apigateway.GetBasePathMap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetBasePathMappingsInput) error); ok { r1 = rf(_a0) } else { @@ -3625,6 +4033,10 @@ func (_m *MockFakeApiGateway) GetBasePathMappingsRequest(_a0 *apigateway.GetBase ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetBasePathMappingsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingsInput) (*request.Request, *apigateway.GetBasePathMappingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetBasePathMappingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3633,7 +4045,6 @@ func (_m *MockFakeApiGateway) GetBasePathMappingsRequest(_a0 *apigateway.GetBase } } - var r1 *apigateway.GetBasePathMappingsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetBasePathMappingsInput) *apigateway.GetBasePathMappingsOutput); ok { r1 = rf(_a0) } else { @@ -3657,6 +4068,10 @@ func (_m *MockFakeApiGateway) GetBasePathMappingsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigateway.GetBasePathMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetBasePathMappingsInput, ...request.Option) (*apigateway.GetBasePathMappingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetBasePathMappingsInput, ...request.Option) *apigateway.GetBasePathMappingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3665,7 +4080,6 @@ func (_m *MockFakeApiGateway) GetBasePathMappingsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetBasePathMappingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3680,6 +4094,10 @@ func (_m *MockFakeApiGateway) GetClientCertificate(_a0 *apigateway.GetClientCert ret := _m.Called(_a0) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificateInput) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificateInput) *apigateway.ClientCertificate); ok { r0 = rf(_a0) } else { @@ -3688,7 +4106,6 @@ func (_m *MockFakeApiGateway) GetClientCertificate(_a0 *apigateway.GetClientCert } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetClientCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -3703,6 +4120,10 @@ func (_m *MockFakeApiGateway) GetClientCertificateRequest(_a0 *apigateway.GetCli ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ClientCertificate + if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificateInput) (*request.Request, *apigateway.ClientCertificate)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3711,7 +4132,6 @@ func (_m *MockFakeApiGateway) GetClientCertificateRequest(_a0 *apigateway.GetCli } } - var r1 *apigateway.ClientCertificate if rf, ok := ret.Get(1).(func(*apigateway.GetClientCertificateInput) *apigateway.ClientCertificate); ok { r1 = rf(_a0) } else { @@ -3735,6 +4155,10 @@ func (_m *MockFakeApiGateway) GetClientCertificateWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetClientCertificateInput, ...request.Option) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetClientCertificateInput, ...request.Option) *apigateway.ClientCertificate); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3743,7 +4167,6 @@ func (_m *MockFakeApiGateway) GetClientCertificateWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetClientCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3758,6 +4181,10 @@ func (_m *MockFakeApiGateway) GetClientCertificates(_a0 *apigateway.GetClientCer ret := _m.Called(_a0) var r0 *apigateway.GetClientCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificatesInput) (*apigateway.GetClientCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificatesInput) *apigateway.GetClientCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -3766,7 +4193,6 @@ func (_m *MockFakeApiGateway) GetClientCertificates(_a0 *apigateway.GetClientCer } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetClientCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -3816,6 +4242,10 @@ func (_m *MockFakeApiGateway) GetClientCertificatesRequest(_a0 *apigateway.GetCl ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetClientCertificatesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificatesInput) (*request.Request, *apigateway.GetClientCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetClientCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3824,7 +4254,6 @@ func (_m *MockFakeApiGateway) GetClientCertificatesRequest(_a0 *apigateway.GetCl } } - var r1 *apigateway.GetClientCertificatesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetClientCertificatesInput) *apigateway.GetClientCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -3848,6 +4277,10 @@ func (_m *MockFakeApiGateway) GetClientCertificatesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.GetClientCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetClientCertificatesInput, ...request.Option) (*apigateway.GetClientCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetClientCertificatesInput, ...request.Option) *apigateway.GetClientCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3856,7 +4289,6 @@ func (_m *MockFakeApiGateway) GetClientCertificatesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetClientCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3871,6 +4303,10 @@ func (_m *MockFakeApiGateway) GetDeployment(_a0 *apigateway.GetDeploymentInput) ret := _m.Called(_a0) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentInput) (*apigateway.Deployment, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentInput) *apigateway.Deployment); ok { r0 = rf(_a0) } else { @@ -3879,7 +4315,6 @@ func (_m *MockFakeApiGateway) GetDeployment(_a0 *apigateway.GetDeploymentInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -3894,6 +4329,10 @@ func (_m *MockFakeApiGateway) GetDeploymentRequest(_a0 *apigateway.GetDeployment ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Deployment + if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentInput) (*request.Request, *apigateway.Deployment)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3902,7 +4341,6 @@ func (_m *MockFakeApiGateway) GetDeploymentRequest(_a0 *apigateway.GetDeployment } } - var r1 *apigateway.Deployment if rf, ok := ret.Get(1).(func(*apigateway.GetDeploymentInput) *apigateway.Deployment); ok { r1 = rf(_a0) } else { @@ -3926,6 +4364,10 @@ func (_m *MockFakeApiGateway) GetDeploymentWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDeploymentInput, ...request.Option) (*apigateway.Deployment, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDeploymentInput, ...request.Option) *apigateway.Deployment); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3934,7 +4376,6 @@ func (_m *MockFakeApiGateway) GetDeploymentWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3949,6 +4390,10 @@ func (_m *MockFakeApiGateway) GetDeployments(_a0 *apigateway.GetDeploymentsInput ret := _m.Called(_a0) var r0 *apigateway.GetDeploymentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentsInput) (*apigateway.GetDeploymentsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentsInput) *apigateway.GetDeploymentsOutput); ok { r0 = rf(_a0) } else { @@ -3957,7 +4402,6 @@ func (_m *MockFakeApiGateway) GetDeployments(_a0 *apigateway.GetDeploymentsInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDeploymentsInput) error); ok { r1 = rf(_a0) } else { @@ -4007,6 +4451,10 @@ func (_m *MockFakeApiGateway) GetDeploymentsRequest(_a0 *apigateway.GetDeploymen ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetDeploymentsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentsInput) (*request.Request, *apigateway.GetDeploymentsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDeploymentsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4015,7 +4463,6 @@ func (_m *MockFakeApiGateway) GetDeploymentsRequest(_a0 *apigateway.GetDeploymen } } - var r1 *apigateway.GetDeploymentsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetDeploymentsInput) *apigateway.GetDeploymentsOutput); ok { r1 = rf(_a0) } else { @@ -4039,6 +4486,10 @@ func (_m *MockFakeApiGateway) GetDeploymentsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.GetDeploymentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDeploymentsInput, ...request.Option) (*apigateway.GetDeploymentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDeploymentsInput, ...request.Option) *apigateway.GetDeploymentsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4047,7 +4498,6 @@ func (_m *MockFakeApiGateway) GetDeploymentsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDeploymentsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4062,6 +4512,10 @@ func (_m *MockFakeApiGateway) GetDocumentationPart(_a0 *apigateway.GetDocumentat ret := _m.Called(_a0) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartInput) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartInput) *apigateway.DocumentationPart); ok { r0 = rf(_a0) } else { @@ -4070,7 +4524,6 @@ func (_m *MockFakeApiGateway) GetDocumentationPart(_a0 *apigateway.GetDocumentat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationPartInput) error); ok { r1 = rf(_a0) } else { @@ -4085,6 +4538,10 @@ func (_m *MockFakeApiGateway) GetDocumentationPartRequest(_a0 *apigateway.GetDoc ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationPart + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartInput) (*request.Request, *apigateway.DocumentationPart)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4093,7 +4550,6 @@ func (_m *MockFakeApiGateway) GetDocumentationPartRequest(_a0 *apigateway.GetDoc } } - var r1 *apigateway.DocumentationPart if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationPartInput) *apigateway.DocumentationPart); ok { r1 = rf(_a0) } else { @@ -4117,6 +4573,10 @@ func (_m *MockFakeApiGateway) GetDocumentationPartWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationPartInput, ...request.Option) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationPartInput, ...request.Option) *apigateway.DocumentationPart); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4125,7 +4585,6 @@ func (_m *MockFakeApiGateway) GetDocumentationPartWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDocumentationPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4140,6 +4599,10 @@ func (_m *MockFakeApiGateway) GetDocumentationParts(_a0 *apigateway.GetDocumenta ret := _m.Called(_a0) var r0 *apigateway.GetDocumentationPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartsInput) (*apigateway.GetDocumentationPartsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartsInput) *apigateway.GetDocumentationPartsOutput); ok { r0 = rf(_a0) } else { @@ -4148,7 +4611,6 @@ func (_m *MockFakeApiGateway) GetDocumentationParts(_a0 *apigateway.GetDocumenta } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationPartsInput) error); ok { r1 = rf(_a0) } else { @@ -4163,6 +4625,10 @@ func (_m *MockFakeApiGateway) GetDocumentationPartsRequest(_a0 *apigateway.GetDo ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetDocumentationPartsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartsInput) (*request.Request, *apigateway.GetDocumentationPartsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationPartsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4171,7 +4637,6 @@ func (_m *MockFakeApiGateway) GetDocumentationPartsRequest(_a0 *apigateway.GetDo } } - var r1 *apigateway.GetDocumentationPartsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationPartsInput) *apigateway.GetDocumentationPartsOutput); ok { r1 = rf(_a0) } else { @@ -4195,6 +4660,10 @@ func (_m *MockFakeApiGateway) GetDocumentationPartsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.GetDocumentationPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationPartsInput, ...request.Option) (*apigateway.GetDocumentationPartsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationPartsInput, ...request.Option) *apigateway.GetDocumentationPartsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4203,7 +4672,6 @@ func (_m *MockFakeApiGateway) GetDocumentationPartsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDocumentationPartsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4218,6 +4686,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersion(_a0 *apigateway.GetDocumen ret := _m.Called(_a0) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionInput) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r0 = rf(_a0) } else { @@ -4226,7 +4698,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersion(_a0 *apigateway.GetDocumen } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationVersionInput) error); ok { r1 = rf(_a0) } else { @@ -4241,6 +4712,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionRequest(_a0 *apigateway.Get ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationVersion + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionInput) (*request.Request, *apigateway.DocumentationVersion)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4249,7 +4724,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionRequest(_a0 *apigateway.Get } } - var r1 *apigateway.DocumentationVersion if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r1 = rf(_a0) } else { @@ -4273,6 +4747,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationVersionInput, ...request.Option) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationVersionInput, ...request.Option) *apigateway.DocumentationVersion); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4281,7 +4759,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDocumentationVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4296,6 +4773,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersions(_a0 *apigateway.GetDocume ret := _m.Called(_a0) var r0 *apigateway.GetDocumentationVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionsInput) (*apigateway.GetDocumentationVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionsInput) *apigateway.GetDocumentationVersionsOutput); ok { r0 = rf(_a0) } else { @@ -4304,7 +4785,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersions(_a0 *apigateway.GetDocume } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4319,6 +4799,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionsRequest(_a0 *apigateway.Ge ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetDocumentationVersionsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionsInput) (*request.Request, *apigateway.GetDocumentationVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDocumentationVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4327,7 +4811,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionsRequest(_a0 *apigateway.Ge } } - var r1 *apigateway.GetDocumentationVersionsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetDocumentationVersionsInput) *apigateway.GetDocumentationVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4351,6 +4834,10 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionsWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *apigateway.GetDocumentationVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationVersionsInput, ...request.Option) (*apigateway.GetDocumentationVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDocumentationVersionsInput, ...request.Option) *apigateway.GetDocumentationVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4359,7 +4846,6 @@ func (_m *MockFakeApiGateway) GetDocumentationVersionsWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDocumentationVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4374,6 +4860,10 @@ func (_m *MockFakeApiGateway) GetDomainName(_a0 *apigateway.GetDomainNameInput) ret := _m.Called(_a0) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNameInput) (*apigateway.DomainName, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNameInput) *apigateway.DomainName); ok { r0 = rf(_a0) } else { @@ -4382,7 +4872,6 @@ func (_m *MockFakeApiGateway) GetDomainName(_a0 *apigateway.GetDomainNameInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -4397,6 +4886,10 @@ func (_m *MockFakeApiGateway) GetDomainNameRequest(_a0 *apigateway.GetDomainName ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DomainName + if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNameInput) (*request.Request, *apigateway.DomainName)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4405,7 +4898,6 @@ func (_m *MockFakeApiGateway) GetDomainNameRequest(_a0 *apigateway.GetDomainName } } - var r1 *apigateway.DomainName if rf, ok := ret.Get(1).(func(*apigateway.GetDomainNameInput) *apigateway.DomainName); ok { r1 = rf(_a0) } else { @@ -4429,6 +4921,10 @@ func (_m *MockFakeApiGateway) GetDomainNameWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDomainNameInput, ...request.Option) (*apigateway.DomainName, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDomainNameInput, ...request.Option) *apigateway.DomainName); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4437,7 +4933,6 @@ func (_m *MockFakeApiGateway) GetDomainNameWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4452,6 +4947,10 @@ func (_m *MockFakeApiGateway) GetDomainNames(_a0 *apigateway.GetDomainNamesInput ret := _m.Called(_a0) var r0 *apigateway.GetDomainNamesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNamesInput) (*apigateway.GetDomainNamesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNamesInput) *apigateway.GetDomainNamesOutput); ok { r0 = rf(_a0) } else { @@ -4460,7 +4959,6 @@ func (_m *MockFakeApiGateway) GetDomainNames(_a0 *apigateway.GetDomainNamesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetDomainNamesInput) error); ok { r1 = rf(_a0) } else { @@ -4510,6 +5008,10 @@ func (_m *MockFakeApiGateway) GetDomainNamesRequest(_a0 *apigateway.GetDomainNam ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetDomainNamesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNamesInput) (*request.Request, *apigateway.GetDomainNamesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetDomainNamesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4518,7 +5020,6 @@ func (_m *MockFakeApiGateway) GetDomainNamesRequest(_a0 *apigateway.GetDomainNam } } - var r1 *apigateway.GetDomainNamesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetDomainNamesInput) *apigateway.GetDomainNamesOutput); ok { r1 = rf(_a0) } else { @@ -4542,6 +5043,10 @@ func (_m *MockFakeApiGateway) GetDomainNamesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.GetDomainNamesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDomainNamesInput, ...request.Option) (*apigateway.GetDomainNamesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetDomainNamesInput, ...request.Option) *apigateway.GetDomainNamesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4550,7 +5055,6 @@ func (_m *MockFakeApiGateway) GetDomainNamesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetDomainNamesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4565,6 +5069,10 @@ func (_m *MockFakeApiGateway) GetExport(_a0 *apigateway.GetExportInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.GetExportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetExportInput) (*apigateway.GetExportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetExportInput) *apigateway.GetExportOutput); ok { r0 = rf(_a0) } else { @@ -4573,7 +5081,6 @@ func (_m *MockFakeApiGateway) GetExport(_a0 *apigateway.GetExportInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetExportInput) error); ok { r1 = rf(_a0) } else { @@ -4588,7 +5095,11 @@ func (_m *MockFakeApiGateway) GetExportRequest(_a0 *apigateway.GetExportInput) ( ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*apigateway.GetExportInput) *request.Request); ok { + var r1 *apigateway.GetExportOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetExportInput) (*request.Request, *apigateway.GetExportOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*apigateway.GetExportInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4596,7 +5107,6 @@ func (_m *MockFakeApiGateway) GetExportRequest(_a0 *apigateway.GetExportInput) ( } } - var r1 *apigateway.GetExportOutput if rf, ok := ret.Get(1).(func(*apigateway.GetExportInput) *apigateway.GetExportOutput); ok { r1 = rf(_a0) } else { @@ -4620,6 +5130,10 @@ func (_m *MockFakeApiGateway) GetExportWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.GetExportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetExportInput, ...request.Option) (*apigateway.GetExportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetExportInput, ...request.Option) *apigateway.GetExportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4628,7 +5142,6 @@ func (_m *MockFakeApiGateway) GetExportWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetExportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4643,6 +5156,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponse(_a0 *apigateway.GetGatewayRespo ret := _m.Called(_a0) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponseInput) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0) } else { @@ -4651,7 +5168,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponse(_a0 *apigateway.GetGatewayRespo } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetGatewayResponseInput) error); ok { r1 = rf(_a0) } else { @@ -4666,6 +5182,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponseRequest(_a0 *apigateway.GetGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateGatewayResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponseInput) (*request.Request, *apigateway.UpdateGatewayResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4674,7 +5194,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponseRequest(_a0 *apigateway.GetGatew } } - var r1 *apigateway.UpdateGatewayResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.GetGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r1 = rf(_a0) } else { @@ -4698,6 +5217,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponseWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetGatewayResponseInput, ...request.Option) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetGatewayResponseInput, ...request.Option) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4706,7 +5229,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponseWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetGatewayResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4721,6 +5243,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponses(_a0 *apigateway.GetGatewayResp ret := _m.Called(_a0) var r0 *apigateway.GetGatewayResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponsesInput) (*apigateway.GetGatewayResponsesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponsesInput) *apigateway.GetGatewayResponsesOutput); ok { r0 = rf(_a0) } else { @@ -4729,7 +5255,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponses(_a0 *apigateway.GetGatewayResp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetGatewayResponsesInput) error); ok { r1 = rf(_a0) } else { @@ -4744,6 +5269,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponsesRequest(_a0 *apigateway.GetGate ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetGatewayResponsesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponsesInput) (*request.Request, *apigateway.GetGatewayResponsesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetGatewayResponsesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4752,7 +5281,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponsesRequest(_a0 *apigateway.GetGate } } - var r1 *apigateway.GetGatewayResponsesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetGatewayResponsesInput) *apigateway.GetGatewayResponsesOutput); ok { r1 = rf(_a0) } else { @@ -4776,6 +5304,10 @@ func (_m *MockFakeApiGateway) GetGatewayResponsesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigateway.GetGatewayResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetGatewayResponsesInput, ...request.Option) (*apigateway.GetGatewayResponsesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetGatewayResponsesInput, ...request.Option) *apigateway.GetGatewayResponsesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4784,7 +5316,6 @@ func (_m *MockFakeApiGateway) GetGatewayResponsesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetGatewayResponsesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4799,6 +5330,10 @@ func (_m *MockFakeApiGateway) GetIntegration(_a0 *apigateway.GetIntegrationInput ret := _m.Called(_a0) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationInput) (*apigateway.Integration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationInput) *apigateway.Integration); ok { r0 = rf(_a0) } else { @@ -4807,7 +5342,6 @@ func (_m *MockFakeApiGateway) GetIntegration(_a0 *apigateway.GetIntegrationInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -4822,6 +5356,10 @@ func (_m *MockFakeApiGateway) GetIntegrationRequest(_a0 *apigateway.GetIntegrati ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Integration + if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationInput) (*request.Request, *apigateway.Integration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4830,7 +5368,6 @@ func (_m *MockFakeApiGateway) GetIntegrationRequest(_a0 *apigateway.GetIntegrati } } - var r1 *apigateway.Integration if rf, ok := ret.Get(1).(func(*apigateway.GetIntegrationInput) *apigateway.Integration); ok { r1 = rf(_a0) } else { @@ -4847,6 +5384,10 @@ func (_m *MockFakeApiGateway) GetIntegrationResponse(_a0 *apigateway.GetIntegrat ret := _m.Called(_a0) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationResponseInput) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r0 = rf(_a0) } else { @@ -4855,7 +5396,6 @@ func (_m *MockFakeApiGateway) GetIntegrationResponse(_a0 *apigateway.GetIntegrat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -4870,6 +5410,10 @@ func (_m *MockFakeApiGateway) GetIntegrationResponseRequest(_a0 *apigateway.GetI ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.IntegrationResponse + if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationResponseInput) (*request.Request, *apigateway.IntegrationResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4878,7 +5422,6 @@ func (_m *MockFakeApiGateway) GetIntegrationResponseRequest(_a0 *apigateway.GetI } } - var r1 *apigateway.IntegrationResponse if rf, ok := ret.Get(1).(func(*apigateway.GetIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r1 = rf(_a0) } else { @@ -4902,6 +5445,10 @@ func (_m *MockFakeApiGateway) GetIntegrationResponseWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetIntegrationResponseInput, ...request.Option) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetIntegrationResponseInput, ...request.Option) *apigateway.IntegrationResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4910,7 +5457,6 @@ func (_m *MockFakeApiGateway) GetIntegrationResponseWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4932,6 +5478,10 @@ func (_m *MockFakeApiGateway) GetIntegrationWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetIntegrationInput, ...request.Option) (*apigateway.Integration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetIntegrationInput, ...request.Option) *apigateway.Integration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4940,7 +5490,6 @@ func (_m *MockFakeApiGateway) GetIntegrationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4955,6 +5504,10 @@ func (_m *MockFakeApiGateway) GetMethod(_a0 *apigateway.GetMethodInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetMethodInput) (*apigateway.Method, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetMethodInput) *apigateway.Method); ok { r0 = rf(_a0) } else { @@ -4963,7 +5516,6 @@ func (_m *MockFakeApiGateway) GetMethod(_a0 *apigateway.GetMethodInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetMethodInput) error); ok { r1 = rf(_a0) } else { @@ -4978,6 +5530,10 @@ func (_m *MockFakeApiGateway) GetMethodRequest(_a0 *apigateway.GetMethodInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Method + if rf, ok := ret.Get(0).(func(*apigateway.GetMethodInput) (*request.Request, *apigateway.Method)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetMethodInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4986,7 +5542,6 @@ func (_m *MockFakeApiGateway) GetMethodRequest(_a0 *apigateway.GetMethodInput) ( } } - var r1 *apigateway.Method if rf, ok := ret.Get(1).(func(*apigateway.GetMethodInput) *apigateway.Method); ok { r1 = rf(_a0) } else { @@ -5003,6 +5558,10 @@ func (_m *MockFakeApiGateway) GetMethodResponse(_a0 *apigateway.GetMethodRespons ret := _m.Called(_a0) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetMethodResponseInput) (*apigateway.MethodResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetMethodResponseInput) *apigateway.MethodResponse); ok { r0 = rf(_a0) } else { @@ -5011,7 +5570,6 @@ func (_m *MockFakeApiGateway) GetMethodResponse(_a0 *apigateway.GetMethodRespons } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetMethodResponseInput) error); ok { r1 = rf(_a0) } else { @@ -5026,6 +5584,10 @@ func (_m *MockFakeApiGateway) GetMethodResponseRequest(_a0 *apigateway.GetMethod ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.MethodResponse + if rf, ok := ret.Get(0).(func(*apigateway.GetMethodResponseInput) (*request.Request, *apigateway.MethodResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetMethodResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5034,7 +5596,6 @@ func (_m *MockFakeApiGateway) GetMethodResponseRequest(_a0 *apigateway.GetMethod } } - var r1 *apigateway.MethodResponse if rf, ok := ret.Get(1).(func(*apigateway.GetMethodResponseInput) *apigateway.MethodResponse); ok { r1 = rf(_a0) } else { @@ -5058,6 +5619,10 @@ func (_m *MockFakeApiGateway) GetMethodResponseWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetMethodResponseInput, ...request.Option) (*apigateway.MethodResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetMethodResponseInput, ...request.Option) *apigateway.MethodResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5066,7 +5631,6 @@ func (_m *MockFakeApiGateway) GetMethodResponseWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetMethodResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5088,6 +5652,10 @@ func (_m *MockFakeApiGateway) GetMethodWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetMethodInput, ...request.Option) (*apigateway.Method, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetMethodInput, ...request.Option) *apigateway.Method); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5096,7 +5664,6 @@ func (_m *MockFakeApiGateway) GetMethodWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetMethodInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5111,6 +5678,10 @@ func (_m *MockFakeApiGateway) GetModel(_a0 *apigateway.GetModelInput) (*apigatew ret := _m.Called(_a0) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetModelInput) (*apigateway.Model, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelInput) *apigateway.Model); ok { r0 = rf(_a0) } else { @@ -5119,7 +5690,6 @@ func (_m *MockFakeApiGateway) GetModel(_a0 *apigateway.GetModelInput) (*apigatew } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetModelInput) error); ok { r1 = rf(_a0) } else { @@ -5134,6 +5704,10 @@ func (_m *MockFakeApiGateway) GetModelRequest(_a0 *apigateway.GetModelInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Model + if rf, ok := ret.Get(0).(func(*apigateway.GetModelInput) (*request.Request, *apigateway.Model)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5142,7 +5716,6 @@ func (_m *MockFakeApiGateway) GetModelRequest(_a0 *apigateway.GetModelInput) (*r } } - var r1 *apigateway.Model if rf, ok := ret.Get(1).(func(*apigateway.GetModelInput) *apigateway.Model); ok { r1 = rf(_a0) } else { @@ -5159,6 +5732,10 @@ func (_m *MockFakeApiGateway) GetModelTemplate(_a0 *apigateway.GetModelTemplateI ret := _m.Called(_a0) var r0 *apigateway.GetModelTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetModelTemplateInput) (*apigateway.GetModelTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelTemplateInput) *apigateway.GetModelTemplateOutput); ok { r0 = rf(_a0) } else { @@ -5167,7 +5744,6 @@ func (_m *MockFakeApiGateway) GetModelTemplate(_a0 *apigateway.GetModelTemplateI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetModelTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -5182,6 +5758,10 @@ func (_m *MockFakeApiGateway) GetModelTemplateRequest(_a0 *apigateway.GetModelTe ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetModelTemplateOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetModelTemplateInput) (*request.Request, *apigateway.GetModelTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5190,7 +5770,6 @@ func (_m *MockFakeApiGateway) GetModelTemplateRequest(_a0 *apigateway.GetModelTe } } - var r1 *apigateway.GetModelTemplateOutput if rf, ok := ret.Get(1).(func(*apigateway.GetModelTemplateInput) *apigateway.GetModelTemplateOutput); ok { r1 = rf(_a0) } else { @@ -5214,6 +5793,10 @@ func (_m *MockFakeApiGateway) GetModelTemplateWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.GetModelTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelTemplateInput, ...request.Option) (*apigateway.GetModelTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelTemplateInput, ...request.Option) *apigateway.GetModelTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5222,7 +5805,6 @@ func (_m *MockFakeApiGateway) GetModelTemplateWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetModelTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5244,6 +5826,10 @@ func (_m *MockFakeApiGateway) GetModelWithContext(_a0 context.Context, _a1 *apig ret := _m.Called(_ca...) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelInput, ...request.Option) (*apigateway.Model, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelInput, ...request.Option) *apigateway.Model); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5252,7 +5838,6 @@ func (_m *MockFakeApiGateway) GetModelWithContext(_a0 context.Context, _a1 *apig } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5267,6 +5852,10 @@ func (_m *MockFakeApiGateway) GetModels(_a0 *apigateway.GetModelsInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.GetModelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetModelsInput) (*apigateway.GetModelsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelsInput) *apigateway.GetModelsOutput); ok { r0 = rf(_a0) } else { @@ -5275,7 +5864,6 @@ func (_m *MockFakeApiGateway) GetModels(_a0 *apigateway.GetModelsInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetModelsInput) error); ok { r1 = rf(_a0) } else { @@ -5325,6 +5913,10 @@ func (_m *MockFakeApiGateway) GetModelsRequest(_a0 *apigateway.GetModelsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetModelsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetModelsInput) (*request.Request, *apigateway.GetModelsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetModelsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5333,7 +5925,6 @@ func (_m *MockFakeApiGateway) GetModelsRequest(_a0 *apigateway.GetModelsInput) ( } } - var r1 *apigateway.GetModelsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetModelsInput) *apigateway.GetModelsOutput); ok { r1 = rf(_a0) } else { @@ -5357,6 +5948,10 @@ func (_m *MockFakeApiGateway) GetModelsWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.GetModelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelsInput, ...request.Option) (*apigateway.GetModelsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetModelsInput, ...request.Option) *apigateway.GetModelsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5365,7 +5960,6 @@ func (_m *MockFakeApiGateway) GetModelsWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetModelsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5380,6 +5974,10 @@ func (_m *MockFakeApiGateway) GetRequestValidator(_a0 *apigateway.GetRequestVali ret := _m.Called(_a0) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorInput) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0) } else { @@ -5388,7 +5986,6 @@ func (_m *MockFakeApiGateway) GetRequestValidator(_a0 *apigateway.GetRequestVali } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetRequestValidatorInput) error); ok { r1 = rf(_a0) } else { @@ -5403,6 +6000,10 @@ func (_m *MockFakeApiGateway) GetRequestValidatorRequest(_a0 *apigateway.GetRequ ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateRequestValidatorOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorInput) (*request.Request, *apigateway.UpdateRequestValidatorOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5411,7 +6012,6 @@ func (_m *MockFakeApiGateway) GetRequestValidatorRequest(_a0 *apigateway.GetRequ } } - var r1 *apigateway.UpdateRequestValidatorOutput if rf, ok := ret.Get(1).(func(*apigateway.GetRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r1 = rf(_a0) } else { @@ -5435,6 +6035,10 @@ func (_m *MockFakeApiGateway) GetRequestValidatorWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRequestValidatorInput, ...request.Option) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRequestValidatorInput, ...request.Option) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5443,7 +6047,6 @@ func (_m *MockFakeApiGateway) GetRequestValidatorWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetRequestValidatorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5458,6 +6061,10 @@ func (_m *MockFakeApiGateway) GetRequestValidators(_a0 *apigateway.GetRequestVal ret := _m.Called(_a0) var r0 *apigateway.GetRequestValidatorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorsInput) (*apigateway.GetRequestValidatorsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorsInput) *apigateway.GetRequestValidatorsOutput); ok { r0 = rf(_a0) } else { @@ -5466,7 +6073,6 @@ func (_m *MockFakeApiGateway) GetRequestValidators(_a0 *apigateway.GetRequestVal } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetRequestValidatorsInput) error); ok { r1 = rf(_a0) } else { @@ -5481,6 +6087,10 @@ func (_m *MockFakeApiGateway) GetRequestValidatorsRequest(_a0 *apigateway.GetReq ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetRequestValidatorsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorsInput) (*request.Request, *apigateway.GetRequestValidatorsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRequestValidatorsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5489,7 +6099,6 @@ func (_m *MockFakeApiGateway) GetRequestValidatorsRequest(_a0 *apigateway.GetReq } } - var r1 *apigateway.GetRequestValidatorsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetRequestValidatorsInput) *apigateway.GetRequestValidatorsOutput); ok { r1 = rf(_a0) } else { @@ -5513,6 +6122,10 @@ func (_m *MockFakeApiGateway) GetRequestValidatorsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.GetRequestValidatorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRequestValidatorsInput, ...request.Option) (*apigateway.GetRequestValidatorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRequestValidatorsInput, ...request.Option) *apigateway.GetRequestValidatorsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5521,7 +6134,6 @@ func (_m *MockFakeApiGateway) GetRequestValidatorsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetRequestValidatorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5536,6 +6148,10 @@ func (_m *MockFakeApiGateway) GetResource(_a0 *apigateway.GetResourceInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetResourceInput) (*apigateway.Resource, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetResourceInput) *apigateway.Resource); ok { r0 = rf(_a0) } else { @@ -5544,7 +6160,6 @@ func (_m *MockFakeApiGateway) GetResource(_a0 *apigateway.GetResourceInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetResourceInput) error); ok { r1 = rf(_a0) } else { @@ -5559,6 +6174,10 @@ func (_m *MockFakeApiGateway) GetResourceRequest(_a0 *apigateway.GetResourceInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Resource + if rf, ok := ret.Get(0).(func(*apigateway.GetResourceInput) (*request.Request, *apigateway.Resource)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5567,7 +6186,6 @@ func (_m *MockFakeApiGateway) GetResourceRequest(_a0 *apigateway.GetResourceInpu } } - var r1 *apigateway.Resource if rf, ok := ret.Get(1).(func(*apigateway.GetResourceInput) *apigateway.Resource); ok { r1 = rf(_a0) } else { @@ -5591,6 +6209,10 @@ func (_m *MockFakeApiGateway) GetResourceWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetResourceInput, ...request.Option) (*apigateway.Resource, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetResourceInput, ...request.Option) *apigateway.Resource); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5599,7 +6221,6 @@ func (_m *MockFakeApiGateway) GetResourceWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5614,6 +6235,10 @@ func (_m *MockFakeApiGateway) GetResources(_a0 *apigateway.GetResourcesInput) (* ret := _m.Called(_a0) var r0 *apigateway.GetResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetResourcesInput) (*apigateway.GetResourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetResourcesInput) *apigateway.GetResourcesOutput); ok { r0 = rf(_a0) } else { @@ -5622,7 +6247,6 @@ func (_m *MockFakeApiGateway) GetResources(_a0 *apigateway.GetResourcesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetResourcesInput) error); ok { r1 = rf(_a0) } else { @@ -5672,6 +6296,10 @@ func (_m *MockFakeApiGateway) GetResourcesRequest(_a0 *apigateway.GetResourcesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetResourcesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetResourcesInput) (*request.Request, *apigateway.GetResourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetResourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5680,7 +6308,6 @@ func (_m *MockFakeApiGateway) GetResourcesRequest(_a0 *apigateway.GetResourcesIn } } - var r1 *apigateway.GetResourcesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetResourcesInput) *apigateway.GetResourcesOutput); ok { r1 = rf(_a0) } else { @@ -5704,6 +6331,10 @@ func (_m *MockFakeApiGateway) GetResourcesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.GetResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetResourcesInput, ...request.Option) (*apigateway.GetResourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetResourcesInput, ...request.Option) *apigateway.GetResourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5712,7 +6343,6 @@ func (_m *MockFakeApiGateway) GetResourcesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetResourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5727,6 +6357,10 @@ func (_m *MockFakeApiGateway) GetRestApi(_a0 *apigateway.GetRestApiInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetRestApiInput) (*apigateway.RestApi, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRestApiInput) *apigateway.RestApi); ok { r0 = rf(_a0) } else { @@ -5735,7 +6369,6 @@ func (_m *MockFakeApiGateway) GetRestApi(_a0 *apigateway.GetRestApiInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -5750,6 +6383,10 @@ func (_m *MockFakeApiGateway) GetRestApiRequest(_a0 *apigateway.GetRestApiInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.RestApi + if rf, ok := ret.Get(0).(func(*apigateway.GetRestApiInput) (*request.Request, *apigateway.RestApi)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5758,7 +6395,6 @@ func (_m *MockFakeApiGateway) GetRestApiRequest(_a0 *apigateway.GetRestApiInput) } } - var r1 *apigateway.RestApi if rf, ok := ret.Get(1).(func(*apigateway.GetRestApiInput) *apigateway.RestApi); ok { r1 = rf(_a0) } else { @@ -5782,6 +6418,10 @@ func (_m *MockFakeApiGateway) GetRestApiWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRestApiInput, ...request.Option) (*apigateway.RestApi, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRestApiInput, ...request.Option) *apigateway.RestApi); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5790,7 +6430,6 @@ func (_m *MockFakeApiGateway) GetRestApiWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5805,6 +6444,10 @@ func (_m *MockFakeApiGateway) GetRestApis(_a0 *apigateway.GetRestApisInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.GetRestApisOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetRestApisInput) (*apigateway.GetRestApisOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRestApisInput) *apigateway.GetRestApisOutput); ok { r0 = rf(_a0) } else { @@ -5813,7 +6456,6 @@ func (_m *MockFakeApiGateway) GetRestApis(_a0 *apigateway.GetRestApisInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetRestApisInput) error); ok { r1 = rf(_a0) } else { @@ -5863,6 +6505,10 @@ func (_m *MockFakeApiGateway) GetRestApisRequest(_a0 *apigateway.GetRestApisInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetRestApisOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetRestApisInput) (*request.Request, *apigateway.GetRestApisOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetRestApisInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5871,7 +6517,6 @@ func (_m *MockFakeApiGateway) GetRestApisRequest(_a0 *apigateway.GetRestApisInpu } } - var r1 *apigateway.GetRestApisOutput if rf, ok := ret.Get(1).(func(*apigateway.GetRestApisInput) *apigateway.GetRestApisOutput); ok { r1 = rf(_a0) } else { @@ -5895,6 +6540,10 @@ func (_m *MockFakeApiGateway) GetRestApisWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.GetRestApisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRestApisInput, ...request.Option) (*apigateway.GetRestApisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetRestApisInput, ...request.Option) *apigateway.GetRestApisOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5903,7 +6552,6 @@ func (_m *MockFakeApiGateway) GetRestApisWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetRestApisInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5918,6 +6566,10 @@ func (_m *MockFakeApiGateway) GetSdk(_a0 *apigateway.GetSdkInput) (*apigateway.G ret := _m.Called(_a0) var r0 *apigateway.GetSdkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkInput) (*apigateway.GetSdkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkInput) *apigateway.GetSdkOutput); ok { r0 = rf(_a0) } else { @@ -5926,7 +6578,6 @@ func (_m *MockFakeApiGateway) GetSdk(_a0 *apigateway.GetSdkInput) (*apigateway.G } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetSdkInput) error); ok { r1 = rf(_a0) } else { @@ -5941,6 +6592,10 @@ func (_m *MockFakeApiGateway) GetSdkRequest(_a0 *apigateway.GetSdkInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetSdkOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkInput) (*request.Request, *apigateway.GetSdkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5949,7 +6604,6 @@ func (_m *MockFakeApiGateway) GetSdkRequest(_a0 *apigateway.GetSdkInput) (*reque } } - var r1 *apigateway.GetSdkOutput if rf, ok := ret.Get(1).(func(*apigateway.GetSdkInput) *apigateway.GetSdkOutput); ok { r1 = rf(_a0) } else { @@ -5966,6 +6620,10 @@ func (_m *MockFakeApiGateway) GetSdkType(_a0 *apigateway.GetSdkTypeInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.SdkType + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypeInput) (*apigateway.SdkType, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypeInput) *apigateway.SdkType); ok { r0 = rf(_a0) } else { @@ -5974,7 +6632,6 @@ func (_m *MockFakeApiGateway) GetSdkType(_a0 *apigateway.GetSdkTypeInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetSdkTypeInput) error); ok { r1 = rf(_a0) } else { @@ -5989,6 +6646,10 @@ func (_m *MockFakeApiGateway) GetSdkTypeRequest(_a0 *apigateway.GetSdkTypeInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.SdkType + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypeInput) (*request.Request, *apigateway.SdkType)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5997,7 +6658,6 @@ func (_m *MockFakeApiGateway) GetSdkTypeRequest(_a0 *apigateway.GetSdkTypeInput) } } - var r1 *apigateway.SdkType if rf, ok := ret.Get(1).(func(*apigateway.GetSdkTypeInput) *apigateway.SdkType); ok { r1 = rf(_a0) } else { @@ -6021,6 +6681,10 @@ func (_m *MockFakeApiGateway) GetSdkTypeWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.SdkType + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkTypeInput, ...request.Option) (*apigateway.SdkType, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkTypeInput, ...request.Option) *apigateway.SdkType); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6029,7 +6693,6 @@ func (_m *MockFakeApiGateway) GetSdkTypeWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetSdkTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6044,6 +6707,10 @@ func (_m *MockFakeApiGateway) GetSdkTypes(_a0 *apigateway.GetSdkTypesInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.GetSdkTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypesInput) (*apigateway.GetSdkTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypesInput) *apigateway.GetSdkTypesOutput); ok { r0 = rf(_a0) } else { @@ -6052,7 +6719,6 @@ func (_m *MockFakeApiGateway) GetSdkTypes(_a0 *apigateway.GetSdkTypesInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetSdkTypesInput) error); ok { r1 = rf(_a0) } else { @@ -6067,6 +6733,10 @@ func (_m *MockFakeApiGateway) GetSdkTypesRequest(_a0 *apigateway.GetSdkTypesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetSdkTypesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypesInput) (*request.Request, *apigateway.GetSdkTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetSdkTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6075,7 +6745,6 @@ func (_m *MockFakeApiGateway) GetSdkTypesRequest(_a0 *apigateway.GetSdkTypesInpu } } - var r1 *apigateway.GetSdkTypesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetSdkTypesInput) *apigateway.GetSdkTypesOutput); ok { r1 = rf(_a0) } else { @@ -6099,6 +6768,10 @@ func (_m *MockFakeApiGateway) GetSdkTypesWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.GetSdkTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkTypesInput, ...request.Option) (*apigateway.GetSdkTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkTypesInput, ...request.Option) *apigateway.GetSdkTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6107,7 +6780,6 @@ func (_m *MockFakeApiGateway) GetSdkTypesWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetSdkTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6129,6 +6801,10 @@ func (_m *MockFakeApiGateway) GetSdkWithContext(_a0 context.Context, _a1 *apigat ret := _m.Called(_ca...) var r0 *apigateway.GetSdkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkInput, ...request.Option) (*apigateway.GetSdkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetSdkInput, ...request.Option) *apigateway.GetSdkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6137,7 +6813,6 @@ func (_m *MockFakeApiGateway) GetSdkWithContext(_a0 context.Context, _a1 *apigat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetSdkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6152,6 +6827,10 @@ func (_m *MockFakeApiGateway) GetStage(_a0 *apigateway.GetStageInput) (*apigatew ret := _m.Called(_a0) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetStageInput) (*apigateway.Stage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetStageInput) *apigateway.Stage); ok { r0 = rf(_a0) } else { @@ -6160,7 +6839,6 @@ func (_m *MockFakeApiGateway) GetStage(_a0 *apigateway.GetStageInput) (*apigatew } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetStageInput) error); ok { r1 = rf(_a0) } else { @@ -6175,6 +6853,10 @@ func (_m *MockFakeApiGateway) GetStageRequest(_a0 *apigateway.GetStageInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Stage + if rf, ok := ret.Get(0).(func(*apigateway.GetStageInput) (*request.Request, *apigateway.Stage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6183,7 +6865,6 @@ func (_m *MockFakeApiGateway) GetStageRequest(_a0 *apigateway.GetStageInput) (*r } } - var r1 *apigateway.Stage if rf, ok := ret.Get(1).(func(*apigateway.GetStageInput) *apigateway.Stage); ok { r1 = rf(_a0) } else { @@ -6207,6 +6888,10 @@ func (_m *MockFakeApiGateway) GetStageWithContext(_a0 context.Context, _a1 *apig ret := _m.Called(_ca...) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetStageInput, ...request.Option) (*apigateway.Stage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetStageInput, ...request.Option) *apigateway.Stage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6215,7 +6900,6 @@ func (_m *MockFakeApiGateway) GetStageWithContext(_a0 context.Context, _a1 *apig } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6230,6 +6914,10 @@ func (_m *MockFakeApiGateway) GetStages(_a0 *apigateway.GetStagesInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.GetStagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetStagesInput) (*apigateway.GetStagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetStagesInput) *apigateway.GetStagesOutput); ok { r0 = rf(_a0) } else { @@ -6238,7 +6926,6 @@ func (_m *MockFakeApiGateway) GetStages(_a0 *apigateway.GetStagesInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetStagesInput) error); ok { r1 = rf(_a0) } else { @@ -6253,6 +6940,10 @@ func (_m *MockFakeApiGateway) GetStagesRequest(_a0 *apigateway.GetStagesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetStagesOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetStagesInput) (*request.Request, *apigateway.GetStagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetStagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6261,7 +6952,6 @@ func (_m *MockFakeApiGateway) GetStagesRequest(_a0 *apigateway.GetStagesInput) ( } } - var r1 *apigateway.GetStagesOutput if rf, ok := ret.Get(1).(func(*apigateway.GetStagesInput) *apigateway.GetStagesOutput); ok { r1 = rf(_a0) } else { @@ -6285,6 +6975,10 @@ func (_m *MockFakeApiGateway) GetStagesWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.GetStagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetStagesInput, ...request.Option) (*apigateway.GetStagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetStagesInput, ...request.Option) *apigateway.GetStagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6293,7 +6987,6 @@ func (_m *MockFakeApiGateway) GetStagesWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetStagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6308,6 +7001,10 @@ func (_m *MockFakeApiGateway) GetTags(_a0 *apigateway.GetTagsInput) (*apigateway ret := _m.Called(_a0) var r0 *apigateway.GetTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetTagsInput) (*apigateway.GetTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetTagsInput) *apigateway.GetTagsOutput); ok { r0 = rf(_a0) } else { @@ -6316,7 +7013,6 @@ func (_m *MockFakeApiGateway) GetTags(_a0 *apigateway.GetTagsInput) (*apigateway } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetTagsInput) error); ok { r1 = rf(_a0) } else { @@ -6331,6 +7027,10 @@ func (_m *MockFakeApiGateway) GetTagsRequest(_a0 *apigateway.GetTagsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetTagsOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetTagsInput) (*request.Request, *apigateway.GetTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6339,7 +7039,6 @@ func (_m *MockFakeApiGateway) GetTagsRequest(_a0 *apigateway.GetTagsInput) (*req } } - var r1 *apigateway.GetTagsOutput if rf, ok := ret.Get(1).(func(*apigateway.GetTagsInput) *apigateway.GetTagsOutput); ok { r1 = rf(_a0) } else { @@ -6363,6 +7062,10 @@ func (_m *MockFakeApiGateway) GetTagsWithContext(_a0 context.Context, _a1 *apiga ret := _m.Called(_ca...) var r0 *apigateway.GetTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetTagsInput, ...request.Option) (*apigateway.GetTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetTagsInput, ...request.Option) *apigateway.GetTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6371,7 +7074,6 @@ func (_m *MockFakeApiGateway) GetTagsWithContext(_a0 context.Context, _a1 *apiga } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6386,6 +7088,10 @@ func (_m *MockFakeApiGateway) GetUsage(_a0 *apigateway.GetUsageInput) (*apigatew ret := _m.Called(_a0) var r0 *apigateway.Usage + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetUsageInput) (*apigateway.Usage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsageInput) *apigateway.Usage); ok { r0 = rf(_a0) } else { @@ -6394,7 +7100,6 @@ func (_m *MockFakeApiGateway) GetUsage(_a0 *apigateway.GetUsageInput) (*apigatew } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetUsageInput) error); ok { r1 = rf(_a0) } else { @@ -6444,6 +7149,10 @@ func (_m *MockFakeApiGateway) GetUsagePlan(_a0 *apigateway.GetUsagePlanInput) (* ret := _m.Called(_a0) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanInput) (*apigateway.UsagePlan, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanInput) *apigateway.UsagePlan); ok { r0 = rf(_a0) } else { @@ -6452,7 +7161,6 @@ func (_m *MockFakeApiGateway) GetUsagePlan(_a0 *apigateway.GetUsagePlanInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanInput) error); ok { r1 = rf(_a0) } else { @@ -6467,6 +7175,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKey(_a0 *apigateway.GetUsagePlanKeyInp ret := _m.Called(_a0) var r0 *apigateway.UsagePlanKey + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeyInput) (*apigateway.UsagePlanKey, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeyInput) *apigateway.UsagePlanKey); ok { r0 = rf(_a0) } else { @@ -6475,7 +7187,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKey(_a0 *apigateway.GetUsagePlanKeyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanKeyInput) error); ok { r1 = rf(_a0) } else { @@ -6490,6 +7201,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeyRequest(_a0 *apigateway.GetUsagePla ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UsagePlanKey + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeyInput) (*request.Request, *apigateway.UsagePlanKey)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6498,7 +7213,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeyRequest(_a0 *apigateway.GetUsagePla } } - var r1 *apigateway.UsagePlanKey if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanKeyInput) *apigateway.UsagePlanKey); ok { r1 = rf(_a0) } else { @@ -6522,6 +7236,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigateway.UsagePlanKey + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanKeyInput, ...request.Option) (*apigateway.UsagePlanKey, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanKeyInput, ...request.Option) *apigateway.UsagePlanKey); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6530,7 +7248,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetUsagePlanKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6545,6 +7262,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeys(_a0 *apigateway.GetUsagePlanKeysI ret := _m.Called(_a0) var r0 *apigateway.GetUsagePlanKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeysInput) (*apigateway.GetUsagePlanKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeysInput) *apigateway.GetUsagePlanKeysOutput); ok { r0 = rf(_a0) } else { @@ -6553,7 +7274,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeys(_a0 *apigateway.GetUsagePlanKeysI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanKeysInput) error); ok { r1 = rf(_a0) } else { @@ -6603,6 +7323,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeysRequest(_a0 *apigateway.GetUsagePl ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetUsagePlanKeysOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeysInput) (*request.Request, *apigateway.GetUsagePlanKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6611,7 +7335,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeysRequest(_a0 *apigateway.GetUsagePl } } - var r1 *apigateway.GetUsagePlanKeysOutput if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanKeysInput) *apigateway.GetUsagePlanKeysOutput); ok { r1 = rf(_a0) } else { @@ -6635,6 +7358,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeysWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.GetUsagePlanKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanKeysInput, ...request.Option) (*apigateway.GetUsagePlanKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanKeysInput, ...request.Option) *apigateway.GetUsagePlanKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6643,7 +7370,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanKeysWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetUsagePlanKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6658,6 +7384,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanRequest(_a0 *apigateway.GetUsagePlanIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UsagePlan + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanInput) (*request.Request, *apigateway.UsagePlan)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6666,7 +7396,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanRequest(_a0 *apigateway.GetUsagePlanIn } } - var r1 *apigateway.UsagePlan if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlanInput) *apigateway.UsagePlan); ok { r1 = rf(_a0) } else { @@ -6690,6 +7419,10 @@ func (_m *MockFakeApiGateway) GetUsagePlanWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanInput, ...request.Option) (*apigateway.UsagePlan, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlanInput, ...request.Option) *apigateway.UsagePlan); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6698,7 +7431,6 @@ func (_m *MockFakeApiGateway) GetUsagePlanWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetUsagePlanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6713,6 +7445,10 @@ func (_m *MockFakeApiGateway) GetUsagePlans(_a0 *apigateway.GetUsagePlansInput) ret := _m.Called(_a0) var r0 *apigateway.GetUsagePlansOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlansInput) (*apigateway.GetUsagePlansOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlansInput) *apigateway.GetUsagePlansOutput); ok { r0 = rf(_a0) } else { @@ -6721,7 +7457,6 @@ func (_m *MockFakeApiGateway) GetUsagePlans(_a0 *apigateway.GetUsagePlansInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlansInput) error); ok { r1 = rf(_a0) } else { @@ -6771,6 +7506,10 @@ func (_m *MockFakeApiGateway) GetUsagePlansRequest(_a0 *apigateway.GetUsagePlans ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetUsagePlansOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlansInput) (*request.Request, *apigateway.GetUsagePlansOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsagePlansInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6779,7 +7518,6 @@ func (_m *MockFakeApiGateway) GetUsagePlansRequest(_a0 *apigateway.GetUsagePlans } } - var r1 *apigateway.GetUsagePlansOutput if rf, ok := ret.Get(1).(func(*apigateway.GetUsagePlansInput) *apigateway.GetUsagePlansOutput); ok { r1 = rf(_a0) } else { @@ -6803,6 +7541,10 @@ func (_m *MockFakeApiGateway) GetUsagePlansWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.GetUsagePlansOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlansInput, ...request.Option) (*apigateway.GetUsagePlansOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsagePlansInput, ...request.Option) *apigateway.GetUsagePlansOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6811,7 +7553,6 @@ func (_m *MockFakeApiGateway) GetUsagePlansWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetUsagePlansInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6826,6 +7567,10 @@ func (_m *MockFakeApiGateway) GetUsageRequest(_a0 *apigateway.GetUsageInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Usage + if rf, ok := ret.Get(0).(func(*apigateway.GetUsageInput) (*request.Request, *apigateway.Usage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetUsageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6834,7 +7579,6 @@ func (_m *MockFakeApiGateway) GetUsageRequest(_a0 *apigateway.GetUsageInput) (*r } } - var r1 *apigateway.Usage if rf, ok := ret.Get(1).(func(*apigateway.GetUsageInput) *apigateway.Usage); ok { r1 = rf(_a0) } else { @@ -6858,6 +7602,10 @@ func (_m *MockFakeApiGateway) GetUsageWithContext(_a0 context.Context, _a1 *apig ret := _m.Called(_ca...) var r0 *apigateway.Usage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsageInput, ...request.Option) (*apigateway.Usage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetUsageInput, ...request.Option) *apigateway.Usage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6866,7 +7614,6 @@ func (_m *MockFakeApiGateway) GetUsageWithContext(_a0 context.Context, _a1 *apig } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetUsageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6881,6 +7628,10 @@ func (_m *MockFakeApiGateway) GetVpcLink(_a0 *apigateway.GetVpcLinkInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinkInput) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -6889,7 +7640,6 @@ func (_m *MockFakeApiGateway) GetVpcLink(_a0 *apigateway.GetVpcLinkInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -6904,6 +7654,10 @@ func (_m *MockFakeApiGateway) GetVpcLinkRequest(_a0 *apigateway.GetVpcLinkInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinkInput) (*request.Request, *apigateway.UpdateVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6912,7 +7666,6 @@ func (_m *MockFakeApiGateway) GetVpcLinkRequest(_a0 *apigateway.GetVpcLinkInput) } } - var r1 *apigateway.UpdateVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigateway.GetVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -6936,6 +7689,10 @@ func (_m *MockFakeApiGateway) GetVpcLinkWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetVpcLinkInput, ...request.Option) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetVpcLinkInput, ...request.Option) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6944,7 +7701,6 @@ func (_m *MockFakeApiGateway) GetVpcLinkWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6959,6 +7715,10 @@ func (_m *MockFakeApiGateway) GetVpcLinks(_a0 *apigateway.GetVpcLinksInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.GetVpcLinksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinksInput) (*apigateway.GetVpcLinksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinksInput) *apigateway.GetVpcLinksOutput); ok { r0 = rf(_a0) } else { @@ -6967,7 +7727,6 @@ func (_m *MockFakeApiGateway) GetVpcLinks(_a0 *apigateway.GetVpcLinksInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.GetVpcLinksInput) error); ok { r1 = rf(_a0) } else { @@ -7017,6 +7776,10 @@ func (_m *MockFakeApiGateway) GetVpcLinksRequest(_a0 *apigateway.GetVpcLinksInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.GetVpcLinksOutput + if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinksInput) (*request.Request, *apigateway.GetVpcLinksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.GetVpcLinksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7025,7 +7788,6 @@ func (_m *MockFakeApiGateway) GetVpcLinksRequest(_a0 *apigateway.GetVpcLinksInpu } } - var r1 *apigateway.GetVpcLinksOutput if rf, ok := ret.Get(1).(func(*apigateway.GetVpcLinksInput) *apigateway.GetVpcLinksOutput); ok { r1 = rf(_a0) } else { @@ -7049,6 +7811,10 @@ func (_m *MockFakeApiGateway) GetVpcLinksWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.GetVpcLinksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetVpcLinksInput, ...request.Option) (*apigateway.GetVpcLinksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.GetVpcLinksInput, ...request.Option) *apigateway.GetVpcLinksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7057,7 +7823,6 @@ func (_m *MockFakeApiGateway) GetVpcLinksWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.GetVpcLinksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7072,6 +7837,10 @@ func (_m *MockFakeApiGateway) ImportApiKeys(_a0 *apigateway.ImportApiKeysInput) ret := _m.Called(_a0) var r0 *apigateway.ImportApiKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.ImportApiKeysInput) (*apigateway.ImportApiKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportApiKeysInput) *apigateway.ImportApiKeysOutput); ok { r0 = rf(_a0) } else { @@ -7080,7 +7849,6 @@ func (_m *MockFakeApiGateway) ImportApiKeys(_a0 *apigateway.ImportApiKeysInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.ImportApiKeysInput) error); ok { r1 = rf(_a0) } else { @@ -7095,6 +7863,10 @@ func (_m *MockFakeApiGateway) ImportApiKeysRequest(_a0 *apigateway.ImportApiKeys ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ImportApiKeysOutput + if rf, ok := ret.Get(0).(func(*apigateway.ImportApiKeysInput) (*request.Request, *apigateway.ImportApiKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportApiKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7103,7 +7875,6 @@ func (_m *MockFakeApiGateway) ImportApiKeysRequest(_a0 *apigateway.ImportApiKeys } } - var r1 *apigateway.ImportApiKeysOutput if rf, ok := ret.Get(1).(func(*apigateway.ImportApiKeysInput) *apigateway.ImportApiKeysOutput); ok { r1 = rf(_a0) } else { @@ -7127,6 +7898,10 @@ func (_m *MockFakeApiGateway) ImportApiKeysWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.ImportApiKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportApiKeysInput, ...request.Option) (*apigateway.ImportApiKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportApiKeysInput, ...request.Option) *apigateway.ImportApiKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7135,7 +7910,6 @@ func (_m *MockFakeApiGateway) ImportApiKeysWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.ImportApiKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7150,6 +7924,10 @@ func (_m *MockFakeApiGateway) ImportDocumentationParts(_a0 *apigateway.ImportDoc ret := _m.Called(_a0) var r0 *apigateway.ImportDocumentationPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.ImportDocumentationPartsInput) (*apigateway.ImportDocumentationPartsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportDocumentationPartsInput) *apigateway.ImportDocumentationPartsOutput); ok { r0 = rf(_a0) } else { @@ -7158,7 +7936,6 @@ func (_m *MockFakeApiGateway) ImportDocumentationParts(_a0 *apigateway.ImportDoc } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.ImportDocumentationPartsInput) error); ok { r1 = rf(_a0) } else { @@ -7173,6 +7950,10 @@ func (_m *MockFakeApiGateway) ImportDocumentationPartsRequest(_a0 *apigateway.Im ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ImportDocumentationPartsOutput + if rf, ok := ret.Get(0).(func(*apigateway.ImportDocumentationPartsInput) (*request.Request, *apigateway.ImportDocumentationPartsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportDocumentationPartsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7181,7 +7962,6 @@ func (_m *MockFakeApiGateway) ImportDocumentationPartsRequest(_a0 *apigateway.Im } } - var r1 *apigateway.ImportDocumentationPartsOutput if rf, ok := ret.Get(1).(func(*apigateway.ImportDocumentationPartsInput) *apigateway.ImportDocumentationPartsOutput); ok { r1 = rf(_a0) } else { @@ -7205,6 +7985,10 @@ func (_m *MockFakeApiGateway) ImportDocumentationPartsWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *apigateway.ImportDocumentationPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportDocumentationPartsInput, ...request.Option) (*apigateway.ImportDocumentationPartsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportDocumentationPartsInput, ...request.Option) *apigateway.ImportDocumentationPartsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7213,7 +7997,6 @@ func (_m *MockFakeApiGateway) ImportDocumentationPartsWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.ImportDocumentationPartsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7228,6 +8011,10 @@ func (_m *MockFakeApiGateway) ImportRestApi(_a0 *apigateway.ImportRestApiInput) ret := _m.Called(_a0) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.ImportRestApiInput) (*apigateway.RestApi, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportRestApiInput) *apigateway.RestApi); ok { r0 = rf(_a0) } else { @@ -7236,7 +8023,6 @@ func (_m *MockFakeApiGateway) ImportRestApi(_a0 *apigateway.ImportRestApiInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.ImportRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -7251,6 +8037,10 @@ func (_m *MockFakeApiGateway) ImportRestApiRequest(_a0 *apigateway.ImportRestApi ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.RestApi + if rf, ok := ret.Get(0).(func(*apigateway.ImportRestApiInput) (*request.Request, *apigateway.RestApi)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.ImportRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7259,7 +8049,6 @@ func (_m *MockFakeApiGateway) ImportRestApiRequest(_a0 *apigateway.ImportRestApi } } - var r1 *apigateway.RestApi if rf, ok := ret.Get(1).(func(*apigateway.ImportRestApiInput) *apigateway.RestApi); ok { r1 = rf(_a0) } else { @@ -7283,6 +8072,10 @@ func (_m *MockFakeApiGateway) ImportRestApiWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportRestApiInput, ...request.Option) (*apigateway.RestApi, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.ImportRestApiInput, ...request.Option) *apigateway.RestApi); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7291,7 +8084,6 @@ func (_m *MockFakeApiGateway) ImportRestApiWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.ImportRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7306,6 +8098,10 @@ func (_m *MockFakeApiGateway) PutGatewayResponse(_a0 *apigateway.PutGatewayRespo ret := _m.Called(_a0) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutGatewayResponseInput) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0) } else { @@ -7314,7 +8110,6 @@ func (_m *MockFakeApiGateway) PutGatewayResponse(_a0 *apigateway.PutGatewayRespo } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutGatewayResponseInput) error); ok { r1 = rf(_a0) } else { @@ -7329,6 +8124,10 @@ func (_m *MockFakeApiGateway) PutGatewayResponseRequest(_a0 *apigateway.PutGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateGatewayResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.PutGatewayResponseInput) (*request.Request, *apigateway.UpdateGatewayResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutGatewayResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7337,7 +8136,6 @@ func (_m *MockFakeApiGateway) PutGatewayResponseRequest(_a0 *apigateway.PutGatew } } - var r1 *apigateway.UpdateGatewayResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.PutGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r1 = rf(_a0) } else { @@ -7361,6 +8159,10 @@ func (_m *MockFakeApiGateway) PutGatewayResponseWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutGatewayResponseInput, ...request.Option) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutGatewayResponseInput, ...request.Option) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7369,7 +8171,6 @@ func (_m *MockFakeApiGateway) PutGatewayResponseWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutGatewayResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7384,6 +8185,10 @@ func (_m *MockFakeApiGateway) PutIntegration(_a0 *apigateway.PutIntegrationInput ret := _m.Called(_a0) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationInput) (*apigateway.Integration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationInput) *apigateway.Integration); ok { r0 = rf(_a0) } else { @@ -7392,7 +8197,6 @@ func (_m *MockFakeApiGateway) PutIntegration(_a0 *apigateway.PutIntegrationInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -7407,6 +8211,10 @@ func (_m *MockFakeApiGateway) PutIntegrationRequest(_a0 *apigateway.PutIntegrati ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Integration + if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationInput) (*request.Request, *apigateway.Integration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7415,7 +8223,6 @@ func (_m *MockFakeApiGateway) PutIntegrationRequest(_a0 *apigateway.PutIntegrati } } - var r1 *apigateway.Integration if rf, ok := ret.Get(1).(func(*apigateway.PutIntegrationInput) *apigateway.Integration); ok { r1 = rf(_a0) } else { @@ -7432,6 +8239,10 @@ func (_m *MockFakeApiGateway) PutIntegrationResponse(_a0 *apigateway.PutIntegrat ret := _m.Called(_a0) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationResponseInput) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r0 = rf(_a0) } else { @@ -7440,7 +8251,6 @@ func (_m *MockFakeApiGateway) PutIntegrationResponse(_a0 *apigateway.PutIntegrat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -7455,6 +8265,10 @@ func (_m *MockFakeApiGateway) PutIntegrationResponseRequest(_a0 *apigateway.PutI ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.IntegrationResponse + if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationResponseInput) (*request.Request, *apigateway.IntegrationResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7463,7 +8277,6 @@ func (_m *MockFakeApiGateway) PutIntegrationResponseRequest(_a0 *apigateway.PutI } } - var r1 *apigateway.IntegrationResponse if rf, ok := ret.Get(1).(func(*apigateway.PutIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r1 = rf(_a0) } else { @@ -7487,6 +8300,10 @@ func (_m *MockFakeApiGateway) PutIntegrationResponseWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutIntegrationResponseInput, ...request.Option) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutIntegrationResponseInput, ...request.Option) *apigateway.IntegrationResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7495,7 +8312,6 @@ func (_m *MockFakeApiGateway) PutIntegrationResponseWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7517,6 +8333,10 @@ func (_m *MockFakeApiGateway) PutIntegrationWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutIntegrationInput, ...request.Option) (*apigateway.Integration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutIntegrationInput, ...request.Option) *apigateway.Integration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7525,7 +8345,6 @@ func (_m *MockFakeApiGateway) PutIntegrationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7540,6 +8359,10 @@ func (_m *MockFakeApiGateway) PutMethod(_a0 *apigateway.PutMethodInput) (*apigat ret := _m.Called(_a0) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutMethodInput) (*apigateway.Method, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutMethodInput) *apigateway.Method); ok { r0 = rf(_a0) } else { @@ -7548,7 +8371,6 @@ func (_m *MockFakeApiGateway) PutMethod(_a0 *apigateway.PutMethodInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutMethodInput) error); ok { r1 = rf(_a0) } else { @@ -7563,6 +8385,10 @@ func (_m *MockFakeApiGateway) PutMethodRequest(_a0 *apigateway.PutMethodInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Method + if rf, ok := ret.Get(0).(func(*apigateway.PutMethodInput) (*request.Request, *apigateway.Method)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutMethodInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7571,7 +8397,6 @@ func (_m *MockFakeApiGateway) PutMethodRequest(_a0 *apigateway.PutMethodInput) ( } } - var r1 *apigateway.Method if rf, ok := ret.Get(1).(func(*apigateway.PutMethodInput) *apigateway.Method); ok { r1 = rf(_a0) } else { @@ -7588,6 +8413,10 @@ func (_m *MockFakeApiGateway) PutMethodResponse(_a0 *apigateway.PutMethodRespons ret := _m.Called(_a0) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutMethodResponseInput) (*apigateway.MethodResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutMethodResponseInput) *apigateway.MethodResponse); ok { r0 = rf(_a0) } else { @@ -7596,7 +8425,6 @@ func (_m *MockFakeApiGateway) PutMethodResponse(_a0 *apigateway.PutMethodRespons } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutMethodResponseInput) error); ok { r1 = rf(_a0) } else { @@ -7611,6 +8439,10 @@ func (_m *MockFakeApiGateway) PutMethodResponseRequest(_a0 *apigateway.PutMethod ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.MethodResponse + if rf, ok := ret.Get(0).(func(*apigateway.PutMethodResponseInput) (*request.Request, *apigateway.MethodResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutMethodResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7619,7 +8451,6 @@ func (_m *MockFakeApiGateway) PutMethodResponseRequest(_a0 *apigateway.PutMethod } } - var r1 *apigateway.MethodResponse if rf, ok := ret.Get(1).(func(*apigateway.PutMethodResponseInput) *apigateway.MethodResponse); ok { r1 = rf(_a0) } else { @@ -7643,6 +8474,10 @@ func (_m *MockFakeApiGateway) PutMethodResponseWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutMethodResponseInput, ...request.Option) (*apigateway.MethodResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutMethodResponseInput, ...request.Option) *apigateway.MethodResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7651,7 +8486,6 @@ func (_m *MockFakeApiGateway) PutMethodResponseWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutMethodResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7673,6 +8507,10 @@ func (_m *MockFakeApiGateway) PutMethodWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutMethodInput, ...request.Option) (*apigateway.Method, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutMethodInput, ...request.Option) *apigateway.Method); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7681,7 +8519,6 @@ func (_m *MockFakeApiGateway) PutMethodWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutMethodInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7696,6 +8533,10 @@ func (_m *MockFakeApiGateway) PutRestApi(_a0 *apigateway.PutRestApiInput) (*apig ret := _m.Called(_a0) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.PutRestApiInput) (*apigateway.RestApi, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutRestApiInput) *apigateway.RestApi); ok { r0 = rf(_a0) } else { @@ -7704,7 +8545,6 @@ func (_m *MockFakeApiGateway) PutRestApi(_a0 *apigateway.PutRestApiInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.PutRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -7719,6 +8559,10 @@ func (_m *MockFakeApiGateway) PutRestApiRequest(_a0 *apigateway.PutRestApiInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.RestApi + if rf, ok := ret.Get(0).(func(*apigateway.PutRestApiInput) (*request.Request, *apigateway.RestApi)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.PutRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7727,7 +8571,6 @@ func (_m *MockFakeApiGateway) PutRestApiRequest(_a0 *apigateway.PutRestApiInput) } } - var r1 *apigateway.RestApi if rf, ok := ret.Get(1).(func(*apigateway.PutRestApiInput) *apigateway.RestApi); ok { r1 = rf(_a0) } else { @@ -7751,6 +8594,10 @@ func (_m *MockFakeApiGateway) PutRestApiWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutRestApiInput, ...request.Option) (*apigateway.RestApi, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.PutRestApiInput, ...request.Option) *apigateway.RestApi); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7759,7 +8606,6 @@ func (_m *MockFakeApiGateway) PutRestApiWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.PutRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7774,6 +8620,10 @@ func (_m *MockFakeApiGateway) TagResource(_a0 *apigateway.TagResourceInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.TagResourceInput) (*apigateway.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TagResourceInput) *apigateway.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -7782,7 +8632,6 @@ func (_m *MockFakeApiGateway) TagResource(_a0 *apigateway.TagResourceInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -7797,6 +8646,10 @@ func (_m *MockFakeApiGateway) TagResourceRequest(_a0 *apigateway.TagResourceInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.TagResourceOutput + if rf, ok := ret.Get(0).(func(*apigateway.TagResourceInput) (*request.Request, *apigateway.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7805,7 +8658,6 @@ func (_m *MockFakeApiGateway) TagResourceRequest(_a0 *apigateway.TagResourceInpu } } - var r1 *apigateway.TagResourceOutput if rf, ok := ret.Get(1).(func(*apigateway.TagResourceInput) *apigateway.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -7829,6 +8681,10 @@ func (_m *MockFakeApiGateway) TagResourceWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TagResourceInput, ...request.Option) (*apigateway.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TagResourceInput, ...request.Option) *apigateway.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7837,7 +8693,6 @@ func (_m *MockFakeApiGateway) TagResourceWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7852,6 +8707,10 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizer(_a0 *apigateway.TestInvokeAut ret := _m.Called(_a0) var r0 *apigateway.TestInvokeAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeAuthorizerInput) (*apigateway.TestInvokeAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeAuthorizerInput) *apigateway.TestInvokeAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -7860,7 +8719,6 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizer(_a0 *apigateway.TestInvokeAut } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.TestInvokeAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -7875,6 +8733,10 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizerRequest(_a0 *apigateway.TestIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.TestInvokeAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeAuthorizerInput) (*request.Request, *apigateway.TestInvokeAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7883,7 +8745,6 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizerRequest(_a0 *apigateway.TestIn } } - var r1 *apigateway.TestInvokeAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigateway.TestInvokeAuthorizerInput) *apigateway.TestInvokeAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -7907,6 +8768,10 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizerWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.TestInvokeAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TestInvokeAuthorizerInput, ...request.Option) (*apigateway.TestInvokeAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TestInvokeAuthorizerInput, ...request.Option) *apigateway.TestInvokeAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7915,7 +8780,6 @@ func (_m *MockFakeApiGateway) TestInvokeAuthorizerWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.TestInvokeAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7930,6 +8794,10 @@ func (_m *MockFakeApiGateway) TestInvokeMethod(_a0 *apigateway.TestInvokeMethodI ret := _m.Called(_a0) var r0 *apigateway.TestInvokeMethodOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeMethodInput) (*apigateway.TestInvokeMethodOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeMethodInput) *apigateway.TestInvokeMethodOutput); ok { r0 = rf(_a0) } else { @@ -7938,7 +8806,6 @@ func (_m *MockFakeApiGateway) TestInvokeMethod(_a0 *apigateway.TestInvokeMethodI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.TestInvokeMethodInput) error); ok { r1 = rf(_a0) } else { @@ -7953,6 +8820,10 @@ func (_m *MockFakeApiGateway) TestInvokeMethodRequest(_a0 *apigateway.TestInvoke ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.TestInvokeMethodOutput + if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeMethodInput) (*request.Request, *apigateway.TestInvokeMethodOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.TestInvokeMethodInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7961,7 +8832,6 @@ func (_m *MockFakeApiGateway) TestInvokeMethodRequest(_a0 *apigateway.TestInvoke } } - var r1 *apigateway.TestInvokeMethodOutput if rf, ok := ret.Get(1).(func(*apigateway.TestInvokeMethodInput) *apigateway.TestInvokeMethodOutput); ok { r1 = rf(_a0) } else { @@ -7985,6 +8855,10 @@ func (_m *MockFakeApiGateway) TestInvokeMethodWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.TestInvokeMethodOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TestInvokeMethodInput, ...request.Option) (*apigateway.TestInvokeMethodOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.TestInvokeMethodInput, ...request.Option) *apigateway.TestInvokeMethodOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7993,7 +8867,6 @@ func (_m *MockFakeApiGateway) TestInvokeMethodWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.TestInvokeMethodInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8008,6 +8881,10 @@ func (_m *MockFakeApiGateway) UntagResource(_a0 *apigateway.UntagResourceInput) ret := _m.Called(_a0) var r0 *apigateway.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UntagResourceInput) (*apigateway.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UntagResourceInput) *apigateway.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -8016,7 +8893,6 @@ func (_m *MockFakeApiGateway) UntagResource(_a0 *apigateway.UntagResourceInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -8031,6 +8907,10 @@ func (_m *MockFakeApiGateway) UntagResourceRequest(_a0 *apigateway.UntagResource ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*apigateway.UntagResourceInput) (*request.Request, *apigateway.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8039,7 +8919,6 @@ func (_m *MockFakeApiGateway) UntagResourceRequest(_a0 *apigateway.UntagResource } } - var r1 *apigateway.UntagResourceOutput if rf, ok := ret.Get(1).(func(*apigateway.UntagResourceInput) *apigateway.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -8063,6 +8942,10 @@ func (_m *MockFakeApiGateway) UntagResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UntagResourceInput, ...request.Option) (*apigateway.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UntagResourceInput, ...request.Option) *apigateway.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8071,7 +8954,6 @@ func (_m *MockFakeApiGateway) UntagResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8086,6 +8968,10 @@ func (_m *MockFakeApiGateway) UpdateAccount(_a0 *apigateway.UpdateAccountInput) ret := _m.Called(_a0) var r0 *apigateway.Account + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateAccountInput) (*apigateway.Account, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateAccountInput) *apigateway.Account); ok { r0 = rf(_a0) } else { @@ -8094,7 +8980,6 @@ func (_m *MockFakeApiGateway) UpdateAccount(_a0 *apigateway.UpdateAccountInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateAccountInput) error); ok { r1 = rf(_a0) } else { @@ -8109,6 +8994,10 @@ func (_m *MockFakeApiGateway) UpdateAccountRequest(_a0 *apigateway.UpdateAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Account + if rf, ok := ret.Get(0).(func(*apigateway.UpdateAccountInput) (*request.Request, *apigateway.Account)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateAccountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8117,7 +9006,6 @@ func (_m *MockFakeApiGateway) UpdateAccountRequest(_a0 *apigateway.UpdateAccount } } - var r1 *apigateway.Account if rf, ok := ret.Get(1).(func(*apigateway.UpdateAccountInput) *apigateway.Account); ok { r1 = rf(_a0) } else { @@ -8141,6 +9029,10 @@ func (_m *MockFakeApiGateway) UpdateAccountWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Account + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateAccountInput, ...request.Option) (*apigateway.Account, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateAccountInput, ...request.Option) *apigateway.Account); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8149,7 +9041,6 @@ func (_m *MockFakeApiGateway) UpdateAccountWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateAccountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8164,6 +9055,10 @@ func (_m *MockFakeApiGateway) UpdateApiKey(_a0 *apigateway.UpdateApiKeyInput) (* ret := _m.Called(_a0) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateApiKeyInput) (*apigateway.ApiKey, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateApiKeyInput) *apigateway.ApiKey); ok { r0 = rf(_a0) } else { @@ -8172,7 +9067,6 @@ func (_m *MockFakeApiGateway) UpdateApiKey(_a0 *apigateway.UpdateApiKeyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateApiKeyInput) error); ok { r1 = rf(_a0) } else { @@ -8187,6 +9081,10 @@ func (_m *MockFakeApiGateway) UpdateApiKeyRequest(_a0 *apigateway.UpdateApiKeyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ApiKey + if rf, ok := ret.Get(0).(func(*apigateway.UpdateApiKeyInput) (*request.Request, *apigateway.ApiKey)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateApiKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8195,7 +9093,6 @@ func (_m *MockFakeApiGateway) UpdateApiKeyRequest(_a0 *apigateway.UpdateApiKeyIn } } - var r1 *apigateway.ApiKey if rf, ok := ret.Get(1).(func(*apigateway.UpdateApiKeyInput) *apigateway.ApiKey); ok { r1 = rf(_a0) } else { @@ -8219,6 +9116,10 @@ func (_m *MockFakeApiGateway) UpdateApiKeyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.ApiKey + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateApiKeyInput, ...request.Option) (*apigateway.ApiKey, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateApiKeyInput, ...request.Option) *apigateway.ApiKey); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8227,7 +9128,6 @@ func (_m *MockFakeApiGateway) UpdateApiKeyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateApiKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8242,6 +9142,10 @@ func (_m *MockFakeApiGateway) UpdateAuthorizer(_a0 *apigateway.UpdateAuthorizerI ret := _m.Called(_a0) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateAuthorizerInput) (*apigateway.Authorizer, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateAuthorizerInput) *apigateway.Authorizer); ok { r0 = rf(_a0) } else { @@ -8250,7 +9154,6 @@ func (_m *MockFakeApiGateway) UpdateAuthorizer(_a0 *apigateway.UpdateAuthorizerI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -8265,6 +9168,10 @@ func (_m *MockFakeApiGateway) UpdateAuthorizerRequest(_a0 *apigateway.UpdateAuth ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Authorizer + if rf, ok := ret.Get(0).(func(*apigateway.UpdateAuthorizerInput) (*request.Request, *apigateway.Authorizer)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8273,7 +9180,6 @@ func (_m *MockFakeApiGateway) UpdateAuthorizerRequest(_a0 *apigateway.UpdateAuth } } - var r1 *apigateway.Authorizer if rf, ok := ret.Get(1).(func(*apigateway.UpdateAuthorizerInput) *apigateway.Authorizer); ok { r1 = rf(_a0) } else { @@ -8297,6 +9203,10 @@ func (_m *MockFakeApiGateway) UpdateAuthorizerWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.Authorizer + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateAuthorizerInput, ...request.Option) (*apigateway.Authorizer, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateAuthorizerInput, ...request.Option) *apigateway.Authorizer); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8305,7 +9215,6 @@ func (_m *MockFakeApiGateway) UpdateAuthorizerWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8320,6 +9229,10 @@ func (_m *MockFakeApiGateway) UpdateBasePathMapping(_a0 *apigateway.UpdateBasePa ret := _m.Called(_a0) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateBasePathMappingInput) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateBasePathMappingInput) *apigateway.BasePathMapping); ok { r0 = rf(_a0) } else { @@ -8328,7 +9241,6 @@ func (_m *MockFakeApiGateway) UpdateBasePathMapping(_a0 *apigateway.UpdateBasePa } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateBasePathMappingInput) error); ok { r1 = rf(_a0) } else { @@ -8343,6 +9255,10 @@ func (_m *MockFakeApiGateway) UpdateBasePathMappingRequest(_a0 *apigateway.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.BasePathMapping + if rf, ok := ret.Get(0).(func(*apigateway.UpdateBasePathMappingInput) (*request.Request, *apigateway.BasePathMapping)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateBasePathMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8351,7 +9267,6 @@ func (_m *MockFakeApiGateway) UpdateBasePathMappingRequest(_a0 *apigateway.Updat } } - var r1 *apigateway.BasePathMapping if rf, ok := ret.Get(1).(func(*apigateway.UpdateBasePathMappingInput) *apigateway.BasePathMapping); ok { r1 = rf(_a0) } else { @@ -8375,6 +9290,10 @@ func (_m *MockFakeApiGateway) UpdateBasePathMappingWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.BasePathMapping + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateBasePathMappingInput, ...request.Option) (*apigateway.BasePathMapping, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateBasePathMappingInput, ...request.Option) *apigateway.BasePathMapping); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8383,7 +9302,6 @@ func (_m *MockFakeApiGateway) UpdateBasePathMappingWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateBasePathMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8398,6 +9316,10 @@ func (_m *MockFakeApiGateway) UpdateClientCertificate(_a0 *apigateway.UpdateClie ret := _m.Called(_a0) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateClientCertificateInput) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateClientCertificateInput) *apigateway.ClientCertificate); ok { r0 = rf(_a0) } else { @@ -8406,7 +9328,6 @@ func (_m *MockFakeApiGateway) UpdateClientCertificate(_a0 *apigateway.UpdateClie } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateClientCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -8421,6 +9342,10 @@ func (_m *MockFakeApiGateway) UpdateClientCertificateRequest(_a0 *apigateway.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.ClientCertificate + if rf, ok := ret.Get(0).(func(*apigateway.UpdateClientCertificateInput) (*request.Request, *apigateway.ClientCertificate)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateClientCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8429,7 +9354,6 @@ func (_m *MockFakeApiGateway) UpdateClientCertificateRequest(_a0 *apigateway.Upd } } - var r1 *apigateway.ClientCertificate if rf, ok := ret.Get(1).(func(*apigateway.UpdateClientCertificateInput) *apigateway.ClientCertificate); ok { r1 = rf(_a0) } else { @@ -8453,6 +9377,10 @@ func (_m *MockFakeApiGateway) UpdateClientCertificateWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.ClientCertificate + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateClientCertificateInput, ...request.Option) (*apigateway.ClientCertificate, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateClientCertificateInput, ...request.Option) *apigateway.ClientCertificate); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8461,7 +9389,6 @@ func (_m *MockFakeApiGateway) UpdateClientCertificateWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateClientCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8476,6 +9403,10 @@ func (_m *MockFakeApiGateway) UpdateDeployment(_a0 *apigateway.UpdateDeploymentI ret := _m.Called(_a0) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDeploymentInput) (*apigateway.Deployment, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDeploymentInput) *apigateway.Deployment); ok { r0 = rf(_a0) } else { @@ -8484,7 +9415,6 @@ func (_m *MockFakeApiGateway) UpdateDeployment(_a0 *apigateway.UpdateDeploymentI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -8499,6 +9429,10 @@ func (_m *MockFakeApiGateway) UpdateDeploymentRequest(_a0 *apigateway.UpdateDepl ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Deployment + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDeploymentInput) (*request.Request, *apigateway.Deployment)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8507,7 +9441,6 @@ func (_m *MockFakeApiGateway) UpdateDeploymentRequest(_a0 *apigateway.UpdateDepl } } - var r1 *apigateway.Deployment if rf, ok := ret.Get(1).(func(*apigateway.UpdateDeploymentInput) *apigateway.Deployment); ok { r1 = rf(_a0) } else { @@ -8531,6 +9464,10 @@ func (_m *MockFakeApiGateway) UpdateDeploymentWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.Deployment + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDeploymentInput, ...request.Option) (*apigateway.Deployment, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDeploymentInput, ...request.Option) *apigateway.Deployment); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8539,7 +9476,6 @@ func (_m *MockFakeApiGateway) UpdateDeploymentWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8554,6 +9490,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPart(_a0 *apigateway.UpdateDocu ret := _m.Called(_a0) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationPartInput) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationPartInput) *apigateway.DocumentationPart); ok { r0 = rf(_a0) } else { @@ -8562,7 +9502,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPart(_a0 *apigateway.UpdateDocu } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateDocumentationPartInput) error); ok { r1 = rf(_a0) } else { @@ -8577,6 +9516,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPartRequest(_a0 *apigateway.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationPart + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationPartInput) (*request.Request, *apigateway.DocumentationPart)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8585,7 +9528,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPartRequest(_a0 *apigateway.Upd } } - var r1 *apigateway.DocumentationPart if rf, ok := ret.Get(1).(func(*apigateway.UpdateDocumentationPartInput) *apigateway.DocumentationPart); ok { r1 = rf(_a0) } else { @@ -8609,6 +9551,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPartWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigateway.DocumentationPart + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDocumentationPartInput, ...request.Option) (*apigateway.DocumentationPart, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDocumentationPartInput, ...request.Option) *apigateway.DocumentationPart); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8617,7 +9563,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationPartWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateDocumentationPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8632,6 +9577,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersion(_a0 *apigateway.UpdateD ret := _m.Called(_a0) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationVersionInput) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r0 = rf(_a0) } else { @@ -8640,7 +9589,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersion(_a0 *apigateway.UpdateD } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateDocumentationVersionInput) error); ok { r1 = rf(_a0) } else { @@ -8655,6 +9603,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersionRequest(_a0 *apigateway. ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DocumentationVersion + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationVersionInput) (*request.Request, *apigateway.DocumentationVersion)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDocumentationVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8663,7 +9615,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersionRequest(_a0 *apigateway. } } - var r1 *apigateway.DocumentationVersion if rf, ok := ret.Get(1).(func(*apigateway.UpdateDocumentationVersionInput) *apigateway.DocumentationVersion); ok { r1 = rf(_a0) } else { @@ -8687,6 +9638,10 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersionWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *apigateway.DocumentationVersion + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDocumentationVersionInput, ...request.Option) (*apigateway.DocumentationVersion, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDocumentationVersionInput, ...request.Option) *apigateway.DocumentationVersion); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8695,7 +9650,6 @@ func (_m *MockFakeApiGateway) UpdateDocumentationVersionWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateDocumentationVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8710,6 +9664,10 @@ func (_m *MockFakeApiGateway) UpdateDomainName(_a0 *apigateway.UpdateDomainNameI ret := _m.Called(_a0) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDomainNameInput) (*apigateway.DomainName, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDomainNameInput) *apigateway.DomainName); ok { r0 = rf(_a0) } else { @@ -8718,7 +9676,6 @@ func (_m *MockFakeApiGateway) UpdateDomainName(_a0 *apigateway.UpdateDomainNameI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -8733,6 +9690,10 @@ func (_m *MockFakeApiGateway) UpdateDomainNameRequest(_a0 *apigateway.UpdateDoma ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.DomainName + if rf, ok := ret.Get(0).(func(*apigateway.UpdateDomainNameInput) (*request.Request, *apigateway.DomainName)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8741,7 +9702,6 @@ func (_m *MockFakeApiGateway) UpdateDomainNameRequest(_a0 *apigateway.UpdateDoma } } - var r1 *apigateway.DomainName if rf, ok := ret.Get(1).(func(*apigateway.UpdateDomainNameInput) *apigateway.DomainName); ok { r1 = rf(_a0) } else { @@ -8765,6 +9725,10 @@ func (_m *MockFakeApiGateway) UpdateDomainNameWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigateway.DomainName + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDomainNameInput, ...request.Option) (*apigateway.DomainName, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateDomainNameInput, ...request.Option) *apigateway.DomainName); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8773,7 +9737,6 @@ func (_m *MockFakeApiGateway) UpdateDomainNameWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8788,6 +9751,10 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponse(_a0 *apigateway.UpdateGatewa ret := _m.Called(_a0) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateGatewayResponseInput) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0) } else { @@ -8796,7 +9763,6 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponse(_a0 *apigateway.UpdateGatewa } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateGatewayResponseInput) error); ok { r1 = rf(_a0) } else { @@ -8811,6 +9777,10 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponseRequest(_a0 *apigateway.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateGatewayResponseOutput + if rf, ok := ret.Get(0).(func(*apigateway.UpdateGatewayResponseInput) (*request.Request, *apigateway.UpdateGatewayResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateGatewayResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8819,7 +9789,6 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponseRequest(_a0 *apigateway.Updat } } - var r1 *apigateway.UpdateGatewayResponseOutput if rf, ok := ret.Get(1).(func(*apigateway.UpdateGatewayResponseInput) *apigateway.UpdateGatewayResponseOutput); ok { r1 = rf(_a0) } else { @@ -8843,6 +9812,10 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponseWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigateway.UpdateGatewayResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateGatewayResponseInput, ...request.Option) (*apigateway.UpdateGatewayResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateGatewayResponseInput, ...request.Option) *apigateway.UpdateGatewayResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8851,7 +9824,6 @@ func (_m *MockFakeApiGateway) UpdateGatewayResponseWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateGatewayResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8866,6 +9838,10 @@ func (_m *MockFakeApiGateway) UpdateIntegration(_a0 *apigateway.UpdateIntegratio ret := _m.Called(_a0) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationInput) (*apigateway.Integration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationInput) *apigateway.Integration); ok { r0 = rf(_a0) } else { @@ -8874,7 +9850,6 @@ func (_m *MockFakeApiGateway) UpdateIntegration(_a0 *apigateway.UpdateIntegratio } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -8889,6 +9864,10 @@ func (_m *MockFakeApiGateway) UpdateIntegrationRequest(_a0 *apigateway.UpdateInt ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Integration + if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationInput) (*request.Request, *apigateway.Integration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8897,7 +9876,6 @@ func (_m *MockFakeApiGateway) UpdateIntegrationRequest(_a0 *apigateway.UpdateInt } } - var r1 *apigateway.Integration if rf, ok := ret.Get(1).(func(*apigateway.UpdateIntegrationInput) *apigateway.Integration); ok { r1 = rf(_a0) } else { @@ -8914,6 +9892,10 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponse(_a0 *apigateway.UpdateIn ret := _m.Called(_a0) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationResponseInput) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r0 = rf(_a0) } else { @@ -8922,7 +9904,6 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponse(_a0 *apigateway.UpdateIn } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -8937,6 +9918,10 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponseRequest(_a0 *apigateway.U ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.IntegrationResponse + if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationResponseInput) (*request.Request, *apigateway.IntegrationResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8945,7 +9930,6 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponseRequest(_a0 *apigateway.U } } - var r1 *apigateway.IntegrationResponse if rf, ok := ret.Get(1).(func(*apigateway.UpdateIntegrationResponseInput) *apigateway.IntegrationResponse); ok { r1 = rf(_a0) } else { @@ -8969,6 +9953,10 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponseWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigateway.IntegrationResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateIntegrationResponseInput, ...request.Option) (*apigateway.IntegrationResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateIntegrationResponseInput, ...request.Option) *apigateway.IntegrationResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8977,7 +9965,6 @@ func (_m *MockFakeApiGateway) UpdateIntegrationResponseWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8999,6 +9986,10 @@ func (_m *MockFakeApiGateway) UpdateIntegrationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigateway.Integration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateIntegrationInput, ...request.Option) (*apigateway.Integration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateIntegrationInput, ...request.Option) *apigateway.Integration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9007,7 +9998,6 @@ func (_m *MockFakeApiGateway) UpdateIntegrationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9022,6 +10012,10 @@ func (_m *MockFakeApiGateway) UpdateMethod(_a0 *apigateway.UpdateMethodInput) (* ret := _m.Called(_a0) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodInput) (*apigateway.Method, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodInput) *apigateway.Method); ok { r0 = rf(_a0) } else { @@ -9030,7 +10024,6 @@ func (_m *MockFakeApiGateway) UpdateMethod(_a0 *apigateway.UpdateMethodInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateMethodInput) error); ok { r1 = rf(_a0) } else { @@ -9045,6 +10038,10 @@ func (_m *MockFakeApiGateway) UpdateMethodRequest(_a0 *apigateway.UpdateMethodIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Method + if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodInput) (*request.Request, *apigateway.Method)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9053,7 +10050,6 @@ func (_m *MockFakeApiGateway) UpdateMethodRequest(_a0 *apigateway.UpdateMethodIn } } - var r1 *apigateway.Method if rf, ok := ret.Get(1).(func(*apigateway.UpdateMethodInput) *apigateway.Method); ok { r1 = rf(_a0) } else { @@ -9070,6 +10066,10 @@ func (_m *MockFakeApiGateway) UpdateMethodResponse(_a0 *apigateway.UpdateMethodR ret := _m.Called(_a0) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodResponseInput) (*apigateway.MethodResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodResponseInput) *apigateway.MethodResponse); ok { r0 = rf(_a0) } else { @@ -9078,7 +10078,6 @@ func (_m *MockFakeApiGateway) UpdateMethodResponse(_a0 *apigateway.UpdateMethodR } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateMethodResponseInput) error); ok { r1 = rf(_a0) } else { @@ -9093,6 +10092,10 @@ func (_m *MockFakeApiGateway) UpdateMethodResponseRequest(_a0 *apigateway.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.MethodResponse + if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodResponseInput) (*request.Request, *apigateway.MethodResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateMethodResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9101,7 +10104,6 @@ func (_m *MockFakeApiGateway) UpdateMethodResponseRequest(_a0 *apigateway.Update } } - var r1 *apigateway.MethodResponse if rf, ok := ret.Get(1).(func(*apigateway.UpdateMethodResponseInput) *apigateway.MethodResponse); ok { r1 = rf(_a0) } else { @@ -9125,6 +10127,10 @@ func (_m *MockFakeApiGateway) UpdateMethodResponseWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *apigateway.MethodResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateMethodResponseInput, ...request.Option) (*apigateway.MethodResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateMethodResponseInput, ...request.Option) *apigateway.MethodResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9133,7 +10139,6 @@ func (_m *MockFakeApiGateway) UpdateMethodResponseWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateMethodResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9155,6 +10160,10 @@ func (_m *MockFakeApiGateway) UpdateMethodWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigateway.Method + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateMethodInput, ...request.Option) (*apigateway.Method, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateMethodInput, ...request.Option) *apigateway.Method); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9163,7 +10172,6 @@ func (_m *MockFakeApiGateway) UpdateMethodWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateMethodInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9178,6 +10186,10 @@ func (_m *MockFakeApiGateway) UpdateModel(_a0 *apigateway.UpdateModelInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateModelInput) (*apigateway.Model, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateModelInput) *apigateway.Model); ok { r0 = rf(_a0) } else { @@ -9186,7 +10198,6 @@ func (_m *MockFakeApiGateway) UpdateModel(_a0 *apigateway.UpdateModelInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateModelInput) error); ok { r1 = rf(_a0) } else { @@ -9201,6 +10212,10 @@ func (_m *MockFakeApiGateway) UpdateModelRequest(_a0 *apigateway.UpdateModelInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Model + if rf, ok := ret.Get(0).(func(*apigateway.UpdateModelInput) (*request.Request, *apigateway.Model)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9209,7 +10224,6 @@ func (_m *MockFakeApiGateway) UpdateModelRequest(_a0 *apigateway.UpdateModelInpu } } - var r1 *apigateway.Model if rf, ok := ret.Get(1).(func(*apigateway.UpdateModelInput) *apigateway.Model); ok { r1 = rf(_a0) } else { @@ -9233,6 +10247,10 @@ func (_m *MockFakeApiGateway) UpdateModelWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Model + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateModelInput, ...request.Option) (*apigateway.Model, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateModelInput, ...request.Option) *apigateway.Model); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9241,7 +10259,6 @@ func (_m *MockFakeApiGateway) UpdateModelWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9256,6 +10273,10 @@ func (_m *MockFakeApiGateway) UpdateRequestValidator(_a0 *apigateway.UpdateReque ret := _m.Called(_a0) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateRequestValidatorInput) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0) } else { @@ -9264,7 +10285,6 @@ func (_m *MockFakeApiGateway) UpdateRequestValidator(_a0 *apigateway.UpdateReque } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateRequestValidatorInput) error); ok { r1 = rf(_a0) } else { @@ -9279,6 +10299,10 @@ func (_m *MockFakeApiGateway) UpdateRequestValidatorRequest(_a0 *apigateway.Upda ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateRequestValidatorOutput + if rf, ok := ret.Get(0).(func(*apigateway.UpdateRequestValidatorInput) (*request.Request, *apigateway.UpdateRequestValidatorOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateRequestValidatorInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9287,7 +10311,6 @@ func (_m *MockFakeApiGateway) UpdateRequestValidatorRequest(_a0 *apigateway.Upda } } - var r1 *apigateway.UpdateRequestValidatorOutput if rf, ok := ret.Get(1).(func(*apigateway.UpdateRequestValidatorInput) *apigateway.UpdateRequestValidatorOutput); ok { r1 = rf(_a0) } else { @@ -9311,6 +10334,10 @@ func (_m *MockFakeApiGateway) UpdateRequestValidatorWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *apigateway.UpdateRequestValidatorOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateRequestValidatorInput, ...request.Option) (*apigateway.UpdateRequestValidatorOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateRequestValidatorInput, ...request.Option) *apigateway.UpdateRequestValidatorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9319,7 +10346,6 @@ func (_m *MockFakeApiGateway) UpdateRequestValidatorWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateRequestValidatorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9334,6 +10360,10 @@ func (_m *MockFakeApiGateway) UpdateResource(_a0 *apigateway.UpdateResourceInput ret := _m.Called(_a0) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateResourceInput) (*apigateway.Resource, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateResourceInput) *apigateway.Resource); ok { r0 = rf(_a0) } else { @@ -9342,7 +10372,6 @@ func (_m *MockFakeApiGateway) UpdateResource(_a0 *apigateway.UpdateResourceInput } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateResourceInput) error); ok { r1 = rf(_a0) } else { @@ -9357,6 +10386,10 @@ func (_m *MockFakeApiGateway) UpdateResourceRequest(_a0 *apigateway.UpdateResour ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Resource + if rf, ok := ret.Get(0).(func(*apigateway.UpdateResourceInput) (*request.Request, *apigateway.Resource)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9365,7 +10398,6 @@ func (_m *MockFakeApiGateway) UpdateResourceRequest(_a0 *apigateway.UpdateResour } } - var r1 *apigateway.Resource if rf, ok := ret.Get(1).(func(*apigateway.UpdateResourceInput) *apigateway.Resource); ok { r1 = rf(_a0) } else { @@ -9389,6 +10421,10 @@ func (_m *MockFakeApiGateway) UpdateResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.Resource + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateResourceInput, ...request.Option) (*apigateway.Resource, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateResourceInput, ...request.Option) *apigateway.Resource); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9397,7 +10433,6 @@ func (_m *MockFakeApiGateway) UpdateResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9412,6 +10447,10 @@ func (_m *MockFakeApiGateway) UpdateRestApi(_a0 *apigateway.UpdateRestApiInput) ret := _m.Called(_a0) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateRestApiInput) (*apigateway.RestApi, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateRestApiInput) *apigateway.RestApi); ok { r0 = rf(_a0) } else { @@ -9420,7 +10459,6 @@ func (_m *MockFakeApiGateway) UpdateRestApi(_a0 *apigateway.UpdateRestApiInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateRestApiInput) error); ok { r1 = rf(_a0) } else { @@ -9435,6 +10473,10 @@ func (_m *MockFakeApiGateway) UpdateRestApiRequest(_a0 *apigateway.UpdateRestApi ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.RestApi + if rf, ok := ret.Get(0).(func(*apigateway.UpdateRestApiInput) (*request.Request, *apigateway.RestApi)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateRestApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9443,7 +10485,6 @@ func (_m *MockFakeApiGateway) UpdateRestApiRequest(_a0 *apigateway.UpdateRestApi } } - var r1 *apigateway.RestApi if rf, ok := ret.Get(1).(func(*apigateway.UpdateRestApiInput) *apigateway.RestApi); ok { r1 = rf(_a0) } else { @@ -9467,6 +10508,10 @@ func (_m *MockFakeApiGateway) UpdateRestApiWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.RestApi + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateRestApiInput, ...request.Option) (*apigateway.RestApi, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateRestApiInput, ...request.Option) *apigateway.RestApi); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9475,7 +10520,6 @@ func (_m *MockFakeApiGateway) UpdateRestApiWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateRestApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9490,6 +10534,10 @@ func (_m *MockFakeApiGateway) UpdateStage(_a0 *apigateway.UpdateStageInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateStageInput) (*apigateway.Stage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateStageInput) *apigateway.Stage); ok { r0 = rf(_a0) } else { @@ -9498,7 +10546,6 @@ func (_m *MockFakeApiGateway) UpdateStage(_a0 *apigateway.UpdateStageInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateStageInput) error); ok { r1 = rf(_a0) } else { @@ -9513,6 +10560,10 @@ func (_m *MockFakeApiGateway) UpdateStageRequest(_a0 *apigateway.UpdateStageInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Stage + if rf, ok := ret.Get(0).(func(*apigateway.UpdateStageInput) (*request.Request, *apigateway.Stage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9521,7 +10572,6 @@ func (_m *MockFakeApiGateway) UpdateStageRequest(_a0 *apigateway.UpdateStageInpu } } - var r1 *apigateway.Stage if rf, ok := ret.Get(1).(func(*apigateway.UpdateStageInput) *apigateway.Stage); ok { r1 = rf(_a0) } else { @@ -9545,6 +10595,10 @@ func (_m *MockFakeApiGateway) UpdateStageWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Stage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateStageInput, ...request.Option) (*apigateway.Stage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateStageInput, ...request.Option) *apigateway.Stage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9553,7 +10607,6 @@ func (_m *MockFakeApiGateway) UpdateStageWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9568,6 +10621,10 @@ func (_m *MockFakeApiGateway) UpdateUsage(_a0 *apigateway.UpdateUsageInput) (*ap ret := _m.Called(_a0) var r0 *apigateway.Usage + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsageInput) (*apigateway.Usage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsageInput) *apigateway.Usage); ok { r0 = rf(_a0) } else { @@ -9576,7 +10633,6 @@ func (_m *MockFakeApiGateway) UpdateUsage(_a0 *apigateway.UpdateUsageInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateUsageInput) error); ok { r1 = rf(_a0) } else { @@ -9591,6 +10647,10 @@ func (_m *MockFakeApiGateway) UpdateUsagePlan(_a0 *apigateway.UpdateUsagePlanInp ret := _m.Called(_a0) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsagePlanInput) (*apigateway.UsagePlan, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsagePlanInput) *apigateway.UsagePlan); ok { r0 = rf(_a0) } else { @@ -9599,7 +10659,6 @@ func (_m *MockFakeApiGateway) UpdateUsagePlan(_a0 *apigateway.UpdateUsagePlanInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateUsagePlanInput) error); ok { r1 = rf(_a0) } else { @@ -9614,6 +10673,10 @@ func (_m *MockFakeApiGateway) UpdateUsagePlanRequest(_a0 *apigateway.UpdateUsage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UsagePlan + if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsagePlanInput) (*request.Request, *apigateway.UsagePlan)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsagePlanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9622,7 +10685,6 @@ func (_m *MockFakeApiGateway) UpdateUsagePlanRequest(_a0 *apigateway.UpdateUsage } } - var r1 *apigateway.UsagePlan if rf, ok := ret.Get(1).(func(*apigateway.UpdateUsagePlanInput) *apigateway.UsagePlan); ok { r1 = rf(_a0) } else { @@ -9646,6 +10708,10 @@ func (_m *MockFakeApiGateway) UpdateUsagePlanWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigateway.UsagePlan + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateUsagePlanInput, ...request.Option) (*apigateway.UsagePlan, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateUsagePlanInput, ...request.Option) *apigateway.UsagePlan); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9654,7 +10720,6 @@ func (_m *MockFakeApiGateway) UpdateUsagePlanWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateUsagePlanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9669,6 +10734,10 @@ func (_m *MockFakeApiGateway) UpdateUsageRequest(_a0 *apigateway.UpdateUsageInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.Usage + if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsageInput) (*request.Request, *apigateway.Usage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateUsageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9677,7 +10746,6 @@ func (_m *MockFakeApiGateway) UpdateUsageRequest(_a0 *apigateway.UpdateUsageInpu } } - var r1 *apigateway.Usage if rf, ok := ret.Get(1).(func(*apigateway.UpdateUsageInput) *apigateway.Usage); ok { r1 = rf(_a0) } else { @@ -9701,6 +10769,10 @@ func (_m *MockFakeApiGateway) UpdateUsageWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigateway.Usage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateUsageInput, ...request.Option) (*apigateway.Usage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateUsageInput, ...request.Option) *apigateway.Usage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9709,7 +10781,6 @@ func (_m *MockFakeApiGateway) UpdateUsageWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateUsageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9724,6 +10795,10 @@ func (_m *MockFakeApiGateway) UpdateVpcLink(_a0 *apigateway.UpdateVpcLinkInput) ret := _m.Called(_a0) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigateway.UpdateVpcLinkInput) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -9732,7 +10807,6 @@ func (_m *MockFakeApiGateway) UpdateVpcLink(_a0 *apigateway.UpdateVpcLinkInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigateway.UpdateVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -9747,6 +10821,10 @@ func (_m *MockFakeApiGateway) UpdateVpcLinkRequest(_a0 *apigateway.UpdateVpcLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigateway.UpdateVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigateway.UpdateVpcLinkInput) (*request.Request, *apigateway.UpdateVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigateway.UpdateVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9755,7 +10833,6 @@ func (_m *MockFakeApiGateway) UpdateVpcLinkRequest(_a0 *apigateway.UpdateVpcLink } } - var r1 *apigateway.UpdateVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigateway.UpdateVpcLinkInput) *apigateway.UpdateVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -9779,6 +10856,10 @@ func (_m *MockFakeApiGateway) UpdateVpcLinkWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigateway.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateVpcLinkInput, ...request.Option) (*apigateway.UpdateVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigateway.UpdateVpcLinkInput, ...request.Option) *apigateway.UpdateVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9787,7 +10868,6 @@ func (_m *MockFakeApiGateway) UpdateVpcLinkWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigateway.UpdateVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9796,3 +10876,18 @@ func (_m *MockFakeApiGateway) UpdateVpcLinkWithContext(_a0 context.Context, _a1 return r0, r1 } + +type mockConstructorTestingTNewMockFakeApiGateway interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeApiGateway creates a new instance of MockFakeApiGateway. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeApiGateway(t mockConstructorTestingTNewMockFakeApiGateway) *MockFakeApiGateway { + mock := &MockFakeApiGateway{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeApiGatewayV2.go b/test/aws/mock_FakeApiGatewayV2.go index 3aacfc9e3..725f72aed 100644 --- a/test/aws/mock_FakeApiGatewayV2.go +++ b/test/aws/mock_FakeApiGatewayV2.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.9.4. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -22,6 +22,10 @@ func (_m *MockFakeApiGatewayV2) CreateApi(_a0 *apigatewayv2.CreateApiInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.CreateApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiInput) (*apigatewayv2.CreateApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiInput) *apigatewayv2.CreateApiOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeApiGatewayV2) CreateApi(_a0 *apigatewayv2.CreateApiInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateApiInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeApiGatewayV2) CreateApiMapping(_a0 *apigatewayv2.CreateApiMapp ret := _m.Called(_a0) var r0 *apigatewayv2.CreateApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiMappingInput) (*apigatewayv2.CreateApiMappingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiMappingInput) *apigatewayv2.CreateApiMappingOutput); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeApiGatewayV2) CreateApiMapping(_a0 *apigatewayv2.CreateApiMapp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateApiMappingInput) error); ok { r1 = rf(_a0) } else { @@ -68,6 +74,10 @@ func (_m *MockFakeApiGatewayV2) CreateApiMappingRequest(_a0 *apigatewayv2.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateApiMappingOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiMappingInput) (*request.Request, *apigatewayv2.CreateApiMappingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -76,7 +86,6 @@ func (_m *MockFakeApiGatewayV2) CreateApiMappingRequest(_a0 *apigatewayv2.Create } } - var r1 *apigatewayv2.CreateApiMappingOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateApiMappingInput) *apigatewayv2.CreateApiMappingOutput); ok { r1 = rf(_a0) } else { @@ -100,6 +109,10 @@ func (_m *MockFakeApiGatewayV2) CreateApiMappingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateApiMappingInput, ...request.Option) (*apigatewayv2.CreateApiMappingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateApiMappingInput, ...request.Option) *apigatewayv2.CreateApiMappingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -108,7 +121,6 @@ func (_m *MockFakeApiGatewayV2) CreateApiMappingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateApiMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -123,6 +135,10 @@ func (_m *MockFakeApiGatewayV2) CreateApiRequest(_a0 *apigatewayv2.CreateApiInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiInput) (*request.Request, *apigatewayv2.CreateApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +147,6 @@ func (_m *MockFakeApiGatewayV2) CreateApiRequest(_a0 *apigatewayv2.CreateApiInpu } } - var r1 *apigatewayv2.CreateApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateApiInput) *apigatewayv2.CreateApiOutput); ok { r1 = rf(_a0) } else { @@ -155,6 +170,10 @@ func (_m *MockFakeApiGatewayV2) CreateApiWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateApiInput, ...request.Option) (*apigatewayv2.CreateApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateApiInput, ...request.Option) *apigatewayv2.CreateApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +182,6 @@ func (_m *MockFakeApiGatewayV2) CreateApiWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +196,10 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizer(_a0 *apigatewayv2.CreateAuthori ret := _m.Called(_a0) var r0 *apigatewayv2.CreateAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateAuthorizerInput) (*apigatewayv2.CreateAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateAuthorizerInput) *apigatewayv2.CreateAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +208,6 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizer(_a0 *apigatewayv2.CreateAuthori } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +222,10 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizerRequest(_a0 *apigatewayv2.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateAuthorizerInput) (*request.Request, *apigatewayv2.CreateAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +234,6 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizerRequest(_a0 *apigatewayv2.Create } } - var r1 *apigatewayv2.CreateAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateAuthorizerInput) *apigatewayv2.CreateAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -233,6 +257,10 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizerWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateAuthorizerInput, ...request.Option) (*apigatewayv2.CreateAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateAuthorizerInput, ...request.Option) *apigatewayv2.CreateAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +269,6 @@ func (_m *MockFakeApiGatewayV2) CreateAuthorizerWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +283,10 @@ func (_m *MockFakeApiGatewayV2) CreateDeployment(_a0 *apigatewayv2.CreateDeploym ret := _m.Called(_a0) var r0 *apigatewayv2.CreateDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDeploymentInput) (*apigatewayv2.CreateDeploymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDeploymentInput) *apigatewayv2.CreateDeploymentOutput); ok { r0 = rf(_a0) } else { @@ -264,7 +295,6 @@ func (_m *MockFakeApiGatewayV2) CreateDeployment(_a0 *apigatewayv2.CreateDeploym } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -279,6 +309,10 @@ func (_m *MockFakeApiGatewayV2) CreateDeploymentRequest(_a0 *apigatewayv2.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateDeploymentOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDeploymentInput) (*request.Request, *apigatewayv2.CreateDeploymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -287,7 +321,6 @@ func (_m *MockFakeApiGatewayV2) CreateDeploymentRequest(_a0 *apigatewayv2.Create } } - var r1 *apigatewayv2.CreateDeploymentOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateDeploymentInput) *apigatewayv2.CreateDeploymentOutput); ok { r1 = rf(_a0) } else { @@ -311,6 +344,10 @@ func (_m *MockFakeApiGatewayV2) CreateDeploymentWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateDeploymentInput, ...request.Option) (*apigatewayv2.CreateDeploymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateDeploymentInput, ...request.Option) *apigatewayv2.CreateDeploymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -319,7 +356,6 @@ func (_m *MockFakeApiGatewayV2) CreateDeploymentWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -334,6 +370,10 @@ func (_m *MockFakeApiGatewayV2) CreateDomainName(_a0 *apigatewayv2.CreateDomainN ret := _m.Called(_a0) var r0 *apigatewayv2.CreateDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDomainNameInput) (*apigatewayv2.CreateDomainNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDomainNameInput) *apigatewayv2.CreateDomainNameOutput); ok { r0 = rf(_a0) } else { @@ -342,7 +382,6 @@ func (_m *MockFakeApiGatewayV2) CreateDomainName(_a0 *apigatewayv2.CreateDomainN } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -357,6 +396,10 @@ func (_m *MockFakeApiGatewayV2) CreateDomainNameRequest(_a0 *apigatewayv2.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateDomainNameOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDomainNameInput) (*request.Request, *apigatewayv2.CreateDomainNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -365,7 +408,6 @@ func (_m *MockFakeApiGatewayV2) CreateDomainNameRequest(_a0 *apigatewayv2.Create } } - var r1 *apigatewayv2.CreateDomainNameOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateDomainNameInput) *apigatewayv2.CreateDomainNameOutput); ok { r1 = rf(_a0) } else { @@ -389,6 +431,10 @@ func (_m *MockFakeApiGatewayV2) CreateDomainNameWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateDomainNameInput, ...request.Option) (*apigatewayv2.CreateDomainNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateDomainNameInput, ...request.Option) *apigatewayv2.CreateDomainNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -397,7 +443,6 @@ func (_m *MockFakeApiGatewayV2) CreateDomainNameWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -412,6 +457,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegration(_a0 *apigatewayv2.CreateIntegr ret := _m.Called(_a0) var r0 *apigatewayv2.CreateIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationInput) (*apigatewayv2.CreateIntegrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationInput) *apigatewayv2.CreateIntegrationOutput); ok { r0 = rf(_a0) } else { @@ -420,7 +469,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegration(_a0 *apigatewayv2.CreateIntegr } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -435,6 +483,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationRequest(_a0 *apigatewayv2.Creat ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateIntegrationOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationInput) (*request.Request, *apigatewayv2.CreateIntegrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -443,7 +495,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationRequest(_a0 *apigatewayv2.Creat } } - var r1 *apigatewayv2.CreateIntegrationOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateIntegrationInput) *apigatewayv2.CreateIntegrationOutput); ok { r1 = rf(_a0) } else { @@ -460,6 +511,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponse(_a0 *apigatewayv2.Crea ret := _m.Called(_a0) var r0 *apigatewayv2.CreateIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationResponseInput) (*apigatewayv2.CreateIntegrationResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationResponseInput) *apigatewayv2.CreateIntegrationResponseOutput); ok { r0 = rf(_a0) } else { @@ -468,7 +523,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponse(_a0 *apigatewayv2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -483,6 +537,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponseRequest(_a0 *apigateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateIntegrationResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationResponseInput) (*request.Request, *apigatewayv2.CreateIntegrationResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -491,7 +549,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponseRequest(_a0 *apigateway } } - var r1 *apigatewayv2.CreateIntegrationResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateIntegrationResponseInput) *apigatewayv2.CreateIntegrationResponseOutput); ok { r1 = rf(_a0) } else { @@ -515,6 +572,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponseWithContext(_a0 context ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateIntegrationResponseInput, ...request.Option) (*apigatewayv2.CreateIntegrationResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateIntegrationResponseInput, ...request.Option) *apigatewayv2.CreateIntegrationResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -523,7 +584,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationResponseWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -545,6 +605,10 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateIntegrationInput, ...request.Option) (*apigatewayv2.CreateIntegrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateIntegrationInput, ...request.Option) *apigatewayv2.CreateIntegrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -553,7 +617,6 @@ func (_m *MockFakeApiGatewayV2) CreateIntegrationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -568,6 +631,10 @@ func (_m *MockFakeApiGatewayV2) CreateModel(_a0 *apigatewayv2.CreateModelInput) ret := _m.Called(_a0) var r0 *apigatewayv2.CreateModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateModelInput) (*apigatewayv2.CreateModelOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateModelInput) *apigatewayv2.CreateModelOutput); ok { r0 = rf(_a0) } else { @@ -576,7 +643,6 @@ func (_m *MockFakeApiGatewayV2) CreateModel(_a0 *apigatewayv2.CreateModelInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateModelInput) error); ok { r1 = rf(_a0) } else { @@ -591,6 +657,10 @@ func (_m *MockFakeApiGatewayV2) CreateModelRequest(_a0 *apigatewayv2.CreateModel ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateModelOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateModelInput) (*request.Request, *apigatewayv2.CreateModelOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -599,7 +669,6 @@ func (_m *MockFakeApiGatewayV2) CreateModelRequest(_a0 *apigatewayv2.CreateModel } } - var r1 *apigatewayv2.CreateModelOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateModelInput) *apigatewayv2.CreateModelOutput); ok { r1 = rf(_a0) } else { @@ -623,6 +692,10 @@ func (_m *MockFakeApiGatewayV2) CreateModelWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateModelInput, ...request.Option) (*apigatewayv2.CreateModelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateModelInput, ...request.Option) *apigatewayv2.CreateModelOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -631,7 +704,6 @@ func (_m *MockFakeApiGatewayV2) CreateModelWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -646,6 +718,10 @@ func (_m *MockFakeApiGatewayV2) CreateRoute(_a0 *apigatewayv2.CreateRouteInput) ret := _m.Called(_a0) var r0 *apigatewayv2.CreateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteInput) (*apigatewayv2.CreateRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteInput) *apigatewayv2.CreateRouteOutput); ok { r0 = rf(_a0) } else { @@ -654,7 +730,6 @@ func (_m *MockFakeApiGatewayV2) CreateRoute(_a0 *apigatewayv2.CreateRouteInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateRouteInput) error); ok { r1 = rf(_a0) } else { @@ -669,6 +744,10 @@ func (_m *MockFakeApiGatewayV2) CreateRouteRequest(_a0 *apigatewayv2.CreateRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateRouteOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteInput) (*request.Request, *apigatewayv2.CreateRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -677,7 +756,6 @@ func (_m *MockFakeApiGatewayV2) CreateRouteRequest(_a0 *apigatewayv2.CreateRoute } } - var r1 *apigatewayv2.CreateRouteOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateRouteInput) *apigatewayv2.CreateRouteOutput); ok { r1 = rf(_a0) } else { @@ -694,6 +772,10 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponse(_a0 *apigatewayv2.CreateRout ret := _m.Called(_a0) var r0 *apigatewayv2.CreateRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteResponseInput) (*apigatewayv2.CreateRouteResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteResponseInput) *apigatewayv2.CreateRouteResponseOutput); ok { r0 = rf(_a0) } else { @@ -702,7 +784,6 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponse(_a0 *apigatewayv2.CreateRout } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateRouteResponseInput) error); ok { r1 = rf(_a0) } else { @@ -717,6 +798,10 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponseRequest(_a0 *apigatewayv2.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateRouteResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteResponseInput) (*request.Request, *apigatewayv2.CreateRouteResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateRouteResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -725,7 +810,6 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponseRequest(_a0 *apigatewayv2.Cre } } - var r1 *apigatewayv2.CreateRouteResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateRouteResponseInput) *apigatewayv2.CreateRouteResponseOutput); ok { r1 = rf(_a0) } else { @@ -749,6 +833,10 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponseWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateRouteResponseInput, ...request.Option) (*apigatewayv2.CreateRouteResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateRouteResponseInput, ...request.Option) *apigatewayv2.CreateRouteResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -757,7 +845,6 @@ func (_m *MockFakeApiGatewayV2) CreateRouteResponseWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateRouteResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -779,6 +866,10 @@ func (_m *MockFakeApiGatewayV2) CreateRouteWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateRouteInput, ...request.Option) (*apigatewayv2.CreateRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateRouteInput, ...request.Option) *apigatewayv2.CreateRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -787,7 +878,6 @@ func (_m *MockFakeApiGatewayV2) CreateRouteWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -802,6 +892,10 @@ func (_m *MockFakeApiGatewayV2) CreateStage(_a0 *apigatewayv2.CreateStageInput) ret := _m.Called(_a0) var r0 *apigatewayv2.CreateStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateStageInput) (*apigatewayv2.CreateStageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateStageInput) *apigatewayv2.CreateStageOutput); ok { r0 = rf(_a0) } else { @@ -810,7 +904,6 @@ func (_m *MockFakeApiGatewayV2) CreateStage(_a0 *apigatewayv2.CreateStageInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateStageInput) error); ok { r1 = rf(_a0) } else { @@ -825,6 +918,10 @@ func (_m *MockFakeApiGatewayV2) CreateStageRequest(_a0 *apigatewayv2.CreateStage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateStageOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateStageInput) (*request.Request, *apigatewayv2.CreateStageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -833,7 +930,6 @@ func (_m *MockFakeApiGatewayV2) CreateStageRequest(_a0 *apigatewayv2.CreateStage } } - var r1 *apigatewayv2.CreateStageOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateStageInput) *apigatewayv2.CreateStageOutput); ok { r1 = rf(_a0) } else { @@ -857,6 +953,10 @@ func (_m *MockFakeApiGatewayV2) CreateStageWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateStageInput, ...request.Option) (*apigatewayv2.CreateStageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateStageInput, ...request.Option) *apigatewayv2.CreateStageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -865,7 +965,6 @@ func (_m *MockFakeApiGatewayV2) CreateStageWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -880,6 +979,10 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLink(_a0 *apigatewayv2.CreateVpcLinkInp ret := _m.Called(_a0) var r0 *apigatewayv2.CreateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateVpcLinkInput) (*apigatewayv2.CreateVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateVpcLinkInput) *apigatewayv2.CreateVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -888,7 +991,6 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLink(_a0 *apigatewayv2.CreateVpcLinkInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -903,6 +1005,10 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLinkRequest(_a0 *apigatewayv2.CreateVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.CreateVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateVpcLinkInput) (*request.Request, *apigatewayv2.CreateVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.CreateVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -911,7 +1017,6 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLinkRequest(_a0 *apigatewayv2.CreateVpc } } - var r1 *apigatewayv2.CreateVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.CreateVpcLinkInput) *apigatewayv2.CreateVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -935,6 +1040,10 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLinkWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.CreateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateVpcLinkInput, ...request.Option) (*apigatewayv2.CreateVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.CreateVpcLinkInput, ...request.Option) *apigatewayv2.CreateVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -943,7 +1052,6 @@ func (_m *MockFakeApiGatewayV2) CreateVpcLinkWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.CreateVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -958,6 +1066,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettings(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteAccessLogSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAccessLogSettingsInput) (*apigatewayv2.DeleteAccessLogSettingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAccessLogSettingsInput) *apigatewayv2.DeleteAccessLogSettingsOutput); ok { r0 = rf(_a0) } else { @@ -966,7 +1078,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettings(_a0 *apigatewayv2.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteAccessLogSettingsInput) error); ok { r1 = rf(_a0) } else { @@ -981,6 +1092,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettingsRequest(_a0 *apigatewayv2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteAccessLogSettingsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAccessLogSettingsInput) (*request.Request, *apigatewayv2.DeleteAccessLogSettingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAccessLogSettingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -989,7 +1104,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettingsRequest(_a0 *apigatewayv2 } } - var r1 *apigatewayv2.DeleteAccessLogSettingsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteAccessLogSettingsInput) *apigatewayv2.DeleteAccessLogSettingsOutput); ok { r1 = rf(_a0) } else { @@ -1013,6 +1127,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettingsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteAccessLogSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteAccessLogSettingsInput, ...request.Option) (*apigatewayv2.DeleteAccessLogSettingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteAccessLogSettingsInput, ...request.Option) *apigatewayv2.DeleteAccessLogSettingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1021,7 +1139,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAccessLogSettingsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteAccessLogSettingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1036,6 +1153,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApi(_a0 *apigatewayv2.DeleteApiInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiInput) (*apigatewayv2.DeleteApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiInput) *apigatewayv2.DeleteApiOutput); ok { r0 = rf(_a0) } else { @@ -1044,7 +1165,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApi(_a0 *apigatewayv2.DeleteApiInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteApiInput) error); ok { r1 = rf(_a0) } else { @@ -1059,6 +1179,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMapping(_a0 *apigatewayv2.DeleteApiMapp ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiMappingInput) (*apigatewayv2.DeleteApiMappingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiMappingInput) *apigatewayv2.DeleteApiMappingOutput); ok { r0 = rf(_a0) } else { @@ -1067,7 +1191,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMapping(_a0 *apigatewayv2.DeleteApiMapp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteApiMappingInput) error); ok { r1 = rf(_a0) } else { @@ -1082,6 +1205,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMappingRequest(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteApiMappingOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiMappingInput) (*request.Request, *apigatewayv2.DeleteApiMappingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1090,7 +1217,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMappingRequest(_a0 *apigatewayv2.Delete } } - var r1 *apigatewayv2.DeleteApiMappingOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteApiMappingInput) *apigatewayv2.DeleteApiMappingOutput); ok { r1 = rf(_a0) } else { @@ -1114,6 +1240,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMappingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteApiMappingInput, ...request.Option) (*apigatewayv2.DeleteApiMappingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteApiMappingInput, ...request.Option) *apigatewayv2.DeleteApiMappingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1122,7 +1252,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApiMappingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteApiMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1137,6 +1266,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApiRequest(_a0 *apigatewayv2.DeleteApiInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiInput) (*request.Request, *apigatewayv2.DeleteApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1145,7 +1278,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApiRequest(_a0 *apigatewayv2.DeleteApiInpu } } - var r1 *apigatewayv2.DeleteApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteApiInput) *apigatewayv2.DeleteApiOutput); ok { r1 = rf(_a0) } else { @@ -1169,6 +1301,10 @@ func (_m *MockFakeApiGatewayV2) DeleteApiWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteApiInput, ...request.Option) (*apigatewayv2.DeleteApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteApiInput, ...request.Option) *apigatewayv2.DeleteApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1177,7 +1313,6 @@ func (_m *MockFakeApiGatewayV2) DeleteApiWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1192,6 +1327,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizer(_a0 *apigatewayv2.DeleteAuthori ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAuthorizerInput) (*apigatewayv2.DeleteAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAuthorizerInput) *apigatewayv2.DeleteAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -1200,7 +1339,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizer(_a0 *apigatewayv2.DeleteAuthori } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -1215,6 +1353,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizerRequest(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAuthorizerInput) (*request.Request, *apigatewayv2.DeleteAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1223,7 +1365,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizerRequest(_a0 *apigatewayv2.Delete } } - var r1 *apigatewayv2.DeleteAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteAuthorizerInput) *apigatewayv2.DeleteAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -1247,6 +1388,10 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizerWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteAuthorizerInput, ...request.Option) (*apigatewayv2.DeleteAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteAuthorizerInput, ...request.Option) *apigatewayv2.DeleteAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1255,7 +1400,6 @@ func (_m *MockFakeApiGatewayV2) DeleteAuthorizerWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1270,6 +1414,10 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfiguration(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteCorsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteCorsConfigurationInput) (*apigatewayv2.DeleteCorsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteCorsConfigurationInput) *apigatewayv2.DeleteCorsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1278,7 +1426,6 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfiguration(_a0 *apigatewayv2.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteCorsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1293,6 +1440,10 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfigurationRequest(_a0 *apigatewayv2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteCorsConfigurationOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteCorsConfigurationInput) (*request.Request, *apigatewayv2.DeleteCorsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteCorsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1301,7 +1452,6 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfigurationRequest(_a0 *apigatewayv2 } } - var r1 *apigatewayv2.DeleteCorsConfigurationOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteCorsConfigurationInput) *apigatewayv2.DeleteCorsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1325,6 +1475,10 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfigurationWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteCorsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteCorsConfigurationInput, ...request.Option) (*apigatewayv2.DeleteCorsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteCorsConfigurationInput, ...request.Option) *apigatewayv2.DeleteCorsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1333,7 +1487,6 @@ func (_m *MockFakeApiGatewayV2) DeleteCorsConfigurationWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteCorsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1348,6 +1501,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDeployment(_a0 *apigatewayv2.DeleteDeploym ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDeploymentInput) (*apigatewayv2.DeleteDeploymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDeploymentInput) *apigatewayv2.DeleteDeploymentOutput); ok { r0 = rf(_a0) } else { @@ -1356,7 +1513,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDeployment(_a0 *apigatewayv2.DeleteDeploym } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -1371,6 +1527,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDeploymentRequest(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteDeploymentOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDeploymentInput) (*request.Request, *apigatewayv2.DeleteDeploymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1379,7 +1539,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDeploymentRequest(_a0 *apigatewayv2.Delete } } - var r1 *apigatewayv2.DeleteDeploymentOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteDeploymentInput) *apigatewayv2.DeleteDeploymentOutput); ok { r1 = rf(_a0) } else { @@ -1403,6 +1562,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDeploymentWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteDeploymentInput, ...request.Option) (*apigatewayv2.DeleteDeploymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteDeploymentInput, ...request.Option) *apigatewayv2.DeleteDeploymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1411,7 +1574,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDeploymentWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1426,6 +1588,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainName(_a0 *apigatewayv2.DeleteDomainN ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDomainNameInput) (*apigatewayv2.DeleteDomainNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDomainNameInput) *apigatewayv2.DeleteDomainNameOutput); ok { r0 = rf(_a0) } else { @@ -1434,7 +1600,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainName(_a0 *apigatewayv2.DeleteDomainN } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -1449,6 +1614,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainNameRequest(_a0 *apigatewayv2.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteDomainNameOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDomainNameInput) (*request.Request, *apigatewayv2.DeleteDomainNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1457,7 +1626,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainNameRequest(_a0 *apigatewayv2.Delete } } - var r1 *apigatewayv2.DeleteDomainNameOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteDomainNameInput) *apigatewayv2.DeleteDomainNameOutput); ok { r1 = rf(_a0) } else { @@ -1481,6 +1649,10 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainNameWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteDomainNameInput, ...request.Option) (*apigatewayv2.DeleteDomainNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteDomainNameInput, ...request.Option) *apigatewayv2.DeleteDomainNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1489,7 +1661,6 @@ func (_m *MockFakeApiGatewayV2) DeleteDomainNameWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1504,6 +1675,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegration(_a0 *apigatewayv2.DeleteIntegr ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationInput) (*apigatewayv2.DeleteIntegrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationInput) *apigatewayv2.DeleteIntegrationOutput); ok { r0 = rf(_a0) } else { @@ -1512,7 +1687,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegration(_a0 *apigatewayv2.DeleteIntegr } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -1527,6 +1701,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationRequest(_a0 *apigatewayv2.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteIntegrationOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationInput) (*request.Request, *apigatewayv2.DeleteIntegrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1535,7 +1713,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationRequest(_a0 *apigatewayv2.Delet } } - var r1 *apigatewayv2.DeleteIntegrationOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteIntegrationInput) *apigatewayv2.DeleteIntegrationOutput); ok { r1 = rf(_a0) } else { @@ -1552,6 +1729,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponse(_a0 *apigatewayv2.Dele ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationResponseInput) (*apigatewayv2.DeleteIntegrationResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationResponseInput) *apigatewayv2.DeleteIntegrationResponseOutput); ok { r0 = rf(_a0) } else { @@ -1560,7 +1741,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponse(_a0 *apigatewayv2.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -1575,6 +1755,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponseRequest(_a0 *apigateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteIntegrationResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationResponseInput) (*request.Request, *apigatewayv2.DeleteIntegrationResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1583,7 +1767,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponseRequest(_a0 *apigateway } } - var r1 *apigatewayv2.DeleteIntegrationResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteIntegrationResponseInput) *apigatewayv2.DeleteIntegrationResponseOutput); ok { r1 = rf(_a0) } else { @@ -1607,6 +1790,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponseWithContext(_a0 context ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteIntegrationResponseInput, ...request.Option) (*apigatewayv2.DeleteIntegrationResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteIntegrationResponseInput, ...request.Option) *apigatewayv2.DeleteIntegrationResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1615,7 +1802,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationResponseWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1637,6 +1823,10 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteIntegrationInput, ...request.Option) (*apigatewayv2.DeleteIntegrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteIntegrationInput, ...request.Option) *apigatewayv2.DeleteIntegrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1645,7 +1835,6 @@ func (_m *MockFakeApiGatewayV2) DeleteIntegrationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1660,6 +1849,10 @@ func (_m *MockFakeApiGatewayV2) DeleteModel(_a0 *apigatewayv2.DeleteModelInput) ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteModelInput) (*apigatewayv2.DeleteModelOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteModelInput) *apigatewayv2.DeleteModelOutput); ok { r0 = rf(_a0) } else { @@ -1668,7 +1861,6 @@ func (_m *MockFakeApiGatewayV2) DeleteModel(_a0 *apigatewayv2.DeleteModelInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteModelInput) error); ok { r1 = rf(_a0) } else { @@ -1683,6 +1875,10 @@ func (_m *MockFakeApiGatewayV2) DeleteModelRequest(_a0 *apigatewayv2.DeleteModel ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteModelOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteModelInput) (*request.Request, *apigatewayv2.DeleteModelOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1691,7 +1887,6 @@ func (_m *MockFakeApiGatewayV2) DeleteModelRequest(_a0 *apigatewayv2.DeleteModel } } - var r1 *apigatewayv2.DeleteModelOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteModelInput) *apigatewayv2.DeleteModelOutput); ok { r1 = rf(_a0) } else { @@ -1715,6 +1910,10 @@ func (_m *MockFakeApiGatewayV2) DeleteModelWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteModelInput, ...request.Option) (*apigatewayv2.DeleteModelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteModelInput, ...request.Option) *apigatewayv2.DeleteModelOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1723,7 +1922,6 @@ func (_m *MockFakeApiGatewayV2) DeleteModelWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1738,6 +1936,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRoute(_a0 *apigatewayv2.DeleteRouteInput) ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteInput) (*apigatewayv2.DeleteRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteInput) *apigatewayv2.DeleteRouteOutput); ok { r0 = rf(_a0) } else { @@ -1746,7 +1948,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRoute(_a0 *apigatewayv2.DeleteRouteInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteInput) error); ok { r1 = rf(_a0) } else { @@ -1761,6 +1962,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequest(_a0 *apigatewayv2.DeleteRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteRouteOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteInput) (*request.Request, *apigatewayv2.DeleteRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1769,7 +1974,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequest(_a0 *apigatewayv2.DeleteRoute } } - var r1 *apigatewayv2.DeleteRouteOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteInput) *apigatewayv2.DeleteRouteOutput); ok { r1 = rf(_a0) } else { @@ -1786,6 +1990,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameter(_a0 *apigatewayv2.De ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteRouteRequestParameterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteRequestParameterInput) (*apigatewayv2.DeleteRouteRequestParameterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteRequestParameterInput) *apigatewayv2.DeleteRouteRequestParameterOutput); ok { r0 = rf(_a0) } else { @@ -1794,7 +2002,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameter(_a0 *apigatewayv2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteRequestParameterInput) error); ok { r1 = rf(_a0) } else { @@ -1809,6 +2016,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameterRequest(_a0 *apigatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteRouteRequestParameterOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteRequestParameterInput) (*request.Request, *apigatewayv2.DeleteRouteRequestParameterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteRequestParameterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1817,7 +2028,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameterRequest(_a0 *apigatew } } - var r1 *apigatewayv2.DeleteRouteRequestParameterOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteRequestParameterInput) *apigatewayv2.DeleteRouteRequestParameterOutput); ok { r1 = rf(_a0) } else { @@ -1841,6 +2051,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameterWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteRouteRequestParameterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteRequestParameterInput, ...request.Option) (*apigatewayv2.DeleteRouteRequestParameterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteRequestParameterInput, ...request.Option) *apigatewayv2.DeleteRouteRequestParameterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1849,7 +2063,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteRequestParameterWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteRouteRequestParameterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1864,6 +2077,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponse(_a0 *apigatewayv2.DeleteRout ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteResponseInput) (*apigatewayv2.DeleteRouteResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteResponseInput) *apigatewayv2.DeleteRouteResponseOutput); ok { r0 = rf(_a0) } else { @@ -1872,7 +2089,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponse(_a0 *apigatewayv2.DeleteRout } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteResponseInput) error); ok { r1 = rf(_a0) } else { @@ -1887,6 +2103,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponseRequest(_a0 *apigatewayv2.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteRouteResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteResponseInput) (*request.Request, *apigatewayv2.DeleteRouteResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1895,7 +2115,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponseRequest(_a0 *apigatewayv2.Del } } - var r1 *apigatewayv2.DeleteRouteResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteResponseInput) *apigatewayv2.DeleteRouteResponseOutput); ok { r1 = rf(_a0) } else { @@ -1919,6 +2138,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponseWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteResponseInput, ...request.Option) (*apigatewayv2.DeleteRouteResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteResponseInput, ...request.Option) *apigatewayv2.DeleteRouteResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1927,7 +2150,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteResponseWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteRouteResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1942,6 +2164,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettings(_a0 *apigatewayv2.DeleteRout ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteRouteSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteSettingsInput) (*apigatewayv2.DeleteRouteSettingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteSettingsInput) *apigatewayv2.DeleteRouteSettingsOutput); ok { r0 = rf(_a0) } else { @@ -1950,7 +2176,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettings(_a0 *apigatewayv2.DeleteRout } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteSettingsInput) error); ok { r1 = rf(_a0) } else { @@ -1965,6 +2190,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettingsRequest(_a0 *apigatewayv2.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteRouteSettingsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteSettingsInput) (*request.Request, *apigatewayv2.DeleteRouteSettingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteRouteSettingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1973,7 +2202,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettingsRequest(_a0 *apigatewayv2.Del } } - var r1 *apigatewayv2.DeleteRouteSettingsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteRouteSettingsInput) *apigatewayv2.DeleteRouteSettingsOutput); ok { r1 = rf(_a0) } else { @@ -1997,6 +2225,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettingsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteRouteSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteSettingsInput, ...request.Option) (*apigatewayv2.DeleteRouteSettingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteSettingsInput, ...request.Option) *apigatewayv2.DeleteRouteSettingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2005,7 +2237,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteSettingsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteRouteSettingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2027,6 +2258,10 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteInput, ...request.Option) (*apigatewayv2.DeleteRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteRouteInput, ...request.Option) *apigatewayv2.DeleteRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2035,7 +2270,6 @@ func (_m *MockFakeApiGatewayV2) DeleteRouteWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2050,6 +2284,10 @@ func (_m *MockFakeApiGatewayV2) DeleteStage(_a0 *apigatewayv2.DeleteStageInput) ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteStageInput) (*apigatewayv2.DeleteStageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteStageInput) *apigatewayv2.DeleteStageOutput); ok { r0 = rf(_a0) } else { @@ -2058,7 +2296,6 @@ func (_m *MockFakeApiGatewayV2) DeleteStage(_a0 *apigatewayv2.DeleteStageInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteStageInput) error); ok { r1 = rf(_a0) } else { @@ -2073,6 +2310,10 @@ func (_m *MockFakeApiGatewayV2) DeleteStageRequest(_a0 *apigatewayv2.DeleteStage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteStageOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteStageInput) (*request.Request, *apigatewayv2.DeleteStageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2081,7 +2322,6 @@ func (_m *MockFakeApiGatewayV2) DeleteStageRequest(_a0 *apigatewayv2.DeleteStage } } - var r1 *apigatewayv2.DeleteStageOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteStageInput) *apigatewayv2.DeleteStageOutput); ok { r1 = rf(_a0) } else { @@ -2105,6 +2345,10 @@ func (_m *MockFakeApiGatewayV2) DeleteStageWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteStageInput, ...request.Option) (*apigatewayv2.DeleteStageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteStageInput, ...request.Option) *apigatewayv2.DeleteStageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2113,7 +2357,6 @@ func (_m *MockFakeApiGatewayV2) DeleteStageWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2128,6 +2371,10 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLink(_a0 *apigatewayv2.DeleteVpcLinkInp ret := _m.Called(_a0) var r0 *apigatewayv2.DeleteVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteVpcLinkInput) (*apigatewayv2.DeleteVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteVpcLinkInput) *apigatewayv2.DeleteVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -2136,7 +2383,6 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLink(_a0 *apigatewayv2.DeleteVpcLinkInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -2151,6 +2397,10 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLinkRequest(_a0 *apigatewayv2.DeleteVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.DeleteVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteVpcLinkInput) (*request.Request, *apigatewayv2.DeleteVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.DeleteVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2159,7 +2409,6 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLinkRequest(_a0 *apigatewayv2.DeleteVpc } } - var r1 *apigatewayv2.DeleteVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.DeleteVpcLinkInput) *apigatewayv2.DeleteVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -2183,6 +2432,10 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLinkWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.DeleteVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteVpcLinkInput, ...request.Option) (*apigatewayv2.DeleteVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.DeleteVpcLinkInput, ...request.Option) *apigatewayv2.DeleteVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2191,7 +2444,6 @@ func (_m *MockFakeApiGatewayV2) DeleteVpcLinkWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.DeleteVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2206,6 +2458,10 @@ func (_m *MockFakeApiGatewayV2) ExportApi(_a0 *apigatewayv2.ExportApiInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.ExportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.ExportApiInput) (*apigatewayv2.ExportApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ExportApiInput) *apigatewayv2.ExportApiOutput); ok { r0 = rf(_a0) } else { @@ -2214,7 +2470,6 @@ func (_m *MockFakeApiGatewayV2) ExportApi(_a0 *apigatewayv2.ExportApiInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.ExportApiInput) error); ok { r1 = rf(_a0) } else { @@ -2229,7 +2484,11 @@ func (_m *MockFakeApiGatewayV2) ExportApiRequest(_a0 *apigatewayv2.ExportApiInpu ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*apigatewayv2.ExportApiInput) *request.Request); ok { + var r1 *apigatewayv2.ExportApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.ExportApiInput) (*request.Request, *apigatewayv2.ExportApiOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*apigatewayv2.ExportApiInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2237,7 +2496,6 @@ func (_m *MockFakeApiGatewayV2) ExportApiRequest(_a0 *apigatewayv2.ExportApiInpu } } - var r1 *apigatewayv2.ExportApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.ExportApiInput) *apigatewayv2.ExportApiOutput); ok { r1 = rf(_a0) } else { @@ -2261,6 +2519,10 @@ func (_m *MockFakeApiGatewayV2) ExportApiWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.ExportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ExportApiInput, ...request.Option) (*apigatewayv2.ExportApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ExportApiInput, ...request.Option) *apigatewayv2.ExportApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2269,7 +2531,6 @@ func (_m *MockFakeApiGatewayV2) ExportApiWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.ExportApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2284,6 +2545,10 @@ func (_m *MockFakeApiGatewayV2) GetApi(_a0 *apigatewayv2.GetApiInput) (*apigatew ret := _m.Called(_a0) var r0 *apigatewayv2.GetApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiInput) (*apigatewayv2.GetApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiInput) *apigatewayv2.GetApiOutput); ok { r0 = rf(_a0) } else { @@ -2292,7 +2557,6 @@ func (_m *MockFakeApiGatewayV2) GetApi(_a0 *apigatewayv2.GetApiInput) (*apigatew } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiInput) error); ok { r1 = rf(_a0) } else { @@ -2307,6 +2571,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMapping(_a0 *apigatewayv2.GetApiMappingInp ret := _m.Called(_a0) var r0 *apigatewayv2.GetApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingInput) (*apigatewayv2.GetApiMappingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingInput) *apigatewayv2.GetApiMappingOutput); ok { r0 = rf(_a0) } else { @@ -2315,7 +2583,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMapping(_a0 *apigatewayv2.GetApiMappingInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiMappingInput) error); ok { r1 = rf(_a0) } else { @@ -2330,6 +2597,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingRequest(_a0 *apigatewayv2.GetApiMap ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetApiMappingOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingInput) (*request.Request, *apigatewayv2.GetApiMappingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2338,7 +2609,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingRequest(_a0 *apigatewayv2.GetApiMap } } - var r1 *apigatewayv2.GetApiMappingOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiMappingInput) *apigatewayv2.GetApiMappingOutput); ok { r1 = rf(_a0) } else { @@ -2362,6 +2632,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiMappingInput, ...request.Option) (*apigatewayv2.GetApiMappingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiMappingInput, ...request.Option) *apigatewayv2.GetApiMappingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2370,7 +2644,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetApiMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2385,6 +2658,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMappings(_a0 *apigatewayv2.GetApiMappingsI ret := _m.Called(_a0) var r0 *apigatewayv2.GetApiMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingsInput) (*apigatewayv2.GetApiMappingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingsInput) *apigatewayv2.GetApiMappingsOutput); ok { r0 = rf(_a0) } else { @@ -2393,7 +2670,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMappings(_a0 *apigatewayv2.GetApiMappingsI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiMappingsInput) error); ok { r1 = rf(_a0) } else { @@ -2408,6 +2684,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingsRequest(_a0 *apigatewayv2.GetApiMa ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetApiMappingsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingsInput) (*request.Request, *apigatewayv2.GetApiMappingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiMappingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2416,7 +2696,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingsRequest(_a0 *apigatewayv2.GetApiMa } } - var r1 *apigatewayv2.GetApiMappingsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiMappingsInput) *apigatewayv2.GetApiMappingsOutput); ok { r1 = rf(_a0) } else { @@ -2440,6 +2719,10 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigatewayv2.GetApiMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiMappingsInput, ...request.Option) (*apigatewayv2.GetApiMappingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiMappingsInput, ...request.Option) *apigatewayv2.GetApiMappingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2448,7 +2731,6 @@ func (_m *MockFakeApiGatewayV2) GetApiMappingsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetApiMappingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2463,6 +2745,10 @@ func (_m *MockFakeApiGatewayV2) GetApiRequest(_a0 *apigatewayv2.GetApiInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiInput) (*request.Request, *apigatewayv2.GetApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2471,7 +2757,6 @@ func (_m *MockFakeApiGatewayV2) GetApiRequest(_a0 *apigatewayv2.GetApiInput) (*r } } - var r1 *apigatewayv2.GetApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApiInput) *apigatewayv2.GetApiOutput); ok { r1 = rf(_a0) } else { @@ -2495,6 +2780,10 @@ func (_m *MockFakeApiGatewayV2) GetApiWithContext(_a0 context.Context, _a1 *apig ret := _m.Called(_ca...) var r0 *apigatewayv2.GetApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiInput, ...request.Option) (*apigatewayv2.GetApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApiInput, ...request.Option) *apigatewayv2.GetApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2503,7 +2792,6 @@ func (_m *MockFakeApiGatewayV2) GetApiWithContext(_a0 context.Context, _a1 *apig } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2518,6 +2806,10 @@ func (_m *MockFakeApiGatewayV2) GetApis(_a0 *apigatewayv2.GetApisInput) (*apigat ret := _m.Called(_a0) var r0 *apigatewayv2.GetApisOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApisInput) (*apigatewayv2.GetApisOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApisInput) *apigatewayv2.GetApisOutput); ok { r0 = rf(_a0) } else { @@ -2526,7 +2818,6 @@ func (_m *MockFakeApiGatewayV2) GetApis(_a0 *apigatewayv2.GetApisInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApisInput) error); ok { r1 = rf(_a0) } else { @@ -2541,6 +2832,10 @@ func (_m *MockFakeApiGatewayV2) GetApisRequest(_a0 *apigatewayv2.GetApisInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetApisOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApisInput) (*request.Request, *apigatewayv2.GetApisOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetApisInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2549,7 +2844,6 @@ func (_m *MockFakeApiGatewayV2) GetApisRequest(_a0 *apigatewayv2.GetApisInput) ( } } - var r1 *apigatewayv2.GetApisOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetApisInput) *apigatewayv2.GetApisOutput); ok { r1 = rf(_a0) } else { @@ -2573,6 +2867,10 @@ func (_m *MockFakeApiGatewayV2) GetApisWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigatewayv2.GetApisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApisInput, ...request.Option) (*apigatewayv2.GetApisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetApisInput, ...request.Option) *apigatewayv2.GetApisOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2581,7 +2879,6 @@ func (_m *MockFakeApiGatewayV2) GetApisWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetApisInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2596,6 +2893,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizer(_a0 *apigatewayv2.GetAuthorizerInp ret := _m.Called(_a0) var r0 *apigatewayv2.GetAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizerInput) (*apigatewayv2.GetAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizerInput) *apigatewayv2.GetAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -2604,7 +2905,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizer(_a0 *apigatewayv2.GetAuthorizerInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -2619,6 +2919,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizerRequest(_a0 *apigatewayv2.GetAuthor ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizerInput) (*request.Request, *apigatewayv2.GetAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2627,7 +2931,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizerRequest(_a0 *apigatewayv2.GetAuthor } } - var r1 *apigatewayv2.GetAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetAuthorizerInput) *apigatewayv2.GetAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -2651,6 +2954,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizerWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetAuthorizerInput, ...request.Option) (*apigatewayv2.GetAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetAuthorizerInput, ...request.Option) *apigatewayv2.GetAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2659,7 +2966,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizerWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2674,6 +2980,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizers(_a0 *apigatewayv2.GetAuthorizersI ret := _m.Called(_a0) var r0 *apigatewayv2.GetAuthorizersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizersInput) (*apigatewayv2.GetAuthorizersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizersInput) *apigatewayv2.GetAuthorizersOutput); ok { r0 = rf(_a0) } else { @@ -2682,7 +2992,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizers(_a0 *apigatewayv2.GetAuthorizersI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetAuthorizersInput) error); ok { r1 = rf(_a0) } else { @@ -2697,6 +3006,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizersRequest(_a0 *apigatewayv2.GetAutho ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetAuthorizersOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizersInput) (*request.Request, *apigatewayv2.GetAuthorizersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetAuthorizersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2705,7 +3018,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizersRequest(_a0 *apigatewayv2.GetAutho } } - var r1 *apigatewayv2.GetAuthorizersOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetAuthorizersInput) *apigatewayv2.GetAuthorizersOutput); ok { r1 = rf(_a0) } else { @@ -2729,6 +3041,10 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizersWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigatewayv2.GetAuthorizersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetAuthorizersInput, ...request.Option) (*apigatewayv2.GetAuthorizersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetAuthorizersInput, ...request.Option) *apigatewayv2.GetAuthorizersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2737,7 +3053,6 @@ func (_m *MockFakeApiGatewayV2) GetAuthorizersWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetAuthorizersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2752,6 +3067,10 @@ func (_m *MockFakeApiGatewayV2) GetDeployment(_a0 *apigatewayv2.GetDeploymentInp ret := _m.Called(_a0) var r0 *apigatewayv2.GetDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentInput) (*apigatewayv2.GetDeploymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentInput) *apigatewayv2.GetDeploymentOutput); ok { r0 = rf(_a0) } else { @@ -2760,7 +3079,6 @@ func (_m *MockFakeApiGatewayV2) GetDeployment(_a0 *apigatewayv2.GetDeploymentInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -2775,6 +3093,10 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentRequest(_a0 *apigatewayv2.GetDeploy ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetDeploymentOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentInput) (*request.Request, *apigatewayv2.GetDeploymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2783,7 +3105,6 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentRequest(_a0 *apigatewayv2.GetDeploy } } - var r1 *apigatewayv2.GetDeploymentOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDeploymentInput) *apigatewayv2.GetDeploymentOutput); ok { r1 = rf(_a0) } else { @@ -2807,6 +3128,10 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDeploymentInput, ...request.Option) (*apigatewayv2.GetDeploymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDeploymentInput, ...request.Option) *apigatewayv2.GetDeploymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2815,7 +3140,6 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2830,6 +3154,10 @@ func (_m *MockFakeApiGatewayV2) GetDeployments(_a0 *apigatewayv2.GetDeploymentsI ret := _m.Called(_a0) var r0 *apigatewayv2.GetDeploymentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentsInput) (*apigatewayv2.GetDeploymentsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentsInput) *apigatewayv2.GetDeploymentsOutput); ok { r0 = rf(_a0) } else { @@ -2838,7 +3166,6 @@ func (_m *MockFakeApiGatewayV2) GetDeployments(_a0 *apigatewayv2.GetDeploymentsI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDeploymentsInput) error); ok { r1 = rf(_a0) } else { @@ -2853,6 +3180,10 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentsRequest(_a0 *apigatewayv2.GetDeplo ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetDeploymentsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentsInput) (*request.Request, *apigatewayv2.GetDeploymentsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDeploymentsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2861,7 +3192,6 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentsRequest(_a0 *apigatewayv2.GetDeplo } } - var r1 *apigatewayv2.GetDeploymentsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDeploymentsInput) *apigatewayv2.GetDeploymentsOutput); ok { r1 = rf(_a0) } else { @@ -2885,6 +3215,10 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigatewayv2.GetDeploymentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDeploymentsInput, ...request.Option) (*apigatewayv2.GetDeploymentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDeploymentsInput, ...request.Option) *apigatewayv2.GetDeploymentsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2893,7 +3227,6 @@ func (_m *MockFakeApiGatewayV2) GetDeploymentsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetDeploymentsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2908,6 +3241,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainName(_a0 *apigatewayv2.GetDomainNameInp ret := _m.Called(_a0) var r0 *apigatewayv2.GetDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNameInput) (*apigatewayv2.GetDomainNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNameInput) *apigatewayv2.GetDomainNameOutput); ok { r0 = rf(_a0) } else { @@ -2916,7 +3253,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainName(_a0 *apigatewayv2.GetDomainNameInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -2931,6 +3267,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainNameRequest(_a0 *apigatewayv2.GetDomain ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetDomainNameOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNameInput) (*request.Request, *apigatewayv2.GetDomainNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2939,7 +3279,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainNameRequest(_a0 *apigatewayv2.GetDomain } } - var r1 *apigatewayv2.GetDomainNameOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDomainNameInput) *apigatewayv2.GetDomainNameOutput); ok { r1 = rf(_a0) } else { @@ -2963,6 +3302,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainNameWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDomainNameInput, ...request.Option) (*apigatewayv2.GetDomainNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDomainNameInput, ...request.Option) *apigatewayv2.GetDomainNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2971,7 +3314,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainNameWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2986,6 +3328,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainNames(_a0 *apigatewayv2.GetDomainNamesI ret := _m.Called(_a0) var r0 *apigatewayv2.GetDomainNamesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNamesInput) (*apigatewayv2.GetDomainNamesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNamesInput) *apigatewayv2.GetDomainNamesOutput); ok { r0 = rf(_a0) } else { @@ -2994,7 +3340,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainNames(_a0 *apigatewayv2.GetDomainNamesI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDomainNamesInput) error); ok { r1 = rf(_a0) } else { @@ -3009,6 +3354,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainNamesRequest(_a0 *apigatewayv2.GetDomai ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetDomainNamesOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNamesInput) (*request.Request, *apigatewayv2.GetDomainNamesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetDomainNamesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3017,7 +3366,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainNamesRequest(_a0 *apigatewayv2.GetDomai } } - var r1 *apigatewayv2.GetDomainNamesOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetDomainNamesInput) *apigatewayv2.GetDomainNamesOutput); ok { r1 = rf(_a0) } else { @@ -3041,6 +3389,10 @@ func (_m *MockFakeApiGatewayV2) GetDomainNamesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigatewayv2.GetDomainNamesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDomainNamesInput, ...request.Option) (*apigatewayv2.GetDomainNamesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetDomainNamesInput, ...request.Option) *apigatewayv2.GetDomainNamesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3049,7 +3401,6 @@ func (_m *MockFakeApiGatewayV2) GetDomainNamesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetDomainNamesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3064,6 +3415,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegration(_a0 *apigatewayv2.GetIntegrationI ret := _m.Called(_a0) var r0 *apigatewayv2.GetIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationInput) (*apigatewayv2.GetIntegrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationInput) *apigatewayv2.GetIntegrationOutput); ok { r0 = rf(_a0) } else { @@ -3072,7 +3427,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegration(_a0 *apigatewayv2.GetIntegrationI } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -3087,6 +3441,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationRequest(_a0 *apigatewayv2.GetInteg ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetIntegrationOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationInput) (*request.Request, *apigatewayv2.GetIntegrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3095,7 +3453,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationRequest(_a0 *apigatewayv2.GetInteg } } - var r1 *apigatewayv2.GetIntegrationOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationInput) *apigatewayv2.GetIntegrationOutput); ok { r1 = rf(_a0) } else { @@ -3112,6 +3469,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponse(_a0 *apigatewayv2.GetInte ret := _m.Called(_a0) var r0 *apigatewayv2.GetIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponseInput) (*apigatewayv2.GetIntegrationResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponseInput) *apigatewayv2.GetIntegrationResponseOutput); ok { r0 = rf(_a0) } else { @@ -3120,7 +3481,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponse(_a0 *apigatewayv2.GetInte } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -3135,6 +3495,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponseRequest(_a0 *apigatewayv2. ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetIntegrationResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponseInput) (*request.Request, *apigatewayv2.GetIntegrationResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3143,7 +3507,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponseRequest(_a0 *apigatewayv2. } } - var r1 *apigatewayv2.GetIntegrationResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationResponseInput) *apigatewayv2.GetIntegrationResponseOutput); ok { r1 = rf(_a0) } else { @@ -3167,6 +3530,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponseWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *apigatewayv2.GetIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationResponseInput, ...request.Option) (*apigatewayv2.GetIntegrationResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationResponseInput, ...request.Option) *apigatewayv2.GetIntegrationResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3175,7 +3542,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponseWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3190,6 +3556,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponses(_a0 *apigatewayv2.GetInt ret := _m.Called(_a0) var r0 *apigatewayv2.GetIntegrationResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponsesInput) (*apigatewayv2.GetIntegrationResponsesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponsesInput) *apigatewayv2.GetIntegrationResponsesOutput); ok { r0 = rf(_a0) } else { @@ -3198,7 +3568,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponses(_a0 *apigatewayv2.GetInt } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationResponsesInput) error); ok { r1 = rf(_a0) } else { @@ -3213,6 +3582,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponsesRequest(_a0 *apigatewayv2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetIntegrationResponsesOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponsesInput) (*request.Request, *apigatewayv2.GetIntegrationResponsesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationResponsesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3221,7 +3594,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponsesRequest(_a0 *apigatewayv2 } } - var r1 *apigatewayv2.GetIntegrationResponsesOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationResponsesInput) *apigatewayv2.GetIntegrationResponsesOutput); ok { r1 = rf(_a0) } else { @@ -3245,6 +3617,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponsesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *apigatewayv2.GetIntegrationResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationResponsesInput, ...request.Option) (*apigatewayv2.GetIntegrationResponsesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationResponsesInput, ...request.Option) *apigatewayv2.GetIntegrationResponsesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3253,7 +3629,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationResponsesWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetIntegrationResponsesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3275,6 +3650,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *apigatewayv2.GetIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationInput, ...request.Option) (*apigatewayv2.GetIntegrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationInput, ...request.Option) *apigatewayv2.GetIntegrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3283,7 +3662,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3298,6 +3676,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrations(_a0 *apigatewayv2.GetIntegration ret := _m.Called(_a0) var r0 *apigatewayv2.GetIntegrationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationsInput) (*apigatewayv2.GetIntegrationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationsInput) *apigatewayv2.GetIntegrationsOutput); ok { r0 = rf(_a0) } else { @@ -3306,7 +3688,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrations(_a0 *apigatewayv2.GetIntegration } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationsInput) error); ok { r1 = rf(_a0) } else { @@ -3321,6 +3702,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationsRequest(_a0 *apigatewayv2.GetInte ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetIntegrationsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationsInput) (*request.Request, *apigatewayv2.GetIntegrationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetIntegrationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3329,7 +3714,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationsRequest(_a0 *apigatewayv2.GetInte } } - var r1 *apigatewayv2.GetIntegrationsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetIntegrationsInput) *apigatewayv2.GetIntegrationsOutput); ok { r1 = rf(_a0) } else { @@ -3353,6 +3737,10 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.GetIntegrationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationsInput, ...request.Option) (*apigatewayv2.GetIntegrationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetIntegrationsInput, ...request.Option) *apigatewayv2.GetIntegrationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3361,7 +3749,6 @@ func (_m *MockFakeApiGatewayV2) GetIntegrationsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetIntegrationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3376,6 +3763,10 @@ func (_m *MockFakeApiGatewayV2) GetModel(_a0 *apigatewayv2.GetModelInput) (*apig ret := _m.Called(_a0) var r0 *apigatewayv2.GetModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelInput) (*apigatewayv2.GetModelOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelInput) *apigatewayv2.GetModelOutput); ok { r0 = rf(_a0) } else { @@ -3384,7 +3775,6 @@ func (_m *MockFakeApiGatewayV2) GetModel(_a0 *apigatewayv2.GetModelInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelInput) error); ok { r1 = rf(_a0) } else { @@ -3399,6 +3789,10 @@ func (_m *MockFakeApiGatewayV2) GetModelRequest(_a0 *apigatewayv2.GetModelInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetModelOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelInput) (*request.Request, *apigatewayv2.GetModelOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3407,7 +3801,6 @@ func (_m *MockFakeApiGatewayV2) GetModelRequest(_a0 *apigatewayv2.GetModelInput) } } - var r1 *apigatewayv2.GetModelOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelInput) *apigatewayv2.GetModelOutput); ok { r1 = rf(_a0) } else { @@ -3424,6 +3817,10 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplate(_a0 *apigatewayv2.GetModelTempl ret := _m.Called(_a0) var r0 *apigatewayv2.GetModelTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelTemplateInput) (*apigatewayv2.GetModelTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelTemplateInput) *apigatewayv2.GetModelTemplateOutput); ok { r0 = rf(_a0) } else { @@ -3432,7 +3829,6 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplate(_a0 *apigatewayv2.GetModelTempl } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -3447,6 +3843,10 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplateRequest(_a0 *apigatewayv2.GetMod ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetModelTemplateOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelTemplateInput) (*request.Request, *apigatewayv2.GetModelTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3455,7 +3855,6 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplateRequest(_a0 *apigatewayv2.GetMod } } - var r1 *apigatewayv2.GetModelTemplateOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelTemplateInput) *apigatewayv2.GetModelTemplateOutput); ok { r1 = rf(_a0) } else { @@ -3479,6 +3878,10 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplateWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.GetModelTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelTemplateInput, ...request.Option) (*apigatewayv2.GetModelTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelTemplateInput, ...request.Option) *apigatewayv2.GetModelTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3487,7 +3890,6 @@ func (_m *MockFakeApiGatewayV2) GetModelTemplateWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetModelTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3509,6 +3911,10 @@ func (_m *MockFakeApiGatewayV2) GetModelWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigatewayv2.GetModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelInput, ...request.Option) (*apigatewayv2.GetModelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelInput, ...request.Option) *apigatewayv2.GetModelOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3517,7 +3923,6 @@ func (_m *MockFakeApiGatewayV2) GetModelWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3532,6 +3937,10 @@ func (_m *MockFakeApiGatewayV2) GetModels(_a0 *apigatewayv2.GetModelsInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.GetModelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelsInput) (*apigatewayv2.GetModelsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelsInput) *apigatewayv2.GetModelsOutput); ok { r0 = rf(_a0) } else { @@ -3540,7 +3949,6 @@ func (_m *MockFakeApiGatewayV2) GetModels(_a0 *apigatewayv2.GetModelsInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelsInput) error); ok { r1 = rf(_a0) } else { @@ -3555,6 +3963,10 @@ func (_m *MockFakeApiGatewayV2) GetModelsRequest(_a0 *apigatewayv2.GetModelsInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetModelsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelsInput) (*request.Request, *apigatewayv2.GetModelsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetModelsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3563,7 +3975,6 @@ func (_m *MockFakeApiGatewayV2) GetModelsRequest(_a0 *apigatewayv2.GetModelsInpu } } - var r1 *apigatewayv2.GetModelsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetModelsInput) *apigatewayv2.GetModelsOutput); ok { r1 = rf(_a0) } else { @@ -3587,6 +3998,10 @@ func (_m *MockFakeApiGatewayV2) GetModelsWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetModelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelsInput, ...request.Option) (*apigatewayv2.GetModelsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetModelsInput, ...request.Option) *apigatewayv2.GetModelsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3595,7 +4010,6 @@ func (_m *MockFakeApiGatewayV2) GetModelsWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetModelsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3610,6 +4024,10 @@ func (_m *MockFakeApiGatewayV2) GetRoute(_a0 *apigatewayv2.GetRouteInput) (*apig ret := _m.Called(_a0) var r0 *apigatewayv2.GetRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteInput) (*apigatewayv2.GetRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteInput) *apigatewayv2.GetRouteOutput); ok { r0 = rf(_a0) } else { @@ -3618,7 +4036,6 @@ func (_m *MockFakeApiGatewayV2) GetRoute(_a0 *apigatewayv2.GetRouteInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteInput) error); ok { r1 = rf(_a0) } else { @@ -3633,6 +4050,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteRequest(_a0 *apigatewayv2.GetRouteInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetRouteOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteInput) (*request.Request, *apigatewayv2.GetRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3641,7 +4062,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteRequest(_a0 *apigatewayv2.GetRouteInput) } } - var r1 *apigatewayv2.GetRouteOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteInput) *apigatewayv2.GetRouteOutput); ok { r1 = rf(_a0) } else { @@ -3658,6 +4078,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponse(_a0 *apigatewayv2.GetRouteRespo ret := _m.Called(_a0) var r0 *apigatewayv2.GetRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponseInput) (*apigatewayv2.GetRouteResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponseInput) *apigatewayv2.GetRouteResponseOutput); ok { r0 = rf(_a0) } else { @@ -3666,7 +4090,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponse(_a0 *apigatewayv2.GetRouteRespo } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteResponseInput) error); ok { r1 = rf(_a0) } else { @@ -3681,6 +4104,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponseRequest(_a0 *apigatewayv2.GetRou ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetRouteResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponseInput) (*request.Request, *apigatewayv2.GetRouteResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3689,7 +4116,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponseRequest(_a0 *apigatewayv2.GetRou } } - var r1 *apigatewayv2.GetRouteResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteResponseInput) *apigatewayv2.GetRouteResponseOutput); ok { r1 = rf(_a0) } else { @@ -3713,6 +4139,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponseWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.GetRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteResponseInput, ...request.Option) (*apigatewayv2.GetRouteResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteResponseInput, ...request.Option) *apigatewayv2.GetRouteResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3721,7 +4151,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponseWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetRouteResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3736,6 +4165,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponses(_a0 *apigatewayv2.GetRouteResp ret := _m.Called(_a0) var r0 *apigatewayv2.GetRouteResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponsesInput) (*apigatewayv2.GetRouteResponsesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponsesInput) *apigatewayv2.GetRouteResponsesOutput); ok { r0 = rf(_a0) } else { @@ -3744,7 +4177,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponses(_a0 *apigatewayv2.GetRouteResp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteResponsesInput) error); ok { r1 = rf(_a0) } else { @@ -3759,6 +4191,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponsesRequest(_a0 *apigatewayv2.GetRo ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetRouteResponsesOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponsesInput) (*request.Request, *apigatewayv2.GetRouteResponsesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRouteResponsesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3767,7 +4203,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponsesRequest(_a0 *apigatewayv2.GetRo } } - var r1 *apigatewayv2.GetRouteResponsesOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRouteResponsesInput) *apigatewayv2.GetRouteResponsesOutput); ok { r1 = rf(_a0) } else { @@ -3791,6 +4226,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponsesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigatewayv2.GetRouteResponsesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteResponsesInput, ...request.Option) (*apigatewayv2.GetRouteResponsesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteResponsesInput, ...request.Option) *apigatewayv2.GetRouteResponsesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3799,7 +4238,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteResponsesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetRouteResponsesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3821,6 +4259,10 @@ func (_m *MockFakeApiGatewayV2) GetRouteWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigatewayv2.GetRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteInput, ...request.Option) (*apigatewayv2.GetRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRouteInput, ...request.Option) *apigatewayv2.GetRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3829,7 +4271,6 @@ func (_m *MockFakeApiGatewayV2) GetRouteWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3844,6 +4285,10 @@ func (_m *MockFakeApiGatewayV2) GetRoutes(_a0 *apigatewayv2.GetRoutesInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.GetRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRoutesInput) (*apigatewayv2.GetRoutesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRoutesInput) *apigatewayv2.GetRoutesOutput); ok { r0 = rf(_a0) } else { @@ -3852,7 +4297,6 @@ func (_m *MockFakeApiGatewayV2) GetRoutes(_a0 *apigatewayv2.GetRoutesInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRoutesInput) error); ok { r1 = rf(_a0) } else { @@ -3867,6 +4311,10 @@ func (_m *MockFakeApiGatewayV2) GetRoutesRequest(_a0 *apigatewayv2.GetRoutesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetRoutesOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRoutesInput) (*request.Request, *apigatewayv2.GetRoutesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetRoutesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3875,7 +4323,6 @@ func (_m *MockFakeApiGatewayV2) GetRoutesRequest(_a0 *apigatewayv2.GetRoutesInpu } } - var r1 *apigatewayv2.GetRoutesOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetRoutesInput) *apigatewayv2.GetRoutesOutput); ok { r1 = rf(_a0) } else { @@ -3899,6 +4346,10 @@ func (_m *MockFakeApiGatewayV2) GetRoutesWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRoutesInput, ...request.Option) (*apigatewayv2.GetRoutesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetRoutesInput, ...request.Option) *apigatewayv2.GetRoutesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3907,7 +4358,6 @@ func (_m *MockFakeApiGatewayV2) GetRoutesWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetRoutesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3922,6 +4372,10 @@ func (_m *MockFakeApiGatewayV2) GetStage(_a0 *apigatewayv2.GetStageInput) (*apig ret := _m.Called(_a0) var r0 *apigatewayv2.GetStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStageInput) (*apigatewayv2.GetStageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStageInput) *apigatewayv2.GetStageOutput); ok { r0 = rf(_a0) } else { @@ -3930,7 +4384,6 @@ func (_m *MockFakeApiGatewayV2) GetStage(_a0 *apigatewayv2.GetStageInput) (*apig } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetStageInput) error); ok { r1 = rf(_a0) } else { @@ -3945,6 +4398,10 @@ func (_m *MockFakeApiGatewayV2) GetStageRequest(_a0 *apigatewayv2.GetStageInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetStageOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStageInput) (*request.Request, *apigatewayv2.GetStageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3953,7 +4410,6 @@ func (_m *MockFakeApiGatewayV2) GetStageRequest(_a0 *apigatewayv2.GetStageInput) } } - var r1 *apigatewayv2.GetStageOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetStageInput) *apigatewayv2.GetStageOutput); ok { r1 = rf(_a0) } else { @@ -3977,6 +4433,10 @@ func (_m *MockFakeApiGatewayV2) GetStageWithContext(_a0 context.Context, _a1 *ap ret := _m.Called(_ca...) var r0 *apigatewayv2.GetStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetStageInput, ...request.Option) (*apigatewayv2.GetStageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetStageInput, ...request.Option) *apigatewayv2.GetStageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3985,7 +4445,6 @@ func (_m *MockFakeApiGatewayV2) GetStageWithContext(_a0 context.Context, _a1 *ap } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4000,6 +4459,10 @@ func (_m *MockFakeApiGatewayV2) GetStages(_a0 *apigatewayv2.GetStagesInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.GetStagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStagesInput) (*apigatewayv2.GetStagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStagesInput) *apigatewayv2.GetStagesOutput); ok { r0 = rf(_a0) } else { @@ -4008,7 +4471,6 @@ func (_m *MockFakeApiGatewayV2) GetStages(_a0 *apigatewayv2.GetStagesInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetStagesInput) error); ok { r1 = rf(_a0) } else { @@ -4023,6 +4485,10 @@ func (_m *MockFakeApiGatewayV2) GetStagesRequest(_a0 *apigatewayv2.GetStagesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetStagesOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStagesInput) (*request.Request, *apigatewayv2.GetStagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetStagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4031,7 +4497,6 @@ func (_m *MockFakeApiGatewayV2) GetStagesRequest(_a0 *apigatewayv2.GetStagesInpu } } - var r1 *apigatewayv2.GetStagesOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetStagesInput) *apigatewayv2.GetStagesOutput); ok { r1 = rf(_a0) } else { @@ -4055,6 +4520,10 @@ func (_m *MockFakeApiGatewayV2) GetStagesWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.GetStagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetStagesInput, ...request.Option) (*apigatewayv2.GetStagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetStagesInput, ...request.Option) *apigatewayv2.GetStagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4063,7 +4532,6 @@ func (_m *MockFakeApiGatewayV2) GetStagesWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetStagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4078,6 +4546,10 @@ func (_m *MockFakeApiGatewayV2) GetTags(_a0 *apigatewayv2.GetTagsInput) (*apigat ret := _m.Called(_a0) var r0 *apigatewayv2.GetTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetTagsInput) (*apigatewayv2.GetTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetTagsInput) *apigatewayv2.GetTagsOutput); ok { r0 = rf(_a0) } else { @@ -4086,7 +4558,6 @@ func (_m *MockFakeApiGatewayV2) GetTags(_a0 *apigatewayv2.GetTagsInput) (*apigat } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetTagsInput) error); ok { r1 = rf(_a0) } else { @@ -4101,6 +4572,10 @@ func (_m *MockFakeApiGatewayV2) GetTagsRequest(_a0 *apigatewayv2.GetTagsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetTagsOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetTagsInput) (*request.Request, *apigatewayv2.GetTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4109,7 +4584,6 @@ func (_m *MockFakeApiGatewayV2) GetTagsRequest(_a0 *apigatewayv2.GetTagsInput) ( } } - var r1 *apigatewayv2.GetTagsOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetTagsInput) *apigatewayv2.GetTagsOutput); ok { r1 = rf(_a0) } else { @@ -4133,6 +4607,10 @@ func (_m *MockFakeApiGatewayV2) GetTagsWithContext(_a0 context.Context, _a1 *api ret := _m.Called(_ca...) var r0 *apigatewayv2.GetTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetTagsInput, ...request.Option) (*apigatewayv2.GetTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetTagsInput, ...request.Option) *apigatewayv2.GetTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4141,7 +4619,6 @@ func (_m *MockFakeApiGatewayV2) GetTagsWithContext(_a0 context.Context, _a1 *api } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4156,6 +4633,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLink(_a0 *apigatewayv2.GetVpcLinkInput) (* ret := _m.Called(_a0) var r0 *apigatewayv2.GetVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinkInput) (*apigatewayv2.GetVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinkInput) *apigatewayv2.GetVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -4164,7 +4645,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLink(_a0 *apigatewayv2.GetVpcLinkInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -4179,6 +4659,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinkRequest(_a0 *apigatewayv2.GetVpcLinkIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinkInput) (*request.Request, *apigatewayv2.GetVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4187,7 +4671,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinkRequest(_a0 *apigatewayv2.GetVpcLinkIn } } - var r1 *apigatewayv2.GetVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetVpcLinkInput) *apigatewayv2.GetVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -4211,6 +4694,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinkWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *apigatewayv2.GetVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetVpcLinkInput, ...request.Option) (*apigatewayv2.GetVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetVpcLinkInput, ...request.Option) *apigatewayv2.GetVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4219,7 +4706,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinkWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4234,6 +4720,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinks(_a0 *apigatewayv2.GetVpcLinksInput) ret := _m.Called(_a0) var r0 *apigatewayv2.GetVpcLinksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinksInput) (*apigatewayv2.GetVpcLinksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinksInput) *apigatewayv2.GetVpcLinksOutput); ok { r0 = rf(_a0) } else { @@ -4242,7 +4732,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinks(_a0 *apigatewayv2.GetVpcLinksInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.GetVpcLinksInput) error); ok { r1 = rf(_a0) } else { @@ -4257,6 +4746,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinksRequest(_a0 *apigatewayv2.GetVpcLinks ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.GetVpcLinksOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinksInput) (*request.Request, *apigatewayv2.GetVpcLinksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.GetVpcLinksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4265,7 +4758,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinksRequest(_a0 *apigatewayv2.GetVpcLinks } } - var r1 *apigatewayv2.GetVpcLinksOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.GetVpcLinksInput) *apigatewayv2.GetVpcLinksOutput); ok { r1 = rf(_a0) } else { @@ -4289,6 +4781,10 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinksWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.GetVpcLinksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetVpcLinksInput, ...request.Option) (*apigatewayv2.GetVpcLinksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.GetVpcLinksInput, ...request.Option) *apigatewayv2.GetVpcLinksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4297,7 +4793,6 @@ func (_m *MockFakeApiGatewayV2) GetVpcLinksWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.GetVpcLinksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4312,6 +4807,10 @@ func (_m *MockFakeApiGatewayV2) ImportApi(_a0 *apigatewayv2.ImportApiInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.ImportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.ImportApiInput) (*apigatewayv2.ImportApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ImportApiInput) *apigatewayv2.ImportApiOutput); ok { r0 = rf(_a0) } else { @@ -4320,7 +4819,6 @@ func (_m *MockFakeApiGatewayV2) ImportApi(_a0 *apigatewayv2.ImportApiInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.ImportApiInput) error); ok { r1 = rf(_a0) } else { @@ -4335,6 +4833,10 @@ func (_m *MockFakeApiGatewayV2) ImportApiRequest(_a0 *apigatewayv2.ImportApiInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.ImportApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.ImportApiInput) (*request.Request, *apigatewayv2.ImportApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ImportApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4343,7 +4845,6 @@ func (_m *MockFakeApiGatewayV2) ImportApiRequest(_a0 *apigatewayv2.ImportApiInpu } } - var r1 *apigatewayv2.ImportApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.ImportApiInput) *apigatewayv2.ImportApiOutput); ok { r1 = rf(_a0) } else { @@ -4367,6 +4868,10 @@ func (_m *MockFakeApiGatewayV2) ImportApiWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.ImportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ImportApiInput, ...request.Option) (*apigatewayv2.ImportApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ImportApiInput, ...request.Option) *apigatewayv2.ImportApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4375,7 +4880,6 @@ func (_m *MockFakeApiGatewayV2) ImportApiWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.ImportApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4390,6 +4894,10 @@ func (_m *MockFakeApiGatewayV2) ReimportApi(_a0 *apigatewayv2.ReimportApiInput) ret := _m.Called(_a0) var r0 *apigatewayv2.ReimportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.ReimportApiInput) (*apigatewayv2.ReimportApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ReimportApiInput) *apigatewayv2.ReimportApiOutput); ok { r0 = rf(_a0) } else { @@ -4398,7 +4906,6 @@ func (_m *MockFakeApiGatewayV2) ReimportApi(_a0 *apigatewayv2.ReimportApiInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.ReimportApiInput) error); ok { r1 = rf(_a0) } else { @@ -4413,6 +4920,10 @@ func (_m *MockFakeApiGatewayV2) ReimportApiRequest(_a0 *apigatewayv2.ReimportApi ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.ReimportApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.ReimportApiInput) (*request.Request, *apigatewayv2.ReimportApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ReimportApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4421,7 +4932,6 @@ func (_m *MockFakeApiGatewayV2) ReimportApiRequest(_a0 *apigatewayv2.ReimportApi } } - var r1 *apigatewayv2.ReimportApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.ReimportApiInput) *apigatewayv2.ReimportApiOutput); ok { r1 = rf(_a0) } else { @@ -4445,6 +4955,10 @@ func (_m *MockFakeApiGatewayV2) ReimportApiWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.ReimportApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ReimportApiInput, ...request.Option) (*apigatewayv2.ReimportApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ReimportApiInput, ...request.Option) *apigatewayv2.ReimportApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4453,7 +4967,6 @@ func (_m *MockFakeApiGatewayV2) ReimportApiWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.ReimportApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4468,6 +4981,10 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCache(_a0 *apigatewayv2.ResetAut ret := _m.Called(_a0) var r0 *apigatewayv2.ResetAuthorizersCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.ResetAuthorizersCacheInput) (*apigatewayv2.ResetAuthorizersCacheOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ResetAuthorizersCacheInput) *apigatewayv2.ResetAuthorizersCacheOutput); ok { r0 = rf(_a0) } else { @@ -4476,7 +4993,6 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCache(_a0 *apigatewayv2.ResetAut } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.ResetAuthorizersCacheInput) error); ok { r1 = rf(_a0) } else { @@ -4491,6 +5007,10 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCacheRequest(_a0 *apigatewayv2.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.ResetAuthorizersCacheOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.ResetAuthorizersCacheInput) (*request.Request, *apigatewayv2.ResetAuthorizersCacheOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.ResetAuthorizersCacheInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4499,7 +5019,6 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCacheRequest(_a0 *apigatewayv2.R } } - var r1 *apigatewayv2.ResetAuthorizersCacheOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.ResetAuthorizersCacheInput) *apigatewayv2.ResetAuthorizersCacheOutput); ok { r1 = rf(_a0) } else { @@ -4523,6 +5042,10 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCacheWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *apigatewayv2.ResetAuthorizersCacheOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ResetAuthorizersCacheInput, ...request.Option) (*apigatewayv2.ResetAuthorizersCacheOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.ResetAuthorizersCacheInput, ...request.Option) *apigatewayv2.ResetAuthorizersCacheOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4531,7 +5054,6 @@ func (_m *MockFakeApiGatewayV2) ResetAuthorizersCacheWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.ResetAuthorizersCacheInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4546,6 +5068,10 @@ func (_m *MockFakeApiGatewayV2) TagResource(_a0 *apigatewayv2.TagResourceInput) ret := _m.Called(_a0) var r0 *apigatewayv2.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.TagResourceInput) (*apigatewayv2.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.TagResourceInput) *apigatewayv2.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -4554,7 +5080,6 @@ func (_m *MockFakeApiGatewayV2) TagResource(_a0 *apigatewayv2.TagResourceInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4569,6 +5094,10 @@ func (_m *MockFakeApiGatewayV2) TagResourceRequest(_a0 *apigatewayv2.TagResource ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.TagResourceOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.TagResourceInput) (*request.Request, *apigatewayv2.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4577,7 +5106,6 @@ func (_m *MockFakeApiGatewayV2) TagResourceRequest(_a0 *apigatewayv2.TagResource } } - var r1 *apigatewayv2.TagResourceOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.TagResourceInput) *apigatewayv2.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -4601,6 +5129,10 @@ func (_m *MockFakeApiGatewayV2) TagResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.TagResourceInput, ...request.Option) (*apigatewayv2.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.TagResourceInput, ...request.Option) *apigatewayv2.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4609,7 +5141,6 @@ func (_m *MockFakeApiGatewayV2) TagResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4624,6 +5155,10 @@ func (_m *MockFakeApiGatewayV2) UntagResource(_a0 *apigatewayv2.UntagResourceInp ret := _m.Called(_a0) var r0 *apigatewayv2.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UntagResourceInput) (*apigatewayv2.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UntagResourceInput) *apigatewayv2.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -4632,7 +5167,6 @@ func (_m *MockFakeApiGatewayV2) UntagResource(_a0 *apigatewayv2.UntagResourceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4647,6 +5181,10 @@ func (_m *MockFakeApiGatewayV2) UntagResourceRequest(_a0 *apigatewayv2.UntagReso ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UntagResourceInput) (*request.Request, *apigatewayv2.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4655,7 +5193,6 @@ func (_m *MockFakeApiGatewayV2) UntagResourceRequest(_a0 *apigatewayv2.UntagReso } } - var r1 *apigatewayv2.UntagResourceOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UntagResourceInput) *apigatewayv2.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -4679,6 +5216,10 @@ func (_m *MockFakeApiGatewayV2) UntagResourceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UntagResourceInput, ...request.Option) (*apigatewayv2.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UntagResourceInput, ...request.Option) *apigatewayv2.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4687,7 +5228,6 @@ func (_m *MockFakeApiGatewayV2) UntagResourceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4702,6 +5242,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApi(_a0 *apigatewayv2.UpdateApiInput) (*ap ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiInput) (*apigatewayv2.UpdateApiOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiInput) *apigatewayv2.UpdateApiOutput); ok { r0 = rf(_a0) } else { @@ -4710,7 +5254,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApi(_a0 *apigatewayv2.UpdateApiInput) (*ap } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateApiInput) error); ok { r1 = rf(_a0) } else { @@ -4725,6 +5268,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMapping(_a0 *apigatewayv2.UpdateApiMapp ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiMappingInput) (*apigatewayv2.UpdateApiMappingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiMappingInput) *apigatewayv2.UpdateApiMappingOutput); ok { r0 = rf(_a0) } else { @@ -4733,7 +5280,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMapping(_a0 *apigatewayv2.UpdateApiMapp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateApiMappingInput) error); ok { r1 = rf(_a0) } else { @@ -4748,6 +5294,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMappingRequest(_a0 *apigatewayv2.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateApiMappingOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiMappingInput) (*request.Request, *apigatewayv2.UpdateApiMappingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4756,7 +5306,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMappingRequest(_a0 *apigatewayv2.Update } } - var r1 *apigatewayv2.UpdateApiMappingOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateApiMappingInput) *apigatewayv2.UpdateApiMappingOutput); ok { r1 = rf(_a0) } else { @@ -4780,6 +5329,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMappingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateApiMappingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateApiMappingInput, ...request.Option) (*apigatewayv2.UpdateApiMappingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateApiMappingInput, ...request.Option) *apigatewayv2.UpdateApiMappingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4788,7 +5341,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApiMappingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateApiMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4803,6 +5355,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApiRequest(_a0 *apigatewayv2.UpdateApiInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateApiOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiInput) (*request.Request, *apigatewayv2.UpdateApiOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateApiInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4811,7 +5367,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApiRequest(_a0 *apigatewayv2.UpdateApiInpu } } - var r1 *apigatewayv2.UpdateApiOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateApiInput) *apigatewayv2.UpdateApiOutput); ok { r1 = rf(_a0) } else { @@ -4835,6 +5390,10 @@ func (_m *MockFakeApiGatewayV2) UpdateApiWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateApiOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateApiInput, ...request.Option) (*apigatewayv2.UpdateApiOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateApiInput, ...request.Option) *apigatewayv2.UpdateApiOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4843,7 +5402,6 @@ func (_m *MockFakeApiGatewayV2) UpdateApiWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateApiInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4858,6 +5416,10 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizer(_a0 *apigatewayv2.UpdateAuthori ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateAuthorizerInput) (*apigatewayv2.UpdateAuthorizerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateAuthorizerInput) *apigatewayv2.UpdateAuthorizerOutput); ok { r0 = rf(_a0) } else { @@ -4866,7 +5428,6 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizer(_a0 *apigatewayv2.UpdateAuthori } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateAuthorizerInput) error); ok { r1 = rf(_a0) } else { @@ -4881,6 +5442,10 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizerRequest(_a0 *apigatewayv2.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateAuthorizerOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateAuthorizerInput) (*request.Request, *apigatewayv2.UpdateAuthorizerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateAuthorizerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4889,7 +5454,6 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizerRequest(_a0 *apigatewayv2.Update } } - var r1 *apigatewayv2.UpdateAuthorizerOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateAuthorizerInput) *apigatewayv2.UpdateAuthorizerOutput); ok { r1 = rf(_a0) } else { @@ -4913,6 +5477,10 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizerWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateAuthorizerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateAuthorizerInput, ...request.Option) (*apigatewayv2.UpdateAuthorizerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateAuthorizerInput, ...request.Option) *apigatewayv2.UpdateAuthorizerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4921,7 +5489,6 @@ func (_m *MockFakeApiGatewayV2) UpdateAuthorizerWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateAuthorizerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4936,6 +5503,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDeployment(_a0 *apigatewayv2.UpdateDeploym ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDeploymentInput) (*apigatewayv2.UpdateDeploymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDeploymentInput) *apigatewayv2.UpdateDeploymentOutput); ok { r0 = rf(_a0) } else { @@ -4944,7 +5515,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDeployment(_a0 *apigatewayv2.UpdateDeploym } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateDeploymentInput) error); ok { r1 = rf(_a0) } else { @@ -4959,6 +5529,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDeploymentRequest(_a0 *apigatewayv2.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateDeploymentOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDeploymentInput) (*request.Request, *apigatewayv2.UpdateDeploymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDeploymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4967,7 +5541,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDeploymentRequest(_a0 *apigatewayv2.Update } } - var r1 *apigatewayv2.UpdateDeploymentOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateDeploymentInput) *apigatewayv2.UpdateDeploymentOutput); ok { r1 = rf(_a0) } else { @@ -4991,6 +5564,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDeploymentWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateDeploymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateDeploymentInput, ...request.Option) (*apigatewayv2.UpdateDeploymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateDeploymentInput, ...request.Option) *apigatewayv2.UpdateDeploymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4999,7 +5576,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDeploymentWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateDeploymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5014,6 +5590,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainName(_a0 *apigatewayv2.UpdateDomainN ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDomainNameInput) (*apigatewayv2.UpdateDomainNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDomainNameInput) *apigatewayv2.UpdateDomainNameOutput); ok { r0 = rf(_a0) } else { @@ -5022,7 +5602,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainName(_a0 *apigatewayv2.UpdateDomainN } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateDomainNameInput) error); ok { r1 = rf(_a0) } else { @@ -5037,6 +5616,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainNameRequest(_a0 *apigatewayv2.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateDomainNameOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDomainNameInput) (*request.Request, *apigatewayv2.UpdateDomainNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateDomainNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5045,7 +5628,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainNameRequest(_a0 *apigatewayv2.Update } } - var r1 *apigatewayv2.UpdateDomainNameOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateDomainNameInput) *apigatewayv2.UpdateDomainNameOutput); ok { r1 = rf(_a0) } else { @@ -5069,6 +5651,10 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainNameWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateDomainNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateDomainNameInput, ...request.Option) (*apigatewayv2.UpdateDomainNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateDomainNameInput, ...request.Option) *apigatewayv2.UpdateDomainNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5077,7 +5663,6 @@ func (_m *MockFakeApiGatewayV2) UpdateDomainNameWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateDomainNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5092,6 +5677,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegration(_a0 *apigatewayv2.UpdateIntegr ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationInput) (*apigatewayv2.UpdateIntegrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationInput) *apigatewayv2.UpdateIntegrationOutput); ok { r0 = rf(_a0) } else { @@ -5100,7 +5689,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegration(_a0 *apigatewayv2.UpdateIntegr } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateIntegrationInput) error); ok { r1 = rf(_a0) } else { @@ -5115,6 +5703,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationRequest(_a0 *apigatewayv2.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateIntegrationOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationInput) (*request.Request, *apigatewayv2.UpdateIntegrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5123,7 +5715,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationRequest(_a0 *apigatewayv2.Updat } } - var r1 *apigatewayv2.UpdateIntegrationOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateIntegrationInput) *apigatewayv2.UpdateIntegrationOutput); ok { r1 = rf(_a0) } else { @@ -5140,6 +5731,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponse(_a0 *apigatewayv2.Upda ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationResponseInput) (*apigatewayv2.UpdateIntegrationResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationResponseInput) *apigatewayv2.UpdateIntegrationResponseOutput); ok { r0 = rf(_a0) } else { @@ -5148,7 +5743,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponse(_a0 *apigatewayv2.Upda } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateIntegrationResponseInput) error); ok { r1 = rf(_a0) } else { @@ -5163,6 +5757,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponseRequest(_a0 *apigateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateIntegrationResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationResponseInput) (*request.Request, *apigatewayv2.UpdateIntegrationResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateIntegrationResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5171,7 +5769,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponseRequest(_a0 *apigateway } } - var r1 *apigatewayv2.UpdateIntegrationResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateIntegrationResponseInput) *apigatewayv2.UpdateIntegrationResponseOutput); ok { r1 = rf(_a0) } else { @@ -5195,6 +5792,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponseWithContext(_a0 context ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateIntegrationResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateIntegrationResponseInput, ...request.Option) (*apigatewayv2.UpdateIntegrationResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateIntegrationResponseInput, ...request.Option) *apigatewayv2.UpdateIntegrationResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5203,7 +5804,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationResponseWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateIntegrationResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5225,6 +5825,10 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateIntegrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateIntegrationInput, ...request.Option) (*apigatewayv2.UpdateIntegrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateIntegrationInput, ...request.Option) *apigatewayv2.UpdateIntegrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5233,7 +5837,6 @@ func (_m *MockFakeApiGatewayV2) UpdateIntegrationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateIntegrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5248,6 +5851,10 @@ func (_m *MockFakeApiGatewayV2) UpdateModel(_a0 *apigatewayv2.UpdateModelInput) ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateModelInput) (*apigatewayv2.UpdateModelOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateModelInput) *apigatewayv2.UpdateModelOutput); ok { r0 = rf(_a0) } else { @@ -5256,7 +5863,6 @@ func (_m *MockFakeApiGatewayV2) UpdateModel(_a0 *apigatewayv2.UpdateModelInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateModelInput) error); ok { r1 = rf(_a0) } else { @@ -5271,6 +5877,10 @@ func (_m *MockFakeApiGatewayV2) UpdateModelRequest(_a0 *apigatewayv2.UpdateModel ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateModelOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateModelInput) (*request.Request, *apigatewayv2.UpdateModelOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateModelInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5279,7 +5889,6 @@ func (_m *MockFakeApiGatewayV2) UpdateModelRequest(_a0 *apigatewayv2.UpdateModel } } - var r1 *apigatewayv2.UpdateModelOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateModelInput) *apigatewayv2.UpdateModelOutput); ok { r1 = rf(_a0) } else { @@ -5303,6 +5912,10 @@ func (_m *MockFakeApiGatewayV2) UpdateModelWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateModelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateModelInput, ...request.Option) (*apigatewayv2.UpdateModelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateModelInput, ...request.Option) *apigatewayv2.UpdateModelOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5311,7 +5924,6 @@ func (_m *MockFakeApiGatewayV2) UpdateModelWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateModelInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5326,6 +5938,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRoute(_a0 *apigatewayv2.UpdateRouteInput) ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteInput) (*apigatewayv2.UpdateRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteInput) *apigatewayv2.UpdateRouteOutput); ok { r0 = rf(_a0) } else { @@ -5334,7 +5950,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRoute(_a0 *apigatewayv2.UpdateRouteInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateRouteInput) error); ok { r1 = rf(_a0) } else { @@ -5349,6 +5964,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteRequest(_a0 *apigatewayv2.UpdateRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateRouteOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteInput) (*request.Request, *apigatewayv2.UpdateRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5357,7 +5976,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteRequest(_a0 *apigatewayv2.UpdateRoute } } - var r1 *apigatewayv2.UpdateRouteOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateRouteInput) *apigatewayv2.UpdateRouteOutput); ok { r1 = rf(_a0) } else { @@ -5374,6 +5992,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponse(_a0 *apigatewayv2.UpdateRout ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteResponseInput) (*apigatewayv2.UpdateRouteResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteResponseInput) *apigatewayv2.UpdateRouteResponseOutput); ok { r0 = rf(_a0) } else { @@ -5382,7 +6004,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponse(_a0 *apigatewayv2.UpdateRout } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateRouteResponseInput) error); ok { r1 = rf(_a0) } else { @@ -5397,6 +6018,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponseRequest(_a0 *apigatewayv2.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateRouteResponseOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteResponseInput) (*request.Request, *apigatewayv2.UpdateRouteResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateRouteResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5405,7 +6030,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponseRequest(_a0 *apigatewayv2.Upd } } - var r1 *apigatewayv2.UpdateRouteResponseOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateRouteResponseInput) *apigatewayv2.UpdateRouteResponseOutput); ok { r1 = rf(_a0) } else { @@ -5429,6 +6053,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponseWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateRouteResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateRouteResponseInput, ...request.Option) (*apigatewayv2.UpdateRouteResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateRouteResponseInput, ...request.Option) *apigatewayv2.UpdateRouteResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5437,7 +6065,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteResponseWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateRouteResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5459,6 +6086,10 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateRouteInput, ...request.Option) (*apigatewayv2.UpdateRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateRouteInput, ...request.Option) *apigatewayv2.UpdateRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5467,7 +6098,6 @@ func (_m *MockFakeApiGatewayV2) UpdateRouteWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5482,6 +6112,10 @@ func (_m *MockFakeApiGatewayV2) UpdateStage(_a0 *apigatewayv2.UpdateStageInput) ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateStageInput) (*apigatewayv2.UpdateStageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateStageInput) *apigatewayv2.UpdateStageOutput); ok { r0 = rf(_a0) } else { @@ -5490,7 +6124,6 @@ func (_m *MockFakeApiGatewayV2) UpdateStage(_a0 *apigatewayv2.UpdateStageInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateStageInput) error); ok { r1 = rf(_a0) } else { @@ -5505,6 +6138,10 @@ func (_m *MockFakeApiGatewayV2) UpdateStageRequest(_a0 *apigatewayv2.UpdateStage ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateStageOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateStageInput) (*request.Request, *apigatewayv2.UpdateStageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateStageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5513,7 +6150,6 @@ func (_m *MockFakeApiGatewayV2) UpdateStageRequest(_a0 *apigatewayv2.UpdateStage } } - var r1 *apigatewayv2.UpdateStageOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateStageInput) *apigatewayv2.UpdateStageOutput); ok { r1 = rf(_a0) } else { @@ -5537,6 +6173,10 @@ func (_m *MockFakeApiGatewayV2) UpdateStageWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateStageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateStageInput, ...request.Option) (*apigatewayv2.UpdateStageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateStageInput, ...request.Option) *apigatewayv2.UpdateStageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5545,7 +6185,6 @@ func (_m *MockFakeApiGatewayV2) UpdateStageWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateStageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5560,6 +6199,10 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLink(_a0 *apigatewayv2.UpdateVpcLinkInp ret := _m.Called(_a0) var r0 *apigatewayv2.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateVpcLinkInput) (*apigatewayv2.UpdateVpcLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateVpcLinkInput) *apigatewayv2.UpdateVpcLinkOutput); ok { r0 = rf(_a0) } else { @@ -5568,7 +6211,6 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLink(_a0 *apigatewayv2.UpdateVpcLinkInp } } - var r1 error if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateVpcLinkInput) error); ok { r1 = rf(_a0) } else { @@ -5583,6 +6225,10 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLinkRequest(_a0 *apigatewayv2.UpdateVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *apigatewayv2.UpdateVpcLinkOutput + if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateVpcLinkInput) (*request.Request, *apigatewayv2.UpdateVpcLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*apigatewayv2.UpdateVpcLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5591,7 +6237,6 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLinkRequest(_a0 *apigatewayv2.UpdateVpc } } - var r1 *apigatewayv2.UpdateVpcLinkOutput if rf, ok := ret.Get(1).(func(*apigatewayv2.UpdateVpcLinkInput) *apigatewayv2.UpdateVpcLinkOutput); ok { r1 = rf(_a0) } else { @@ -5615,6 +6260,10 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLinkWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *apigatewayv2.UpdateVpcLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateVpcLinkInput, ...request.Option) (*apigatewayv2.UpdateVpcLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *apigatewayv2.UpdateVpcLinkInput, ...request.Option) *apigatewayv2.UpdateVpcLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5623,7 +6272,6 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLinkWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *apigatewayv2.UpdateVpcLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5632,3 +6280,18 @@ func (_m *MockFakeApiGatewayV2) UpdateVpcLinkWithContext(_a0 context.Context, _a return r0, r1 } + +type mockConstructorTestingTNewMockFakeApiGatewayV2 interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeApiGatewayV2 creates a new instance of MockFakeApiGatewayV2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeApiGatewayV2(t mockConstructorTestingTNewMockFakeApiGatewayV2) *MockFakeApiGatewayV2 { + mock := &MockFakeApiGatewayV2{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeApplicationAutoScaling.go b/test/aws/mock_FakeApplicationAutoScaling.go index 5364f75c3..fa888c33e 100644 --- a/test/aws/mock_FakeApplicationAutoScaling.go +++ b/test/aws/mock_FakeApplicationAutoScaling.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -22,6 +22,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicy(_a0 *applicationau ret := _m.Called(_a0) var r0 *applicationautoscaling.DeleteScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScalingPolicyInput) (*applicationautoscaling.DeleteScalingPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScalingPolicyInput) *applicationautoscaling.DeleteScalingPolicyOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicy(_a0 *applicationau } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeleteScalingPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicyRequest(_a0 *applic ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DeleteScalingPolicyOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScalingPolicyInput) (*request.Request, *applicationautoscaling.DeleteScalingPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScalingPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicyRequest(_a0 *applic } } - var r1 *applicationautoscaling.DeleteScalingPolicyOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeleteScalingPolicyInput) *applicationautoscaling.DeleteScalingPolicyOutput); ok { r1 = rf(_a0) } else { @@ -77,6 +83,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicyWithContext(_a0 con ret := _m.Called(_ca...) var r0 *applicationautoscaling.DeleteScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeleteScalingPolicyInput, ...request.Option) (*applicationautoscaling.DeleteScalingPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeleteScalingPolicyInput, ...request.Option) *applicationautoscaling.DeleteScalingPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +95,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScalingPolicyWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DeleteScalingPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -100,6 +109,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledAction(_a0 *application ret := _m.Called(_a0) var r0 *applicationautoscaling.DeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScheduledActionInput) (*applicationautoscaling.DeleteScheduledActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScheduledActionInput) *applicationautoscaling.DeleteScheduledActionOutput); ok { r0 = rf(_a0) } else { @@ -108,7 +121,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledAction(_a0 *application } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeleteScheduledActionInput) error); ok { r1 = rf(_a0) } else { @@ -123,6 +135,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledActionRequest(_a0 *appl ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DeleteScheduledActionOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScheduledActionInput) (*request.Request, *applicationautoscaling.DeleteScheduledActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeleteScheduledActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +147,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledActionRequest(_a0 *appl } } - var r1 *applicationautoscaling.DeleteScheduledActionOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeleteScheduledActionInput) *applicationautoscaling.DeleteScheduledActionOutput); ok { r1 = rf(_a0) } else { @@ -155,6 +170,10 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledActionWithContext(_a0 c ret := _m.Called(_ca...) var r0 *applicationautoscaling.DeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeleteScheduledActionInput, ...request.Option) (*applicationautoscaling.DeleteScheduledActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeleteScheduledActionInput, ...request.Option) *applicationautoscaling.DeleteScheduledActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +182,6 @@ func (_m *MockFakeApplicationAutoScaling) DeleteScheduledActionWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DeleteScheduledActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +196,10 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTarget(_a0 *applicat ret := _m.Called(_a0) var r0 *applicationautoscaling.DeregisterScalableTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeregisterScalableTargetInput) (*applicationautoscaling.DeregisterScalableTargetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeregisterScalableTargetInput) *applicationautoscaling.DeregisterScalableTargetOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +208,6 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTarget(_a0 *applicat } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeregisterScalableTargetInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +222,10 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTargetRequest(_a0 *a ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DeregisterScalableTargetOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeregisterScalableTargetInput) (*request.Request, *applicationautoscaling.DeregisterScalableTargetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DeregisterScalableTargetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +234,6 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTargetRequest(_a0 *a } } - var r1 *applicationautoscaling.DeregisterScalableTargetOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DeregisterScalableTargetInput) *applicationautoscaling.DeregisterScalableTargetOutput); ok { r1 = rf(_a0) } else { @@ -233,6 +257,10 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTargetWithContext(_a ret := _m.Called(_ca...) var r0 *applicationautoscaling.DeregisterScalableTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeregisterScalableTargetInput, ...request.Option) (*applicationautoscaling.DeregisterScalableTargetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DeregisterScalableTargetInput, ...request.Option) *applicationautoscaling.DeregisterScalableTargetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +269,6 @@ func (_m *MockFakeApplicationAutoScaling) DeregisterScalableTargetWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DeregisterScalableTargetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +283,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargets(_a0 *applicati ret := _m.Called(_a0) var r0 *applicationautoscaling.DescribeScalableTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalableTargetsInput) (*applicationautoscaling.DescribeScalableTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalableTargetsInput) *applicationautoscaling.DescribeScalableTargetsOutput); ok { r0 = rf(_a0) } else { @@ -264,7 +295,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargets(_a0 *applicati } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalableTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -314,6 +344,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargetsRequest(_a0 *ap ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DescribeScalableTargetsOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalableTargetsInput) (*request.Request, *applicationautoscaling.DescribeScalableTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalableTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -322,7 +356,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargetsRequest(_a0 *ap } } - var r1 *applicationautoscaling.DescribeScalableTargetsOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalableTargetsInput) *applicationautoscaling.DescribeScalableTargetsOutput); ok { r1 = rf(_a0) } else { @@ -346,6 +379,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargetsWithContext(_a0 ret := _m.Called(_ca...) var r0 *applicationautoscaling.DescribeScalableTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalableTargetsInput, ...request.Option) (*applicationautoscaling.DescribeScalableTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalableTargetsInput, ...request.Option) *applicationautoscaling.DescribeScalableTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -354,7 +391,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalableTargetsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DescribeScalableTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -369,6 +405,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivities(_a0 *applica ret := _m.Called(_a0) var r0 *applicationautoscaling.DescribeScalingActivitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingActivitiesInput) (*applicationautoscaling.DescribeScalingActivitiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingActivitiesInput) *applicationautoscaling.DescribeScalingActivitiesOutput); ok { r0 = rf(_a0) } else { @@ -377,7 +417,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivities(_a0 *applica } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalingActivitiesInput) error); ok { r1 = rf(_a0) } else { @@ -427,6 +466,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivitiesRequest(_a0 * ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DescribeScalingActivitiesOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingActivitiesInput) (*request.Request, *applicationautoscaling.DescribeScalingActivitiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingActivitiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -435,7 +478,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivitiesRequest(_a0 * } } - var r1 *applicationautoscaling.DescribeScalingActivitiesOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalingActivitiesInput) *applicationautoscaling.DescribeScalingActivitiesOutput); ok { r1 = rf(_a0) } else { @@ -459,6 +501,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivitiesWithContext(_ ret := _m.Called(_ca...) var r0 *applicationautoscaling.DescribeScalingActivitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalingActivitiesInput, ...request.Option) (*applicationautoscaling.DescribeScalingActivitiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalingActivitiesInput, ...request.Option) *applicationautoscaling.DescribeScalingActivitiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -467,7 +513,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingActivitiesWithContext(_ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DescribeScalingActivitiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -482,6 +527,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPolicies(_a0 *applicati ret := _m.Called(_a0) var r0 *applicationautoscaling.DescribeScalingPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingPoliciesInput) (*applicationautoscaling.DescribeScalingPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingPoliciesInput) *applicationautoscaling.DescribeScalingPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -490,7 +539,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPolicies(_a0 *applicati } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalingPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -540,6 +588,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPoliciesRequest(_a0 *ap ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DescribeScalingPoliciesOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingPoliciesInput) (*request.Request, *applicationautoscaling.DescribeScalingPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScalingPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -548,7 +600,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPoliciesRequest(_a0 *ap } } - var r1 *applicationautoscaling.DescribeScalingPoliciesOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScalingPoliciesInput) *applicationautoscaling.DescribeScalingPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -572,6 +623,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPoliciesWithContext(_a0 ret := _m.Called(_ca...) var r0 *applicationautoscaling.DescribeScalingPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalingPoliciesInput, ...request.Option) (*applicationautoscaling.DescribeScalingPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScalingPoliciesInput, ...request.Option) *applicationautoscaling.DescribeScalingPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -580,7 +635,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScalingPoliciesWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DescribeScalingPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -595,6 +649,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActions(_a0 *applicat ret := _m.Called(_a0) var r0 *applicationautoscaling.DescribeScheduledActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScheduledActionsInput) (*applicationautoscaling.DescribeScheduledActionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScheduledActionsInput) *applicationautoscaling.DescribeScheduledActionsOutput); ok { r0 = rf(_a0) } else { @@ -603,7 +661,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActions(_a0 *applicat } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScheduledActionsInput) error); ok { r1 = rf(_a0) } else { @@ -653,6 +710,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActionsRequest(_a0 *a ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.DescribeScheduledActionsOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScheduledActionsInput) (*request.Request, *applicationautoscaling.DescribeScheduledActionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.DescribeScheduledActionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -661,7 +722,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActionsRequest(_a0 *a } } - var r1 *applicationautoscaling.DescribeScheduledActionsOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.DescribeScheduledActionsInput) *applicationautoscaling.DescribeScheduledActionsOutput); ok { r1 = rf(_a0) } else { @@ -685,6 +745,10 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActionsWithContext(_a ret := _m.Called(_ca...) var r0 *applicationautoscaling.DescribeScheduledActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScheduledActionsInput, ...request.Option) (*applicationautoscaling.DescribeScheduledActionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.DescribeScheduledActionsInput, ...request.Option) *applicationautoscaling.DescribeScheduledActionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -693,7 +757,6 @@ func (_m *MockFakeApplicationAutoScaling) DescribeScheduledActionsWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.DescribeScheduledActionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -708,6 +771,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicy(_a0 *applicationautos ret := _m.Called(_a0) var r0 *applicationautoscaling.PutScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScalingPolicyInput) (*applicationautoscaling.PutScalingPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScalingPolicyInput) *applicationautoscaling.PutScalingPolicyOutput); ok { r0 = rf(_a0) } else { @@ -716,7 +783,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicy(_a0 *applicationautos } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.PutScalingPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -731,6 +797,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicyRequest(_a0 *applicati ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.PutScalingPolicyOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScalingPolicyInput) (*request.Request, *applicationautoscaling.PutScalingPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScalingPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -739,7 +809,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicyRequest(_a0 *applicati } } - var r1 *applicationautoscaling.PutScalingPolicyOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.PutScalingPolicyInput) *applicationautoscaling.PutScalingPolicyOutput); ok { r1 = rf(_a0) } else { @@ -763,6 +832,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicyWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *applicationautoscaling.PutScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.PutScalingPolicyInput, ...request.Option) (*applicationautoscaling.PutScalingPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.PutScalingPolicyInput, ...request.Option) *applicationautoscaling.PutScalingPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -771,7 +844,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScalingPolicyWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.PutScalingPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -786,6 +858,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledAction(_a0 *applicationaut ret := _m.Called(_a0) var r0 *applicationautoscaling.PutScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScheduledActionInput) (*applicationautoscaling.PutScheduledActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScheduledActionInput) *applicationautoscaling.PutScheduledActionOutput); ok { r0 = rf(_a0) } else { @@ -794,7 +870,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledAction(_a0 *applicationaut } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.PutScheduledActionInput) error); ok { r1 = rf(_a0) } else { @@ -809,6 +884,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledActionRequest(_a0 *applica ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.PutScheduledActionOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScheduledActionInput) (*request.Request, *applicationautoscaling.PutScheduledActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.PutScheduledActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -817,7 +896,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledActionRequest(_a0 *applica } } - var r1 *applicationautoscaling.PutScheduledActionOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.PutScheduledActionInput) *applicationautoscaling.PutScheduledActionOutput); ok { r1 = rf(_a0) } else { @@ -841,6 +919,10 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledActionWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *applicationautoscaling.PutScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.PutScheduledActionInput, ...request.Option) (*applicationautoscaling.PutScheduledActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.PutScheduledActionInput, ...request.Option) *applicationautoscaling.PutScheduledActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -849,7 +931,6 @@ func (_m *MockFakeApplicationAutoScaling) PutScheduledActionWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.PutScheduledActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -864,6 +945,10 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTarget(_a0 *applicatio ret := _m.Called(_a0) var r0 *applicationautoscaling.RegisterScalableTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*applicationautoscaling.RegisterScalableTargetInput) (*applicationautoscaling.RegisterScalableTargetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.RegisterScalableTargetInput) *applicationautoscaling.RegisterScalableTargetOutput); ok { r0 = rf(_a0) } else { @@ -872,7 +957,6 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTarget(_a0 *applicatio } } - var r1 error if rf, ok := ret.Get(1).(func(*applicationautoscaling.RegisterScalableTargetInput) error); ok { r1 = rf(_a0) } else { @@ -887,6 +971,10 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTargetRequest(_a0 *app ret := _m.Called(_a0) var r0 *request.Request + var r1 *applicationautoscaling.RegisterScalableTargetOutput + if rf, ok := ret.Get(0).(func(*applicationautoscaling.RegisterScalableTargetInput) (*request.Request, *applicationautoscaling.RegisterScalableTargetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*applicationautoscaling.RegisterScalableTargetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -895,7 +983,6 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTargetRequest(_a0 *app } } - var r1 *applicationautoscaling.RegisterScalableTargetOutput if rf, ok := ret.Get(1).(func(*applicationautoscaling.RegisterScalableTargetInput) *applicationautoscaling.RegisterScalableTargetOutput); ok { r1 = rf(_a0) } else { @@ -919,6 +1006,10 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTargetWithContext(_a0 ret := _m.Called(_ca...) var r0 *applicationautoscaling.RegisterScalableTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.RegisterScalableTargetInput, ...request.Option) (*applicationautoscaling.RegisterScalableTargetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *applicationautoscaling.RegisterScalableTargetInput, ...request.Option) *applicationautoscaling.RegisterScalableTargetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -927,7 +1018,6 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTargetWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *applicationautoscaling.RegisterScalableTargetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -936,3 +1026,18 @@ func (_m *MockFakeApplicationAutoScaling) RegisterScalableTargetWithContext(_a0 return r0, r1 } + +type mockConstructorTestingTNewMockFakeApplicationAutoScaling interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeApplicationAutoScaling creates a new instance of MockFakeApplicationAutoScaling. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeApplicationAutoScaling(t mockConstructorTestingTNewMockFakeApplicationAutoScaling) *MockFakeApplicationAutoScaling { + mock := &MockFakeApplicationAutoScaling{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeAutoscaling.go b/test/aws/mock_FakeAutoscaling.go index f1f1e5436..eb5c488c5 100644 --- a/test/aws/mock_FakeAutoscaling.go +++ b/test/aws/mock_FakeAutoscaling.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.8.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -22,6 +22,10 @@ func (_m *MockFakeAutoscaling) AttachInstances(_a0 *autoscaling.AttachInstancesI ret := _m.Called(_a0) var r0 *autoscaling.AttachInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.AttachInstancesInput) (*autoscaling.AttachInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachInstancesInput) *autoscaling.AttachInstancesOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeAutoscaling) AttachInstances(_a0 *autoscaling.AttachInstancesI } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.AttachInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeAutoscaling) AttachInstancesRequest(_a0 *autoscaling.AttachIns ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.AttachInstancesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.AttachInstancesInput) (*request.Request, *autoscaling.AttachInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeAutoscaling) AttachInstancesRequest(_a0 *autoscaling.AttachIns } } - var r1 *autoscaling.AttachInstancesOutput if rf, ok := ret.Get(1).(func(*autoscaling.AttachInstancesInput) *autoscaling.AttachInstancesOutput); ok { r1 = rf(_a0) } else { @@ -77,6 +83,10 @@ func (_m *MockFakeAutoscaling) AttachInstancesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *autoscaling.AttachInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachInstancesInput, ...request.Option) (*autoscaling.AttachInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachInstancesInput, ...request.Option) *autoscaling.AttachInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +95,6 @@ func (_m *MockFakeAutoscaling) AttachInstancesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.AttachInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -100,6 +109,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroups(_a0 *autoscaling.A ret := _m.Called(_a0) var r0 *autoscaling.AttachLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) (*autoscaling.AttachLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) *autoscaling.AttachLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -108,7 +121,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroups(_a0 *autoscaling.A } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -123,6 +135,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroupsRequest(_a0 *autosc ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.AttachLoadBalancerTargetGroupsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) (*request.Request, *autoscaling.AttachLoadBalancerTargetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +147,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroupsRequest(_a0 *autosc } } - var r1 *autoscaling.AttachLoadBalancerTargetGroupsOutput if rf, ok := ret.Get(1).(func(*autoscaling.AttachLoadBalancerTargetGroupsInput) *autoscaling.AttachLoadBalancerTargetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -155,6 +170,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroupsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *autoscaling.AttachLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancerTargetGroupsInput, ...request.Option) (*autoscaling.AttachLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancerTargetGroupsInput, ...request.Option) *autoscaling.AttachLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +182,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancerTargetGroupsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.AttachLoadBalancerTargetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +196,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancers(_a0 *autoscaling.AttachLoadBa ret := _m.Called(_a0) var r0 *autoscaling.AttachLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancersInput) (*autoscaling.AttachLoadBalancersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancersInput) *autoscaling.AttachLoadBalancersOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +208,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancers(_a0 *autoscaling.AttachLoadBa } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.AttachLoadBalancersInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +222,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancersRequest(_a0 *autoscaling.Attac ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.AttachLoadBalancersOutput + if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancersInput) (*request.Request, *autoscaling.AttachLoadBalancersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.AttachLoadBalancersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +234,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancersRequest(_a0 *autoscaling.Attac } } - var r1 *autoscaling.AttachLoadBalancersOutput if rf, ok := ret.Get(1).(func(*autoscaling.AttachLoadBalancersInput) *autoscaling.AttachLoadBalancersOutput); ok { r1 = rf(_a0) } else { @@ -233,6 +257,10 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancersWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *autoscaling.AttachLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancersInput, ...request.Option) (*autoscaling.AttachLoadBalancersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancersInput, ...request.Option) *autoscaling.AttachLoadBalancersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +269,6 @@ func (_m *MockFakeAutoscaling) AttachLoadBalancersWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.AttachLoadBalancersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +283,10 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledAction(_a0 *autoscaling.Batch ret := _m.Called(_a0) var r0 *autoscaling.BatchDeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.BatchDeleteScheduledActionInput) (*autoscaling.BatchDeleteScheduledActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.BatchDeleteScheduledActionInput) *autoscaling.BatchDeleteScheduledActionOutput); ok { r0 = rf(_a0) } else { @@ -264,7 +295,6 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledAction(_a0 *autoscaling.Batch } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.BatchDeleteScheduledActionInput) error); ok { r1 = rf(_a0) } else { @@ -279,6 +309,10 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledActionRequest(_a0 *autoscalin ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.BatchDeleteScheduledActionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.BatchDeleteScheduledActionInput) (*request.Request, *autoscaling.BatchDeleteScheduledActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.BatchDeleteScheduledActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -287,7 +321,6 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledActionRequest(_a0 *autoscalin } } - var r1 *autoscaling.BatchDeleteScheduledActionOutput if rf, ok := ret.Get(1).(func(*autoscaling.BatchDeleteScheduledActionInput) *autoscaling.BatchDeleteScheduledActionOutput); ok { r1 = rf(_a0) } else { @@ -311,6 +344,10 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledActionWithContext(_a0 context ret := _m.Called(_ca...) var r0 *autoscaling.BatchDeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchDeleteScheduledActionInput, ...request.Option) (*autoscaling.BatchDeleteScheduledActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchDeleteScheduledActionInput, ...request.Option) *autoscaling.BatchDeleteScheduledActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -319,7 +356,6 @@ func (_m *MockFakeAutoscaling) BatchDeleteScheduledActionWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.BatchDeleteScheduledActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -334,6 +370,10 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupAction(_a0 *autoscali ret := _m.Called(_a0) var r0 *autoscaling.BatchPutScheduledUpdateGroupActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) (*autoscaling.BatchPutScheduledUpdateGroupActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) *autoscaling.BatchPutScheduledUpdateGroupActionOutput); ok { r0 = rf(_a0) } else { @@ -342,7 +382,6 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupAction(_a0 *autoscali } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) error); ok { r1 = rf(_a0) } else { @@ -357,6 +396,10 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupActionRequest(_a0 *au ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.BatchPutScheduledUpdateGroupActionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) (*request.Request, *autoscaling.BatchPutScheduledUpdateGroupActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -365,7 +408,6 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupActionRequest(_a0 *au } } - var r1 *autoscaling.BatchPutScheduledUpdateGroupActionOutput if rf, ok := ret.Get(1).(func(*autoscaling.BatchPutScheduledUpdateGroupActionInput) *autoscaling.BatchPutScheduledUpdateGroupActionOutput); ok { r1 = rf(_a0) } else { @@ -389,6 +431,10 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupActionWithContext(_a0 ret := _m.Called(_ca...) var r0 *autoscaling.BatchPutScheduledUpdateGroupActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchPutScheduledUpdateGroupActionInput, ...request.Option) (*autoscaling.BatchPutScheduledUpdateGroupActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchPutScheduledUpdateGroupActionInput, ...request.Option) *autoscaling.BatchPutScheduledUpdateGroupActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -397,7 +443,6 @@ func (_m *MockFakeAutoscaling) BatchPutScheduledUpdateGroupActionWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.BatchPutScheduledUpdateGroupActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -412,6 +457,10 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefresh(_a0 *autoscaling.CancelInst ret := _m.Called(_a0) var r0 *autoscaling.CancelInstanceRefreshOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.CancelInstanceRefreshInput) (*autoscaling.CancelInstanceRefreshOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CancelInstanceRefreshInput) *autoscaling.CancelInstanceRefreshOutput); ok { r0 = rf(_a0) } else { @@ -420,7 +469,6 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefresh(_a0 *autoscaling.CancelInst } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.CancelInstanceRefreshInput) error); ok { r1 = rf(_a0) } else { @@ -435,6 +483,10 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefreshRequest(_a0 *autoscaling.Can ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.CancelInstanceRefreshOutput + if rf, ok := ret.Get(0).(func(*autoscaling.CancelInstanceRefreshInput) (*request.Request, *autoscaling.CancelInstanceRefreshOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CancelInstanceRefreshInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -443,7 +495,6 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefreshRequest(_a0 *autoscaling.Can } } - var r1 *autoscaling.CancelInstanceRefreshOutput if rf, ok := ret.Get(1).(func(*autoscaling.CancelInstanceRefreshInput) *autoscaling.CancelInstanceRefreshOutput); ok { r1 = rf(_a0) } else { @@ -467,6 +518,10 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefreshWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *autoscaling.CancelInstanceRefreshOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CancelInstanceRefreshInput, ...request.Option) (*autoscaling.CancelInstanceRefreshOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CancelInstanceRefreshInput, ...request.Option) *autoscaling.CancelInstanceRefreshOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -475,7 +530,6 @@ func (_m *MockFakeAutoscaling) CancelInstanceRefreshWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.CancelInstanceRefreshInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -490,6 +544,10 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleAction(_a0 *autoscaling.Complete ret := _m.Called(_a0) var r0 *autoscaling.CompleteLifecycleActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.CompleteLifecycleActionInput) (*autoscaling.CompleteLifecycleActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CompleteLifecycleActionInput) *autoscaling.CompleteLifecycleActionOutput); ok { r0 = rf(_a0) } else { @@ -498,7 +556,6 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleAction(_a0 *autoscaling.Complete } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.CompleteLifecycleActionInput) error); ok { r1 = rf(_a0) } else { @@ -513,6 +570,10 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleActionRequest(_a0 *autoscaling.C ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.CompleteLifecycleActionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.CompleteLifecycleActionInput) (*request.Request, *autoscaling.CompleteLifecycleActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CompleteLifecycleActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -521,7 +582,6 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleActionRequest(_a0 *autoscaling.C } } - var r1 *autoscaling.CompleteLifecycleActionOutput if rf, ok := ret.Get(1).(func(*autoscaling.CompleteLifecycleActionInput) *autoscaling.CompleteLifecycleActionOutput); ok { r1 = rf(_a0) } else { @@ -545,6 +605,10 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleActionWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *autoscaling.CompleteLifecycleActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CompleteLifecycleActionInput, ...request.Option) (*autoscaling.CompleteLifecycleActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CompleteLifecycleActionInput, ...request.Option) *autoscaling.CompleteLifecycleActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -553,7 +617,6 @@ func (_m *MockFakeAutoscaling) CompleteLifecycleActionWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.CompleteLifecycleActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -568,6 +631,10 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroup(_a0 *autoscaling.CreateAut ret := _m.Called(_a0) var r0 *autoscaling.CreateAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.CreateAutoScalingGroupInput) (*autoscaling.CreateAutoScalingGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateAutoScalingGroupInput) *autoscaling.CreateAutoScalingGroupOutput); ok { r0 = rf(_a0) } else { @@ -576,7 +643,6 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroup(_a0 *autoscaling.CreateAut } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.CreateAutoScalingGroupInput) error); ok { r1 = rf(_a0) } else { @@ -591,6 +657,10 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroupRequest(_a0 *autoscaling.Cr ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.CreateAutoScalingGroupOutput + if rf, ok := ret.Get(0).(func(*autoscaling.CreateAutoScalingGroupInput) (*request.Request, *autoscaling.CreateAutoScalingGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateAutoScalingGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -599,7 +669,6 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroupRequest(_a0 *autoscaling.Cr } } - var r1 *autoscaling.CreateAutoScalingGroupOutput if rf, ok := ret.Get(1).(func(*autoscaling.CreateAutoScalingGroupInput) *autoscaling.CreateAutoScalingGroupOutput); ok { r1 = rf(_a0) } else { @@ -623,6 +692,10 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *autoscaling.CreateAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateAutoScalingGroupInput, ...request.Option) (*autoscaling.CreateAutoScalingGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateAutoScalingGroupInput, ...request.Option) *autoscaling.CreateAutoScalingGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -631,7 +704,6 @@ func (_m *MockFakeAutoscaling) CreateAutoScalingGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.CreateAutoScalingGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -646,6 +718,10 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfiguration(_a0 *autoscaling.Create ret := _m.Called(_a0) var r0 *autoscaling.CreateLaunchConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.CreateLaunchConfigurationInput) (*autoscaling.CreateLaunchConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateLaunchConfigurationInput) *autoscaling.CreateLaunchConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -654,7 +730,6 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfiguration(_a0 *autoscaling.Create } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.CreateLaunchConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -669,6 +744,10 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfigurationRequest(_a0 *autoscaling ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.CreateLaunchConfigurationOutput + if rf, ok := ret.Get(0).(func(*autoscaling.CreateLaunchConfigurationInput) (*request.Request, *autoscaling.CreateLaunchConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateLaunchConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -677,7 +756,6 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfigurationRequest(_a0 *autoscaling } } - var r1 *autoscaling.CreateLaunchConfigurationOutput if rf, ok := ret.Get(1).(func(*autoscaling.CreateLaunchConfigurationInput) *autoscaling.CreateLaunchConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -701,6 +779,10 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *autoscaling.CreateLaunchConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateLaunchConfigurationInput, ...request.Option) (*autoscaling.CreateLaunchConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateLaunchConfigurationInput, ...request.Option) *autoscaling.CreateLaunchConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -709,7 +791,6 @@ func (_m *MockFakeAutoscaling) CreateLaunchConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.CreateLaunchConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -724,6 +805,10 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTags(_a0 *autoscaling.CreateOrUpdat ret := _m.Called(_a0) var r0 *autoscaling.CreateOrUpdateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.CreateOrUpdateTagsInput) (*autoscaling.CreateOrUpdateTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateOrUpdateTagsInput) *autoscaling.CreateOrUpdateTagsOutput); ok { r0 = rf(_a0) } else { @@ -732,7 +817,6 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTags(_a0 *autoscaling.CreateOrUpdat } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.CreateOrUpdateTagsInput) error); ok { r1 = rf(_a0) } else { @@ -747,6 +831,10 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTagsRequest(_a0 *autoscaling.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.CreateOrUpdateTagsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.CreateOrUpdateTagsInput) (*request.Request, *autoscaling.CreateOrUpdateTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.CreateOrUpdateTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -755,7 +843,6 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTagsRequest(_a0 *autoscaling.Create } } - var r1 *autoscaling.CreateOrUpdateTagsOutput if rf, ok := ret.Get(1).(func(*autoscaling.CreateOrUpdateTagsInput) *autoscaling.CreateOrUpdateTagsOutput); ok { r1 = rf(_a0) } else { @@ -779,6 +866,10 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTagsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *autoscaling.CreateOrUpdateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateOrUpdateTagsInput, ...request.Option) (*autoscaling.CreateOrUpdateTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateOrUpdateTagsInput, ...request.Option) *autoscaling.CreateOrUpdateTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -787,7 +878,6 @@ func (_m *MockFakeAutoscaling) CreateOrUpdateTagsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.CreateOrUpdateTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -802,6 +892,10 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroup(_a0 *autoscaling.DeleteAut ret := _m.Called(_a0) var r0 *autoscaling.DeleteAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteAutoScalingGroupInput) (*autoscaling.DeleteAutoScalingGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteAutoScalingGroupInput) *autoscaling.DeleteAutoScalingGroupOutput); ok { r0 = rf(_a0) } else { @@ -810,7 +904,6 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroup(_a0 *autoscaling.DeleteAut } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteAutoScalingGroupInput) error); ok { r1 = rf(_a0) } else { @@ -825,6 +918,10 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroupRequest(_a0 *autoscaling.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteAutoScalingGroupOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteAutoScalingGroupInput) (*request.Request, *autoscaling.DeleteAutoScalingGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteAutoScalingGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -833,7 +930,6 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroupRequest(_a0 *autoscaling.De } } - var r1 *autoscaling.DeleteAutoScalingGroupOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteAutoScalingGroupInput) *autoscaling.DeleteAutoScalingGroupOutput); ok { r1 = rf(_a0) } else { @@ -857,6 +953,10 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *autoscaling.DeleteAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteAutoScalingGroupInput, ...request.Option) (*autoscaling.DeleteAutoScalingGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteAutoScalingGroupInput, ...request.Option) *autoscaling.DeleteAutoScalingGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -865,7 +965,6 @@ func (_m *MockFakeAutoscaling) DeleteAutoScalingGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteAutoScalingGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -880,6 +979,10 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfiguration(_a0 *autoscaling.Delete ret := _m.Called(_a0) var r0 *autoscaling.DeleteLaunchConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLaunchConfigurationInput) (*autoscaling.DeleteLaunchConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLaunchConfigurationInput) *autoscaling.DeleteLaunchConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -888,7 +991,6 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfiguration(_a0 *autoscaling.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteLaunchConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -903,6 +1005,10 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfigurationRequest(_a0 *autoscaling ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteLaunchConfigurationOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLaunchConfigurationInput) (*request.Request, *autoscaling.DeleteLaunchConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLaunchConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -911,7 +1017,6 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfigurationRequest(_a0 *autoscaling } } - var r1 *autoscaling.DeleteLaunchConfigurationOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteLaunchConfigurationInput) *autoscaling.DeleteLaunchConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -935,6 +1040,10 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *autoscaling.DeleteLaunchConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLaunchConfigurationInput, ...request.Option) (*autoscaling.DeleteLaunchConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLaunchConfigurationInput, ...request.Option) *autoscaling.DeleteLaunchConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -943,7 +1052,6 @@ func (_m *MockFakeAutoscaling) DeleteLaunchConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteLaunchConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -958,6 +1066,10 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHook(_a0 *autoscaling.DeleteLifecy ret := _m.Called(_a0) var r0 *autoscaling.DeleteLifecycleHookOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLifecycleHookInput) (*autoscaling.DeleteLifecycleHookOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLifecycleHookInput) *autoscaling.DeleteLifecycleHookOutput); ok { r0 = rf(_a0) } else { @@ -966,7 +1078,6 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHook(_a0 *autoscaling.DeleteLifecy } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteLifecycleHookInput) error); ok { r1 = rf(_a0) } else { @@ -981,6 +1092,10 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHookRequest(_a0 *autoscaling.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteLifecycleHookOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLifecycleHookInput) (*request.Request, *autoscaling.DeleteLifecycleHookOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteLifecycleHookInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -989,7 +1104,6 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHookRequest(_a0 *autoscaling.Delet } } - var r1 *autoscaling.DeleteLifecycleHookOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteLifecycleHookInput) *autoscaling.DeleteLifecycleHookOutput); ok { r1 = rf(_a0) } else { @@ -1013,6 +1127,10 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHookWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *autoscaling.DeleteLifecycleHookOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLifecycleHookInput, ...request.Option) (*autoscaling.DeleteLifecycleHookOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLifecycleHookInput, ...request.Option) *autoscaling.DeleteLifecycleHookOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1021,7 +1139,6 @@ func (_m *MockFakeAutoscaling) DeleteLifecycleHookWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteLifecycleHookInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1036,6 +1153,10 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfiguration(_a0 *autoscaling. ret := _m.Called(_a0) var r0 *autoscaling.DeleteNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteNotificationConfigurationInput) (*autoscaling.DeleteNotificationConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteNotificationConfigurationInput) *autoscaling.DeleteNotificationConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1044,7 +1165,6 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfiguration(_a0 *autoscaling. } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteNotificationConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1059,6 +1179,10 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfigurationRequest(_a0 *autos ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteNotificationConfigurationOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteNotificationConfigurationInput) (*request.Request, *autoscaling.DeleteNotificationConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteNotificationConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1067,7 +1191,6 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfigurationRequest(_a0 *autos } } - var r1 *autoscaling.DeleteNotificationConfigurationOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteNotificationConfigurationInput) *autoscaling.DeleteNotificationConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1091,6 +1214,10 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfigurationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *autoscaling.DeleteNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteNotificationConfigurationInput, ...request.Option) (*autoscaling.DeleteNotificationConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteNotificationConfigurationInput, ...request.Option) *autoscaling.DeleteNotificationConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1099,7 +1226,6 @@ func (_m *MockFakeAutoscaling) DeleteNotificationConfigurationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteNotificationConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1114,6 +1240,10 @@ func (_m *MockFakeAutoscaling) DeletePolicy(_a0 *autoscaling.DeletePolicyInput) ret := _m.Called(_a0) var r0 *autoscaling.DeletePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeletePolicyInput) (*autoscaling.DeletePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeletePolicyInput) *autoscaling.DeletePolicyOutput); ok { r0 = rf(_a0) } else { @@ -1122,7 +1252,6 @@ func (_m *MockFakeAutoscaling) DeletePolicy(_a0 *autoscaling.DeletePolicyInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeletePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1137,6 +1266,10 @@ func (_m *MockFakeAutoscaling) DeletePolicyRequest(_a0 *autoscaling.DeletePolicy ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeletePolicyOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeletePolicyInput) (*request.Request, *autoscaling.DeletePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeletePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1145,7 +1278,6 @@ func (_m *MockFakeAutoscaling) DeletePolicyRequest(_a0 *autoscaling.DeletePolicy } } - var r1 *autoscaling.DeletePolicyOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeletePolicyInput) *autoscaling.DeletePolicyOutput); ok { r1 = rf(_a0) } else { @@ -1169,6 +1301,10 @@ func (_m *MockFakeAutoscaling) DeletePolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *autoscaling.DeletePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeletePolicyInput, ...request.Option) (*autoscaling.DeletePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeletePolicyInput, ...request.Option) *autoscaling.DeletePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1177,7 +1313,6 @@ func (_m *MockFakeAutoscaling) DeletePolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeletePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1192,6 +1327,10 @@ func (_m *MockFakeAutoscaling) DeleteScheduledAction(_a0 *autoscaling.DeleteSche ret := _m.Called(_a0) var r0 *autoscaling.DeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteScheduledActionInput) (*autoscaling.DeleteScheduledActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteScheduledActionInput) *autoscaling.DeleteScheduledActionOutput); ok { r0 = rf(_a0) } else { @@ -1200,7 +1339,6 @@ func (_m *MockFakeAutoscaling) DeleteScheduledAction(_a0 *autoscaling.DeleteSche } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteScheduledActionInput) error); ok { r1 = rf(_a0) } else { @@ -1215,6 +1353,10 @@ func (_m *MockFakeAutoscaling) DeleteScheduledActionRequest(_a0 *autoscaling.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteScheduledActionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteScheduledActionInput) (*request.Request, *autoscaling.DeleteScheduledActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteScheduledActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1223,7 +1365,6 @@ func (_m *MockFakeAutoscaling) DeleteScheduledActionRequest(_a0 *autoscaling.Del } } - var r1 *autoscaling.DeleteScheduledActionOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteScheduledActionInput) *autoscaling.DeleteScheduledActionOutput); ok { r1 = rf(_a0) } else { @@ -1247,6 +1388,10 @@ func (_m *MockFakeAutoscaling) DeleteScheduledActionWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *autoscaling.DeleteScheduledActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteScheduledActionInput, ...request.Option) (*autoscaling.DeleteScheduledActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteScheduledActionInput, ...request.Option) *autoscaling.DeleteScheduledActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1255,7 +1400,6 @@ func (_m *MockFakeAutoscaling) DeleteScheduledActionWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteScheduledActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1270,6 +1414,10 @@ func (_m *MockFakeAutoscaling) DeleteTags(_a0 *autoscaling.DeleteTagsInput) (*au ret := _m.Called(_a0) var r0 *autoscaling.DeleteTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteTagsInput) (*autoscaling.DeleteTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteTagsInput) *autoscaling.DeleteTagsOutput); ok { r0 = rf(_a0) } else { @@ -1278,7 +1426,6 @@ func (_m *MockFakeAutoscaling) DeleteTags(_a0 *autoscaling.DeleteTagsInput) (*au } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteTagsInput) error); ok { r1 = rf(_a0) } else { @@ -1293,6 +1440,10 @@ func (_m *MockFakeAutoscaling) DeleteTagsRequest(_a0 *autoscaling.DeleteTagsInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteTagsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteTagsInput) (*request.Request, *autoscaling.DeleteTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1301,7 +1452,6 @@ func (_m *MockFakeAutoscaling) DeleteTagsRequest(_a0 *autoscaling.DeleteTagsInpu } } - var r1 *autoscaling.DeleteTagsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteTagsInput) *autoscaling.DeleteTagsOutput); ok { r1 = rf(_a0) } else { @@ -1325,6 +1475,10 @@ func (_m *MockFakeAutoscaling) DeleteTagsWithContext(_a0 context.Context, _a1 *a ret := _m.Called(_ca...) var r0 *autoscaling.DeleteTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteTagsInput, ...request.Option) (*autoscaling.DeleteTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteTagsInput, ...request.Option) *autoscaling.DeleteTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1333,7 +1487,6 @@ func (_m *MockFakeAutoscaling) DeleteTagsWithContext(_a0 context.Context, _a1 *a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1348,6 +1501,10 @@ func (_m *MockFakeAutoscaling) DeleteWarmPool(_a0 *autoscaling.DeleteWarmPoolInp ret := _m.Called(_a0) var r0 *autoscaling.DeleteWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteWarmPoolInput) (*autoscaling.DeleteWarmPoolOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteWarmPoolInput) *autoscaling.DeleteWarmPoolOutput); ok { r0 = rf(_a0) } else { @@ -1356,7 +1513,6 @@ func (_m *MockFakeAutoscaling) DeleteWarmPool(_a0 *autoscaling.DeleteWarmPoolInp } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DeleteWarmPoolInput) error); ok { r1 = rf(_a0) } else { @@ -1371,6 +1527,10 @@ func (_m *MockFakeAutoscaling) DeleteWarmPoolRequest(_a0 *autoscaling.DeleteWarm ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DeleteWarmPoolOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DeleteWarmPoolInput) (*request.Request, *autoscaling.DeleteWarmPoolOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DeleteWarmPoolInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1379,7 +1539,6 @@ func (_m *MockFakeAutoscaling) DeleteWarmPoolRequest(_a0 *autoscaling.DeleteWarm } } - var r1 *autoscaling.DeleteWarmPoolOutput if rf, ok := ret.Get(1).(func(*autoscaling.DeleteWarmPoolInput) *autoscaling.DeleteWarmPoolOutput); ok { r1 = rf(_a0) } else { @@ -1403,6 +1562,10 @@ func (_m *MockFakeAutoscaling) DeleteWarmPoolWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *autoscaling.DeleteWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteWarmPoolInput, ...request.Option) (*autoscaling.DeleteWarmPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteWarmPoolInput, ...request.Option) *autoscaling.DeleteWarmPoolOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1411,7 +1574,6 @@ func (_m *MockFakeAutoscaling) DeleteWarmPoolWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DeleteWarmPoolInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1426,6 +1588,10 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimits(_a0 *autoscaling.DescribeAc ret := _m.Called(_a0) var r0 *autoscaling.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAccountLimitsInput) (*autoscaling.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAccountLimitsInput) *autoscaling.DescribeAccountLimitsOutput); ok { r0 = rf(_a0) } else { @@ -1434,7 +1600,6 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimits(_a0 *autoscaling.DescribeAc } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAccountLimitsInput) error); ok { r1 = rf(_a0) } else { @@ -1449,6 +1614,10 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimitsRequest(_a0 *autoscaling.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeAccountLimitsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAccountLimitsInput) (*request.Request, *autoscaling.DescribeAccountLimitsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAccountLimitsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1457,7 +1626,6 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimitsRequest(_a0 *autoscaling.Des } } - var r1 *autoscaling.DescribeAccountLimitsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAccountLimitsInput) *autoscaling.DescribeAccountLimitsOutput); ok { r1 = rf(_a0) } else { @@ -1481,6 +1649,10 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimitsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *autoscaling.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAccountLimitsInput, ...request.Option) (*autoscaling.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAccountLimitsInput, ...request.Option) *autoscaling.DescribeAccountLimitsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1489,7 +1661,6 @@ func (_m *MockFakeAutoscaling) DescribeAccountLimitsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeAccountLimitsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1504,6 +1675,10 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypes(_a0 *autoscaling.Describe ret := _m.Called(_a0) var r0 *autoscaling.DescribeAdjustmentTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAdjustmentTypesInput) (*autoscaling.DescribeAdjustmentTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAdjustmentTypesInput) *autoscaling.DescribeAdjustmentTypesOutput); ok { r0 = rf(_a0) } else { @@ -1512,7 +1687,6 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypes(_a0 *autoscaling.Describe } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAdjustmentTypesInput) error); ok { r1 = rf(_a0) } else { @@ -1527,6 +1701,10 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypesRequest(_a0 *autoscaling.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeAdjustmentTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAdjustmentTypesInput) (*request.Request, *autoscaling.DescribeAdjustmentTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAdjustmentTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1535,7 +1713,6 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypesRequest(_a0 *autoscaling.D } } - var r1 *autoscaling.DescribeAdjustmentTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAdjustmentTypesInput) *autoscaling.DescribeAdjustmentTypesOutput); ok { r1 = rf(_a0) } else { @@ -1559,6 +1736,10 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *autoscaling.DescribeAdjustmentTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAdjustmentTypesInput, ...request.Option) (*autoscaling.DescribeAdjustmentTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAdjustmentTypesInput, ...request.Option) *autoscaling.DescribeAdjustmentTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1567,7 +1748,6 @@ func (_m *MockFakeAutoscaling) DescribeAdjustmentTypesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeAdjustmentTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1582,6 +1762,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroups(_a0 *autoscaling.Descri ret := _m.Called(_a0) var r0 *autoscaling.DescribeAutoScalingGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingGroupsInput) (*autoscaling.DescribeAutoScalingGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingGroupsInput) *autoscaling.DescribeAutoScalingGroupsOutput); ok { r0 = rf(_a0) } else { @@ -1590,7 +1774,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroups(_a0 *autoscaling.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -1640,6 +1823,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroupsRequest(_a0 *autoscaling ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeAutoScalingGroupsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingGroupsInput) (*request.Request, *autoscaling.DescribeAutoScalingGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1648,7 +1835,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroupsRequest(_a0 *autoscaling } } - var r1 *autoscaling.DescribeAutoScalingGroupsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingGroupsInput) *autoscaling.DescribeAutoScalingGroupsOutput); ok { r1 = rf(_a0) } else { @@ -1672,6 +1858,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroupsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *autoscaling.DescribeAutoScalingGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingGroupsInput, ...request.Option) (*autoscaling.DescribeAutoScalingGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingGroupsInput, ...request.Option) *autoscaling.DescribeAutoScalingGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1680,7 +1870,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingGroupsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeAutoScalingGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1695,6 +1884,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstances(_a0 *autoscaling.Des ret := _m.Called(_a0) var r0 *autoscaling.DescribeAutoScalingInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingInstancesInput) (*autoscaling.DescribeAutoScalingInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingInstancesInput) *autoscaling.DescribeAutoScalingInstancesOutput); ok { r0 = rf(_a0) } else { @@ -1703,7 +1896,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstances(_a0 *autoscaling.Des } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -1753,6 +1945,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstancesRequest(_a0 *autoscal ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeAutoScalingInstancesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingInstancesInput) (*request.Request, *autoscaling.DescribeAutoScalingInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1761,7 +1957,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstancesRequest(_a0 *autoscal } } - var r1 *autoscaling.DescribeAutoScalingInstancesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingInstancesInput) *autoscaling.DescribeAutoScalingInstancesOutput); ok { r1 = rf(_a0) } else { @@ -1785,6 +1980,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstancesWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *autoscaling.DescribeAutoScalingInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingInstancesInput, ...request.Option) (*autoscaling.DescribeAutoScalingInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingInstancesInput, ...request.Option) *autoscaling.DescribeAutoScalingInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1793,7 +1992,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingInstancesWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeAutoScalingInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1808,6 +2006,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypes(_a0 *autosca ret := _m.Called(_a0) var r0 *autoscaling.DescribeAutoScalingNotificationTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) (*autoscaling.DescribeAutoScalingNotificationTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) *autoscaling.DescribeAutoScalingNotificationTypesOutput); ok { r0 = rf(_a0) } else { @@ -1816,7 +2018,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypes(_a0 *autosca } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) error); ok { r1 = rf(_a0) } else { @@ -1831,6 +2032,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypesRequest(_a0 * ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeAutoScalingNotificationTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) (*request.Request, *autoscaling.DescribeAutoScalingNotificationTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1839,7 +2044,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypesRequest(_a0 * } } - var r1 *autoscaling.DescribeAutoScalingNotificationTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeAutoScalingNotificationTypesInput) *autoscaling.DescribeAutoScalingNotificationTypesOutput); ok { r1 = rf(_a0) } else { @@ -1863,6 +2067,10 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypesWithContext(_ ret := _m.Called(_ca...) var r0 *autoscaling.DescribeAutoScalingNotificationTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingNotificationTypesInput, ...request.Option) (*autoscaling.DescribeAutoScalingNotificationTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingNotificationTypesInput, ...request.Option) *autoscaling.DescribeAutoScalingNotificationTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1871,7 +2079,6 @@ func (_m *MockFakeAutoscaling) DescribeAutoScalingNotificationTypesWithContext(_ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeAutoScalingNotificationTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1886,6 +2093,10 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshes(_a0 *autoscaling.Descri ret := _m.Called(_a0) var r0 *autoscaling.DescribeInstanceRefreshesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeInstanceRefreshesInput) (*autoscaling.DescribeInstanceRefreshesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeInstanceRefreshesInput) *autoscaling.DescribeInstanceRefreshesOutput); ok { r0 = rf(_a0) } else { @@ -1894,7 +2105,6 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshes(_a0 *autoscaling.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeInstanceRefreshesInput) error); ok { r1 = rf(_a0) } else { @@ -1909,6 +2119,10 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshesRequest(_a0 *autoscaling ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeInstanceRefreshesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeInstanceRefreshesInput) (*request.Request, *autoscaling.DescribeInstanceRefreshesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeInstanceRefreshesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1917,7 +2131,6 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshesRequest(_a0 *autoscaling } } - var r1 *autoscaling.DescribeInstanceRefreshesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeInstanceRefreshesInput) *autoscaling.DescribeInstanceRefreshesOutput); ok { r1 = rf(_a0) } else { @@ -1941,6 +2154,10 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshesWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *autoscaling.DescribeInstanceRefreshesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeInstanceRefreshesInput, ...request.Option) (*autoscaling.DescribeInstanceRefreshesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeInstanceRefreshesInput, ...request.Option) *autoscaling.DescribeInstanceRefreshesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1949,7 +2166,6 @@ func (_m *MockFakeAutoscaling) DescribeInstanceRefreshesWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeInstanceRefreshesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1964,6 +2180,10 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurations(_a0 *autoscaling.Des ret := _m.Called(_a0) var r0 *autoscaling.DescribeLaunchConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLaunchConfigurationsInput) (*autoscaling.DescribeLaunchConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLaunchConfigurationsInput) *autoscaling.DescribeLaunchConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -1972,7 +2192,6 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurations(_a0 *autoscaling.Des } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLaunchConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -2022,6 +2241,10 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurationsRequest(_a0 *autoscal ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeLaunchConfigurationsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLaunchConfigurationsInput) (*request.Request, *autoscaling.DescribeLaunchConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLaunchConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2030,7 +2253,6 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurationsRequest(_a0 *autoscal } } - var r1 *autoscaling.DescribeLaunchConfigurationsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLaunchConfigurationsInput) *autoscaling.DescribeLaunchConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -2054,6 +2276,10 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurationsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *autoscaling.DescribeLaunchConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLaunchConfigurationsInput, ...request.Option) (*autoscaling.DescribeLaunchConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLaunchConfigurationsInput, ...request.Option) *autoscaling.DescribeLaunchConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2062,7 +2288,6 @@ func (_m *MockFakeAutoscaling) DescribeLaunchConfigurationsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeLaunchConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2077,6 +2302,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypes(_a0 *autoscaling.Descr ret := _m.Called(_a0) var r0 *autoscaling.DescribeLifecycleHookTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHookTypesInput) (*autoscaling.DescribeLifecycleHookTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHookTypesInput) *autoscaling.DescribeLifecycleHookTypesOutput); ok { r0 = rf(_a0) } else { @@ -2085,7 +2314,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypes(_a0 *autoscaling.Descr } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLifecycleHookTypesInput) error); ok { r1 = rf(_a0) } else { @@ -2100,6 +2328,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypesRequest(_a0 *autoscalin ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeLifecycleHookTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHookTypesInput) (*request.Request, *autoscaling.DescribeLifecycleHookTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHookTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2108,7 +2340,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypesRequest(_a0 *autoscalin } } - var r1 *autoscaling.DescribeLifecycleHookTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLifecycleHookTypesInput) *autoscaling.DescribeLifecycleHookTypesOutput); ok { r1 = rf(_a0) } else { @@ -2132,6 +2363,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypesWithContext(_a0 context ret := _m.Called(_ca...) var r0 *autoscaling.DescribeLifecycleHookTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHookTypesInput, ...request.Option) (*autoscaling.DescribeLifecycleHookTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHookTypesInput, ...request.Option) *autoscaling.DescribeLifecycleHookTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2140,7 +2375,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHookTypesWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeLifecycleHookTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2155,6 +2389,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooks(_a0 *autoscaling.DescribeL ret := _m.Called(_a0) var r0 *autoscaling.DescribeLifecycleHooksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHooksInput) (*autoscaling.DescribeLifecycleHooksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHooksInput) *autoscaling.DescribeLifecycleHooksOutput); ok { r0 = rf(_a0) } else { @@ -2163,7 +2401,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooks(_a0 *autoscaling.DescribeL } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLifecycleHooksInput) error); ok { r1 = rf(_a0) } else { @@ -2178,6 +2415,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooksRequest(_a0 *autoscaling.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeLifecycleHooksOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHooksInput) (*request.Request, *autoscaling.DescribeLifecycleHooksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLifecycleHooksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2186,7 +2427,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooksRequest(_a0 *autoscaling.De } } - var r1 *autoscaling.DescribeLifecycleHooksOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLifecycleHooksInput) *autoscaling.DescribeLifecycleHooksOutput); ok { r1 = rf(_a0) } else { @@ -2210,6 +2450,10 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooksWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *autoscaling.DescribeLifecycleHooksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHooksInput, ...request.Option) (*autoscaling.DescribeLifecycleHooksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHooksInput, ...request.Option) *autoscaling.DescribeLifecycleHooksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2218,7 +2462,6 @@ func (_m *MockFakeAutoscaling) DescribeLifecycleHooksWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeLifecycleHooksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2233,6 +2476,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroups(_a0 *autoscaling ret := _m.Called(_a0) var r0 *autoscaling.DescribeLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) (*autoscaling.DescribeLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) *autoscaling.DescribeLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2241,7 +2488,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroups(_a0 *autoscaling } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -2256,6 +2502,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroupsRequest(_a0 *auto ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeLoadBalancerTargetGroupsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) (*request.Request, *autoscaling.DescribeLoadBalancerTargetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2264,7 +2514,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroupsRequest(_a0 *auto } } - var r1 *autoscaling.DescribeLoadBalancerTargetGroupsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLoadBalancerTargetGroupsInput) *autoscaling.DescribeLoadBalancerTargetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -2288,6 +2537,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroupsWithContext(_a0 c ret := _m.Called(_ca...) var r0 *autoscaling.DescribeLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancerTargetGroupsInput, ...request.Option) (*autoscaling.DescribeLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancerTargetGroupsInput, ...request.Option) *autoscaling.DescribeLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2296,7 +2549,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancerTargetGroupsWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeLoadBalancerTargetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2311,6 +2563,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancers(_a0 *autoscaling.DescribeLo ret := _m.Called(_a0) var r0 *autoscaling.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancersInput) (*autoscaling.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancersInput) *autoscaling.DescribeLoadBalancersOutput); ok { r0 = rf(_a0) } else { @@ -2319,7 +2575,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancers(_a0 *autoscaling.DescribeLo } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLoadBalancersInput) error); ok { r1 = rf(_a0) } else { @@ -2334,6 +2589,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancersRequest(_a0 *autoscaling.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeLoadBalancersOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancersInput) (*request.Request, *autoscaling.DescribeLoadBalancersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeLoadBalancersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2342,7 +2601,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancersRequest(_a0 *autoscaling.Des } } - var r1 *autoscaling.DescribeLoadBalancersOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeLoadBalancersInput) *autoscaling.DescribeLoadBalancersOutput); ok { r1 = rf(_a0) } else { @@ -2366,6 +2624,10 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancersWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *autoscaling.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancersInput, ...request.Option) (*autoscaling.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancersInput, ...request.Option) *autoscaling.DescribeLoadBalancersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2374,7 +2636,6 @@ func (_m *MockFakeAutoscaling) DescribeLoadBalancersWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeLoadBalancersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2389,6 +2650,10 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypes(_a0 *autoscaling.De ret := _m.Called(_a0) var r0 *autoscaling.DescribeMetricCollectionTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeMetricCollectionTypesInput) (*autoscaling.DescribeMetricCollectionTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeMetricCollectionTypesInput) *autoscaling.DescribeMetricCollectionTypesOutput); ok { r0 = rf(_a0) } else { @@ -2397,7 +2662,6 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypes(_a0 *autoscaling.De } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeMetricCollectionTypesInput) error); ok { r1 = rf(_a0) } else { @@ -2412,6 +2676,10 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypesRequest(_a0 *autosca ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeMetricCollectionTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeMetricCollectionTypesInput) (*request.Request, *autoscaling.DescribeMetricCollectionTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeMetricCollectionTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2420,7 +2688,6 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypesRequest(_a0 *autosca } } - var r1 *autoscaling.DescribeMetricCollectionTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeMetricCollectionTypesInput) *autoscaling.DescribeMetricCollectionTypesOutput); ok { r1 = rf(_a0) } else { @@ -2444,6 +2711,10 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypesWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *autoscaling.DescribeMetricCollectionTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeMetricCollectionTypesInput, ...request.Option) (*autoscaling.DescribeMetricCollectionTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeMetricCollectionTypesInput, ...request.Option) *autoscaling.DescribeMetricCollectionTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2452,7 +2723,6 @@ func (_m *MockFakeAutoscaling) DescribeMetricCollectionTypesWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeMetricCollectionTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2467,6 +2737,10 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurations(_a0 *autoscali ret := _m.Called(_a0) var r0 *autoscaling.DescribeNotificationConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeNotificationConfigurationsInput) (*autoscaling.DescribeNotificationConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeNotificationConfigurationsInput) *autoscaling.DescribeNotificationConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -2475,7 +2749,6 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurations(_a0 *autoscali } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeNotificationConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -2525,6 +2798,10 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurationsRequest(_a0 *au ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeNotificationConfigurationsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeNotificationConfigurationsInput) (*request.Request, *autoscaling.DescribeNotificationConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeNotificationConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2533,7 +2810,6 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurationsRequest(_a0 *au } } - var r1 *autoscaling.DescribeNotificationConfigurationsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeNotificationConfigurationsInput) *autoscaling.DescribeNotificationConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -2557,6 +2833,10 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurationsWithContext(_a0 ret := _m.Called(_ca...) var r0 *autoscaling.DescribeNotificationConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeNotificationConfigurationsInput, ...request.Option) (*autoscaling.DescribeNotificationConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeNotificationConfigurationsInput, ...request.Option) *autoscaling.DescribeNotificationConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2565,7 +2845,6 @@ func (_m *MockFakeAutoscaling) DescribeNotificationConfigurationsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeNotificationConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2580,6 +2859,10 @@ func (_m *MockFakeAutoscaling) DescribePolicies(_a0 *autoscaling.DescribePolicie ret := _m.Called(_a0) var r0 *autoscaling.DescribePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribePoliciesInput) (*autoscaling.DescribePoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribePoliciesInput) *autoscaling.DescribePoliciesOutput); ok { r0 = rf(_a0) } else { @@ -2588,7 +2871,6 @@ func (_m *MockFakeAutoscaling) DescribePolicies(_a0 *autoscaling.DescribePolicie } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribePoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -2638,6 +2920,10 @@ func (_m *MockFakeAutoscaling) DescribePoliciesRequest(_a0 *autoscaling.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribePoliciesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribePoliciesInput) (*request.Request, *autoscaling.DescribePoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribePoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2646,7 +2932,6 @@ func (_m *MockFakeAutoscaling) DescribePoliciesRequest(_a0 *autoscaling.Describe } } - var r1 *autoscaling.DescribePoliciesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribePoliciesInput) *autoscaling.DescribePoliciesOutput); ok { r1 = rf(_a0) } else { @@ -2670,6 +2955,10 @@ func (_m *MockFakeAutoscaling) DescribePoliciesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.DescribePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribePoliciesInput, ...request.Option) (*autoscaling.DescribePoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribePoliciesInput, ...request.Option) *autoscaling.DescribePoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2678,7 +2967,6 @@ func (_m *MockFakeAutoscaling) DescribePoliciesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribePoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2693,6 +2981,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivities(_a0 *autoscaling.Descri ret := _m.Called(_a0) var r0 *autoscaling.DescribeScalingActivitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingActivitiesInput) (*autoscaling.DescribeScalingActivitiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingActivitiesInput) *autoscaling.DescribeScalingActivitiesOutput); ok { r0 = rf(_a0) } else { @@ -2701,7 +2993,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivities(_a0 *autoscaling.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScalingActivitiesInput) error); ok { r1 = rf(_a0) } else { @@ -2751,6 +3042,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivitiesRequest(_a0 *autoscaling ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeScalingActivitiesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingActivitiesInput) (*request.Request, *autoscaling.DescribeScalingActivitiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingActivitiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2759,7 +3054,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivitiesRequest(_a0 *autoscaling } } - var r1 *autoscaling.DescribeScalingActivitiesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScalingActivitiesInput) *autoscaling.DescribeScalingActivitiesOutput); ok { r1 = rf(_a0) } else { @@ -2783,6 +3077,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivitiesWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *autoscaling.DescribeScalingActivitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingActivitiesInput, ...request.Option) (*autoscaling.DescribeScalingActivitiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingActivitiesInput, ...request.Option) *autoscaling.DescribeScalingActivitiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2791,7 +3089,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingActivitiesWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeScalingActivitiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2806,6 +3103,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypes(_a0 *autoscaling.Desc ret := _m.Called(_a0) var r0 *autoscaling.DescribeScalingProcessTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingProcessTypesInput) (*autoscaling.DescribeScalingProcessTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingProcessTypesInput) *autoscaling.DescribeScalingProcessTypesOutput); ok { r0 = rf(_a0) } else { @@ -2814,7 +3115,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypes(_a0 *autoscaling.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScalingProcessTypesInput) error); ok { r1 = rf(_a0) } else { @@ -2829,6 +3129,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypesRequest(_a0 *autoscali ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeScalingProcessTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingProcessTypesInput) (*request.Request, *autoscaling.DescribeScalingProcessTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScalingProcessTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2837,7 +3141,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypesRequest(_a0 *autoscali } } - var r1 *autoscaling.DescribeScalingProcessTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScalingProcessTypesInput) *autoscaling.DescribeScalingProcessTypesOutput); ok { r1 = rf(_a0) } else { @@ -2861,6 +3164,10 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypesWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *autoscaling.DescribeScalingProcessTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingProcessTypesInput, ...request.Option) (*autoscaling.DescribeScalingProcessTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingProcessTypesInput, ...request.Option) *autoscaling.DescribeScalingProcessTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2869,7 +3176,6 @@ func (_m *MockFakeAutoscaling) DescribeScalingProcessTypesWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeScalingProcessTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2884,6 +3190,10 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActions(_a0 *autoscaling.Describ ret := _m.Called(_a0) var r0 *autoscaling.DescribeScheduledActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScheduledActionsInput) (*autoscaling.DescribeScheduledActionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScheduledActionsInput) *autoscaling.DescribeScheduledActionsOutput); ok { r0 = rf(_a0) } else { @@ -2892,7 +3202,6 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActions(_a0 *autoscaling.Describ } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScheduledActionsInput) error); ok { r1 = rf(_a0) } else { @@ -2942,6 +3251,10 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActionsRequest(_a0 *autoscaling. ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeScheduledActionsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScheduledActionsInput) (*request.Request, *autoscaling.DescribeScheduledActionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeScheduledActionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2950,7 +3263,6 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActionsRequest(_a0 *autoscaling. } } - var r1 *autoscaling.DescribeScheduledActionsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeScheduledActionsInput) *autoscaling.DescribeScheduledActionsOutput); ok { r1 = rf(_a0) } else { @@ -2974,6 +3286,10 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActionsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *autoscaling.DescribeScheduledActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScheduledActionsInput, ...request.Option) (*autoscaling.DescribeScheduledActionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScheduledActionsInput, ...request.Option) *autoscaling.DescribeScheduledActionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2982,7 +3298,6 @@ func (_m *MockFakeAutoscaling) DescribeScheduledActionsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeScheduledActionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2997,6 +3312,10 @@ func (_m *MockFakeAutoscaling) DescribeTags(_a0 *autoscaling.DescribeTagsInput) ret := _m.Called(_a0) var r0 *autoscaling.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTagsInput) (*autoscaling.DescribeTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTagsInput) *autoscaling.DescribeTagsOutput); ok { r0 = rf(_a0) } else { @@ -3005,7 +3324,6 @@ func (_m *MockFakeAutoscaling) DescribeTags(_a0 *autoscaling.DescribeTagsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeTagsInput) error); ok { r1 = rf(_a0) } else { @@ -3055,6 +3373,10 @@ func (_m *MockFakeAutoscaling) DescribeTagsRequest(_a0 *autoscaling.DescribeTags ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeTagsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTagsInput) (*request.Request, *autoscaling.DescribeTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3063,7 +3385,6 @@ func (_m *MockFakeAutoscaling) DescribeTagsRequest(_a0 *autoscaling.DescribeTags } } - var r1 *autoscaling.DescribeTagsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeTagsInput) *autoscaling.DescribeTagsOutput); ok { r1 = rf(_a0) } else { @@ -3087,6 +3408,10 @@ func (_m *MockFakeAutoscaling) DescribeTagsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *autoscaling.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTagsInput, ...request.Option) (*autoscaling.DescribeTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTagsInput, ...request.Option) *autoscaling.DescribeTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3095,7 +3420,6 @@ func (_m *MockFakeAutoscaling) DescribeTagsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3110,6 +3434,10 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypes(_a0 *autoscaling.D ret := _m.Called(_a0) var r0 *autoscaling.DescribeTerminationPolicyTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTerminationPolicyTypesInput) (*autoscaling.DescribeTerminationPolicyTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTerminationPolicyTypesInput) *autoscaling.DescribeTerminationPolicyTypesOutput); ok { r0 = rf(_a0) } else { @@ -3118,7 +3446,6 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypes(_a0 *autoscaling.D } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeTerminationPolicyTypesInput) error); ok { r1 = rf(_a0) } else { @@ -3133,6 +3460,10 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypesRequest(_a0 *autosc ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeTerminationPolicyTypesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTerminationPolicyTypesInput) (*request.Request, *autoscaling.DescribeTerminationPolicyTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeTerminationPolicyTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3141,7 +3472,6 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypesRequest(_a0 *autosc } } - var r1 *autoscaling.DescribeTerminationPolicyTypesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeTerminationPolicyTypesInput) *autoscaling.DescribeTerminationPolicyTypesOutput); ok { r1 = rf(_a0) } else { @@ -3165,6 +3495,10 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypesWithContext(_a0 con ret := _m.Called(_ca...) var r0 *autoscaling.DescribeTerminationPolicyTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTerminationPolicyTypesInput, ...request.Option) (*autoscaling.DescribeTerminationPolicyTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTerminationPolicyTypesInput, ...request.Option) *autoscaling.DescribeTerminationPolicyTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3173,7 +3507,6 @@ func (_m *MockFakeAutoscaling) DescribeTerminationPolicyTypesWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeTerminationPolicyTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3188,6 +3521,10 @@ func (_m *MockFakeAutoscaling) DescribeWarmPool(_a0 *autoscaling.DescribeWarmPoo ret := _m.Called(_a0) var r0 *autoscaling.DescribeWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeWarmPoolInput) (*autoscaling.DescribeWarmPoolOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeWarmPoolInput) *autoscaling.DescribeWarmPoolOutput); ok { r0 = rf(_a0) } else { @@ -3196,7 +3533,6 @@ func (_m *MockFakeAutoscaling) DescribeWarmPool(_a0 *autoscaling.DescribeWarmPoo } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DescribeWarmPoolInput) error); ok { r1 = rf(_a0) } else { @@ -3211,6 +3547,10 @@ func (_m *MockFakeAutoscaling) DescribeWarmPoolRequest(_a0 *autoscaling.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DescribeWarmPoolOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DescribeWarmPoolInput) (*request.Request, *autoscaling.DescribeWarmPoolOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DescribeWarmPoolInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3219,7 +3559,6 @@ func (_m *MockFakeAutoscaling) DescribeWarmPoolRequest(_a0 *autoscaling.Describe } } - var r1 *autoscaling.DescribeWarmPoolOutput if rf, ok := ret.Get(1).(func(*autoscaling.DescribeWarmPoolInput) *autoscaling.DescribeWarmPoolOutput); ok { r1 = rf(_a0) } else { @@ -3243,6 +3582,10 @@ func (_m *MockFakeAutoscaling) DescribeWarmPoolWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.DescribeWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeWarmPoolInput, ...request.Option) (*autoscaling.DescribeWarmPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeWarmPoolInput, ...request.Option) *autoscaling.DescribeWarmPoolOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3251,7 +3594,6 @@ func (_m *MockFakeAutoscaling) DescribeWarmPoolWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DescribeWarmPoolInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3266,6 +3608,10 @@ func (_m *MockFakeAutoscaling) DetachInstances(_a0 *autoscaling.DetachInstancesI ret := _m.Called(_a0) var r0 *autoscaling.DetachInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DetachInstancesInput) (*autoscaling.DetachInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachInstancesInput) *autoscaling.DetachInstancesOutput); ok { r0 = rf(_a0) } else { @@ -3274,7 +3620,6 @@ func (_m *MockFakeAutoscaling) DetachInstances(_a0 *autoscaling.DetachInstancesI } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DetachInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -3289,6 +3634,10 @@ func (_m *MockFakeAutoscaling) DetachInstancesRequest(_a0 *autoscaling.DetachIns ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DetachInstancesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DetachInstancesInput) (*request.Request, *autoscaling.DetachInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3297,7 +3646,6 @@ func (_m *MockFakeAutoscaling) DetachInstancesRequest(_a0 *autoscaling.DetachIns } } - var r1 *autoscaling.DetachInstancesOutput if rf, ok := ret.Get(1).(func(*autoscaling.DetachInstancesInput) *autoscaling.DetachInstancesOutput); ok { r1 = rf(_a0) } else { @@ -3321,6 +3669,10 @@ func (_m *MockFakeAutoscaling) DetachInstancesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *autoscaling.DetachInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachInstancesInput, ...request.Option) (*autoscaling.DetachInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachInstancesInput, ...request.Option) *autoscaling.DetachInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3329,7 +3681,6 @@ func (_m *MockFakeAutoscaling) DetachInstancesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DetachInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3344,6 +3695,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroups(_a0 *autoscaling.D ret := _m.Called(_a0) var r0 *autoscaling.DetachLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) (*autoscaling.DetachLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) *autoscaling.DetachLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -3352,7 +3707,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroups(_a0 *autoscaling.D } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -3367,6 +3721,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroupsRequest(_a0 *autosc ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DetachLoadBalancerTargetGroupsOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) (*request.Request, *autoscaling.DetachLoadBalancerTargetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3375,7 +3733,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroupsRequest(_a0 *autosc } } - var r1 *autoscaling.DetachLoadBalancerTargetGroupsOutput if rf, ok := ret.Get(1).(func(*autoscaling.DetachLoadBalancerTargetGroupsInput) *autoscaling.DetachLoadBalancerTargetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -3399,6 +3756,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroupsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *autoscaling.DetachLoadBalancerTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancerTargetGroupsInput, ...request.Option) (*autoscaling.DetachLoadBalancerTargetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancerTargetGroupsInput, ...request.Option) *autoscaling.DetachLoadBalancerTargetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3407,7 +3768,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancerTargetGroupsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DetachLoadBalancerTargetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3422,6 +3782,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancers(_a0 *autoscaling.DetachLoadBa ret := _m.Called(_a0) var r0 *autoscaling.DetachLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancersInput) (*autoscaling.DetachLoadBalancersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancersInput) *autoscaling.DetachLoadBalancersOutput); ok { r0 = rf(_a0) } else { @@ -3430,7 +3794,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancers(_a0 *autoscaling.DetachLoadBa } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DetachLoadBalancersInput) error); ok { r1 = rf(_a0) } else { @@ -3445,6 +3808,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancersRequest(_a0 *autoscaling.Detac ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DetachLoadBalancersOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancersInput) (*request.Request, *autoscaling.DetachLoadBalancersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DetachLoadBalancersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3453,7 +3820,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancersRequest(_a0 *autoscaling.Detac } } - var r1 *autoscaling.DetachLoadBalancersOutput if rf, ok := ret.Get(1).(func(*autoscaling.DetachLoadBalancersInput) *autoscaling.DetachLoadBalancersOutput); ok { r1 = rf(_a0) } else { @@ -3477,6 +3843,10 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancersWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *autoscaling.DetachLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancersInput, ...request.Option) (*autoscaling.DetachLoadBalancersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancersInput, ...request.Option) *autoscaling.DetachLoadBalancersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3485,7 +3855,6 @@ func (_m *MockFakeAutoscaling) DetachLoadBalancersWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DetachLoadBalancersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3500,6 +3869,10 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollection(_a0 *autoscaling.Disable ret := _m.Called(_a0) var r0 *autoscaling.DisableMetricsCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.DisableMetricsCollectionInput) (*autoscaling.DisableMetricsCollectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DisableMetricsCollectionInput) *autoscaling.DisableMetricsCollectionOutput); ok { r0 = rf(_a0) } else { @@ -3508,7 +3881,6 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollection(_a0 *autoscaling.Disable } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.DisableMetricsCollectionInput) error); ok { r1 = rf(_a0) } else { @@ -3523,6 +3895,10 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollectionRequest(_a0 *autoscaling. ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.DisableMetricsCollectionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.DisableMetricsCollectionInput) (*request.Request, *autoscaling.DisableMetricsCollectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.DisableMetricsCollectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3531,7 +3907,6 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollectionRequest(_a0 *autoscaling. } } - var r1 *autoscaling.DisableMetricsCollectionOutput if rf, ok := ret.Get(1).(func(*autoscaling.DisableMetricsCollectionInput) *autoscaling.DisableMetricsCollectionOutput); ok { r1 = rf(_a0) } else { @@ -3555,6 +3930,10 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollectionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *autoscaling.DisableMetricsCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DisableMetricsCollectionInput, ...request.Option) (*autoscaling.DisableMetricsCollectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DisableMetricsCollectionInput, ...request.Option) *autoscaling.DisableMetricsCollectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3563,7 +3942,6 @@ func (_m *MockFakeAutoscaling) DisableMetricsCollectionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.DisableMetricsCollectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3578,6 +3956,10 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollection(_a0 *autoscaling.EnableMe ret := _m.Called(_a0) var r0 *autoscaling.EnableMetricsCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.EnableMetricsCollectionInput) (*autoscaling.EnableMetricsCollectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.EnableMetricsCollectionInput) *autoscaling.EnableMetricsCollectionOutput); ok { r0 = rf(_a0) } else { @@ -3586,7 +3968,6 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollection(_a0 *autoscaling.EnableMe } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.EnableMetricsCollectionInput) error); ok { r1 = rf(_a0) } else { @@ -3601,6 +3982,10 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollectionRequest(_a0 *autoscaling.E ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.EnableMetricsCollectionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.EnableMetricsCollectionInput) (*request.Request, *autoscaling.EnableMetricsCollectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.EnableMetricsCollectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3609,7 +3994,6 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollectionRequest(_a0 *autoscaling.E } } - var r1 *autoscaling.EnableMetricsCollectionOutput if rf, ok := ret.Get(1).(func(*autoscaling.EnableMetricsCollectionInput) *autoscaling.EnableMetricsCollectionOutput); ok { r1 = rf(_a0) } else { @@ -3633,6 +4017,10 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollectionWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *autoscaling.EnableMetricsCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnableMetricsCollectionInput, ...request.Option) (*autoscaling.EnableMetricsCollectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnableMetricsCollectionInput, ...request.Option) *autoscaling.EnableMetricsCollectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3641,7 +4029,6 @@ func (_m *MockFakeAutoscaling) EnableMetricsCollectionWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.EnableMetricsCollectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3656,6 +4043,10 @@ func (_m *MockFakeAutoscaling) EnterStandby(_a0 *autoscaling.EnterStandbyInput) ret := _m.Called(_a0) var r0 *autoscaling.EnterStandbyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.EnterStandbyInput) (*autoscaling.EnterStandbyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.EnterStandbyInput) *autoscaling.EnterStandbyOutput); ok { r0 = rf(_a0) } else { @@ -3664,7 +4055,6 @@ func (_m *MockFakeAutoscaling) EnterStandby(_a0 *autoscaling.EnterStandbyInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.EnterStandbyInput) error); ok { r1 = rf(_a0) } else { @@ -3679,6 +4069,10 @@ func (_m *MockFakeAutoscaling) EnterStandbyRequest(_a0 *autoscaling.EnterStandby ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.EnterStandbyOutput + if rf, ok := ret.Get(0).(func(*autoscaling.EnterStandbyInput) (*request.Request, *autoscaling.EnterStandbyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.EnterStandbyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3687,7 +4081,6 @@ func (_m *MockFakeAutoscaling) EnterStandbyRequest(_a0 *autoscaling.EnterStandby } } - var r1 *autoscaling.EnterStandbyOutput if rf, ok := ret.Get(1).(func(*autoscaling.EnterStandbyInput) *autoscaling.EnterStandbyOutput); ok { r1 = rf(_a0) } else { @@ -3711,6 +4104,10 @@ func (_m *MockFakeAutoscaling) EnterStandbyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *autoscaling.EnterStandbyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnterStandbyInput, ...request.Option) (*autoscaling.EnterStandbyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnterStandbyInput, ...request.Option) *autoscaling.EnterStandbyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3719,7 +4116,6 @@ func (_m *MockFakeAutoscaling) EnterStandbyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.EnterStandbyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3734,6 +4130,10 @@ func (_m *MockFakeAutoscaling) ExecutePolicy(_a0 *autoscaling.ExecutePolicyInput ret := _m.Called(_a0) var r0 *autoscaling.ExecutePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.ExecutePolicyInput) (*autoscaling.ExecutePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ExecutePolicyInput) *autoscaling.ExecutePolicyOutput); ok { r0 = rf(_a0) } else { @@ -3742,7 +4142,6 @@ func (_m *MockFakeAutoscaling) ExecutePolicy(_a0 *autoscaling.ExecutePolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.ExecutePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3757,6 +4156,10 @@ func (_m *MockFakeAutoscaling) ExecutePolicyRequest(_a0 *autoscaling.ExecutePoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.ExecutePolicyOutput + if rf, ok := ret.Get(0).(func(*autoscaling.ExecutePolicyInput) (*request.Request, *autoscaling.ExecutePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ExecutePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3765,7 +4168,6 @@ func (_m *MockFakeAutoscaling) ExecutePolicyRequest(_a0 *autoscaling.ExecutePoli } } - var r1 *autoscaling.ExecutePolicyOutput if rf, ok := ret.Get(1).(func(*autoscaling.ExecutePolicyInput) *autoscaling.ExecutePolicyOutput); ok { r1 = rf(_a0) } else { @@ -3789,6 +4191,10 @@ func (_m *MockFakeAutoscaling) ExecutePolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *autoscaling.ExecutePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExecutePolicyInput, ...request.Option) (*autoscaling.ExecutePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExecutePolicyInput, ...request.Option) *autoscaling.ExecutePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3797,7 +4203,6 @@ func (_m *MockFakeAutoscaling) ExecutePolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.ExecutePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3812,6 +4217,10 @@ func (_m *MockFakeAutoscaling) ExitStandby(_a0 *autoscaling.ExitStandbyInput) (* ret := _m.Called(_a0) var r0 *autoscaling.ExitStandbyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.ExitStandbyInput) (*autoscaling.ExitStandbyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ExitStandbyInput) *autoscaling.ExitStandbyOutput); ok { r0 = rf(_a0) } else { @@ -3820,7 +4229,6 @@ func (_m *MockFakeAutoscaling) ExitStandby(_a0 *autoscaling.ExitStandbyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.ExitStandbyInput) error); ok { r1 = rf(_a0) } else { @@ -3835,6 +4243,10 @@ func (_m *MockFakeAutoscaling) ExitStandbyRequest(_a0 *autoscaling.ExitStandbyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.ExitStandbyOutput + if rf, ok := ret.Get(0).(func(*autoscaling.ExitStandbyInput) (*request.Request, *autoscaling.ExitStandbyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ExitStandbyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3843,7 +4255,6 @@ func (_m *MockFakeAutoscaling) ExitStandbyRequest(_a0 *autoscaling.ExitStandbyIn } } - var r1 *autoscaling.ExitStandbyOutput if rf, ok := ret.Get(1).(func(*autoscaling.ExitStandbyInput) *autoscaling.ExitStandbyOutput); ok { r1 = rf(_a0) } else { @@ -3867,6 +4278,10 @@ func (_m *MockFakeAutoscaling) ExitStandbyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *autoscaling.ExitStandbyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExitStandbyInput, ...request.Option) (*autoscaling.ExitStandbyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExitStandbyInput, ...request.Option) *autoscaling.ExitStandbyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3875,7 +4290,6 @@ func (_m *MockFakeAutoscaling) ExitStandbyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.ExitStandbyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3890,6 +4304,10 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecast(_a0 *autoscaling.Get ret := _m.Called(_a0) var r0 *autoscaling.GetPredictiveScalingForecastOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.GetPredictiveScalingForecastInput) (*autoscaling.GetPredictiveScalingForecastOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.GetPredictiveScalingForecastInput) *autoscaling.GetPredictiveScalingForecastOutput); ok { r0 = rf(_a0) } else { @@ -3898,7 +4316,6 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecast(_a0 *autoscaling.Get } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.GetPredictiveScalingForecastInput) error); ok { r1 = rf(_a0) } else { @@ -3913,6 +4330,10 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecastRequest(_a0 *autoscal ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.GetPredictiveScalingForecastOutput + if rf, ok := ret.Get(0).(func(*autoscaling.GetPredictiveScalingForecastInput) (*request.Request, *autoscaling.GetPredictiveScalingForecastOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.GetPredictiveScalingForecastInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3921,7 +4342,6 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecastRequest(_a0 *autoscal } } - var r1 *autoscaling.GetPredictiveScalingForecastOutput if rf, ok := ret.Get(1).(func(*autoscaling.GetPredictiveScalingForecastInput) *autoscaling.GetPredictiveScalingForecastOutput); ok { r1 = rf(_a0) } else { @@ -3945,6 +4365,10 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecastWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *autoscaling.GetPredictiveScalingForecastOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.GetPredictiveScalingForecastInput, ...request.Option) (*autoscaling.GetPredictiveScalingForecastOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.GetPredictiveScalingForecastInput, ...request.Option) *autoscaling.GetPredictiveScalingForecastOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3953,7 +4377,6 @@ func (_m *MockFakeAutoscaling) GetPredictiveScalingForecastWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.GetPredictiveScalingForecastInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3968,6 +4391,10 @@ func (_m *MockFakeAutoscaling) PutLifecycleHook(_a0 *autoscaling.PutLifecycleHoo ret := _m.Called(_a0) var r0 *autoscaling.PutLifecycleHookOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.PutLifecycleHookInput) (*autoscaling.PutLifecycleHookOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutLifecycleHookInput) *autoscaling.PutLifecycleHookOutput); ok { r0 = rf(_a0) } else { @@ -3976,7 +4403,6 @@ func (_m *MockFakeAutoscaling) PutLifecycleHook(_a0 *autoscaling.PutLifecycleHoo } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.PutLifecycleHookInput) error); ok { r1 = rf(_a0) } else { @@ -3991,6 +4417,10 @@ func (_m *MockFakeAutoscaling) PutLifecycleHookRequest(_a0 *autoscaling.PutLifec ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.PutLifecycleHookOutput + if rf, ok := ret.Get(0).(func(*autoscaling.PutLifecycleHookInput) (*request.Request, *autoscaling.PutLifecycleHookOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutLifecycleHookInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3999,7 +4429,6 @@ func (_m *MockFakeAutoscaling) PutLifecycleHookRequest(_a0 *autoscaling.PutLifec } } - var r1 *autoscaling.PutLifecycleHookOutput if rf, ok := ret.Get(1).(func(*autoscaling.PutLifecycleHookInput) *autoscaling.PutLifecycleHookOutput); ok { r1 = rf(_a0) } else { @@ -4023,6 +4452,10 @@ func (_m *MockFakeAutoscaling) PutLifecycleHookWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.PutLifecycleHookOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutLifecycleHookInput, ...request.Option) (*autoscaling.PutLifecycleHookOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutLifecycleHookInput, ...request.Option) *autoscaling.PutLifecycleHookOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4031,7 +4464,6 @@ func (_m *MockFakeAutoscaling) PutLifecycleHookWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.PutLifecycleHookInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4046,6 +4478,10 @@ func (_m *MockFakeAutoscaling) PutNotificationConfiguration(_a0 *autoscaling.Put ret := _m.Called(_a0) var r0 *autoscaling.PutNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.PutNotificationConfigurationInput) (*autoscaling.PutNotificationConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutNotificationConfigurationInput) *autoscaling.PutNotificationConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -4054,7 +4490,6 @@ func (_m *MockFakeAutoscaling) PutNotificationConfiguration(_a0 *autoscaling.Put } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.PutNotificationConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -4069,6 +4504,10 @@ func (_m *MockFakeAutoscaling) PutNotificationConfigurationRequest(_a0 *autoscal ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.PutNotificationConfigurationOutput + if rf, ok := ret.Get(0).(func(*autoscaling.PutNotificationConfigurationInput) (*request.Request, *autoscaling.PutNotificationConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutNotificationConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4077,7 +4516,6 @@ func (_m *MockFakeAutoscaling) PutNotificationConfigurationRequest(_a0 *autoscal } } - var r1 *autoscaling.PutNotificationConfigurationOutput if rf, ok := ret.Get(1).(func(*autoscaling.PutNotificationConfigurationInput) *autoscaling.PutNotificationConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -4101,6 +4539,10 @@ func (_m *MockFakeAutoscaling) PutNotificationConfigurationWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *autoscaling.PutNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutNotificationConfigurationInput, ...request.Option) (*autoscaling.PutNotificationConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutNotificationConfigurationInput, ...request.Option) *autoscaling.PutNotificationConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4109,7 +4551,6 @@ func (_m *MockFakeAutoscaling) PutNotificationConfigurationWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.PutNotificationConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4124,6 +4565,10 @@ func (_m *MockFakeAutoscaling) PutScalingPolicy(_a0 *autoscaling.PutScalingPolic ret := _m.Called(_a0) var r0 *autoscaling.PutScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.PutScalingPolicyInput) (*autoscaling.PutScalingPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutScalingPolicyInput) *autoscaling.PutScalingPolicyOutput); ok { r0 = rf(_a0) } else { @@ -4132,7 +4577,6 @@ func (_m *MockFakeAutoscaling) PutScalingPolicy(_a0 *autoscaling.PutScalingPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.PutScalingPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4147,6 +4591,10 @@ func (_m *MockFakeAutoscaling) PutScalingPolicyRequest(_a0 *autoscaling.PutScali ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.PutScalingPolicyOutput + if rf, ok := ret.Get(0).(func(*autoscaling.PutScalingPolicyInput) (*request.Request, *autoscaling.PutScalingPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutScalingPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4155,7 +4603,6 @@ func (_m *MockFakeAutoscaling) PutScalingPolicyRequest(_a0 *autoscaling.PutScali } } - var r1 *autoscaling.PutScalingPolicyOutput if rf, ok := ret.Get(1).(func(*autoscaling.PutScalingPolicyInput) *autoscaling.PutScalingPolicyOutput); ok { r1 = rf(_a0) } else { @@ -4179,6 +4626,10 @@ func (_m *MockFakeAutoscaling) PutScalingPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.PutScalingPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScalingPolicyInput, ...request.Option) (*autoscaling.PutScalingPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScalingPolicyInput, ...request.Option) *autoscaling.PutScalingPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4187,7 +4638,6 @@ func (_m *MockFakeAutoscaling) PutScalingPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.PutScalingPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4202,6 +4652,10 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupAction(_a0 *autoscaling.Pu ret := _m.Called(_a0) var r0 *autoscaling.PutScheduledUpdateGroupActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.PutScheduledUpdateGroupActionInput) (*autoscaling.PutScheduledUpdateGroupActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutScheduledUpdateGroupActionInput) *autoscaling.PutScheduledUpdateGroupActionOutput); ok { r0 = rf(_a0) } else { @@ -4210,7 +4664,6 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupAction(_a0 *autoscaling.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.PutScheduledUpdateGroupActionInput) error); ok { r1 = rf(_a0) } else { @@ -4225,6 +4678,10 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupActionRequest(_a0 *autosca ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.PutScheduledUpdateGroupActionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.PutScheduledUpdateGroupActionInput) (*request.Request, *autoscaling.PutScheduledUpdateGroupActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutScheduledUpdateGroupActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4233,7 +4690,6 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupActionRequest(_a0 *autosca } } - var r1 *autoscaling.PutScheduledUpdateGroupActionOutput if rf, ok := ret.Get(1).(func(*autoscaling.PutScheduledUpdateGroupActionInput) *autoscaling.PutScheduledUpdateGroupActionOutput); ok { r1 = rf(_a0) } else { @@ -4257,6 +4713,10 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupActionWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *autoscaling.PutScheduledUpdateGroupActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScheduledUpdateGroupActionInput, ...request.Option) (*autoscaling.PutScheduledUpdateGroupActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScheduledUpdateGroupActionInput, ...request.Option) *autoscaling.PutScheduledUpdateGroupActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4265,7 +4725,6 @@ func (_m *MockFakeAutoscaling) PutScheduledUpdateGroupActionWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.PutScheduledUpdateGroupActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4280,6 +4739,10 @@ func (_m *MockFakeAutoscaling) PutWarmPool(_a0 *autoscaling.PutWarmPoolInput) (* ret := _m.Called(_a0) var r0 *autoscaling.PutWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.PutWarmPoolInput) (*autoscaling.PutWarmPoolOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutWarmPoolInput) *autoscaling.PutWarmPoolOutput); ok { r0 = rf(_a0) } else { @@ -4288,7 +4751,6 @@ func (_m *MockFakeAutoscaling) PutWarmPool(_a0 *autoscaling.PutWarmPoolInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.PutWarmPoolInput) error); ok { r1 = rf(_a0) } else { @@ -4303,6 +4765,10 @@ func (_m *MockFakeAutoscaling) PutWarmPoolRequest(_a0 *autoscaling.PutWarmPoolIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.PutWarmPoolOutput + if rf, ok := ret.Get(0).(func(*autoscaling.PutWarmPoolInput) (*request.Request, *autoscaling.PutWarmPoolOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.PutWarmPoolInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4311,7 +4777,6 @@ func (_m *MockFakeAutoscaling) PutWarmPoolRequest(_a0 *autoscaling.PutWarmPoolIn } } - var r1 *autoscaling.PutWarmPoolOutput if rf, ok := ret.Get(1).(func(*autoscaling.PutWarmPoolInput) *autoscaling.PutWarmPoolOutput); ok { r1 = rf(_a0) } else { @@ -4335,6 +4800,10 @@ func (_m *MockFakeAutoscaling) PutWarmPoolWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *autoscaling.PutWarmPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutWarmPoolInput, ...request.Option) (*autoscaling.PutWarmPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutWarmPoolInput, ...request.Option) *autoscaling.PutWarmPoolOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4343,7 +4812,6 @@ func (_m *MockFakeAutoscaling) PutWarmPoolWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.PutWarmPoolInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4358,6 +4826,10 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeat(_a0 *autoscaling.R ret := _m.Called(_a0) var r0 *autoscaling.RecordLifecycleActionHeartbeatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) (*autoscaling.RecordLifecycleActionHeartbeatOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) *autoscaling.RecordLifecycleActionHeartbeatOutput); ok { r0 = rf(_a0) } else { @@ -4366,7 +4838,6 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeat(_a0 *autoscaling.R } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) error); ok { r1 = rf(_a0) } else { @@ -4381,6 +4852,10 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeatRequest(_a0 *autosc ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.RecordLifecycleActionHeartbeatOutput + if rf, ok := ret.Get(0).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) (*request.Request, *autoscaling.RecordLifecycleActionHeartbeatOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4389,7 +4864,6 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeatRequest(_a0 *autosc } } - var r1 *autoscaling.RecordLifecycleActionHeartbeatOutput if rf, ok := ret.Get(1).(func(*autoscaling.RecordLifecycleActionHeartbeatInput) *autoscaling.RecordLifecycleActionHeartbeatOutput); ok { r1 = rf(_a0) } else { @@ -4413,6 +4887,10 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeatWithContext(_a0 con ret := _m.Called(_ca...) var r0 *autoscaling.RecordLifecycleActionHeartbeatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.RecordLifecycleActionHeartbeatInput, ...request.Option) (*autoscaling.RecordLifecycleActionHeartbeatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.RecordLifecycleActionHeartbeatInput, ...request.Option) *autoscaling.RecordLifecycleActionHeartbeatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4421,7 +4899,6 @@ func (_m *MockFakeAutoscaling) RecordLifecycleActionHeartbeatWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.RecordLifecycleActionHeartbeatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4436,6 +4913,10 @@ func (_m *MockFakeAutoscaling) ResumeProcesses(_a0 *autoscaling.ScalingProcessQu ret := _m.Called(_a0) var r0 *autoscaling.ResumeProcessesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) (*autoscaling.ResumeProcessesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) *autoscaling.ResumeProcessesOutput); ok { r0 = rf(_a0) } else { @@ -4444,7 +4925,6 @@ func (_m *MockFakeAutoscaling) ResumeProcesses(_a0 *autoscaling.ScalingProcessQu } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.ScalingProcessQuery) error); ok { r1 = rf(_a0) } else { @@ -4459,6 +4939,10 @@ func (_m *MockFakeAutoscaling) ResumeProcessesRequest(_a0 *autoscaling.ScalingPr ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.ResumeProcessesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) (*request.Request, *autoscaling.ResumeProcessesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) *request.Request); ok { r0 = rf(_a0) } else { @@ -4467,7 +4951,6 @@ func (_m *MockFakeAutoscaling) ResumeProcessesRequest(_a0 *autoscaling.ScalingPr } } - var r1 *autoscaling.ResumeProcessesOutput if rf, ok := ret.Get(1).(func(*autoscaling.ScalingProcessQuery) *autoscaling.ResumeProcessesOutput); ok { r1 = rf(_a0) } else { @@ -4491,6 +4974,10 @@ func (_m *MockFakeAutoscaling) ResumeProcessesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *autoscaling.ResumeProcessesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) (*autoscaling.ResumeProcessesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) *autoscaling.ResumeProcessesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4499,7 +4986,6 @@ func (_m *MockFakeAutoscaling) ResumeProcessesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4514,6 +5000,10 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacity(_a0 *autoscaling.SetDesiredCap ret := _m.Called(_a0) var r0 *autoscaling.SetDesiredCapacityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.SetDesiredCapacityInput) (*autoscaling.SetDesiredCapacityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetDesiredCapacityInput) *autoscaling.SetDesiredCapacityOutput); ok { r0 = rf(_a0) } else { @@ -4522,7 +5012,6 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacity(_a0 *autoscaling.SetDesiredCap } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.SetDesiredCapacityInput) error); ok { r1 = rf(_a0) } else { @@ -4537,6 +5026,10 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacityRequest(_a0 *autoscaling.SetDes ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.SetDesiredCapacityOutput + if rf, ok := ret.Get(0).(func(*autoscaling.SetDesiredCapacityInput) (*request.Request, *autoscaling.SetDesiredCapacityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetDesiredCapacityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4545,7 +5038,6 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacityRequest(_a0 *autoscaling.SetDes } } - var r1 *autoscaling.SetDesiredCapacityOutput if rf, ok := ret.Get(1).(func(*autoscaling.SetDesiredCapacityInput) *autoscaling.SetDesiredCapacityOutput); ok { r1 = rf(_a0) } else { @@ -4569,6 +5061,10 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacityWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *autoscaling.SetDesiredCapacityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetDesiredCapacityInput, ...request.Option) (*autoscaling.SetDesiredCapacityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetDesiredCapacityInput, ...request.Option) *autoscaling.SetDesiredCapacityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4577,7 +5073,6 @@ func (_m *MockFakeAutoscaling) SetDesiredCapacityWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.SetDesiredCapacityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4592,6 +5087,10 @@ func (_m *MockFakeAutoscaling) SetInstanceHealth(_a0 *autoscaling.SetInstanceHea ret := _m.Called(_a0) var r0 *autoscaling.SetInstanceHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceHealthInput) (*autoscaling.SetInstanceHealthOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceHealthInput) *autoscaling.SetInstanceHealthOutput); ok { r0 = rf(_a0) } else { @@ -4600,7 +5099,6 @@ func (_m *MockFakeAutoscaling) SetInstanceHealth(_a0 *autoscaling.SetInstanceHea } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.SetInstanceHealthInput) error); ok { r1 = rf(_a0) } else { @@ -4615,6 +5113,10 @@ func (_m *MockFakeAutoscaling) SetInstanceHealthRequest(_a0 *autoscaling.SetInst ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.SetInstanceHealthOutput + if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceHealthInput) (*request.Request, *autoscaling.SetInstanceHealthOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceHealthInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4623,7 +5125,6 @@ func (_m *MockFakeAutoscaling) SetInstanceHealthRequest(_a0 *autoscaling.SetInst } } - var r1 *autoscaling.SetInstanceHealthOutput if rf, ok := ret.Get(1).(func(*autoscaling.SetInstanceHealthInput) *autoscaling.SetInstanceHealthOutput); ok { r1 = rf(_a0) } else { @@ -4647,6 +5148,10 @@ func (_m *MockFakeAutoscaling) SetInstanceHealthWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.SetInstanceHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceHealthInput, ...request.Option) (*autoscaling.SetInstanceHealthOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceHealthInput, ...request.Option) *autoscaling.SetInstanceHealthOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4655,7 +5160,6 @@ func (_m *MockFakeAutoscaling) SetInstanceHealthWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.SetInstanceHealthInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4670,6 +5174,10 @@ func (_m *MockFakeAutoscaling) SetInstanceProtection(_a0 *autoscaling.SetInstanc ret := _m.Called(_a0) var r0 *autoscaling.SetInstanceProtectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceProtectionInput) (*autoscaling.SetInstanceProtectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceProtectionInput) *autoscaling.SetInstanceProtectionOutput); ok { r0 = rf(_a0) } else { @@ -4678,7 +5186,6 @@ func (_m *MockFakeAutoscaling) SetInstanceProtection(_a0 *autoscaling.SetInstanc } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.SetInstanceProtectionInput) error); ok { r1 = rf(_a0) } else { @@ -4693,6 +5200,10 @@ func (_m *MockFakeAutoscaling) SetInstanceProtectionRequest(_a0 *autoscaling.Set ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.SetInstanceProtectionOutput + if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceProtectionInput) (*request.Request, *autoscaling.SetInstanceProtectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.SetInstanceProtectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4701,7 +5212,6 @@ func (_m *MockFakeAutoscaling) SetInstanceProtectionRequest(_a0 *autoscaling.Set } } - var r1 *autoscaling.SetInstanceProtectionOutput if rf, ok := ret.Get(1).(func(*autoscaling.SetInstanceProtectionInput) *autoscaling.SetInstanceProtectionOutput); ok { r1 = rf(_a0) } else { @@ -4725,6 +5235,10 @@ func (_m *MockFakeAutoscaling) SetInstanceProtectionWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *autoscaling.SetInstanceProtectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceProtectionInput, ...request.Option) (*autoscaling.SetInstanceProtectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceProtectionInput, ...request.Option) *autoscaling.SetInstanceProtectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4733,7 +5247,6 @@ func (_m *MockFakeAutoscaling) SetInstanceProtectionWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.SetInstanceProtectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4748,6 +5261,10 @@ func (_m *MockFakeAutoscaling) StartInstanceRefresh(_a0 *autoscaling.StartInstan ret := _m.Called(_a0) var r0 *autoscaling.StartInstanceRefreshOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.StartInstanceRefreshInput) (*autoscaling.StartInstanceRefreshOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.StartInstanceRefreshInput) *autoscaling.StartInstanceRefreshOutput); ok { r0 = rf(_a0) } else { @@ -4756,7 +5273,6 @@ func (_m *MockFakeAutoscaling) StartInstanceRefresh(_a0 *autoscaling.StartInstan } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.StartInstanceRefreshInput) error); ok { r1 = rf(_a0) } else { @@ -4771,6 +5287,10 @@ func (_m *MockFakeAutoscaling) StartInstanceRefreshRequest(_a0 *autoscaling.Star ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.StartInstanceRefreshOutput + if rf, ok := ret.Get(0).(func(*autoscaling.StartInstanceRefreshInput) (*request.Request, *autoscaling.StartInstanceRefreshOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.StartInstanceRefreshInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4779,7 +5299,6 @@ func (_m *MockFakeAutoscaling) StartInstanceRefreshRequest(_a0 *autoscaling.Star } } - var r1 *autoscaling.StartInstanceRefreshOutput if rf, ok := ret.Get(1).(func(*autoscaling.StartInstanceRefreshInput) *autoscaling.StartInstanceRefreshOutput); ok { r1 = rf(_a0) } else { @@ -4803,6 +5322,10 @@ func (_m *MockFakeAutoscaling) StartInstanceRefreshWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *autoscaling.StartInstanceRefreshOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.StartInstanceRefreshInput, ...request.Option) (*autoscaling.StartInstanceRefreshOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.StartInstanceRefreshInput, ...request.Option) *autoscaling.StartInstanceRefreshOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4811,7 +5334,6 @@ func (_m *MockFakeAutoscaling) StartInstanceRefreshWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.StartInstanceRefreshInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4826,6 +5348,10 @@ func (_m *MockFakeAutoscaling) SuspendProcesses(_a0 *autoscaling.ScalingProcessQ ret := _m.Called(_a0) var r0 *autoscaling.SuspendProcessesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) (*autoscaling.SuspendProcessesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) *autoscaling.SuspendProcessesOutput); ok { r0 = rf(_a0) } else { @@ -4834,7 +5360,6 @@ func (_m *MockFakeAutoscaling) SuspendProcesses(_a0 *autoscaling.ScalingProcessQ } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.ScalingProcessQuery) error); ok { r1 = rf(_a0) } else { @@ -4849,6 +5374,10 @@ func (_m *MockFakeAutoscaling) SuspendProcessesRequest(_a0 *autoscaling.ScalingP ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.SuspendProcessesOutput + if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) (*request.Request, *autoscaling.SuspendProcessesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.ScalingProcessQuery) *request.Request); ok { r0 = rf(_a0) } else { @@ -4857,7 +5386,6 @@ func (_m *MockFakeAutoscaling) SuspendProcessesRequest(_a0 *autoscaling.ScalingP } } - var r1 *autoscaling.SuspendProcessesOutput if rf, ok := ret.Get(1).(func(*autoscaling.ScalingProcessQuery) *autoscaling.SuspendProcessesOutput); ok { r1 = rf(_a0) } else { @@ -4881,6 +5409,10 @@ func (_m *MockFakeAutoscaling) SuspendProcessesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *autoscaling.SuspendProcessesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) (*autoscaling.SuspendProcessesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) *autoscaling.SuspendProcessesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4889,7 +5421,6 @@ func (_m *MockFakeAutoscaling) SuspendProcessesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.ScalingProcessQuery, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4904,6 +5435,10 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroup(_a0 *autoscal ret := _m.Called(_a0) var r0 *autoscaling.TerminateInstanceInAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) *autoscaling.TerminateInstanceInAutoScalingGroupOutput); ok { r0 = rf(_a0) } else { @@ -4912,7 +5447,6 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroup(_a0 *autoscal } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4927,6 +5461,10 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroupRequest(_a0 *a ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.TerminateInstanceInAutoScalingGroupOutput + if rf, ok := ret.Get(0).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) (*request.Request, *autoscaling.TerminateInstanceInAutoScalingGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4935,7 +5473,6 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroupRequest(_a0 *a } } - var r1 *autoscaling.TerminateInstanceInAutoScalingGroupOutput if rf, ok := ret.Get(1).(func(*autoscaling.TerminateInstanceInAutoScalingGroupInput) *autoscaling.TerminateInstanceInAutoScalingGroupOutput); ok { r1 = rf(_a0) } else { @@ -4959,6 +5496,10 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroupWithContext(_a ret := _m.Called(_ca...) var r0 *autoscaling.TerminateInstanceInAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.TerminateInstanceInAutoScalingGroupInput, ...request.Option) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.TerminateInstanceInAutoScalingGroupInput, ...request.Option) *autoscaling.TerminateInstanceInAutoScalingGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4967,7 +5508,6 @@ func (_m *MockFakeAutoscaling) TerminateInstanceInAutoScalingGroupWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.TerminateInstanceInAutoScalingGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4982,6 +5522,10 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroup(_a0 *autoscaling.UpdateAut ret := _m.Called(_a0) var r0 *autoscaling.UpdateAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*autoscaling.UpdateAutoScalingGroupInput) (*autoscaling.UpdateAutoScalingGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.UpdateAutoScalingGroupInput) *autoscaling.UpdateAutoScalingGroupOutput); ok { r0 = rf(_a0) } else { @@ -4990,7 +5534,6 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroup(_a0 *autoscaling.UpdateAut } } - var r1 error if rf, ok := ret.Get(1).(func(*autoscaling.UpdateAutoScalingGroupInput) error); ok { r1 = rf(_a0) } else { @@ -5005,6 +5548,10 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroupRequest(_a0 *autoscaling.Up ret := _m.Called(_a0) var r0 *request.Request + var r1 *autoscaling.UpdateAutoScalingGroupOutput + if rf, ok := ret.Get(0).(func(*autoscaling.UpdateAutoScalingGroupInput) (*request.Request, *autoscaling.UpdateAutoScalingGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*autoscaling.UpdateAutoScalingGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5013,7 +5560,6 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroupRequest(_a0 *autoscaling.Up } } - var r1 *autoscaling.UpdateAutoScalingGroupOutput if rf, ok := ret.Get(1).(func(*autoscaling.UpdateAutoScalingGroupInput) *autoscaling.UpdateAutoScalingGroupOutput); ok { r1 = rf(_a0) } else { @@ -5037,6 +5583,10 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *autoscaling.UpdateAutoScalingGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.UpdateAutoScalingGroupInput, ...request.Option) (*autoscaling.UpdateAutoScalingGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.UpdateAutoScalingGroupInput, ...request.Option) *autoscaling.UpdateAutoScalingGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5045,7 +5595,6 @@ func (_m *MockFakeAutoscaling) UpdateAutoScalingGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *autoscaling.UpdateAutoScalingGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5159,3 +5708,18 @@ func (_m *MockFakeAutoscaling) WaitUntilGroupNotExistsWithContext(_a0 context.Co return r0 } + +type mockConstructorTestingTNewMockFakeAutoscaling interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeAutoscaling creates a new instance of MockFakeAutoscaling. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeAutoscaling(t mockConstructorTestingTNewMockFakeAutoscaling) *MockFakeAutoscaling { + mock := &MockFakeAutoscaling{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeCloudFront.go b/test/aws/mock_FakeCloudFront.go index daa54f0f9..c06325397 100644 --- a/test/aws/mock_FakeCloudFront.go +++ b/test/aws/mock_FakeCloudFront.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -17,11 +17,102 @@ type MockFakeCloudFront struct { mock.Mock } +// AssociateAlias provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) AssociateAlias(_a0 *cloudfront.AssociateAliasInput) (*cloudfront.AssociateAliasOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.AssociateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.AssociateAliasInput) (*cloudfront.AssociateAliasOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.AssociateAliasInput) *cloudfront.AssociateAliasOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.AssociateAliasOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.AssociateAliasInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// AssociateAliasRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) AssociateAliasRequest(_a0 *cloudfront.AssociateAliasInput) (*request.Request, *cloudfront.AssociateAliasOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.AssociateAliasOutput + if rf, ok := ret.Get(0).(func(*cloudfront.AssociateAliasInput) (*request.Request, *cloudfront.AssociateAliasOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.AssociateAliasInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.AssociateAliasInput) *cloudfront.AssociateAliasOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.AssociateAliasOutput) + } + } + + return r0, r1 +} + +// AssociateAliasWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) AssociateAliasWithContext(_a0 context.Context, _a1 *cloudfront.AssociateAliasInput, _a2 ...request.Option) (*cloudfront.AssociateAliasOutput, error) { + _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 *cloudfront.AssociateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.AssociateAliasInput, ...request.Option) (*cloudfront.AssociateAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.AssociateAliasInput, ...request.Option) *cloudfront.AssociateAliasOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.AssociateAliasOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.AssociateAliasInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateCachePolicy provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) CreateCachePolicy(_a0 *cloudfront.CreateCachePolicyInput) (*cloudfront.CreateCachePolicyOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.CreateCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateCachePolicyInput) (*cloudfront.CreateCachePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateCachePolicyInput) *cloudfront.CreateCachePolicyOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +121,6 @@ func (_m *MockFakeCloudFront) CreateCachePolicy(_a0 *cloudfront.CreateCachePolic } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateCachePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +135,10 @@ func (_m *MockFakeCloudFront) CreateCachePolicyRequest(_a0 *cloudfront.CreateCac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateCachePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateCachePolicyInput) (*request.Request, *cloudfront.CreateCachePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateCachePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +147,6 @@ func (_m *MockFakeCloudFront) CreateCachePolicyRequest(_a0 *cloudfront.CreateCac } } - var r1 *cloudfront.CreateCachePolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateCachePolicyInput) *cloudfront.CreateCachePolicyOutput); ok { r1 = rf(_a0) } else { @@ -77,6 +170,10 @@ func (_m *MockFakeCloudFront) CreateCachePolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.CreateCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateCachePolicyInput, ...request.Option) (*cloudfront.CreateCachePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateCachePolicyInput, ...request.Option) *cloudfront.CreateCachePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +182,6 @@ func (_m *MockFakeCloudFront) CreateCachePolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateCachePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -100,6 +196,10 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentity(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.CreateCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) (*cloudfront.CreateCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) *cloudfront.CreateCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0) } else { @@ -108,7 +208,6 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentity(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) error); ok { r1 = rf(_a0) } else { @@ -123,6 +222,10 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentityRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateCloudFrontOriginAccessIdentityOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) (*request.Request, *cloudfront.CreateCloudFrontOriginAccessIdentityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +234,6 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentityRequest(_a0 *c } } - var r1 *cloudfront.CreateCloudFrontOriginAccessIdentityOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateCloudFrontOriginAccessIdentityInput) *cloudfront.CreateCloudFrontOriginAccessIdentityOutput); ok { r1 = rf(_a0) } else { @@ -155,6 +257,10 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentityWithContext(_a ret := _m.Called(_ca...) var r0 *cloudfront.CreateCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateCloudFrontOriginAccessIdentityInput, ...request.Option) (*cloudfront.CreateCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateCloudFrontOriginAccessIdentityInput, ...request.Option) *cloudfront.CreateCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +269,6 @@ func (_m *MockFakeCloudFront) CreateCloudFrontOriginAccessIdentityWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateCloudFrontOriginAccessIdentityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +283,10 @@ func (_m *MockFakeCloudFront) CreateDistribution(_a0 *cloudfront.CreateDistribut ret := _m.Called(_a0) var r0 *cloudfront.CreateDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionInput) (*cloudfront.CreateDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionInput) *cloudfront.CreateDistributionOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +295,6 @@ func (_m *MockFakeCloudFront) CreateDistribution(_a0 *cloudfront.CreateDistribut } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +309,10 @@ func (_m *MockFakeCloudFront) CreateDistributionRequest(_a0 *cloudfront.CreateDi ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionInput) (*request.Request, *cloudfront.CreateDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +321,6 @@ func (_m *MockFakeCloudFront) CreateDistributionRequest(_a0 *cloudfront.CreateDi } } - var r1 *cloudfront.CreateDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateDistributionInput) *cloudfront.CreateDistributionOutput); ok { r1 = rf(_a0) } else { @@ -233,6 +344,10 @@ func (_m *MockFakeCloudFront) CreateDistributionWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.CreateDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateDistributionInput, ...request.Option) (*cloudfront.CreateDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateDistributionInput, ...request.Option) *cloudfront.CreateDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +356,6 @@ func (_m *MockFakeCloudFront) CreateDistributionWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +370,10 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTags(_a0 *cloudfront.CreateD ret := _m.Called(_a0) var r0 *cloudfront.CreateDistributionWithTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionWithTagsInput) (*cloudfront.CreateDistributionWithTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionWithTagsInput) *cloudfront.CreateDistributionWithTagsOutput); ok { r0 = rf(_a0) } else { @@ -264,7 +382,6 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTags(_a0 *cloudfront.CreateD } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateDistributionWithTagsInput) error); ok { r1 = rf(_a0) } else { @@ -279,6 +396,10 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTagsRequest(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateDistributionWithTagsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionWithTagsInput) (*request.Request, *cloudfront.CreateDistributionWithTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateDistributionWithTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -287,7 +408,6 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTagsRequest(_a0 *cloudfront. } } - var r1 *cloudfront.CreateDistributionWithTagsOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateDistributionWithTagsInput) *cloudfront.CreateDistributionWithTagsOutput); ok { r1 = rf(_a0) } else { @@ -311,6 +431,10 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTagsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *cloudfront.CreateDistributionWithTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateDistributionWithTagsInput, ...request.Option) (*cloudfront.CreateDistributionWithTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateDistributionWithTagsInput, ...request.Option) *cloudfront.CreateDistributionWithTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -319,7 +443,6 @@ func (_m *MockFakeCloudFront) CreateDistributionWithTagsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateDistributionWithTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -334,6 +457,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfig(_a0 *cloudfront.C ret := _m.Called(_a0) var r0 *cloudfront.CreateFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) (*cloudfront.CreateFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) *cloudfront.CreateFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0) } else { @@ -342,7 +469,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfig(_a0 *cloudfront.C } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -357,6 +483,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfigRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateFieldLevelEncryptionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) (*request.Request, *cloudfront.CreateFieldLevelEncryptionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -365,7 +495,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfigRequest(_a0 *cloud } } - var r1 *cloudfront.CreateFieldLevelEncryptionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateFieldLevelEncryptionConfigInput) *cloudfront.CreateFieldLevelEncryptionConfigOutput); ok { r1 = rf(_a0) } else { @@ -389,6 +518,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfigWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudfront.CreateFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionConfigInput, ...request.Option) (*cloudfront.CreateFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionConfigInput, ...request.Option) *cloudfront.CreateFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -397,7 +530,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionConfigWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -412,6 +544,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfile(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *cloudfront.CreateFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) (*cloudfront.CreateFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) *cloudfront.CreateFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0) } else { @@ -420,7 +556,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfile(_a0 *cloudfront. } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) error); ok { r1 = rf(_a0) } else { @@ -435,6 +570,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfileRequest(_a0 *clou ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateFieldLevelEncryptionProfileOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) (*request.Request, *cloudfront.CreateFieldLevelEncryptionProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -443,7 +582,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfileRequest(_a0 *clou } } - var r1 *cloudfront.CreateFieldLevelEncryptionProfileOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateFieldLevelEncryptionProfileInput) *cloudfront.CreateFieldLevelEncryptionProfileOutput); ok { r1 = rf(_a0) } else { @@ -467,6 +605,10 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfileWithContext(_a0 c ret := _m.Called(_ca...) var r0 *cloudfront.CreateFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionProfileInput, ...request.Option) (*cloudfront.CreateFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionProfileInput, ...request.Option) *cloudfront.CreateFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -475,7 +617,6 @@ func (_m *MockFakeCloudFront) CreateFieldLevelEncryptionProfileWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateFieldLevelEncryptionProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -490,6 +631,10 @@ func (_m *MockFakeCloudFront) CreateFunction(_a0 *cloudfront.CreateFunctionInput ret := _m.Called(_a0) var r0 *cloudfront.CreateFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFunctionInput) (*cloudfront.CreateFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFunctionInput) *cloudfront.CreateFunctionOutput); ok { r0 = rf(_a0) } else { @@ -498,7 +643,6 @@ func (_m *MockFakeCloudFront) CreateFunction(_a0 *cloudfront.CreateFunctionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -513,6 +657,10 @@ func (_m *MockFakeCloudFront) CreateFunctionRequest(_a0 *cloudfront.CreateFuncti ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateFunctionInput) (*request.Request, *cloudfront.CreateFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -521,7 +669,6 @@ func (_m *MockFakeCloudFront) CreateFunctionRequest(_a0 *cloudfront.CreateFuncti } } - var r1 *cloudfront.CreateFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateFunctionInput) *cloudfront.CreateFunctionOutput); ok { r1 = rf(_a0) } else { @@ -545,6 +692,10 @@ func (_m *MockFakeCloudFront) CreateFunctionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.CreateFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFunctionInput, ...request.Option) (*cloudfront.CreateFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateFunctionInput, ...request.Option) *cloudfront.CreateFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -553,7 +704,6 @@ func (_m *MockFakeCloudFront) CreateFunctionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -568,6 +718,10 @@ func (_m *MockFakeCloudFront) CreateInvalidation(_a0 *cloudfront.CreateInvalidat ret := _m.Called(_a0) var r0 *cloudfront.CreateInvalidationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateInvalidationInput) (*cloudfront.CreateInvalidationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateInvalidationInput) *cloudfront.CreateInvalidationOutput); ok { r0 = rf(_a0) } else { @@ -576,7 +730,6 @@ func (_m *MockFakeCloudFront) CreateInvalidation(_a0 *cloudfront.CreateInvalidat } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateInvalidationInput) error); ok { r1 = rf(_a0) } else { @@ -591,6 +744,10 @@ func (_m *MockFakeCloudFront) CreateInvalidationRequest(_a0 *cloudfront.CreateIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateInvalidationOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateInvalidationInput) (*request.Request, *cloudfront.CreateInvalidationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateInvalidationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -599,7 +756,6 @@ func (_m *MockFakeCloudFront) CreateInvalidationRequest(_a0 *cloudfront.CreateIn } } - var r1 *cloudfront.CreateInvalidationOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateInvalidationInput) *cloudfront.CreateInvalidationOutput); ok { r1 = rf(_a0) } else { @@ -623,6 +779,10 @@ func (_m *MockFakeCloudFront) CreateInvalidationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.CreateInvalidationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateInvalidationInput, ...request.Option) (*cloudfront.CreateInvalidationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateInvalidationInput, ...request.Option) *cloudfront.CreateInvalidationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -631,7 +791,6 @@ func (_m *MockFakeCloudFront) CreateInvalidationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateInvalidationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -646,6 +805,10 @@ func (_m *MockFakeCloudFront) CreateKeyGroup(_a0 *cloudfront.CreateKeyGroupInput ret := _m.Called(_a0) var r0 *cloudfront.CreateKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateKeyGroupInput) (*cloudfront.CreateKeyGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateKeyGroupInput) *cloudfront.CreateKeyGroupOutput); ok { r0 = rf(_a0) } else { @@ -654,7 +817,6 @@ func (_m *MockFakeCloudFront) CreateKeyGroup(_a0 *cloudfront.CreateKeyGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateKeyGroupInput) error); ok { r1 = rf(_a0) } else { @@ -669,6 +831,10 @@ func (_m *MockFakeCloudFront) CreateKeyGroupRequest(_a0 *cloudfront.CreateKeyGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateKeyGroupOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateKeyGroupInput) (*request.Request, *cloudfront.CreateKeyGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateKeyGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -677,7 +843,6 @@ func (_m *MockFakeCloudFront) CreateKeyGroupRequest(_a0 *cloudfront.CreateKeyGro } } - var r1 *cloudfront.CreateKeyGroupOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateKeyGroupInput) *cloudfront.CreateKeyGroupOutput); ok { r1 = rf(_a0) } else { @@ -701,6 +866,10 @@ func (_m *MockFakeCloudFront) CreateKeyGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.CreateKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateKeyGroupInput, ...request.Option) (*cloudfront.CreateKeyGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateKeyGroupInput, ...request.Option) *cloudfront.CreateKeyGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -709,7 +878,6 @@ func (_m *MockFakeCloudFront) CreateKeyGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateKeyGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -724,6 +892,10 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscription(_a0 *cloudfront.Creat ret := _m.Called(_a0) var r0 *cloudfront.CreateMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateMonitoringSubscriptionInput) (*cloudfront.CreateMonitoringSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateMonitoringSubscriptionInput) *cloudfront.CreateMonitoringSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -732,7 +904,6 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscription(_a0 *cloudfront.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateMonitoringSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -747,6 +918,10 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscriptionRequest(_a0 *cloudfron ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateMonitoringSubscriptionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateMonitoringSubscriptionInput) (*request.Request, *cloudfront.CreateMonitoringSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateMonitoringSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -755,7 +930,6 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscriptionRequest(_a0 *cloudfron } } - var r1 *cloudfront.CreateMonitoringSubscriptionOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateMonitoringSubscriptionInput) *cloudfront.CreateMonitoringSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -779,6 +953,10 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscriptionWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *cloudfront.CreateMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateMonitoringSubscriptionInput, ...request.Option) (*cloudfront.CreateMonitoringSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateMonitoringSubscriptionInput, ...request.Option) *cloudfront.CreateMonitoringSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -787,7 +965,6 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscriptionWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateMonitoringSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -797,11 +974,102 @@ func (_m *MockFakeCloudFront) CreateMonitoringSubscriptionWithContext(_a0 contex return r0, r1 } +// CreateOriginAccessControl provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateOriginAccessControl(_a0 *cloudfront.CreateOriginAccessControlInput) (*cloudfront.CreateOriginAccessControlOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.CreateOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginAccessControlInput) (*cloudfront.CreateOriginAccessControlOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginAccessControlInput) *cloudfront.CreateOriginAccessControlOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.CreateOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.CreateOriginAccessControlInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateOriginAccessControlRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateOriginAccessControlRequest(_a0 *cloudfront.CreateOriginAccessControlInput) (*request.Request, *cloudfront.CreateOriginAccessControlOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.CreateOriginAccessControlOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginAccessControlInput) (*request.Request, *cloudfront.CreateOriginAccessControlOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginAccessControlInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.CreateOriginAccessControlInput) *cloudfront.CreateOriginAccessControlOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.CreateOriginAccessControlOutput) + } + } + + return r0, r1 +} + +// CreateOriginAccessControlWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) CreateOriginAccessControlWithContext(_a0 context.Context, _a1 *cloudfront.CreateOriginAccessControlInput, _a2 ...request.Option) (*cloudfront.CreateOriginAccessControlOutput, error) { + _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 *cloudfront.CreateOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateOriginAccessControlInput, ...request.Option) (*cloudfront.CreateOriginAccessControlOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateOriginAccessControlInput, ...request.Option) *cloudfront.CreateOriginAccessControlOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.CreateOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateOriginAccessControlInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateOriginRequestPolicy provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) CreateOriginRequestPolicy(_a0 *cloudfront.CreateOriginRequestPolicyInput) (*cloudfront.CreateOriginRequestPolicyOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.CreateOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginRequestPolicyInput) (*cloudfront.CreateOriginRequestPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginRequestPolicyInput) *cloudfront.CreateOriginRequestPolicyOutput); ok { r0 = rf(_a0) } else { @@ -810,7 +1078,6 @@ func (_m *MockFakeCloudFront) CreateOriginRequestPolicy(_a0 *cloudfront.CreateOr } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateOriginRequestPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -825,6 +1092,10 @@ func (_m *MockFakeCloudFront) CreateOriginRequestPolicyRequest(_a0 *cloudfront.C ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateOriginRequestPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginRequestPolicyInput) (*request.Request, *cloudfront.CreateOriginRequestPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateOriginRequestPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -833,7 +1104,6 @@ func (_m *MockFakeCloudFront) CreateOriginRequestPolicyRequest(_a0 *cloudfront.C } } - var r1 *cloudfront.CreateOriginRequestPolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateOriginRequestPolicyInput) *cloudfront.CreateOriginRequestPolicyOutput); ok { r1 = rf(_a0) } else { @@ -857,6 +1127,10 @@ func (_m *MockFakeCloudFront) CreateOriginRequestPolicyWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudfront.CreateOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateOriginRequestPolicyInput, ...request.Option) (*cloudfront.CreateOriginRequestPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateOriginRequestPolicyInput, ...request.Option) *cloudfront.CreateOriginRequestPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -865,7 +1139,6 @@ func (_m *MockFakeCloudFront) CreateOriginRequestPolicyWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateOriginRequestPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -880,6 +1153,10 @@ func (_m *MockFakeCloudFront) CreatePublicKey(_a0 *cloudfront.CreatePublicKeyInp ret := _m.Called(_a0) var r0 *cloudfront.CreatePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreatePublicKeyInput) (*cloudfront.CreatePublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreatePublicKeyInput) *cloudfront.CreatePublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -888,7 +1165,6 @@ func (_m *MockFakeCloudFront) CreatePublicKey(_a0 *cloudfront.CreatePublicKeyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreatePublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -903,6 +1179,10 @@ func (_m *MockFakeCloudFront) CreatePublicKeyRequest(_a0 *cloudfront.CreatePubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreatePublicKeyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreatePublicKeyInput) (*request.Request, *cloudfront.CreatePublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreatePublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -911,7 +1191,6 @@ func (_m *MockFakeCloudFront) CreatePublicKeyRequest(_a0 *cloudfront.CreatePubli } } - var r1 *cloudfront.CreatePublicKeyOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreatePublicKeyInput) *cloudfront.CreatePublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -935,6 +1214,10 @@ func (_m *MockFakeCloudFront) CreatePublicKeyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.CreatePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreatePublicKeyInput, ...request.Option) (*cloudfront.CreatePublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreatePublicKeyInput, ...request.Option) *cloudfront.CreatePublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -943,7 +1226,6 @@ func (_m *MockFakeCloudFront) CreatePublicKeyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreatePublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -958,6 +1240,10 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfig(_a0 *cloudfront.CreateReal ret := _m.Called(_a0) var r0 *cloudfront.CreateRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateRealtimeLogConfigInput) (*cloudfront.CreateRealtimeLogConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateRealtimeLogConfigInput) *cloudfront.CreateRealtimeLogConfigOutput); ok { r0 = rf(_a0) } else { @@ -966,7 +1252,6 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfig(_a0 *cloudfront.CreateReal } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateRealtimeLogConfigInput) error); ok { r1 = rf(_a0) } else { @@ -981,6 +1266,10 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfigRequest(_a0 *cloudfront.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateRealtimeLogConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateRealtimeLogConfigInput) (*request.Request, *cloudfront.CreateRealtimeLogConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateRealtimeLogConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -989,7 +1278,6 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfigRequest(_a0 *cloudfront.Cre } } - var r1 *cloudfront.CreateRealtimeLogConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateRealtimeLogConfigInput) *cloudfront.CreateRealtimeLogConfigOutput); ok { r1 = rf(_a0) } else { @@ -1013,6 +1301,10 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfigWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudfront.CreateRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateRealtimeLogConfigInput, ...request.Option) (*cloudfront.CreateRealtimeLogConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateRealtimeLogConfigInput, ...request.Option) *cloudfront.CreateRealtimeLogConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1021,7 +1313,6 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfigWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateRealtimeLogConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1031,21 +1322,24 @@ func (_m *MockFakeCloudFront) CreateRealtimeLogConfigWithContext(_a0 context.Con return r0, r1 } -// CreateStreamingDistribution provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) CreateStreamingDistribution(_a0 *cloudfront.CreateStreamingDistributionInput) (*cloudfront.CreateStreamingDistributionOutput, error) { +// CreateResponseHeadersPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateResponseHeadersPolicy(_a0 *cloudfront.CreateResponseHeadersPolicyInput) (*cloudfront.CreateResponseHeadersPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudfront.CreateStreamingDistributionOutput - if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) *cloudfront.CreateStreamingDistributionOutput); ok { + var r0 *cloudfront.CreateResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateResponseHeadersPolicyInput) (*cloudfront.CreateResponseHeadersPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateResponseHeadersPolicyInput) *cloudfront.CreateResponseHeadersPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.CreateStreamingDistributionOutput) + r0 = ret.Get(0).(*cloudfront.CreateResponseHeadersPolicyOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudfront.CreateStreamingDistributionInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.CreateResponseHeadersPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1054,12 +1348,16 @@ func (_m *MockFakeCloudFront) CreateStreamingDistribution(_a0 *cloudfront.Create return r0, r1 } -// CreateStreamingDistributionRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) CreateStreamingDistributionRequest(_a0 *cloudfront.CreateStreamingDistributionInput) (*request.Request, *cloudfront.CreateStreamingDistributionOutput) { +// CreateResponseHeadersPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateResponseHeadersPolicyRequest(_a0 *cloudfront.CreateResponseHeadersPolicyInput) (*request.Request, *cloudfront.CreateResponseHeadersPolicyOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) *request.Request); ok { + var r1 *cloudfront.CreateResponseHeadersPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateResponseHeadersPolicyInput) (*request.Request, *cloudfront.CreateResponseHeadersPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateResponseHeadersPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1067,7 +1365,93 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionRequest(_a0 *cloudfront } } + if rf, ok := ret.Get(1).(func(*cloudfront.CreateResponseHeadersPolicyInput) *cloudfront.CreateResponseHeadersPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.CreateResponseHeadersPolicyOutput) + } + } + + return r0, r1 +} + +// CreateResponseHeadersPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) CreateResponseHeadersPolicyWithContext(_a0 context.Context, _a1 *cloudfront.CreateResponseHeadersPolicyInput, _a2 ...request.Option) (*cloudfront.CreateResponseHeadersPolicyOutput, error) { + _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 *cloudfront.CreateResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateResponseHeadersPolicyInput, ...request.Option) (*cloudfront.CreateResponseHeadersPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateResponseHeadersPolicyInput, ...request.Option) *cloudfront.CreateResponseHeadersPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.CreateResponseHeadersPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateResponseHeadersPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateStreamingDistribution provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateStreamingDistribution(_a0 *cloudfront.CreateStreamingDistributionInput) (*cloudfront.CreateStreamingDistributionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.CreateStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) (*cloudfront.CreateStreamingDistributionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) *cloudfront.CreateStreamingDistributionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.CreateStreamingDistributionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.CreateStreamingDistributionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateStreamingDistributionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) CreateStreamingDistributionRequest(_a0 *cloudfront.CreateStreamingDistributionInput) (*request.Request, *cloudfront.CreateStreamingDistributionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request var r1 *cloudfront.CreateStreamingDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) (*request.Request, *cloudfront.CreateStreamingDistributionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + if rf, ok := ret.Get(1).(func(*cloudfront.CreateStreamingDistributionInput) *cloudfront.CreateStreamingDistributionOutput); ok { r1 = rf(_a0) } else { @@ -1091,6 +1475,10 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithContext(_a0 context ret := _m.Called(_ca...) var r0 *cloudfront.CreateStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateStreamingDistributionInput, ...request.Option) (*cloudfront.CreateStreamingDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateStreamingDistributionInput, ...request.Option) *cloudfront.CreateStreamingDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1099,7 +1487,6 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateStreamingDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1114,6 +1501,10 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTags(_a0 *cloudfron ret := _m.Called(_a0) var r0 *cloudfront.CreateStreamingDistributionWithTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) (*cloudfront.CreateStreamingDistributionWithTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) *cloudfront.CreateStreamingDistributionWithTagsOutput); ok { r0 = rf(_a0) } else { @@ -1122,7 +1513,6 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTags(_a0 *cloudfron } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) error); ok { r1 = rf(_a0) } else { @@ -1137,6 +1527,10 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTagsRequest(_a0 *cl ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.CreateStreamingDistributionWithTagsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) (*request.Request, *cloudfront.CreateStreamingDistributionWithTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1145,7 +1539,6 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTagsRequest(_a0 *cl } } - var r1 *cloudfront.CreateStreamingDistributionWithTagsOutput if rf, ok := ret.Get(1).(func(*cloudfront.CreateStreamingDistributionWithTagsInput) *cloudfront.CreateStreamingDistributionWithTagsOutput); ok { r1 = rf(_a0) } else { @@ -1169,6 +1562,10 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTagsWithContext(_a0 ret := _m.Called(_ca...) var r0 *cloudfront.CreateStreamingDistributionWithTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateStreamingDistributionWithTagsInput, ...request.Option) (*cloudfront.CreateStreamingDistributionWithTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.CreateStreamingDistributionWithTagsInput, ...request.Option) *cloudfront.CreateStreamingDistributionWithTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1177,7 +1574,6 @@ func (_m *MockFakeCloudFront) CreateStreamingDistributionWithTagsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.CreateStreamingDistributionWithTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1192,6 +1588,10 @@ func (_m *MockFakeCloudFront) DeleteCachePolicy(_a0 *cloudfront.DeleteCachePolic ret := _m.Called(_a0) var r0 *cloudfront.DeleteCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCachePolicyInput) (*cloudfront.DeleteCachePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCachePolicyInput) *cloudfront.DeleteCachePolicyOutput); ok { r0 = rf(_a0) } else { @@ -1200,7 +1600,6 @@ func (_m *MockFakeCloudFront) DeleteCachePolicy(_a0 *cloudfront.DeleteCachePolic } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteCachePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1215,6 +1614,10 @@ func (_m *MockFakeCloudFront) DeleteCachePolicyRequest(_a0 *cloudfront.DeleteCac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteCachePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCachePolicyInput) (*request.Request, *cloudfront.DeleteCachePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCachePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1223,7 +1626,6 @@ func (_m *MockFakeCloudFront) DeleteCachePolicyRequest(_a0 *cloudfront.DeleteCac } } - var r1 *cloudfront.DeleteCachePolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteCachePolicyInput) *cloudfront.DeleteCachePolicyOutput); ok { r1 = rf(_a0) } else { @@ -1247,6 +1649,10 @@ func (_m *MockFakeCloudFront) DeleteCachePolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.DeleteCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteCachePolicyInput, ...request.Option) (*cloudfront.DeleteCachePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteCachePolicyInput, ...request.Option) *cloudfront.DeleteCachePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1255,7 +1661,6 @@ func (_m *MockFakeCloudFront) DeleteCachePolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteCachePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1270,6 +1675,10 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentity(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) (*cloudfront.DeleteCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0) } else { @@ -1278,7 +1687,6 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentity(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) error); ok { r1 = rf(_a0) } else { @@ -1293,6 +1701,10 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentityRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) (*request.Request, *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1301,7 +1713,6 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentityRequest(_a0 *c } } - var r1 *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteCloudFrontOriginAccessIdentityInput) *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput); ok { r1 = rf(_a0) } else { @@ -1325,6 +1736,10 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentityWithContext(_a ret := _m.Called(_ca...) var r0 *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteCloudFrontOriginAccessIdentityInput, ...request.Option) (*cloudfront.DeleteCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteCloudFrontOriginAccessIdentityInput, ...request.Option) *cloudfront.DeleteCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1333,7 +1748,6 @@ func (_m *MockFakeCloudFront) DeleteCloudFrontOriginAccessIdentityWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteCloudFrontOriginAccessIdentityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1348,6 +1762,10 @@ func (_m *MockFakeCloudFront) DeleteDistribution(_a0 *cloudfront.DeleteDistribut ret := _m.Called(_a0) var r0 *cloudfront.DeleteDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteDistributionInput) (*cloudfront.DeleteDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteDistributionInput) *cloudfront.DeleteDistributionOutput); ok { r0 = rf(_a0) } else { @@ -1356,7 +1774,6 @@ func (_m *MockFakeCloudFront) DeleteDistribution(_a0 *cloudfront.DeleteDistribut } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -1371,6 +1788,10 @@ func (_m *MockFakeCloudFront) DeleteDistributionRequest(_a0 *cloudfront.DeleteDi ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteDistributionInput) (*request.Request, *cloudfront.DeleteDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1379,7 +1800,6 @@ func (_m *MockFakeCloudFront) DeleteDistributionRequest(_a0 *cloudfront.DeleteDi } } - var r1 *cloudfront.DeleteDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteDistributionInput) *cloudfront.DeleteDistributionOutput); ok { r1 = rf(_a0) } else { @@ -1403,6 +1823,10 @@ func (_m *MockFakeCloudFront) DeleteDistributionWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.DeleteDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteDistributionInput, ...request.Option) (*cloudfront.DeleteDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteDistributionInput, ...request.Option) *cloudfront.DeleteDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1411,7 +1835,6 @@ func (_m *MockFakeCloudFront) DeleteDistributionWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1426,6 +1849,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfig(_a0 *cloudfront.D ret := _m.Called(_a0) var r0 *cloudfront.DeleteFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) (*cloudfront.DeleteFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) *cloudfront.DeleteFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0) } else { @@ -1434,7 +1861,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfig(_a0 *cloudfront.D } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1449,6 +1875,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfigRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteFieldLevelEncryptionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) (*request.Request, *cloudfront.DeleteFieldLevelEncryptionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1457,7 +1887,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfigRequest(_a0 *cloud } } - var r1 *cloudfront.DeleteFieldLevelEncryptionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFieldLevelEncryptionConfigInput) *cloudfront.DeleteFieldLevelEncryptionConfigOutput); ok { r1 = rf(_a0) } else { @@ -1481,6 +1910,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfigWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudfront.DeleteFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionConfigInput, ...request.Option) (*cloudfront.DeleteFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionConfigInput, ...request.Option) *cloudfront.DeleteFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1489,7 +1922,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionConfigWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1504,6 +1936,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfile(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *cloudfront.DeleteFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) (*cloudfront.DeleteFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) *cloudfront.DeleteFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0) } else { @@ -1512,7 +1948,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfile(_a0 *cloudfront. } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) error); ok { r1 = rf(_a0) } else { @@ -1527,6 +1962,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfileRequest(_a0 *clou ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteFieldLevelEncryptionProfileOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) (*request.Request, *cloudfront.DeleteFieldLevelEncryptionProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1535,7 +1974,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfileRequest(_a0 *clou } } - var r1 *cloudfront.DeleteFieldLevelEncryptionProfileOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFieldLevelEncryptionProfileInput) *cloudfront.DeleteFieldLevelEncryptionProfileOutput); ok { r1 = rf(_a0) } else { @@ -1559,6 +1997,10 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfileWithContext(_a0 c ret := _m.Called(_ca...) var r0 *cloudfront.DeleteFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionProfileInput, ...request.Option) (*cloudfront.DeleteFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionProfileInput, ...request.Option) *cloudfront.DeleteFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1567,7 +2009,6 @@ func (_m *MockFakeCloudFront) DeleteFieldLevelEncryptionProfileWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteFieldLevelEncryptionProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1582,6 +2023,10 @@ func (_m *MockFakeCloudFront) DeleteFunction(_a0 *cloudfront.DeleteFunctionInput ret := _m.Called(_a0) var r0 *cloudfront.DeleteFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFunctionInput) (*cloudfront.DeleteFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFunctionInput) *cloudfront.DeleteFunctionOutput); ok { r0 = rf(_a0) } else { @@ -1590,7 +2035,6 @@ func (_m *MockFakeCloudFront) DeleteFunction(_a0 *cloudfront.DeleteFunctionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -1605,6 +2049,10 @@ func (_m *MockFakeCloudFront) DeleteFunctionRequest(_a0 *cloudfront.DeleteFuncti ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFunctionInput) (*request.Request, *cloudfront.DeleteFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1613,7 +2061,6 @@ func (_m *MockFakeCloudFront) DeleteFunctionRequest(_a0 *cloudfront.DeleteFuncti } } - var r1 *cloudfront.DeleteFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteFunctionInput) *cloudfront.DeleteFunctionOutput); ok { r1 = rf(_a0) } else { @@ -1637,6 +2084,10 @@ func (_m *MockFakeCloudFront) DeleteFunctionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.DeleteFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFunctionInput, ...request.Option) (*cloudfront.DeleteFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteFunctionInput, ...request.Option) *cloudfront.DeleteFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1645,7 +2096,6 @@ func (_m *MockFakeCloudFront) DeleteFunctionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1660,6 +2110,10 @@ func (_m *MockFakeCloudFront) DeleteKeyGroup(_a0 *cloudfront.DeleteKeyGroupInput ret := _m.Called(_a0) var r0 *cloudfront.DeleteKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteKeyGroupInput) (*cloudfront.DeleteKeyGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteKeyGroupInput) *cloudfront.DeleteKeyGroupOutput); ok { r0 = rf(_a0) } else { @@ -1668,7 +2122,6 @@ func (_m *MockFakeCloudFront) DeleteKeyGroup(_a0 *cloudfront.DeleteKeyGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteKeyGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1683,6 +2136,10 @@ func (_m *MockFakeCloudFront) DeleteKeyGroupRequest(_a0 *cloudfront.DeleteKeyGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteKeyGroupOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteKeyGroupInput) (*request.Request, *cloudfront.DeleteKeyGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteKeyGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1691,7 +2148,6 @@ func (_m *MockFakeCloudFront) DeleteKeyGroupRequest(_a0 *cloudfront.DeleteKeyGro } } - var r1 *cloudfront.DeleteKeyGroupOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteKeyGroupInput) *cloudfront.DeleteKeyGroupOutput); ok { r1 = rf(_a0) } else { @@ -1715,6 +2171,10 @@ func (_m *MockFakeCloudFront) DeleteKeyGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.DeleteKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteKeyGroupInput, ...request.Option) (*cloudfront.DeleteKeyGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteKeyGroupInput, ...request.Option) *cloudfront.DeleteKeyGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1723,7 +2183,6 @@ func (_m *MockFakeCloudFront) DeleteKeyGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteKeyGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1738,6 +2197,10 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscription(_a0 *cloudfront.Delet ret := _m.Called(_a0) var r0 *cloudfront.DeleteMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteMonitoringSubscriptionInput) (*cloudfront.DeleteMonitoringSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteMonitoringSubscriptionInput) *cloudfront.DeleteMonitoringSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -1746,7 +2209,6 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscription(_a0 *cloudfront.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteMonitoringSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -1761,6 +2223,10 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscriptionRequest(_a0 *cloudfron ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteMonitoringSubscriptionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteMonitoringSubscriptionInput) (*request.Request, *cloudfront.DeleteMonitoringSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteMonitoringSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1769,7 +2235,6 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscriptionRequest(_a0 *cloudfron } } - var r1 *cloudfront.DeleteMonitoringSubscriptionOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteMonitoringSubscriptionInput) *cloudfront.DeleteMonitoringSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -1793,6 +2258,10 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscriptionWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *cloudfront.DeleteMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteMonitoringSubscriptionInput, ...request.Option) (*cloudfront.DeleteMonitoringSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteMonitoringSubscriptionInput, ...request.Option) *cloudfront.DeleteMonitoringSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1801,7 +2270,6 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscriptionWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteMonitoringSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1811,11 +2279,102 @@ func (_m *MockFakeCloudFront) DeleteMonitoringSubscriptionWithContext(_a0 contex return r0, r1 } +// DeleteOriginAccessControl provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) DeleteOriginAccessControl(_a0 *cloudfront.DeleteOriginAccessControlInput) (*cloudfront.DeleteOriginAccessControlOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.DeleteOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginAccessControlInput) (*cloudfront.DeleteOriginAccessControlOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginAccessControlInput) *cloudfront.DeleteOriginAccessControlOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.DeleteOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.DeleteOriginAccessControlInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteOriginAccessControlRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) DeleteOriginAccessControlRequest(_a0 *cloudfront.DeleteOriginAccessControlInput) (*request.Request, *cloudfront.DeleteOriginAccessControlOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.DeleteOriginAccessControlOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginAccessControlInput) (*request.Request, *cloudfront.DeleteOriginAccessControlOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginAccessControlInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.DeleteOriginAccessControlInput) *cloudfront.DeleteOriginAccessControlOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.DeleteOriginAccessControlOutput) + } + } + + return r0, r1 +} + +// DeleteOriginAccessControlWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) DeleteOriginAccessControlWithContext(_a0 context.Context, _a1 *cloudfront.DeleteOriginAccessControlInput, _a2 ...request.Option) (*cloudfront.DeleteOriginAccessControlOutput, error) { + _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 *cloudfront.DeleteOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteOriginAccessControlInput, ...request.Option) (*cloudfront.DeleteOriginAccessControlOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteOriginAccessControlInput, ...request.Option) *cloudfront.DeleteOriginAccessControlOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.DeleteOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteOriginAccessControlInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteOriginRequestPolicy provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) DeleteOriginRequestPolicy(_a0 *cloudfront.DeleteOriginRequestPolicyInput) (*cloudfront.DeleteOriginRequestPolicyOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.DeleteOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginRequestPolicyInput) (*cloudfront.DeleteOriginRequestPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginRequestPolicyInput) *cloudfront.DeleteOriginRequestPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1824,7 +2383,6 @@ func (_m *MockFakeCloudFront) DeleteOriginRequestPolicy(_a0 *cloudfront.DeleteOr } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteOriginRequestPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1839,6 +2397,10 @@ func (_m *MockFakeCloudFront) DeleteOriginRequestPolicyRequest(_a0 *cloudfront.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteOriginRequestPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginRequestPolicyInput) (*request.Request, *cloudfront.DeleteOriginRequestPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteOriginRequestPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1847,7 +2409,6 @@ func (_m *MockFakeCloudFront) DeleteOriginRequestPolicyRequest(_a0 *cloudfront.D } } - var r1 *cloudfront.DeleteOriginRequestPolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteOriginRequestPolicyInput) *cloudfront.DeleteOriginRequestPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1871,6 +2432,10 @@ func (_m *MockFakeCloudFront) DeleteOriginRequestPolicyWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudfront.DeleteOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteOriginRequestPolicyInput, ...request.Option) (*cloudfront.DeleteOriginRequestPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteOriginRequestPolicyInput, ...request.Option) *cloudfront.DeleteOriginRequestPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1879,7 +2444,6 @@ func (_m *MockFakeCloudFront) DeleteOriginRequestPolicyWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteOriginRequestPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1894,6 +2458,10 @@ func (_m *MockFakeCloudFront) DeletePublicKey(_a0 *cloudfront.DeletePublicKeyInp ret := _m.Called(_a0) var r0 *cloudfront.DeletePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeletePublicKeyInput) (*cloudfront.DeletePublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeletePublicKeyInput) *cloudfront.DeletePublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -1902,7 +2470,6 @@ func (_m *MockFakeCloudFront) DeletePublicKey(_a0 *cloudfront.DeletePublicKeyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeletePublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1917,6 +2484,10 @@ func (_m *MockFakeCloudFront) DeletePublicKeyRequest(_a0 *cloudfront.DeletePubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeletePublicKeyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeletePublicKeyInput) (*request.Request, *cloudfront.DeletePublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeletePublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1925,7 +2496,6 @@ func (_m *MockFakeCloudFront) DeletePublicKeyRequest(_a0 *cloudfront.DeletePubli } } - var r1 *cloudfront.DeletePublicKeyOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeletePublicKeyInput) *cloudfront.DeletePublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -1949,6 +2519,10 @@ func (_m *MockFakeCloudFront) DeletePublicKeyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.DeletePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeletePublicKeyInput, ...request.Option) (*cloudfront.DeletePublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeletePublicKeyInput, ...request.Option) *cloudfront.DeletePublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1957,7 +2531,6 @@ func (_m *MockFakeCloudFront) DeletePublicKeyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeletePublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1972,6 +2545,10 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfig(_a0 *cloudfront.DeleteReal ret := _m.Called(_a0) var r0 *cloudfront.DeleteRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteRealtimeLogConfigInput) (*cloudfront.DeleteRealtimeLogConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteRealtimeLogConfigInput) *cloudfront.DeleteRealtimeLogConfigOutput); ok { r0 = rf(_a0) } else { @@ -1980,7 +2557,6 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfig(_a0 *cloudfront.DeleteReal } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DeleteRealtimeLogConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1995,6 +2571,10 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfigRequest(_a0 *cloudfront.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteRealtimeLogConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteRealtimeLogConfigInput) (*request.Request, *cloudfront.DeleteRealtimeLogConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteRealtimeLogConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2003,7 +2583,6 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfigRequest(_a0 *cloudfront.Del } } - var r1 *cloudfront.DeleteRealtimeLogConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteRealtimeLogConfigInput) *cloudfront.DeleteRealtimeLogConfigOutput); ok { r1 = rf(_a0) } else { @@ -2027,6 +2606,10 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfigWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudfront.DeleteRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteRealtimeLogConfigInput, ...request.Option) (*cloudfront.DeleteRealtimeLogConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteRealtimeLogConfigInput, ...request.Option) *cloudfront.DeleteRealtimeLogConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2035,7 +2618,6 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfigWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteRealtimeLogConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2045,21 +2627,24 @@ func (_m *MockFakeCloudFront) DeleteRealtimeLogConfigWithContext(_a0 context.Con return r0, r1 } -// DeleteStreamingDistribution provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) DeleteStreamingDistribution(_a0 *cloudfront.DeleteStreamingDistributionInput) (*cloudfront.DeleteStreamingDistributionOutput, error) { +// DeleteResponseHeadersPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) DeleteResponseHeadersPolicy(_a0 *cloudfront.DeleteResponseHeadersPolicyInput) (*cloudfront.DeleteResponseHeadersPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudfront.DeleteStreamingDistributionOutput - if rf, ok := ret.Get(0).(func(*cloudfront.DeleteStreamingDistributionInput) *cloudfront.DeleteStreamingDistributionOutput); ok { + var r0 *cloudfront.DeleteResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteResponseHeadersPolicyInput) (*cloudfront.DeleteResponseHeadersPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteResponseHeadersPolicyInput) *cloudfront.DeleteResponseHeadersPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.DeleteStreamingDistributionOutput) + r0 = ret.Get(0).(*cloudfront.DeleteResponseHeadersPolicyOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudfront.DeleteStreamingDistributionInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.DeleteResponseHeadersPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2068,11 +2653,102 @@ func (_m *MockFakeCloudFront) DeleteStreamingDistribution(_a0 *cloudfront.Delete return r0, r1 } -// DeleteStreamingDistributionRequest provides a mock function with given fields: _a0 +// DeleteResponseHeadersPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) DeleteResponseHeadersPolicyRequest(_a0 *cloudfront.DeleteResponseHeadersPolicyInput) (*request.Request, *cloudfront.DeleteResponseHeadersPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.DeleteResponseHeadersPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteResponseHeadersPolicyInput) (*request.Request, *cloudfront.DeleteResponseHeadersPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteResponseHeadersPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.DeleteResponseHeadersPolicyInput) *cloudfront.DeleteResponseHeadersPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.DeleteResponseHeadersPolicyOutput) + } + } + + return r0, r1 +} + +// DeleteResponseHeadersPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) DeleteResponseHeadersPolicyWithContext(_a0 context.Context, _a1 *cloudfront.DeleteResponseHeadersPolicyInput, _a2 ...request.Option) (*cloudfront.DeleteResponseHeadersPolicyOutput, error) { + _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 *cloudfront.DeleteResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteResponseHeadersPolicyInput, ...request.Option) (*cloudfront.DeleteResponseHeadersPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteResponseHeadersPolicyInput, ...request.Option) *cloudfront.DeleteResponseHeadersPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.DeleteResponseHeadersPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteResponseHeadersPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteStreamingDistribution provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) DeleteStreamingDistribution(_a0 *cloudfront.DeleteStreamingDistributionInput) (*cloudfront.DeleteStreamingDistributionOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.DeleteStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteStreamingDistributionInput) (*cloudfront.DeleteStreamingDistributionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteStreamingDistributionInput) *cloudfront.DeleteStreamingDistributionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.DeleteStreamingDistributionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.DeleteStreamingDistributionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteStreamingDistributionRequest provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) DeleteStreamingDistributionRequest(_a0 *cloudfront.DeleteStreamingDistributionInput) (*request.Request, *cloudfront.DeleteStreamingDistributionOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DeleteStreamingDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DeleteStreamingDistributionInput) (*request.Request, *cloudfront.DeleteStreamingDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DeleteStreamingDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2081,7 +2757,6 @@ func (_m *MockFakeCloudFront) DeleteStreamingDistributionRequest(_a0 *cloudfront } } - var r1 *cloudfront.DeleteStreamingDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.DeleteStreamingDistributionInput) *cloudfront.DeleteStreamingDistributionOutput); ok { r1 = rf(_a0) } else { @@ -2105,6 +2780,10 @@ func (_m *MockFakeCloudFront) DeleteStreamingDistributionWithContext(_a0 context ret := _m.Called(_ca...) var r0 *cloudfront.DeleteStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteStreamingDistributionInput, ...request.Option) (*cloudfront.DeleteStreamingDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DeleteStreamingDistributionInput, ...request.Option) *cloudfront.DeleteStreamingDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2113,7 +2792,6 @@ func (_m *MockFakeCloudFront) DeleteStreamingDistributionWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DeleteStreamingDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2128,6 +2806,10 @@ func (_m *MockFakeCloudFront) DescribeFunction(_a0 *cloudfront.DescribeFunctionI ret := _m.Called(_a0) var r0 *cloudfront.DescribeFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.DescribeFunctionInput) (*cloudfront.DescribeFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DescribeFunctionInput) *cloudfront.DescribeFunctionOutput); ok { r0 = rf(_a0) } else { @@ -2136,7 +2818,6 @@ func (_m *MockFakeCloudFront) DescribeFunction(_a0 *cloudfront.DescribeFunctionI } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.DescribeFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -2151,6 +2832,10 @@ func (_m *MockFakeCloudFront) DescribeFunctionRequest(_a0 *cloudfront.DescribeFu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.DescribeFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.DescribeFunctionInput) (*request.Request, *cloudfront.DescribeFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.DescribeFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2159,7 +2844,6 @@ func (_m *MockFakeCloudFront) DescribeFunctionRequest(_a0 *cloudfront.DescribeFu } } - var r1 *cloudfront.DescribeFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.DescribeFunctionInput) *cloudfront.DescribeFunctionOutput); ok { r1 = rf(_a0) } else { @@ -2183,6 +2867,10 @@ func (_m *MockFakeCloudFront) DescribeFunctionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *cloudfront.DescribeFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DescribeFunctionInput, ...request.Option) (*cloudfront.DescribeFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.DescribeFunctionInput, ...request.Option) *cloudfront.DescribeFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2191,7 +2879,6 @@ func (_m *MockFakeCloudFront) DescribeFunctionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.DescribeFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2206,6 +2893,10 @@ func (_m *MockFakeCloudFront) GetCachePolicy(_a0 *cloudfront.GetCachePolicyInput ret := _m.Called(_a0) var r0 *cloudfront.GetCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyInput) (*cloudfront.GetCachePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyInput) *cloudfront.GetCachePolicyOutput); ok { r0 = rf(_a0) } else { @@ -2214,7 +2905,6 @@ func (_m *MockFakeCloudFront) GetCachePolicy(_a0 *cloudfront.GetCachePolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetCachePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2229,6 +2919,10 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfig(_a0 *cloudfront.GetCachePolic ret := _m.Called(_a0) var r0 *cloudfront.GetCachePolicyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyConfigInput) (*cloudfront.GetCachePolicyConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyConfigInput) *cloudfront.GetCachePolicyConfigOutput); ok { r0 = rf(_a0) } else { @@ -2237,7 +2931,6 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfig(_a0 *cloudfront.GetCachePolic } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetCachePolicyConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2252,6 +2945,10 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfigRequest(_a0 *cloudfront.GetCac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetCachePolicyConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyConfigInput) (*request.Request, *cloudfront.GetCachePolicyConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2260,7 +2957,6 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfigRequest(_a0 *cloudfront.GetCac } } - var r1 *cloudfront.GetCachePolicyConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetCachePolicyConfigInput) *cloudfront.GetCachePolicyConfigOutput); ok { r1 = rf(_a0) } else { @@ -2284,6 +2980,10 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfigWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudfront.GetCachePolicyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCachePolicyConfigInput, ...request.Option) (*cloudfront.GetCachePolicyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCachePolicyConfigInput, ...request.Option) *cloudfront.GetCachePolicyConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2292,7 +2992,6 @@ func (_m *MockFakeCloudFront) GetCachePolicyConfigWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetCachePolicyConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2307,6 +3006,10 @@ func (_m *MockFakeCloudFront) GetCachePolicyRequest(_a0 *cloudfront.GetCachePoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetCachePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyInput) (*request.Request, *cloudfront.GetCachePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCachePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2315,7 +3018,6 @@ func (_m *MockFakeCloudFront) GetCachePolicyRequest(_a0 *cloudfront.GetCachePoli } } - var r1 *cloudfront.GetCachePolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetCachePolicyInput) *cloudfront.GetCachePolicyOutput); ok { r1 = rf(_a0) } else { @@ -2339,6 +3041,10 @@ func (_m *MockFakeCloudFront) GetCachePolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.GetCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCachePolicyInput, ...request.Option) (*cloudfront.GetCachePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCachePolicyInput, ...request.Option) *cloudfront.GetCachePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2347,7 +3053,6 @@ func (_m *MockFakeCloudFront) GetCachePolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetCachePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2362,6 +3067,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentity(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *cloudfront.GetCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) (*cloudfront.GetCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) *cloudfront.GetCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0) } else { @@ -2370,7 +3079,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentity(_a0 *cloudfront. } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) error); ok { r1 = rf(_a0) } else { @@ -2385,6 +3093,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfig(_a0 *cloud ret := _m.Called(_a0) var r0 *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) (*cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput); ok { r0 = rf(_a0) } else { @@ -2393,7 +3105,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfig(_a0 *cloud } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2408,6 +3119,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) (*request.Request, *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2416,7 +3131,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(_a0 } } - var r1 *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetCloudFrontOriginAccessIdentityConfigInput) *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput); ok { r1 = rf(_a0) } else { @@ -2440,6 +3154,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfigWithContext ret := _m.Called(_ca...) var r0 *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityConfigInput, ...request.Option) (*cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityConfigInput, ...request.Option) *cloudfront.GetCloudFrontOriginAccessIdentityConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2448,7 +3166,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityConfigWithContext } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2463,6 +3180,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityRequest(_a0 *clou ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetCloudFrontOriginAccessIdentityOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) (*request.Request, *cloudfront.GetCloudFrontOriginAccessIdentityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2471,7 +3192,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityRequest(_a0 *clou } } - var r1 *cloudfront.GetCloudFrontOriginAccessIdentityOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetCloudFrontOriginAccessIdentityInput) *cloudfront.GetCloudFrontOriginAccessIdentityOutput); ok { r1 = rf(_a0) } else { @@ -2495,6 +3215,10 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityWithContext(_a0 c ret := _m.Called(_ca...) var r0 *cloudfront.GetCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityInput, ...request.Option) (*cloudfront.GetCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityInput, ...request.Option) *cloudfront.GetCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2503,7 +3227,6 @@ func (_m *MockFakeCloudFront) GetCloudFrontOriginAccessIdentityWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetCloudFrontOriginAccessIdentityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2518,6 +3241,10 @@ func (_m *MockFakeCloudFront) GetDistribution(_a0 *cloudfront.GetDistributionInp ret := _m.Called(_a0) var r0 *cloudfront.GetDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionInput) *cloudfront.GetDistributionOutput); ok { r0 = rf(_a0) } else { @@ -2526,7 +3253,6 @@ func (_m *MockFakeCloudFront) GetDistribution(_a0 *cloudfront.GetDistributionInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -2541,6 +3267,10 @@ func (_m *MockFakeCloudFront) GetDistributionConfig(_a0 *cloudfront.GetDistribut ret := _m.Called(_a0) var r0 *cloudfront.GetDistributionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionConfigInput) (*cloudfront.GetDistributionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionConfigInput) *cloudfront.GetDistributionConfigOutput); ok { r0 = rf(_a0) } else { @@ -2549,7 +3279,6 @@ func (_m *MockFakeCloudFront) GetDistributionConfig(_a0 *cloudfront.GetDistribut } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetDistributionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2564,6 +3293,10 @@ func (_m *MockFakeCloudFront) GetDistributionConfigRequest(_a0 *cloudfront.GetDi ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetDistributionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionConfigInput) (*request.Request, *cloudfront.GetDistributionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2572,7 +3305,6 @@ func (_m *MockFakeCloudFront) GetDistributionConfigRequest(_a0 *cloudfront.GetDi } } - var r1 *cloudfront.GetDistributionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetDistributionConfigInput) *cloudfront.GetDistributionConfigOutput); ok { r1 = rf(_a0) } else { @@ -2596,6 +3328,10 @@ func (_m *MockFakeCloudFront) GetDistributionConfigWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *cloudfront.GetDistributionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetDistributionConfigInput, ...request.Option) (*cloudfront.GetDistributionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetDistributionConfigInput, ...request.Option) *cloudfront.GetDistributionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2604,7 +3340,6 @@ func (_m *MockFakeCloudFront) GetDistributionConfigWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetDistributionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2619,6 +3354,10 @@ func (_m *MockFakeCloudFront) GetDistributionRequest(_a0 *cloudfront.GetDistribu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionInput) (*request.Request, *cloudfront.GetDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2627,7 +3366,6 @@ func (_m *MockFakeCloudFront) GetDistributionRequest(_a0 *cloudfront.GetDistribu } } - var r1 *cloudfront.GetDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetDistributionInput) *cloudfront.GetDistributionOutput); ok { r1 = rf(_a0) } else { @@ -2651,6 +3389,10 @@ func (_m *MockFakeCloudFront) GetDistributionWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.GetDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetDistributionInput, ...request.Option) (*cloudfront.GetDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetDistributionInput, ...request.Option) *cloudfront.GetDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2659,7 +3401,6 @@ func (_m *MockFakeCloudFront) GetDistributionWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2674,6 +3415,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryption(_a0 *cloudfront.GetFieldLe ret := _m.Called(_a0) var r0 *cloudfront.GetFieldLevelEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionInput) (*cloudfront.GetFieldLevelEncryptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionInput) *cloudfront.GetFieldLevelEncryptionOutput); ok { r0 = rf(_a0) } else { @@ -2682,7 +3427,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryption(_a0 *cloudfront.GetFieldLe } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -2697,6 +3441,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfig(_a0 *cloudfront.GetF ret := _m.Called(_a0) var r0 *cloudfront.GetFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) (*cloudfront.GetFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) *cloudfront.GetFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0) } else { @@ -2705,7 +3453,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfig(_a0 *cloudfront.GetF } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2720,6 +3467,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfigRequest(_a0 *cloudfro ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetFieldLevelEncryptionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) (*request.Request, *cloudfront.GetFieldLevelEncryptionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2728,7 +3479,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfigRequest(_a0 *cloudfro } } - var r1 *cloudfront.GetFieldLevelEncryptionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionConfigInput) *cloudfront.GetFieldLevelEncryptionConfigOutput); ok { r1 = rf(_a0) } else { @@ -2752,6 +3502,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfigWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *cloudfront.GetFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionConfigInput, ...request.Option) (*cloudfront.GetFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionConfigInput, ...request.Option) *cloudfront.GetFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2760,7 +3514,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionConfigWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetFieldLevelEncryptionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2775,6 +3528,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfile(_a0 *cloudfront.Get ret := _m.Called(_a0) var r0 *cloudfront.GetFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) (*cloudfront.GetFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) *cloudfront.GetFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0) } else { @@ -2783,7 +3540,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfile(_a0 *cloudfront.Get } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) error); ok { r1 = rf(_a0) } else { @@ -2798,6 +3554,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfig(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.GetFieldLevelEncryptionProfileConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) (*cloudfront.GetFieldLevelEncryptionProfileConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) *cloudfront.GetFieldLevelEncryptionProfileConfigOutput); ok { r0 = rf(_a0) } else { @@ -2806,7 +3566,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfig(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2821,6 +3580,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfigRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetFieldLevelEncryptionProfileConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) (*request.Request, *cloudfront.GetFieldLevelEncryptionProfileConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2829,7 +3592,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfigRequest(_a0 *c } } - var r1 *cloudfront.GetFieldLevelEncryptionProfileConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionProfileConfigInput) *cloudfront.GetFieldLevelEncryptionProfileConfigOutput); ok { r1 = rf(_a0) } else { @@ -2853,6 +3615,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfigWithContext(_a ret := _m.Called(_ca...) var r0 *cloudfront.GetFieldLevelEncryptionProfileConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileConfigInput, ...request.Option) (*cloudfront.GetFieldLevelEncryptionProfileConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileConfigInput, ...request.Option) *cloudfront.GetFieldLevelEncryptionProfileConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2861,7 +3627,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileConfigWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2876,6 +3641,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileRequest(_a0 *cloudfr ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetFieldLevelEncryptionProfileOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) (*request.Request, *cloudfront.GetFieldLevelEncryptionProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2884,7 +3653,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileRequest(_a0 *cloudfr } } - var r1 *cloudfront.GetFieldLevelEncryptionProfileOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionProfileInput) *cloudfront.GetFieldLevelEncryptionProfileOutput); ok { r1 = rf(_a0) } else { @@ -2908,6 +3676,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *cloudfront.GetFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileInput, ...request.Option) (*cloudfront.GetFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileInput, ...request.Option) *cloudfront.GetFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2916,7 +3688,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionProfileWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetFieldLevelEncryptionProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2931,6 +3702,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionRequest(_a0 *cloudfront.Get ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetFieldLevelEncryptionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionInput) (*request.Request, *cloudfront.GetFieldLevelEncryptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFieldLevelEncryptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2939,7 +3714,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionRequest(_a0 *cloudfront.Get } } - var r1 *cloudfront.GetFieldLevelEncryptionOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetFieldLevelEncryptionInput) *cloudfront.GetFieldLevelEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -2963,6 +3737,10 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudfront.GetFieldLevelEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionInput, ...request.Option) (*cloudfront.GetFieldLevelEncryptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFieldLevelEncryptionInput, ...request.Option) *cloudfront.GetFieldLevelEncryptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2971,7 +3749,6 @@ func (_m *MockFakeCloudFront) GetFieldLevelEncryptionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetFieldLevelEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2986,6 +3763,10 @@ func (_m *MockFakeCloudFront) GetFunction(_a0 *cloudfront.GetFunctionInput) (*cl ret := _m.Called(_a0) var r0 *cloudfront.GetFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetFunctionInput) (*cloudfront.GetFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFunctionInput) *cloudfront.GetFunctionOutput); ok { r0 = rf(_a0) } else { @@ -2994,7 +3775,6 @@ func (_m *MockFakeCloudFront) GetFunction(_a0 *cloudfront.GetFunctionInput) (*cl } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -3009,6 +3789,10 @@ func (_m *MockFakeCloudFront) GetFunctionRequest(_a0 *cloudfront.GetFunctionInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetFunctionInput) (*request.Request, *cloudfront.GetFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3017,7 +3801,6 @@ func (_m *MockFakeCloudFront) GetFunctionRequest(_a0 *cloudfront.GetFunctionInpu } } - var r1 *cloudfront.GetFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetFunctionInput) *cloudfront.GetFunctionOutput); ok { r1 = rf(_a0) } else { @@ -3041,6 +3824,10 @@ func (_m *MockFakeCloudFront) GetFunctionWithContext(_a0 context.Context, _a1 *c ret := _m.Called(_ca...) var r0 *cloudfront.GetFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFunctionInput, ...request.Option) (*cloudfront.GetFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetFunctionInput, ...request.Option) *cloudfront.GetFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3049,7 +3836,6 @@ func (_m *MockFakeCloudFront) GetFunctionWithContext(_a0 context.Context, _a1 *c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3064,6 +3850,10 @@ func (_m *MockFakeCloudFront) GetInvalidation(_a0 *cloudfront.GetInvalidationInp ret := _m.Called(_a0) var r0 *cloudfront.GetInvalidationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetInvalidationInput) (*cloudfront.GetInvalidationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetInvalidationInput) *cloudfront.GetInvalidationOutput); ok { r0 = rf(_a0) } else { @@ -3072,7 +3862,6 @@ func (_m *MockFakeCloudFront) GetInvalidation(_a0 *cloudfront.GetInvalidationInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetInvalidationInput) error); ok { r1 = rf(_a0) } else { @@ -3087,6 +3876,10 @@ func (_m *MockFakeCloudFront) GetInvalidationRequest(_a0 *cloudfront.GetInvalida ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetInvalidationOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetInvalidationInput) (*request.Request, *cloudfront.GetInvalidationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetInvalidationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3095,7 +3888,6 @@ func (_m *MockFakeCloudFront) GetInvalidationRequest(_a0 *cloudfront.GetInvalida } } - var r1 *cloudfront.GetInvalidationOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetInvalidationInput) *cloudfront.GetInvalidationOutput); ok { r1 = rf(_a0) } else { @@ -3119,6 +3911,10 @@ func (_m *MockFakeCloudFront) GetInvalidationWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.GetInvalidationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetInvalidationInput, ...request.Option) (*cloudfront.GetInvalidationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetInvalidationInput, ...request.Option) *cloudfront.GetInvalidationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3127,7 +3923,6 @@ func (_m *MockFakeCloudFront) GetInvalidationWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetInvalidationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3142,6 +3937,10 @@ func (_m *MockFakeCloudFront) GetKeyGroup(_a0 *cloudfront.GetKeyGroupInput) (*cl ret := _m.Called(_a0) var r0 *cloudfront.GetKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupInput) (*cloudfront.GetKeyGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupInput) *cloudfront.GetKeyGroupOutput); ok { r0 = rf(_a0) } else { @@ -3150,7 +3949,6 @@ func (_m *MockFakeCloudFront) GetKeyGroup(_a0 *cloudfront.GetKeyGroupInput) (*cl } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetKeyGroupInput) error); ok { r1 = rf(_a0) } else { @@ -3165,6 +3963,10 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfig(_a0 *cloudfront.GetKeyGroupConfi ret := _m.Called(_a0) var r0 *cloudfront.GetKeyGroupConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupConfigInput) (*cloudfront.GetKeyGroupConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupConfigInput) *cloudfront.GetKeyGroupConfigOutput); ok { r0 = rf(_a0) } else { @@ -3173,7 +3975,6 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfig(_a0 *cloudfront.GetKeyGroupConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetKeyGroupConfigInput) error); ok { r1 = rf(_a0) } else { @@ -3188,6 +3989,10 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfigRequest(_a0 *cloudfront.GetKeyGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetKeyGroupConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupConfigInput) (*request.Request, *cloudfront.GetKeyGroupConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3196,7 +4001,6 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfigRequest(_a0 *cloudfront.GetKeyGro } } - var r1 *cloudfront.GetKeyGroupConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetKeyGroupConfigInput) *cloudfront.GetKeyGroupConfigOutput); ok { r1 = rf(_a0) } else { @@ -3220,6 +4024,10 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfigWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.GetKeyGroupConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetKeyGroupConfigInput, ...request.Option) (*cloudfront.GetKeyGroupConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetKeyGroupConfigInput, ...request.Option) *cloudfront.GetKeyGroupConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3228,7 +4036,6 @@ func (_m *MockFakeCloudFront) GetKeyGroupConfigWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetKeyGroupConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3243,6 +4050,10 @@ func (_m *MockFakeCloudFront) GetKeyGroupRequest(_a0 *cloudfront.GetKeyGroupInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetKeyGroupOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupInput) (*request.Request, *cloudfront.GetKeyGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetKeyGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3251,7 +4062,6 @@ func (_m *MockFakeCloudFront) GetKeyGroupRequest(_a0 *cloudfront.GetKeyGroupInpu } } - var r1 *cloudfront.GetKeyGroupOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetKeyGroupInput) *cloudfront.GetKeyGroupOutput); ok { r1 = rf(_a0) } else { @@ -3275,6 +4085,10 @@ func (_m *MockFakeCloudFront) GetKeyGroupWithContext(_a0 context.Context, _a1 *c ret := _m.Called(_ca...) var r0 *cloudfront.GetKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetKeyGroupInput, ...request.Option) (*cloudfront.GetKeyGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetKeyGroupInput, ...request.Option) *cloudfront.GetKeyGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3283,7 +4097,6 @@ func (_m *MockFakeCloudFront) GetKeyGroupWithContext(_a0 context.Context, _a1 *c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetKeyGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3298,6 +4111,10 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscription(_a0 *cloudfront.GetMonit ret := _m.Called(_a0) var r0 *cloudfront.GetMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetMonitoringSubscriptionInput) (*cloudfront.GetMonitoringSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetMonitoringSubscriptionInput) *cloudfront.GetMonitoringSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -3306,7 +4123,6 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscription(_a0 *cloudfront.GetMonit } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetMonitoringSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -3321,6 +4137,10 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscriptionRequest(_a0 *cloudfront.G ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetMonitoringSubscriptionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetMonitoringSubscriptionInput) (*request.Request, *cloudfront.GetMonitoringSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetMonitoringSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3329,7 +4149,6 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscriptionRequest(_a0 *cloudfront.G } } - var r1 *cloudfront.GetMonitoringSubscriptionOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetMonitoringSubscriptionInput) *cloudfront.GetMonitoringSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -3353,6 +4172,10 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscriptionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudfront.GetMonitoringSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetMonitoringSubscriptionInput, ...request.Option) (*cloudfront.GetMonitoringSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetMonitoringSubscriptionInput, ...request.Option) *cloudfront.GetMonitoringSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3361,7 +4184,6 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscriptionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetMonitoringSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3371,21 +4193,24 @@ func (_m *MockFakeCloudFront) GetMonitoringSubscriptionWithContext(_a0 context.C return r0, r1 } -// GetOriginRequestPolicy provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetOriginRequestPolicy(_a0 *cloudfront.GetOriginRequestPolicyInput) (*cloudfront.GetOriginRequestPolicyOutput, error) { +// GetOriginAccessControl provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginAccessControl(_a0 *cloudfront.GetOriginAccessControlInput) (*cloudfront.GetOriginAccessControlOutput, error) { ret := _m.Called(_a0) - var r0 *cloudfront.GetOriginRequestPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) *cloudfront.GetOriginRequestPolicyOutput); ok { + var r0 *cloudfront.GetOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlInput) (*cloudfront.GetOriginAccessControlOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlInput) *cloudfront.GetOriginAccessControlOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyOutput) + r0 = ret.Get(0).(*cloudfront.GetOriginAccessControlOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginAccessControlInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3394,21 +4219,24 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicy(_a0 *cloudfront.GetOriginRe return r0, r1 } -// GetOriginRequestPolicyConfig provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfig(_a0 *cloudfront.GetOriginRequestPolicyConfigInput) (*cloudfront.GetOriginRequestPolicyConfigOutput, error) { +// GetOriginAccessControlConfig provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginAccessControlConfig(_a0 *cloudfront.GetOriginAccessControlConfigInput) (*cloudfront.GetOriginAccessControlConfigOutput, error) { ret := _m.Called(_a0) - var r0 *cloudfront.GetOriginRequestPolicyConfigOutput - if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + var r0 *cloudfront.GetOriginAccessControlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlConfigInput) (*cloudfront.GetOriginAccessControlConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlConfigInput) *cloudfront.GetOriginAccessControlConfigOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyConfigOutput) + r0 = ret.Get(0).(*cloudfront.GetOriginAccessControlConfigOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyConfigInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginAccessControlConfigInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3417,12 +4245,16 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfig(_a0 *cloudfront.GetOr return r0, r1 } -// GetOriginRequestPolicyConfigRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigRequest(_a0 *cloudfront.GetOriginRequestPolicyConfigInput) (*request.Request, *cloudfront.GetOriginRequestPolicyConfigOutput) { +// GetOriginAccessControlConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginAccessControlConfigRequest(_a0 *cloudfront.GetOriginAccessControlConfigInput) (*request.Request, *cloudfront.GetOriginAccessControlConfigOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *request.Request); ok { + var r1 *cloudfront.GetOriginAccessControlConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlConfigInput) (*request.Request, *cloudfront.GetOriginAccessControlConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlConfigInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3430,20 +4262,19 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigRequest(_a0 *cloudfron } } - var r1 *cloudfront.GetOriginRequestPolicyConfigOutput - if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginAccessControlConfigInput) *cloudfront.GetOriginAccessControlConfigOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudfront.GetOriginRequestPolicyConfigOutput) + r1 = ret.Get(1).(*cloudfront.GetOriginAccessControlConfigOutput) } } return r0, r1 } -// GetOriginRequestPolicyConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetOriginRequestPolicyConfigInput, _a2 ...request.Option) (*cloudfront.GetOriginRequestPolicyConfigOutput, error) { +// GetOriginAccessControlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetOriginAccessControlConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetOriginAccessControlConfigInput, _a2 ...request.Option) (*cloudfront.GetOriginAccessControlConfigOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3453,17 +4284,20 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudfront.GetOriginRequestPolicyConfigOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginRequestPolicyConfigInput, ...request.Option) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + var r0 *cloudfront.GetOriginAccessControlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginAccessControlConfigInput, ...request.Option) (*cloudfront.GetOriginAccessControlConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginAccessControlConfigInput, ...request.Option) *cloudfront.GetOriginAccessControlConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyConfigOutput) + r0 = ret.Get(0).(*cloudfront.GetOriginAccessControlConfigOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetOriginRequestPolicyConfigInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetOriginAccessControlConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3472,12 +4306,16 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigWithContext(_a0 contex return r0, r1 } -// GetOriginRequestPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetOriginRequestPolicyRequest(_a0 *cloudfront.GetOriginRequestPolicyInput) (*request.Request, *cloudfront.GetOriginRequestPolicyOutput) { +// GetOriginAccessControlRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginAccessControlRequest(_a0 *cloudfront.GetOriginAccessControlInput) (*request.Request, *cloudfront.GetOriginAccessControlOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) *request.Request); ok { + var r1 *cloudfront.GetOriginAccessControlOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlInput) (*request.Request, *cloudfront.GetOriginAccessControlOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginAccessControlInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3485,7 +4323,180 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyRequest(_a0 *cloudfront.GetO } } + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginAccessControlInput) *cloudfront.GetOriginAccessControlOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.GetOriginAccessControlOutput) + } + } + + return r0, r1 +} + +// GetOriginAccessControlWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetOriginAccessControlWithContext(_a0 context.Context, _a1 *cloudfront.GetOriginAccessControlInput, _a2 ...request.Option) (*cloudfront.GetOriginAccessControlOutput, error) { + _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 *cloudfront.GetOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginAccessControlInput, ...request.Option) (*cloudfront.GetOriginAccessControlOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginAccessControlInput, ...request.Option) *cloudfront.GetOriginAccessControlOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetOriginAccessControlInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetOriginRequestPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginRequestPolicy(_a0 *cloudfront.GetOriginRequestPolicyInput) (*cloudfront.GetOriginRequestPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.GetOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) (*cloudfront.GetOriginRequestPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) *cloudfront.GetOriginRequestPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetOriginRequestPolicyConfig provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfig(_a0 *cloudfront.GetOriginRequestPolicyConfigInput) (*cloudfront.GetOriginRequestPolicyConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.GetOriginRequestPolicyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) (*cloudfront.GetOriginRequestPolicyConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetOriginRequestPolicyConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigRequest(_a0 *cloudfront.GetOriginRequestPolicyConfigInput) (*request.Request, *cloudfront.GetOriginRequestPolicyConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.GetOriginRequestPolicyConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) (*request.Request, *cloudfront.GetOriginRequestPolicyConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyConfigInput) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.GetOriginRequestPolicyConfigOutput) + } + } + + return r0, r1 +} + +// GetOriginRequestPolicyConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetOriginRequestPolicyConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetOriginRequestPolicyConfigInput, _a2 ...request.Option) (*cloudfront.GetOriginRequestPolicyConfigOutput, error) { + _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 *cloudfront.GetOriginRequestPolicyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginRequestPolicyConfigInput, ...request.Option) (*cloudfront.GetOriginRequestPolicyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginRequestPolicyConfigInput, ...request.Option) *cloudfront.GetOriginRequestPolicyConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetOriginRequestPolicyConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetOriginRequestPolicyConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetOriginRequestPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetOriginRequestPolicyRequest(_a0 *cloudfront.GetOriginRequestPolicyInput) (*request.Request, *cloudfront.GetOriginRequestPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request var r1 *cloudfront.GetOriginRequestPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) (*request.Request, *cloudfront.GetOriginRequestPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetOriginRequestPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + if rf, ok := ret.Get(1).(func(*cloudfront.GetOriginRequestPolicyInput) *cloudfront.GetOriginRequestPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3509,6 +4520,10 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *cloudfront.GetOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginRequestPolicyInput, ...request.Option) (*cloudfront.GetOriginRequestPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetOriginRequestPolicyInput, ...request.Option) *cloudfront.GetOriginRequestPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3517,7 +4532,6 @@ func (_m *MockFakeCloudFront) GetOriginRequestPolicyWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetOriginRequestPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3532,6 +4546,10 @@ func (_m *MockFakeCloudFront) GetPublicKey(_a0 *cloudfront.GetPublicKeyInput) (* ret := _m.Called(_a0) var r0 *cloudfront.GetPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyInput) (*cloudfront.GetPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyInput) *cloudfront.GetPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -3540,7 +4558,6 @@ func (_m *MockFakeCloudFront) GetPublicKey(_a0 *cloudfront.GetPublicKeyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -3555,6 +4572,10 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfig(_a0 *cloudfront.GetPublicKeyCon ret := _m.Called(_a0) var r0 *cloudfront.GetPublicKeyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyConfigInput) (*cloudfront.GetPublicKeyConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyConfigInput) *cloudfront.GetPublicKeyConfigOutput); ok { r0 = rf(_a0) } else { @@ -3563,7 +4584,6 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfig(_a0 *cloudfront.GetPublicKeyCon } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetPublicKeyConfigInput) error); ok { r1 = rf(_a0) } else { @@ -3578,6 +4598,10 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfigRequest(_a0 *cloudfront.GetPubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetPublicKeyConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyConfigInput) (*request.Request, *cloudfront.GetPublicKeyConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3586,7 +4610,6 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfigRequest(_a0 *cloudfront.GetPubli } } - var r1 *cloudfront.GetPublicKeyConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetPublicKeyConfigInput) *cloudfront.GetPublicKeyConfigOutput); ok { r1 = rf(_a0) } else { @@ -3610,6 +4633,10 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfigWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.GetPublicKeyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetPublicKeyConfigInput, ...request.Option) (*cloudfront.GetPublicKeyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetPublicKeyConfigInput, ...request.Option) *cloudfront.GetPublicKeyConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3618,7 +4645,6 @@ func (_m *MockFakeCloudFront) GetPublicKeyConfigWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetPublicKeyConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3633,6 +4659,10 @@ func (_m *MockFakeCloudFront) GetPublicKeyRequest(_a0 *cloudfront.GetPublicKeyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetPublicKeyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyInput) (*request.Request, *cloudfront.GetPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3641,20 +4671,219 @@ func (_m *MockFakeCloudFront) GetPublicKeyRequest(_a0 *cloudfront.GetPublicKeyIn } } - var r1 *cloudfront.GetPublicKeyOutput - if rf, ok := ret.Get(1).(func(*cloudfront.GetPublicKeyInput) *cloudfront.GetPublicKeyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.GetPublicKeyInput) *cloudfront.GetPublicKeyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.GetPublicKeyOutput) + } + } + + return r0, r1 +} + +// GetPublicKeyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetPublicKeyWithContext(_a0 context.Context, _a1 *cloudfront.GetPublicKeyInput, _a2 ...request.Option) (*cloudfront.GetPublicKeyOutput, error) { + _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 *cloudfront.GetPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetPublicKeyInput, ...request.Option) (*cloudfront.GetPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetPublicKeyInput, ...request.Option) *cloudfront.GetPublicKeyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetPublicKeyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetPublicKeyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetRealtimeLogConfig provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetRealtimeLogConfig(_a0 *cloudfront.GetRealtimeLogConfigInput) (*cloudfront.GetRealtimeLogConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.GetRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) (*cloudfront.GetRealtimeLogConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) *cloudfront.GetRealtimeLogConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetRealtimeLogConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetRealtimeLogConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetRealtimeLogConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetRealtimeLogConfigRequest(_a0 *cloudfront.GetRealtimeLogConfigInput) (*request.Request, *cloudfront.GetRealtimeLogConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.GetRealtimeLogConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) (*request.Request, *cloudfront.GetRealtimeLogConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetRealtimeLogConfigInput) *cloudfront.GetRealtimeLogConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.GetRealtimeLogConfigOutput) + } + } + + return r0, r1 +} + +// GetRealtimeLogConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetRealtimeLogConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetRealtimeLogConfigInput, _a2 ...request.Option) (*cloudfront.GetRealtimeLogConfigOutput, error) { + _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 *cloudfront.GetRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetRealtimeLogConfigInput, ...request.Option) (*cloudfront.GetRealtimeLogConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetRealtimeLogConfigInput, ...request.Option) *cloudfront.GetRealtimeLogConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetRealtimeLogConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetRealtimeLogConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetResponseHeadersPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicy(_a0 *cloudfront.GetResponseHeadersPolicyInput) (*cloudfront.GetResponseHeadersPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.GetResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyInput) (*cloudfront.GetResponseHeadersPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyInput) *cloudfront.GetResponseHeadersPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetResponseHeadersPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetResponseHeadersPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetResponseHeadersPolicyConfig provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicyConfig(_a0 *cloudfront.GetResponseHeadersPolicyConfigInput) (*cloudfront.GetResponseHeadersPolicyConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.GetResponseHeadersPolicyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) (*cloudfront.GetResponseHeadersPolicyConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) *cloudfront.GetResponseHeadersPolicyConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.GetResponseHeadersPolicyConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetResponseHeadersPolicyConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicyConfigRequest(_a0 *cloudfront.GetResponseHeadersPolicyConfigInput) (*request.Request, *cloudfront.GetResponseHeadersPolicyConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.GetResponseHeadersPolicyConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) (*request.Request, *cloudfront.GetResponseHeadersPolicyConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.GetResponseHeadersPolicyConfigInput) *cloudfront.GetResponseHeadersPolicyConfigOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudfront.GetPublicKeyOutput) + r1 = ret.Get(1).(*cloudfront.GetResponseHeadersPolicyConfigOutput) } } return r0, r1 } -// GetPublicKeyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudFront) GetPublicKeyWithContext(_a0 context.Context, _a1 *cloudfront.GetPublicKeyInput, _a2 ...request.Option) (*cloudfront.GetPublicKeyOutput, error) { +// GetResponseHeadersPolicyConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicyConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetResponseHeadersPolicyConfigInput, _a2 ...request.Option) (*cloudfront.GetResponseHeadersPolicyConfigOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3664,41 +4893,21 @@ func (_m *MockFakeCloudFront) GetPublicKeyWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudfront.GetPublicKeyOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetPublicKeyInput, ...request.Option) *cloudfront.GetPublicKeyOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetPublicKeyOutput) - } - } - + var r0 *cloudfront.GetResponseHeadersPolicyConfigOutput var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetPublicKeyInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) - } else { - r1 = ret.Error(1) + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetResponseHeadersPolicyConfigInput, ...request.Option) (*cloudfront.GetResponseHeadersPolicyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - - return r0, r1 -} - -// GetRealtimeLogConfig provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetRealtimeLogConfig(_a0 *cloudfront.GetRealtimeLogConfigInput) (*cloudfront.GetRealtimeLogConfigOutput, error) { - ret := _m.Called(_a0) - - var r0 *cloudfront.GetRealtimeLogConfigOutput - if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) *cloudfront.GetRealtimeLogConfigOutput); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetResponseHeadersPolicyConfigInput, ...request.Option) *cloudfront.GetResponseHeadersPolicyConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetRealtimeLogConfigOutput) + r0 = ret.Get(0).(*cloudfront.GetResponseHeadersPolicyConfigOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudfront.GetRealtimeLogConfigInput) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetResponseHeadersPolicyConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) } @@ -3706,12 +4915,16 @@ func (_m *MockFakeCloudFront) GetRealtimeLogConfig(_a0 *cloudfront.GetRealtimeLo return r0, r1 } -// GetRealtimeLogConfigRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudFront) GetRealtimeLogConfigRequest(_a0 *cloudfront.GetRealtimeLogConfigInput) (*request.Request, *cloudfront.GetRealtimeLogConfigOutput) { +// GetResponseHeadersPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicyRequest(_a0 *cloudfront.GetResponseHeadersPolicyInput) (*request.Request, *cloudfront.GetResponseHeadersPolicyOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudfront.GetRealtimeLogConfigInput) *request.Request); ok { + var r1 *cloudfront.GetResponseHeadersPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyInput) (*request.Request, *cloudfront.GetResponseHeadersPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.GetResponseHeadersPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3719,20 +4932,19 @@ func (_m *MockFakeCloudFront) GetRealtimeLogConfigRequest(_a0 *cloudfront.GetRea } } - var r1 *cloudfront.GetRealtimeLogConfigOutput - if rf, ok := ret.Get(1).(func(*cloudfront.GetRealtimeLogConfigInput) *cloudfront.GetRealtimeLogConfigOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.GetResponseHeadersPolicyInput) *cloudfront.GetResponseHeadersPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudfront.GetRealtimeLogConfigOutput) + r1 = ret.Get(1).(*cloudfront.GetResponseHeadersPolicyOutput) } } return r0, r1 } -// GetRealtimeLogConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudFront) GetRealtimeLogConfigWithContext(_a0 context.Context, _a1 *cloudfront.GetRealtimeLogConfigInput, _a2 ...request.Option) (*cloudfront.GetRealtimeLogConfigOutput, error) { +// GetResponseHeadersPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) GetResponseHeadersPolicyWithContext(_a0 context.Context, _a1 *cloudfront.GetResponseHeadersPolicyInput, _a2 ...request.Option) (*cloudfront.GetResponseHeadersPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3742,17 +4954,20 @@ func (_m *MockFakeCloudFront) GetRealtimeLogConfigWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudfront.GetRealtimeLogConfigOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetRealtimeLogConfigInput, ...request.Option) *cloudfront.GetRealtimeLogConfigOutput); ok { + var r0 *cloudfront.GetResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetResponseHeadersPolicyInput, ...request.Option) (*cloudfront.GetResponseHeadersPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetResponseHeadersPolicyInput, ...request.Option) *cloudfront.GetResponseHeadersPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.GetRealtimeLogConfigOutput) + r0 = ret.Get(0).(*cloudfront.GetResponseHeadersPolicyOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetRealtimeLogConfigInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetResponseHeadersPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3766,6 +4981,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistribution(_a0 *cloudfront.GetStream ret := _m.Called(_a0) var r0 *cloudfront.GetStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionInput) (*cloudfront.GetStreamingDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionInput) *cloudfront.GetStreamingDistributionOutput); ok { r0 = rf(_a0) } else { @@ -3774,7 +4993,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistribution(_a0 *cloudfront.GetStream } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetStreamingDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -3789,6 +5007,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfig(_a0 *cloudfront.Get ret := _m.Called(_a0) var r0 *cloudfront.GetStreamingDistributionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionConfigInput) (*cloudfront.GetStreamingDistributionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionConfigInput) *cloudfront.GetStreamingDistributionConfigOutput); ok { r0 = rf(_a0) } else { @@ -3797,7 +5019,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfig(_a0 *cloudfront.Get } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.GetStreamingDistributionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -3812,6 +5033,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfigRequest(_a0 *cloudfr ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetStreamingDistributionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionConfigInput) (*request.Request, *cloudfront.GetStreamingDistributionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3820,7 +5045,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfigRequest(_a0 *cloudfr } } - var r1 *cloudfront.GetStreamingDistributionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetStreamingDistributionConfigInput) *cloudfront.GetStreamingDistributionConfigOutput); ok { r1 = rf(_a0) } else { @@ -3844,6 +5068,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfigWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *cloudfront.GetStreamingDistributionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetStreamingDistributionConfigInput, ...request.Option) (*cloudfront.GetStreamingDistributionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetStreamingDistributionConfigInput, ...request.Option) *cloudfront.GetStreamingDistributionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3852,7 +5080,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionConfigWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetStreamingDistributionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3867,6 +5094,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionRequest(_a0 *cloudfront.Ge ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.GetStreamingDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionInput) (*request.Request, *cloudfront.GetStreamingDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.GetStreamingDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3875,7 +5106,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionRequest(_a0 *cloudfront.Ge } } - var r1 *cloudfront.GetStreamingDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.GetStreamingDistributionInput) *cloudfront.GetStreamingDistributionOutput); ok { r1 = rf(_a0) } else { @@ -3899,6 +5129,10 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudfront.GetStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetStreamingDistributionInput, ...request.Option) (*cloudfront.GetStreamingDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.GetStreamingDistributionInput, ...request.Option) *cloudfront.GetStreamingDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3907,7 +5141,6 @@ func (_m *MockFakeCloudFront) GetStreamingDistributionWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.GetStreamingDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3922,6 +5155,10 @@ func (_m *MockFakeCloudFront) ListCachePolicies(_a0 *cloudfront.ListCachePolicie ret := _m.Called(_a0) var r0 *cloudfront.ListCachePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListCachePoliciesInput) (*cloudfront.ListCachePoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListCachePoliciesInput) *cloudfront.ListCachePoliciesOutput); ok { r0 = rf(_a0) } else { @@ -3930,7 +5167,6 @@ func (_m *MockFakeCloudFront) ListCachePolicies(_a0 *cloudfront.ListCachePolicie } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListCachePoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -3945,6 +5181,10 @@ func (_m *MockFakeCloudFront) ListCachePoliciesRequest(_a0 *cloudfront.ListCache ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListCachePoliciesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListCachePoliciesInput) (*request.Request, *cloudfront.ListCachePoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListCachePoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3953,7 +5193,6 @@ func (_m *MockFakeCloudFront) ListCachePoliciesRequest(_a0 *cloudfront.ListCache } } - var r1 *cloudfront.ListCachePoliciesOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListCachePoliciesInput) *cloudfront.ListCachePoliciesOutput); ok { r1 = rf(_a0) } else { @@ -3977,6 +5216,10 @@ func (_m *MockFakeCloudFront) ListCachePoliciesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.ListCachePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListCachePoliciesInput, ...request.Option) (*cloudfront.ListCachePoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListCachePoliciesInput, ...request.Option) *cloudfront.ListCachePoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3985,7 +5228,6 @@ func (_m *MockFakeCloudFront) ListCachePoliciesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListCachePoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4000,6 +5242,10 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentities(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) (*cloudfront.ListCloudFrontOriginAccessIdentitiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput); ok { r0 = rf(_a0) } else { @@ -4008,7 +5254,6 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentities(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) error); ok { r1 = rf(_a0) } else { @@ -4058,6 +5303,10 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentitiesRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) (*request.Request, *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4066,7 +5315,6 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentitiesRequest(_a0 *c } } - var r1 *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListCloudFrontOriginAccessIdentitiesInput) *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput); ok { r1 = rf(_a0) } else { @@ -4090,6 +5338,10 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentitiesWithContext(_a ret := _m.Called(_ca...) var r0 *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListCloudFrontOriginAccessIdentitiesInput, ...request.Option) (*cloudfront.ListCloudFrontOriginAccessIdentitiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListCloudFrontOriginAccessIdentitiesInput, ...request.Option) *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4098,7 +5350,6 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentitiesWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListCloudFrontOriginAccessIdentitiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4108,11 +5359,102 @@ func (_m *MockFakeCloudFront) ListCloudFrontOriginAccessIdentitiesWithContext(_a return r0, r1 } +// ListConflictingAliases provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListConflictingAliases(_a0 *cloudfront.ListConflictingAliasesInput) (*cloudfront.ListConflictingAliasesOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.ListConflictingAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListConflictingAliasesInput) (*cloudfront.ListConflictingAliasesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListConflictingAliasesInput) *cloudfront.ListConflictingAliasesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListConflictingAliasesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListConflictingAliasesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListConflictingAliasesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListConflictingAliasesRequest(_a0 *cloudfront.ListConflictingAliasesInput) (*request.Request, *cloudfront.ListConflictingAliasesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.ListConflictingAliasesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListConflictingAliasesInput) (*request.Request, *cloudfront.ListConflictingAliasesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListConflictingAliasesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListConflictingAliasesInput) *cloudfront.ListConflictingAliasesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.ListConflictingAliasesOutput) + } + } + + return r0, r1 +} + +// ListConflictingAliasesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) ListConflictingAliasesWithContext(_a0 context.Context, _a1 *cloudfront.ListConflictingAliasesInput, _a2 ...request.Option) (*cloudfront.ListConflictingAliasesOutput, error) { + _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 *cloudfront.ListConflictingAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListConflictingAliasesInput, ...request.Option) (*cloudfront.ListConflictingAliasesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListConflictingAliasesInput, ...request.Option) *cloudfront.ListConflictingAliasesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListConflictingAliasesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListConflictingAliasesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListDistributions provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) ListDistributions(_a0 *cloudfront.ListDistributionsInput) (*cloudfront.ListDistributionsOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsInput) (*cloudfront.ListDistributionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsInput) *cloudfront.ListDistributionsOutput); ok { r0 = rf(_a0) } else { @@ -4121,7 +5463,6 @@ func (_m *MockFakeCloudFront) ListDistributions(_a0 *cloudfront.ListDistribution } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsInput) error); ok { r1 = rf(_a0) } else { @@ -4136,6 +5477,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyId(_a0 *cloudfront.L ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsByCachePolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) (*cloudfront.ListDistributionsByCachePolicyIdOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) *cloudfront.ListDistributionsByCachePolicyIdOutput); ok { r0 = rf(_a0) } else { @@ -4144,7 +5489,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyId(_a0 *cloudfront.L } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) error); ok { r1 = rf(_a0) } else { @@ -4159,6 +5503,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyIdRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListDistributionsByCachePolicyIdOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) (*request.Request, *cloudfront.ListDistributionsByCachePolicyIdOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4167,7 +5515,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyIdRequest(_a0 *cloud } } - var r1 *cloudfront.ListDistributionsByCachePolicyIdOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByCachePolicyIdInput) *cloudfront.ListDistributionsByCachePolicyIdOutput); ok { r1 = rf(_a0) } else { @@ -4191,6 +5538,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyIdWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudfront.ListDistributionsByCachePolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByCachePolicyIdInput, ...request.Option) (*cloudfront.ListDistributionsByCachePolicyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByCachePolicyIdInput, ...request.Option) *cloudfront.ListDistributionsByCachePolicyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4199,7 +5550,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByCachePolicyIdWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByCachePolicyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4214,6 +5564,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroup(_a0 *cloudfront.ListDi ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsByKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByKeyGroupInput) (*cloudfront.ListDistributionsByKeyGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByKeyGroupInput) *cloudfront.ListDistributionsByKeyGroupOutput); ok { r0 = rf(_a0) } else { @@ -4222,7 +5576,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroup(_a0 *cloudfront.ListDi } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByKeyGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4237,6 +5590,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroupRequest(_a0 *cloudfront ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListDistributionsByKeyGroupOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByKeyGroupInput) (*request.Request, *cloudfront.ListDistributionsByKeyGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByKeyGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4245,7 +5602,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroupRequest(_a0 *cloudfront } } - var r1 *cloudfront.ListDistributionsByKeyGroupOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByKeyGroupInput) *cloudfront.ListDistributionsByKeyGroupOutput); ok { r1 = rf(_a0) } else { @@ -4269,6 +5625,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroupWithContext(_a0 context ret := _m.Called(_ca...) var r0 *cloudfront.ListDistributionsByKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByKeyGroupInput, ...request.Option) (*cloudfront.ListDistributionsByKeyGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByKeyGroupInput, ...request.Option) *cloudfront.ListDistributionsByKeyGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4277,7 +5637,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByKeyGroupWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByKeyGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4292,6 +5651,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyId(_a0 *clou ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) (*cloudfront.ListDistributionsByOriginRequestPolicyIdOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput); ok { r0 = rf(_a0) } else { @@ -4300,7 +5663,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyId(_a0 *clou } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) error); ok { r1 = rf(_a0) } else { @@ -4315,6 +5677,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyIdRequest(_a ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) (*request.Request, *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4323,7 +5689,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyIdRequest(_a } } - var r1 *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByOriginRequestPolicyIdInput) *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput); ok { r1 = rf(_a0) } else { @@ -4347,6 +5712,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyIdWithContex ret := _m.Called(_ca...) var r0 *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByOriginRequestPolicyIdInput, ...request.Option) (*cloudfront.ListDistributionsByOriginRequestPolicyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByOriginRequestPolicyIdInput, ...request.Option) *cloudfront.ListDistributionsByOriginRequestPolicyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4355,7 +5724,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByOriginRequestPolicyIdWithContex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByOriginRequestPolicyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4370,6 +5738,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfig(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsByRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) (*cloudfront.ListDistributionsByRealtimeLogConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) *cloudfront.ListDistributionsByRealtimeLogConfigOutput); ok { r0 = rf(_a0) } else { @@ -4378,7 +5750,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfig(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) error); ok { r1 = rf(_a0) } else { @@ -4393,7 +5764,98 @@ func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfigRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) *request.Request); ok { + var r1 *cloudfront.ListDistributionsByRealtimeLogConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) (*request.Request, *cloudfront.ListDistributionsByRealtimeLogConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) *cloudfront.ListDistributionsByRealtimeLogConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.ListDistributionsByRealtimeLogConfigOutput) + } + } + + return r0, r1 +} + +// ListDistributionsByRealtimeLogConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfigWithContext(_a0 context.Context, _a1 *cloudfront.ListDistributionsByRealtimeLogConfigInput, _a2 ...request.Option) (*cloudfront.ListDistributionsByRealtimeLogConfigOutput, error) { + _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 *cloudfront.ListDistributionsByRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByRealtimeLogConfigInput, ...request.Option) (*cloudfront.ListDistributionsByRealtimeLogConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByRealtimeLogConfigInput, ...request.Option) *cloudfront.ListDistributionsByRealtimeLogConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListDistributionsByRealtimeLogConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByRealtimeLogConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListDistributionsByResponseHeadersPolicyId provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListDistributionsByResponseHeadersPolicyId(_a0 *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) (*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) (*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListDistributionsByResponseHeadersPolicyIdRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListDistributionsByResponseHeadersPolicyIdRequest(_a0 *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) (*request.Request, *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) (*request.Request, *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4401,20 +5863,19 @@ func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfigRequest(_a0 *c } } - var r1 *cloudfront.ListDistributionsByRealtimeLogConfigOutput - if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByRealtimeLogConfigInput) *cloudfront.ListDistributionsByRealtimeLogConfigOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByResponseHeadersPolicyIdInput) *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudfront.ListDistributionsByRealtimeLogConfigOutput) + r1 = ret.Get(1).(*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput) } } return r0, r1 } -// ListDistributionsByRealtimeLogConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfigWithContext(_a0 context.Context, _a1 *cloudfront.ListDistributionsByRealtimeLogConfigInput, _a2 ...request.Option) (*cloudfront.ListDistributionsByRealtimeLogConfigOutput, error) { +// ListDistributionsByResponseHeadersPolicyIdWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) ListDistributionsByResponseHeadersPolicyIdWithContext(_a0 context.Context, _a1 *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput, _a2 ...request.Option) (*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4424,17 +5885,20 @@ func (_m *MockFakeCloudFront) ListDistributionsByRealtimeLogConfigWithContext(_a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudfront.ListDistributionsByRealtimeLogConfigOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByRealtimeLogConfigInput, ...request.Option) *cloudfront.ListDistributionsByRealtimeLogConfigOutput); ok { + var r0 *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput, ...request.Option) (*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput, ...request.Option) *cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudfront.ListDistributionsByRealtimeLogConfigOutput) + r0 = ret.Get(0).(*cloudfront.ListDistributionsByResponseHeadersPolicyIdOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByRealtimeLogConfigInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByResponseHeadersPolicyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4448,6 +5912,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLId(_a0 *cloudfront.ListDi ret := _m.Called(_a0) var r0 *cloudfront.ListDistributionsByWebACLIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByWebACLIdInput) (*cloudfront.ListDistributionsByWebACLIdOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByWebACLIdInput) *cloudfront.ListDistributionsByWebACLIdOutput); ok { r0 = rf(_a0) } else { @@ -4456,7 +5924,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLId(_a0 *cloudfront.ListDi } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByWebACLIdInput) error); ok { r1 = rf(_a0) } else { @@ -4471,6 +5938,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLIdRequest(_a0 *cloudfront ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListDistributionsByWebACLIdOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByWebACLIdInput) (*request.Request, *cloudfront.ListDistributionsByWebACLIdOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsByWebACLIdInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4479,7 +5950,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLIdRequest(_a0 *cloudfront } } - var r1 *cloudfront.ListDistributionsByWebACLIdOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsByWebACLIdInput) *cloudfront.ListDistributionsByWebACLIdOutput); ok { r1 = rf(_a0) } else { @@ -4503,6 +5973,10 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLIdWithContext(_a0 context ret := _m.Called(_ca...) var r0 *cloudfront.ListDistributionsByWebACLIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByWebACLIdInput, ...request.Option) (*cloudfront.ListDistributionsByWebACLIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsByWebACLIdInput, ...request.Option) *cloudfront.ListDistributionsByWebACLIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4511,7 +5985,6 @@ func (_m *MockFakeCloudFront) ListDistributionsByWebACLIdWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsByWebACLIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4561,6 +6034,10 @@ func (_m *MockFakeCloudFront) ListDistributionsRequest(_a0 *cloudfront.ListDistr ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListDistributionsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsInput) (*request.Request, *cloudfront.ListDistributionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListDistributionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4569,7 +6046,6 @@ func (_m *MockFakeCloudFront) ListDistributionsRequest(_a0 *cloudfront.ListDistr } } - var r1 *cloudfront.ListDistributionsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListDistributionsInput) *cloudfront.ListDistributionsOutput); ok { r1 = rf(_a0) } else { @@ -4593,6 +6069,10 @@ func (_m *MockFakeCloudFront) ListDistributionsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.ListDistributionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsInput, ...request.Option) (*cloudfront.ListDistributionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListDistributionsInput, ...request.Option) *cloudfront.ListDistributionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4601,7 +6081,6 @@ func (_m *MockFakeCloudFront) ListDistributionsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListDistributionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4616,6 +6095,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigs(_a0 *cloudfront.Li ret := _m.Called(_a0) var r0 *cloudfront.ListFieldLevelEncryptionConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) (*cloudfront.ListFieldLevelEncryptionConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) *cloudfront.ListFieldLevelEncryptionConfigsOutput); ok { r0 = rf(_a0) } else { @@ -4624,7 +6107,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigs(_a0 *cloudfront.Li } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -4639,6 +6121,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigsRequest(_a0 *cloudf ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListFieldLevelEncryptionConfigsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) (*request.Request, *cloudfront.ListFieldLevelEncryptionConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4647,7 +6133,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigsRequest(_a0 *cloudf } } - var r1 *cloudfront.ListFieldLevelEncryptionConfigsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListFieldLevelEncryptionConfigsInput) *cloudfront.ListFieldLevelEncryptionConfigsOutput); ok { r1 = rf(_a0) } else { @@ -4671,6 +6156,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *cloudfront.ListFieldLevelEncryptionConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFieldLevelEncryptionConfigsInput, ...request.Option) (*cloudfront.ListFieldLevelEncryptionConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFieldLevelEncryptionConfigsInput, ...request.Option) *cloudfront.ListFieldLevelEncryptionConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4679,7 +6168,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionConfigsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListFieldLevelEncryptionConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4694,6 +6182,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfiles(_a0 *cloudfront.L ret := _m.Called(_a0) var r0 *cloudfront.ListFieldLevelEncryptionProfilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) (*cloudfront.ListFieldLevelEncryptionProfilesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) *cloudfront.ListFieldLevelEncryptionProfilesOutput); ok { r0 = rf(_a0) } else { @@ -4702,7 +6194,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfiles(_a0 *cloudfront.L } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) error); ok { r1 = rf(_a0) } else { @@ -4717,6 +6208,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfilesRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListFieldLevelEncryptionProfilesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) (*request.Request, *cloudfront.ListFieldLevelEncryptionProfilesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4725,7 +6220,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfilesRequest(_a0 *cloud } } - var r1 *cloudfront.ListFieldLevelEncryptionProfilesOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListFieldLevelEncryptionProfilesInput) *cloudfront.ListFieldLevelEncryptionProfilesOutput); ok { r1 = rf(_a0) } else { @@ -4749,6 +6243,10 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfilesWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudfront.ListFieldLevelEncryptionProfilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFieldLevelEncryptionProfilesInput, ...request.Option) (*cloudfront.ListFieldLevelEncryptionProfilesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFieldLevelEncryptionProfilesInput, ...request.Option) *cloudfront.ListFieldLevelEncryptionProfilesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4757,7 +6255,6 @@ func (_m *MockFakeCloudFront) ListFieldLevelEncryptionProfilesWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListFieldLevelEncryptionProfilesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4772,6 +6269,10 @@ func (_m *MockFakeCloudFront) ListFunctions(_a0 *cloudfront.ListFunctionsInput) ret := _m.Called(_a0) var r0 *cloudfront.ListFunctionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListFunctionsInput) (*cloudfront.ListFunctionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFunctionsInput) *cloudfront.ListFunctionsOutput); ok { r0 = rf(_a0) } else { @@ -4780,7 +6281,6 @@ func (_m *MockFakeCloudFront) ListFunctions(_a0 *cloudfront.ListFunctionsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListFunctionsInput) error); ok { r1 = rf(_a0) } else { @@ -4795,6 +6295,10 @@ func (_m *MockFakeCloudFront) ListFunctionsRequest(_a0 *cloudfront.ListFunctions ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListFunctionsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListFunctionsInput) (*request.Request, *cloudfront.ListFunctionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListFunctionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4803,7 +6307,6 @@ func (_m *MockFakeCloudFront) ListFunctionsRequest(_a0 *cloudfront.ListFunctions } } - var r1 *cloudfront.ListFunctionsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListFunctionsInput) *cloudfront.ListFunctionsOutput); ok { r1 = rf(_a0) } else { @@ -4827,6 +6330,10 @@ func (_m *MockFakeCloudFront) ListFunctionsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.ListFunctionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFunctionsInput, ...request.Option) (*cloudfront.ListFunctionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListFunctionsInput, ...request.Option) *cloudfront.ListFunctionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4835,7 +6342,6 @@ func (_m *MockFakeCloudFront) ListFunctionsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListFunctionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4850,6 +6356,10 @@ func (_m *MockFakeCloudFront) ListInvalidations(_a0 *cloudfront.ListInvalidation ret := _m.Called(_a0) var r0 *cloudfront.ListInvalidationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListInvalidationsInput) (*cloudfront.ListInvalidationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListInvalidationsInput) *cloudfront.ListInvalidationsOutput); ok { r0 = rf(_a0) } else { @@ -4858,7 +6368,6 @@ func (_m *MockFakeCloudFront) ListInvalidations(_a0 *cloudfront.ListInvalidation } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListInvalidationsInput) error); ok { r1 = rf(_a0) } else { @@ -4908,6 +6417,10 @@ func (_m *MockFakeCloudFront) ListInvalidationsRequest(_a0 *cloudfront.ListInval ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListInvalidationsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListInvalidationsInput) (*request.Request, *cloudfront.ListInvalidationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListInvalidationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4916,7 +6429,6 @@ func (_m *MockFakeCloudFront) ListInvalidationsRequest(_a0 *cloudfront.ListInval } } - var r1 *cloudfront.ListInvalidationsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListInvalidationsInput) *cloudfront.ListInvalidationsOutput); ok { r1 = rf(_a0) } else { @@ -4940,6 +6452,10 @@ func (_m *MockFakeCloudFront) ListInvalidationsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.ListInvalidationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListInvalidationsInput, ...request.Option) (*cloudfront.ListInvalidationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListInvalidationsInput, ...request.Option) *cloudfront.ListInvalidationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4948,7 +6464,6 @@ func (_m *MockFakeCloudFront) ListInvalidationsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListInvalidationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4963,6 +6478,10 @@ func (_m *MockFakeCloudFront) ListKeyGroups(_a0 *cloudfront.ListKeyGroupsInput) ret := _m.Called(_a0) var r0 *cloudfront.ListKeyGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListKeyGroupsInput) (*cloudfront.ListKeyGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListKeyGroupsInput) *cloudfront.ListKeyGroupsOutput); ok { r0 = rf(_a0) } else { @@ -4971,7 +6490,6 @@ func (_m *MockFakeCloudFront) ListKeyGroups(_a0 *cloudfront.ListKeyGroupsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListKeyGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -4986,6 +6504,10 @@ func (_m *MockFakeCloudFront) ListKeyGroupsRequest(_a0 *cloudfront.ListKeyGroups ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListKeyGroupsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListKeyGroupsInput) (*request.Request, *cloudfront.ListKeyGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListKeyGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4994,7 +6516,6 @@ func (_m *MockFakeCloudFront) ListKeyGroupsRequest(_a0 *cloudfront.ListKeyGroups } } - var r1 *cloudfront.ListKeyGroupsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListKeyGroupsInput) *cloudfront.ListKeyGroupsOutput); ok { r1 = rf(_a0) } else { @@ -5018,6 +6539,10 @@ func (_m *MockFakeCloudFront) ListKeyGroupsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.ListKeyGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListKeyGroupsInput, ...request.Option) (*cloudfront.ListKeyGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListKeyGroupsInput, ...request.Option) *cloudfront.ListKeyGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5026,7 +6551,6 @@ func (_m *MockFakeCloudFront) ListKeyGroupsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListKeyGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5036,11 +6560,102 @@ func (_m *MockFakeCloudFront) ListKeyGroupsWithContext(_a0 context.Context, _a1 return r0, r1 } +// ListOriginAccessControls provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListOriginAccessControls(_a0 *cloudfront.ListOriginAccessControlsInput) (*cloudfront.ListOriginAccessControlsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.ListOriginAccessControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginAccessControlsInput) (*cloudfront.ListOriginAccessControlsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginAccessControlsInput) *cloudfront.ListOriginAccessControlsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListOriginAccessControlsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListOriginAccessControlsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListOriginAccessControlsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListOriginAccessControlsRequest(_a0 *cloudfront.ListOriginAccessControlsInput) (*request.Request, *cloudfront.ListOriginAccessControlsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.ListOriginAccessControlsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginAccessControlsInput) (*request.Request, *cloudfront.ListOriginAccessControlsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginAccessControlsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListOriginAccessControlsInput) *cloudfront.ListOriginAccessControlsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.ListOriginAccessControlsOutput) + } + } + + return r0, r1 +} + +// ListOriginAccessControlsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) ListOriginAccessControlsWithContext(_a0 context.Context, _a1 *cloudfront.ListOriginAccessControlsInput, _a2 ...request.Option) (*cloudfront.ListOriginAccessControlsOutput, error) { + _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 *cloudfront.ListOriginAccessControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListOriginAccessControlsInput, ...request.Option) (*cloudfront.ListOriginAccessControlsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListOriginAccessControlsInput, ...request.Option) *cloudfront.ListOriginAccessControlsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListOriginAccessControlsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListOriginAccessControlsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListOriginRequestPolicies provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) ListOriginRequestPolicies(_a0 *cloudfront.ListOriginRequestPoliciesInput) (*cloudfront.ListOriginRequestPoliciesOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.ListOriginRequestPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginRequestPoliciesInput) (*cloudfront.ListOriginRequestPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginRequestPoliciesInput) *cloudfront.ListOriginRequestPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -5049,7 +6664,6 @@ func (_m *MockFakeCloudFront) ListOriginRequestPolicies(_a0 *cloudfront.ListOrig } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListOriginRequestPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -5064,6 +6678,10 @@ func (_m *MockFakeCloudFront) ListOriginRequestPoliciesRequest(_a0 *cloudfront.L ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListOriginRequestPoliciesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginRequestPoliciesInput) (*request.Request, *cloudfront.ListOriginRequestPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListOriginRequestPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5072,7 +6690,6 @@ func (_m *MockFakeCloudFront) ListOriginRequestPoliciesRequest(_a0 *cloudfront.L } } - var r1 *cloudfront.ListOriginRequestPoliciesOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListOriginRequestPoliciesInput) *cloudfront.ListOriginRequestPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -5096,6 +6713,10 @@ func (_m *MockFakeCloudFront) ListOriginRequestPoliciesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudfront.ListOriginRequestPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListOriginRequestPoliciesInput, ...request.Option) (*cloudfront.ListOriginRequestPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListOriginRequestPoliciesInput, ...request.Option) *cloudfront.ListOriginRequestPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5104,7 +6725,6 @@ func (_m *MockFakeCloudFront) ListOriginRequestPoliciesWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListOriginRequestPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5119,6 +6739,10 @@ func (_m *MockFakeCloudFront) ListPublicKeys(_a0 *cloudfront.ListPublicKeysInput ret := _m.Called(_a0) var r0 *cloudfront.ListPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListPublicKeysInput) (*cloudfront.ListPublicKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListPublicKeysInput) *cloudfront.ListPublicKeysOutput); ok { r0 = rf(_a0) } else { @@ -5127,7 +6751,6 @@ func (_m *MockFakeCloudFront) ListPublicKeys(_a0 *cloudfront.ListPublicKeysInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListPublicKeysInput) error); ok { r1 = rf(_a0) } else { @@ -5142,6 +6765,10 @@ func (_m *MockFakeCloudFront) ListPublicKeysRequest(_a0 *cloudfront.ListPublicKe ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListPublicKeysOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListPublicKeysInput) (*request.Request, *cloudfront.ListPublicKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListPublicKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5150,7 +6777,6 @@ func (_m *MockFakeCloudFront) ListPublicKeysRequest(_a0 *cloudfront.ListPublicKe } } - var r1 *cloudfront.ListPublicKeysOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListPublicKeysInput) *cloudfront.ListPublicKeysOutput); ok { r1 = rf(_a0) } else { @@ -5174,6 +6800,10 @@ func (_m *MockFakeCloudFront) ListPublicKeysWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.ListPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListPublicKeysInput, ...request.Option) (*cloudfront.ListPublicKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListPublicKeysInput, ...request.Option) *cloudfront.ListPublicKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5182,7 +6812,6 @@ func (_m *MockFakeCloudFront) ListPublicKeysWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListPublicKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5197,6 +6826,10 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigs(_a0 *cloudfront.ListRealtim ret := _m.Called(_a0) var r0 *cloudfront.ListRealtimeLogConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListRealtimeLogConfigsInput) (*cloudfront.ListRealtimeLogConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListRealtimeLogConfigsInput) *cloudfront.ListRealtimeLogConfigsOutput); ok { r0 = rf(_a0) } else { @@ -5205,7 +6838,6 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigs(_a0 *cloudfront.ListRealtim } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListRealtimeLogConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -5220,6 +6852,10 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigsRequest(_a0 *cloudfront.List ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListRealtimeLogConfigsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListRealtimeLogConfigsInput) (*request.Request, *cloudfront.ListRealtimeLogConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListRealtimeLogConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5228,7 +6864,6 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigsRequest(_a0 *cloudfront.List } } - var r1 *cloudfront.ListRealtimeLogConfigsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListRealtimeLogConfigsInput) *cloudfront.ListRealtimeLogConfigsOutput); ok { r1 = rf(_a0) } else { @@ -5252,6 +6887,10 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *cloudfront.ListRealtimeLogConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListRealtimeLogConfigsInput, ...request.Option) (*cloudfront.ListRealtimeLogConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListRealtimeLogConfigsInput, ...request.Option) *cloudfront.ListRealtimeLogConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5260,7 +6899,6 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListRealtimeLogConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5270,11 +6908,102 @@ func (_m *MockFakeCloudFront) ListRealtimeLogConfigsWithContext(_a0 context.Cont return r0, r1 } +// ListResponseHeadersPolicies provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListResponseHeadersPolicies(_a0 *cloudfront.ListResponseHeadersPoliciesInput) (*cloudfront.ListResponseHeadersPoliciesOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.ListResponseHeadersPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListResponseHeadersPoliciesInput) (*cloudfront.ListResponseHeadersPoliciesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListResponseHeadersPoliciesInput) *cloudfront.ListResponseHeadersPoliciesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListResponseHeadersPoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListResponseHeadersPoliciesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListResponseHeadersPoliciesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) ListResponseHeadersPoliciesRequest(_a0 *cloudfront.ListResponseHeadersPoliciesInput) (*request.Request, *cloudfront.ListResponseHeadersPoliciesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.ListResponseHeadersPoliciesOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListResponseHeadersPoliciesInput) (*request.Request, *cloudfront.ListResponseHeadersPoliciesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.ListResponseHeadersPoliciesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.ListResponseHeadersPoliciesInput) *cloudfront.ListResponseHeadersPoliciesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.ListResponseHeadersPoliciesOutput) + } + } + + return r0, r1 +} + +// ListResponseHeadersPoliciesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) ListResponseHeadersPoliciesWithContext(_a0 context.Context, _a1 *cloudfront.ListResponseHeadersPoliciesInput, _a2 ...request.Option) (*cloudfront.ListResponseHeadersPoliciesOutput, error) { + _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 *cloudfront.ListResponseHeadersPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListResponseHeadersPoliciesInput, ...request.Option) (*cloudfront.ListResponseHeadersPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListResponseHeadersPoliciesInput, ...request.Option) *cloudfront.ListResponseHeadersPoliciesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.ListResponseHeadersPoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListResponseHeadersPoliciesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListStreamingDistributions provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) ListStreamingDistributions(_a0 *cloudfront.ListStreamingDistributionsInput) (*cloudfront.ListStreamingDistributionsOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.ListStreamingDistributionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListStreamingDistributionsInput) (*cloudfront.ListStreamingDistributionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListStreamingDistributionsInput) *cloudfront.ListStreamingDistributionsOutput); ok { r0 = rf(_a0) } else { @@ -5283,7 +7012,6 @@ func (_m *MockFakeCloudFront) ListStreamingDistributions(_a0 *cloudfront.ListStr } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListStreamingDistributionsInput) error); ok { r1 = rf(_a0) } else { @@ -5333,6 +7061,10 @@ func (_m *MockFakeCloudFront) ListStreamingDistributionsRequest(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListStreamingDistributionsOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListStreamingDistributionsInput) (*request.Request, *cloudfront.ListStreamingDistributionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListStreamingDistributionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5341,7 +7073,6 @@ func (_m *MockFakeCloudFront) ListStreamingDistributionsRequest(_a0 *cloudfront. } } - var r1 *cloudfront.ListStreamingDistributionsOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListStreamingDistributionsInput) *cloudfront.ListStreamingDistributionsOutput); ok { r1 = rf(_a0) } else { @@ -5365,6 +7096,10 @@ func (_m *MockFakeCloudFront) ListStreamingDistributionsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *cloudfront.ListStreamingDistributionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListStreamingDistributionsInput, ...request.Option) (*cloudfront.ListStreamingDistributionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListStreamingDistributionsInput, ...request.Option) *cloudfront.ListStreamingDistributionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5373,7 +7108,6 @@ func (_m *MockFakeCloudFront) ListStreamingDistributionsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListStreamingDistributionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5388,6 +7122,10 @@ func (_m *MockFakeCloudFront) ListTagsForResource(_a0 *cloudfront.ListTagsForRes ret := _m.Called(_a0) var r0 *cloudfront.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.ListTagsForResourceInput) (*cloudfront.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListTagsForResourceInput) *cloudfront.ListTagsForResourceOutput); ok { r0 = rf(_a0) } else { @@ -5396,7 +7134,6 @@ func (_m *MockFakeCloudFront) ListTagsForResource(_a0 *cloudfront.ListTagsForRes } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -5411,6 +7148,10 @@ func (_m *MockFakeCloudFront) ListTagsForResourceRequest(_a0 *cloudfront.ListTag ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*cloudfront.ListTagsForResourceInput) (*request.Request, *cloudfront.ListTagsForResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5419,7 +7160,6 @@ func (_m *MockFakeCloudFront) ListTagsForResourceRequest(_a0 *cloudfront.ListTag } } - var r1 *cloudfront.ListTagsForResourceOutput if rf, ok := ret.Get(1).(func(*cloudfront.ListTagsForResourceInput) *cloudfront.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { @@ -5443,6 +7183,10 @@ func (_m *MockFakeCloudFront) ListTagsForResourceWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *cloudfront.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListTagsForResourceInput, ...request.Option) (*cloudfront.ListTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.ListTagsForResourceInput, ...request.Option) *cloudfront.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5451,7 +7195,6 @@ func (_m *MockFakeCloudFront) ListTagsForResourceWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5466,6 +7209,10 @@ func (_m *MockFakeCloudFront) PublishFunction(_a0 *cloudfront.PublishFunctionInp ret := _m.Called(_a0) var r0 *cloudfront.PublishFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.PublishFunctionInput) (*cloudfront.PublishFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.PublishFunctionInput) *cloudfront.PublishFunctionOutput); ok { r0 = rf(_a0) } else { @@ -5474,7 +7221,6 @@ func (_m *MockFakeCloudFront) PublishFunction(_a0 *cloudfront.PublishFunctionInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.PublishFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -5489,6 +7235,10 @@ func (_m *MockFakeCloudFront) PublishFunctionRequest(_a0 *cloudfront.PublishFunc ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.PublishFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.PublishFunctionInput) (*request.Request, *cloudfront.PublishFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.PublishFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5497,7 +7247,6 @@ func (_m *MockFakeCloudFront) PublishFunctionRequest(_a0 *cloudfront.PublishFunc } } - var r1 *cloudfront.PublishFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.PublishFunctionInput) *cloudfront.PublishFunctionOutput); ok { r1 = rf(_a0) } else { @@ -5521,6 +7270,10 @@ func (_m *MockFakeCloudFront) PublishFunctionWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.PublishFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.PublishFunctionInput, ...request.Option) (*cloudfront.PublishFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.PublishFunctionInput, ...request.Option) *cloudfront.PublishFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5529,7 +7282,6 @@ func (_m *MockFakeCloudFront) PublishFunctionWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.PublishFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5544,6 +7296,10 @@ func (_m *MockFakeCloudFront) TagResource(_a0 *cloudfront.TagResourceInput) (*cl ret := _m.Called(_a0) var r0 *cloudfront.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.TagResourceInput) (*cloudfront.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.TagResourceInput) *cloudfront.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -5552,7 +7308,6 @@ func (_m *MockFakeCloudFront) TagResource(_a0 *cloudfront.TagResourceInput) (*cl } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -5567,6 +7322,10 @@ func (_m *MockFakeCloudFront) TagResourceRequest(_a0 *cloudfront.TagResourceInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.TagResourceOutput + if rf, ok := ret.Get(0).(func(*cloudfront.TagResourceInput) (*request.Request, *cloudfront.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5575,7 +7334,6 @@ func (_m *MockFakeCloudFront) TagResourceRequest(_a0 *cloudfront.TagResourceInpu } } - var r1 *cloudfront.TagResourceOutput if rf, ok := ret.Get(1).(func(*cloudfront.TagResourceInput) *cloudfront.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -5599,6 +7357,10 @@ func (_m *MockFakeCloudFront) TagResourceWithContext(_a0 context.Context, _a1 *c ret := _m.Called(_ca...) var r0 *cloudfront.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.TagResourceInput, ...request.Option) (*cloudfront.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.TagResourceInput, ...request.Option) *cloudfront.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5607,7 +7369,6 @@ func (_m *MockFakeCloudFront) TagResourceWithContext(_a0 context.Context, _a1 *c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5622,6 +7383,10 @@ func (_m *MockFakeCloudFront) TestFunction(_a0 *cloudfront.TestFunctionInput) (* ret := _m.Called(_a0) var r0 *cloudfront.TestFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.TestFunctionInput) (*cloudfront.TestFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.TestFunctionInput) *cloudfront.TestFunctionOutput); ok { r0 = rf(_a0) } else { @@ -5630,7 +7395,6 @@ func (_m *MockFakeCloudFront) TestFunction(_a0 *cloudfront.TestFunctionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.TestFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -5645,6 +7409,10 @@ func (_m *MockFakeCloudFront) TestFunctionRequest(_a0 *cloudfront.TestFunctionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.TestFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.TestFunctionInput) (*request.Request, *cloudfront.TestFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.TestFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5653,7 +7421,6 @@ func (_m *MockFakeCloudFront) TestFunctionRequest(_a0 *cloudfront.TestFunctionIn } } - var r1 *cloudfront.TestFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.TestFunctionInput) *cloudfront.TestFunctionOutput); ok { r1 = rf(_a0) } else { @@ -5677,6 +7444,10 @@ func (_m *MockFakeCloudFront) TestFunctionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *cloudfront.TestFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.TestFunctionInput, ...request.Option) (*cloudfront.TestFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.TestFunctionInput, ...request.Option) *cloudfront.TestFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5685,7 +7456,6 @@ func (_m *MockFakeCloudFront) TestFunctionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.TestFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5700,6 +7470,10 @@ func (_m *MockFakeCloudFront) UntagResource(_a0 *cloudfront.UntagResourceInput) ret := _m.Called(_a0) var r0 *cloudfront.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UntagResourceInput) (*cloudfront.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UntagResourceInput) *cloudfront.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -5708,7 +7482,6 @@ func (_m *MockFakeCloudFront) UntagResource(_a0 *cloudfront.UntagResourceInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -5723,6 +7496,10 @@ func (_m *MockFakeCloudFront) UntagResourceRequest(_a0 *cloudfront.UntagResource ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UntagResourceInput) (*request.Request, *cloudfront.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5731,7 +7508,6 @@ func (_m *MockFakeCloudFront) UntagResourceRequest(_a0 *cloudfront.UntagResource } } - var r1 *cloudfront.UntagResourceOutput if rf, ok := ret.Get(1).(func(*cloudfront.UntagResourceInput) *cloudfront.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -5755,6 +7531,10 @@ func (_m *MockFakeCloudFront) UntagResourceWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UntagResourceInput, ...request.Option) (*cloudfront.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UntagResourceInput, ...request.Option) *cloudfront.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5763,7 +7543,6 @@ func (_m *MockFakeCloudFront) UntagResourceWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5778,6 +7557,10 @@ func (_m *MockFakeCloudFront) UpdateCachePolicy(_a0 *cloudfront.UpdateCachePolic ret := _m.Called(_a0) var r0 *cloudfront.UpdateCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCachePolicyInput) (*cloudfront.UpdateCachePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCachePolicyInput) *cloudfront.UpdateCachePolicyOutput); ok { r0 = rf(_a0) } else { @@ -5786,7 +7569,6 @@ func (_m *MockFakeCloudFront) UpdateCachePolicy(_a0 *cloudfront.UpdateCachePolic } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateCachePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -5801,6 +7583,10 @@ func (_m *MockFakeCloudFront) UpdateCachePolicyRequest(_a0 *cloudfront.UpdateCac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateCachePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCachePolicyInput) (*request.Request, *cloudfront.UpdateCachePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCachePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5809,7 +7595,6 @@ func (_m *MockFakeCloudFront) UpdateCachePolicyRequest(_a0 *cloudfront.UpdateCac } } - var r1 *cloudfront.UpdateCachePolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateCachePolicyInput) *cloudfront.UpdateCachePolicyOutput); ok { r1 = rf(_a0) } else { @@ -5833,6 +7618,10 @@ func (_m *MockFakeCloudFront) UpdateCachePolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.UpdateCachePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateCachePolicyInput, ...request.Option) (*cloudfront.UpdateCachePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateCachePolicyInput, ...request.Option) *cloudfront.UpdateCachePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5841,7 +7630,6 @@ func (_m *MockFakeCloudFront) UpdateCachePolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateCachePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5856,6 +7644,10 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentity(_a0 *cloudfro ret := _m.Called(_a0) var r0 *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) (*cloudfront.UpdateCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0) } else { @@ -5864,7 +7656,6 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentity(_a0 *cloudfro } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) error); ok { r1 = rf(_a0) } else { @@ -5879,6 +7670,10 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentityRequest(_a0 *c ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) (*request.Request, *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5887,7 +7682,6 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentityRequest(_a0 *c } } - var r1 *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateCloudFrontOriginAccessIdentityInput) *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput); ok { r1 = rf(_a0) } else { @@ -5911,6 +7705,10 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentityWithContext(_a ret := _m.Called(_ca...) var r0 *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateCloudFrontOriginAccessIdentityInput, ...request.Option) (*cloudfront.UpdateCloudFrontOriginAccessIdentityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateCloudFrontOriginAccessIdentityInput, ...request.Option) *cloudfront.UpdateCloudFrontOriginAccessIdentityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5919,7 +7717,6 @@ func (_m *MockFakeCloudFront) UpdateCloudFrontOriginAccessIdentityWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateCloudFrontOriginAccessIdentityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5934,6 +7731,10 @@ func (_m *MockFakeCloudFront) UpdateDistribution(_a0 *cloudfront.UpdateDistribut ret := _m.Called(_a0) var r0 *cloudfront.UpdateDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateDistributionInput) (*cloudfront.UpdateDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateDistributionInput) *cloudfront.UpdateDistributionOutput); ok { r0 = rf(_a0) } else { @@ -5942,7 +7743,6 @@ func (_m *MockFakeCloudFront) UpdateDistribution(_a0 *cloudfront.UpdateDistribut } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -5957,6 +7757,10 @@ func (_m *MockFakeCloudFront) UpdateDistributionRequest(_a0 *cloudfront.UpdateDi ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateDistributionInput) (*request.Request, *cloudfront.UpdateDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5965,7 +7769,6 @@ func (_m *MockFakeCloudFront) UpdateDistributionRequest(_a0 *cloudfront.UpdateDi } } - var r1 *cloudfront.UpdateDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateDistributionInput) *cloudfront.UpdateDistributionOutput); ok { r1 = rf(_a0) } else { @@ -5989,6 +7792,10 @@ func (_m *MockFakeCloudFront) UpdateDistributionWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudfront.UpdateDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateDistributionInput, ...request.Option) (*cloudfront.UpdateDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateDistributionInput, ...request.Option) *cloudfront.UpdateDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5997,7 +7804,6 @@ func (_m *MockFakeCloudFront) UpdateDistributionWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6012,6 +7818,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfig(_a0 *cloudfront.U ret := _m.Called(_a0) var r0 *cloudfront.UpdateFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) (*cloudfront.UpdateFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) *cloudfront.UpdateFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0) } else { @@ -6020,7 +7830,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfig(_a0 *cloudfront.U } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) error); ok { r1 = rf(_a0) } else { @@ -6035,6 +7844,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfigRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateFieldLevelEncryptionConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) (*request.Request, *cloudfront.UpdateFieldLevelEncryptionConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6043,7 +7856,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfigRequest(_a0 *cloud } } - var r1 *cloudfront.UpdateFieldLevelEncryptionConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFieldLevelEncryptionConfigInput) *cloudfront.UpdateFieldLevelEncryptionConfigOutput); ok { r1 = rf(_a0) } else { @@ -6067,6 +7879,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfigWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudfront.UpdateFieldLevelEncryptionConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionConfigInput, ...request.Option) (*cloudfront.UpdateFieldLevelEncryptionConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionConfigInput, ...request.Option) *cloudfront.UpdateFieldLevelEncryptionConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6075,7 +7891,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionConfigWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6090,6 +7905,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfile(_a0 *cloudfront. ret := _m.Called(_a0) var r0 *cloudfront.UpdateFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) (*cloudfront.UpdateFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) *cloudfront.UpdateFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0) } else { @@ -6098,7 +7917,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfile(_a0 *cloudfront. } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) error); ok { r1 = rf(_a0) } else { @@ -6113,6 +7931,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfileRequest(_a0 *clou ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateFieldLevelEncryptionProfileOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) (*request.Request, *cloudfront.UpdateFieldLevelEncryptionProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6121,7 +7943,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfileRequest(_a0 *clou } } - var r1 *cloudfront.UpdateFieldLevelEncryptionProfileOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFieldLevelEncryptionProfileInput) *cloudfront.UpdateFieldLevelEncryptionProfileOutput); ok { r1 = rf(_a0) } else { @@ -6145,6 +7966,10 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfileWithContext(_a0 c ret := _m.Called(_ca...) var r0 *cloudfront.UpdateFieldLevelEncryptionProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionProfileInput, ...request.Option) (*cloudfront.UpdateFieldLevelEncryptionProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionProfileInput, ...request.Option) *cloudfront.UpdateFieldLevelEncryptionProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6153,7 +7978,6 @@ func (_m *MockFakeCloudFront) UpdateFieldLevelEncryptionProfileWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateFieldLevelEncryptionProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6168,6 +7992,10 @@ func (_m *MockFakeCloudFront) UpdateFunction(_a0 *cloudfront.UpdateFunctionInput ret := _m.Called(_a0) var r0 *cloudfront.UpdateFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFunctionInput) (*cloudfront.UpdateFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFunctionInput) *cloudfront.UpdateFunctionOutput); ok { r0 = rf(_a0) } else { @@ -6176,7 +8004,6 @@ func (_m *MockFakeCloudFront) UpdateFunction(_a0 *cloudfront.UpdateFunctionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -6191,6 +8018,10 @@ func (_m *MockFakeCloudFront) UpdateFunctionRequest(_a0 *cloudfront.UpdateFuncti ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateFunctionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFunctionInput) (*request.Request, *cloudfront.UpdateFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6199,7 +8030,6 @@ func (_m *MockFakeCloudFront) UpdateFunctionRequest(_a0 *cloudfront.UpdateFuncti } } - var r1 *cloudfront.UpdateFunctionOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateFunctionInput) *cloudfront.UpdateFunctionOutput); ok { r1 = rf(_a0) } else { @@ -6223,6 +8053,10 @@ func (_m *MockFakeCloudFront) UpdateFunctionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.UpdateFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFunctionInput, ...request.Option) (*cloudfront.UpdateFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateFunctionInput, ...request.Option) *cloudfront.UpdateFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6231,7 +8065,6 @@ func (_m *MockFakeCloudFront) UpdateFunctionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6246,6 +8079,10 @@ func (_m *MockFakeCloudFront) UpdateKeyGroup(_a0 *cloudfront.UpdateKeyGroupInput ret := _m.Called(_a0) var r0 *cloudfront.UpdateKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateKeyGroupInput) (*cloudfront.UpdateKeyGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateKeyGroupInput) *cloudfront.UpdateKeyGroupOutput); ok { r0 = rf(_a0) } else { @@ -6254,7 +8091,6 @@ func (_m *MockFakeCloudFront) UpdateKeyGroup(_a0 *cloudfront.UpdateKeyGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateKeyGroupInput) error); ok { r1 = rf(_a0) } else { @@ -6269,6 +8105,10 @@ func (_m *MockFakeCloudFront) UpdateKeyGroupRequest(_a0 *cloudfront.UpdateKeyGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateKeyGroupOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateKeyGroupInput) (*request.Request, *cloudfront.UpdateKeyGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateKeyGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6277,7 +8117,6 @@ func (_m *MockFakeCloudFront) UpdateKeyGroupRequest(_a0 *cloudfront.UpdateKeyGro } } - var r1 *cloudfront.UpdateKeyGroupOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateKeyGroupInput) *cloudfront.UpdateKeyGroupOutput); ok { r1 = rf(_a0) } else { @@ -6301,6 +8140,10 @@ func (_m *MockFakeCloudFront) UpdateKeyGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudfront.UpdateKeyGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateKeyGroupInput, ...request.Option) (*cloudfront.UpdateKeyGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateKeyGroupInput, ...request.Option) *cloudfront.UpdateKeyGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6309,7 +8152,6 @@ func (_m *MockFakeCloudFront) UpdateKeyGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateKeyGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6319,11 +8161,102 @@ func (_m *MockFakeCloudFront) UpdateKeyGroupWithContext(_a0 context.Context, _a1 return r0, r1 } +// UpdateOriginAccessControl provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) UpdateOriginAccessControl(_a0 *cloudfront.UpdateOriginAccessControlInput) (*cloudfront.UpdateOriginAccessControlOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.UpdateOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginAccessControlInput) (*cloudfront.UpdateOriginAccessControlOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginAccessControlInput) *cloudfront.UpdateOriginAccessControlOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.UpdateOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.UpdateOriginAccessControlInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateOriginAccessControlRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) UpdateOriginAccessControlRequest(_a0 *cloudfront.UpdateOriginAccessControlInput) (*request.Request, *cloudfront.UpdateOriginAccessControlOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.UpdateOriginAccessControlOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginAccessControlInput) (*request.Request, *cloudfront.UpdateOriginAccessControlOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginAccessControlInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.UpdateOriginAccessControlInput) *cloudfront.UpdateOriginAccessControlOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.UpdateOriginAccessControlOutput) + } + } + + return r0, r1 +} + +// UpdateOriginAccessControlWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) UpdateOriginAccessControlWithContext(_a0 context.Context, _a1 *cloudfront.UpdateOriginAccessControlInput, _a2 ...request.Option) (*cloudfront.UpdateOriginAccessControlOutput, error) { + _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 *cloudfront.UpdateOriginAccessControlOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateOriginAccessControlInput, ...request.Option) (*cloudfront.UpdateOriginAccessControlOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateOriginAccessControlInput, ...request.Option) *cloudfront.UpdateOriginAccessControlOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.UpdateOriginAccessControlOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateOriginAccessControlInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateOriginRequestPolicy provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) UpdateOriginRequestPolicy(_a0 *cloudfront.UpdateOriginRequestPolicyInput) (*cloudfront.UpdateOriginRequestPolicyOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.UpdateOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginRequestPolicyInput) (*cloudfront.UpdateOriginRequestPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginRequestPolicyInput) *cloudfront.UpdateOriginRequestPolicyOutput); ok { r0 = rf(_a0) } else { @@ -6332,7 +8265,6 @@ func (_m *MockFakeCloudFront) UpdateOriginRequestPolicy(_a0 *cloudfront.UpdateOr } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateOriginRequestPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -6347,6 +8279,10 @@ func (_m *MockFakeCloudFront) UpdateOriginRequestPolicyRequest(_a0 *cloudfront.U ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateOriginRequestPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginRequestPolicyInput) (*request.Request, *cloudfront.UpdateOriginRequestPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateOriginRequestPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6355,7 +8291,6 @@ func (_m *MockFakeCloudFront) UpdateOriginRequestPolicyRequest(_a0 *cloudfront.U } } - var r1 *cloudfront.UpdateOriginRequestPolicyOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateOriginRequestPolicyInput) *cloudfront.UpdateOriginRequestPolicyOutput); ok { r1 = rf(_a0) } else { @@ -6379,6 +8314,10 @@ func (_m *MockFakeCloudFront) UpdateOriginRequestPolicyWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudfront.UpdateOriginRequestPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateOriginRequestPolicyInput, ...request.Option) (*cloudfront.UpdateOriginRequestPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateOriginRequestPolicyInput, ...request.Option) *cloudfront.UpdateOriginRequestPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6387,7 +8326,6 @@ func (_m *MockFakeCloudFront) UpdateOriginRequestPolicyWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateOriginRequestPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6402,6 +8340,10 @@ func (_m *MockFakeCloudFront) UpdatePublicKey(_a0 *cloudfront.UpdatePublicKeyInp ret := _m.Called(_a0) var r0 *cloudfront.UpdatePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdatePublicKeyInput) (*cloudfront.UpdatePublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdatePublicKeyInput) *cloudfront.UpdatePublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -6410,7 +8352,6 @@ func (_m *MockFakeCloudFront) UpdatePublicKey(_a0 *cloudfront.UpdatePublicKeyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdatePublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -6425,6 +8366,10 @@ func (_m *MockFakeCloudFront) UpdatePublicKeyRequest(_a0 *cloudfront.UpdatePubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdatePublicKeyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdatePublicKeyInput) (*request.Request, *cloudfront.UpdatePublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdatePublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6433,7 +8378,6 @@ func (_m *MockFakeCloudFront) UpdatePublicKeyRequest(_a0 *cloudfront.UpdatePubli } } - var r1 *cloudfront.UpdatePublicKeyOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdatePublicKeyInput) *cloudfront.UpdatePublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -6457,6 +8401,10 @@ func (_m *MockFakeCloudFront) UpdatePublicKeyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudfront.UpdatePublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdatePublicKeyInput, ...request.Option) (*cloudfront.UpdatePublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdatePublicKeyInput, ...request.Option) *cloudfront.UpdatePublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6465,7 +8413,6 @@ func (_m *MockFakeCloudFront) UpdatePublicKeyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdatePublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6480,6 +8427,10 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfig(_a0 *cloudfront.UpdateReal ret := _m.Called(_a0) var r0 *cloudfront.UpdateRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateRealtimeLogConfigInput) (*cloudfront.UpdateRealtimeLogConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateRealtimeLogConfigInput) *cloudfront.UpdateRealtimeLogConfigOutput); ok { r0 = rf(_a0) } else { @@ -6488,7 +8439,6 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfig(_a0 *cloudfront.UpdateReal } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateRealtimeLogConfigInput) error); ok { r1 = rf(_a0) } else { @@ -6503,6 +8453,10 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfigRequest(_a0 *cloudfront.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateRealtimeLogConfigOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateRealtimeLogConfigInput) (*request.Request, *cloudfront.UpdateRealtimeLogConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateRealtimeLogConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6511,7 +8465,6 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfigRequest(_a0 *cloudfront.Upd } } - var r1 *cloudfront.UpdateRealtimeLogConfigOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateRealtimeLogConfigInput) *cloudfront.UpdateRealtimeLogConfigOutput); ok { r1 = rf(_a0) } else { @@ -6535,6 +8488,10 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfigWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudfront.UpdateRealtimeLogConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateRealtimeLogConfigInput, ...request.Option) (*cloudfront.UpdateRealtimeLogConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateRealtimeLogConfigInput, ...request.Option) *cloudfront.UpdateRealtimeLogConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6543,7 +8500,6 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfigWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateRealtimeLogConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6553,11 +8509,102 @@ func (_m *MockFakeCloudFront) UpdateRealtimeLogConfigWithContext(_a0 context.Con return r0, r1 } +// UpdateResponseHeadersPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) UpdateResponseHeadersPolicy(_a0 *cloudfront.UpdateResponseHeadersPolicyInput) (*cloudfront.UpdateResponseHeadersPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudfront.UpdateResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateResponseHeadersPolicyInput) (*cloudfront.UpdateResponseHeadersPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateResponseHeadersPolicyInput) *cloudfront.UpdateResponseHeadersPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.UpdateResponseHeadersPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.UpdateResponseHeadersPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateResponseHeadersPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudFront) UpdateResponseHeadersPolicyRequest(_a0 *cloudfront.UpdateResponseHeadersPolicyInput) (*request.Request, *cloudfront.UpdateResponseHeadersPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudfront.UpdateResponseHeadersPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateResponseHeadersPolicyInput) (*request.Request, *cloudfront.UpdateResponseHeadersPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateResponseHeadersPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudfront.UpdateResponseHeadersPolicyInput) *cloudfront.UpdateResponseHeadersPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudfront.UpdateResponseHeadersPolicyOutput) + } + } + + return r0, r1 +} + +// UpdateResponseHeadersPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudFront) UpdateResponseHeadersPolicyWithContext(_a0 context.Context, _a1 *cloudfront.UpdateResponseHeadersPolicyInput, _a2 ...request.Option) (*cloudfront.UpdateResponseHeadersPolicyOutput, error) { + _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 *cloudfront.UpdateResponseHeadersPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateResponseHeadersPolicyInput, ...request.Option) (*cloudfront.UpdateResponseHeadersPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateResponseHeadersPolicyInput, ...request.Option) *cloudfront.UpdateResponseHeadersPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudfront.UpdateResponseHeadersPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateResponseHeadersPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // UpdateStreamingDistribution provides a mock function with given fields: _a0 func (_m *MockFakeCloudFront) UpdateStreamingDistribution(_a0 *cloudfront.UpdateStreamingDistributionInput) (*cloudfront.UpdateStreamingDistributionOutput, error) { ret := _m.Called(_a0) var r0 *cloudfront.UpdateStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateStreamingDistributionInput) (*cloudfront.UpdateStreamingDistributionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateStreamingDistributionInput) *cloudfront.UpdateStreamingDistributionOutput); ok { r0 = rf(_a0) } else { @@ -6566,7 +8613,6 @@ func (_m *MockFakeCloudFront) UpdateStreamingDistribution(_a0 *cloudfront.Update } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudfront.UpdateStreamingDistributionInput) error); ok { r1 = rf(_a0) } else { @@ -6581,6 +8627,10 @@ func (_m *MockFakeCloudFront) UpdateStreamingDistributionRequest(_a0 *cloudfront ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudfront.UpdateStreamingDistributionOutput + if rf, ok := ret.Get(0).(func(*cloudfront.UpdateStreamingDistributionInput) (*request.Request, *cloudfront.UpdateStreamingDistributionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudfront.UpdateStreamingDistributionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6589,7 +8639,6 @@ func (_m *MockFakeCloudFront) UpdateStreamingDistributionRequest(_a0 *cloudfront } } - var r1 *cloudfront.UpdateStreamingDistributionOutput if rf, ok := ret.Get(1).(func(*cloudfront.UpdateStreamingDistributionInput) *cloudfront.UpdateStreamingDistributionOutput); ok { r1 = rf(_a0) } else { @@ -6613,6 +8662,10 @@ func (_m *MockFakeCloudFront) UpdateStreamingDistributionWithContext(_a0 context ret := _m.Called(_ca...) var r0 *cloudfront.UpdateStreamingDistributionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateStreamingDistributionInput, ...request.Option) (*cloudfront.UpdateStreamingDistributionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudfront.UpdateStreamingDistributionInput, ...request.Option) *cloudfront.UpdateStreamingDistributionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6621,7 +8674,6 @@ func (_m *MockFakeCloudFront) UpdateStreamingDistributionWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudfront.UpdateStreamingDistributionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6735,3 +8787,18 @@ func (_m *MockFakeCloudFront) WaitUntilStreamingDistributionDeployedWithContext( return r0 } + +type mockConstructorTestingTNewMockFakeCloudFront interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeCloudFront creates a new instance of MockFakeCloudFront. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeCloudFront(t mockConstructorTestingTNewMockFakeCloudFront) *MockFakeCloudFront { + mock := &MockFakeCloudFront{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeCloudformation.go b/test/aws/mock_FakeCloudformation.go index 61754ccdf..0d70afeed 100644 --- a/test/aws/mock_FakeCloudformation.go +++ b/test/aws/mock_FakeCloudformation.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -22,6 +22,10 @@ func (_m *MockFakeCloudformation) ActivateType(_a0 *cloudformation.ActivateTypeI ret := _m.Called(_a0) var r0 *cloudformation.ActivateTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ActivateTypeInput) (*cloudformation.ActivateTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ActivateTypeInput) *cloudformation.ActivateTypeOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeCloudformation) ActivateType(_a0 *cloudformation.ActivateTypeI } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ActivateTypeInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeCloudformation) ActivateTypeRequest(_a0 *cloudformation.Activa ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ActivateTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ActivateTypeInput) (*request.Request, *cloudformation.ActivateTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ActivateTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeCloudformation) ActivateTypeRequest(_a0 *cloudformation.Activa } } - var r1 *cloudformation.ActivateTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.ActivateTypeInput) *cloudformation.ActivateTypeOutput); ok { r1 = rf(_a0) } else { @@ -77,6 +83,10 @@ func (_m *MockFakeCloudformation) ActivateTypeWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *cloudformation.ActivateTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ActivateTypeInput, ...request.Option) (*cloudformation.ActivateTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ActivateTypeInput, ...request.Option) *cloudformation.ActivateTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +95,6 @@ func (_m *MockFakeCloudformation) ActivateTypeWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ActivateTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -100,6 +109,10 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurations(_a0 *cloudform ret := _m.Called(_a0) var r0 *cloudformation.BatchDescribeTypeConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) (*cloudformation.BatchDescribeTypeConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) *cloudformation.BatchDescribeTypeConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -108,7 +121,6 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurations(_a0 *cloudform } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -123,6 +135,10 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurationsRequest(_a0 *cl ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.BatchDescribeTypeConfigurationsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) (*request.Request, *cloudformation.BatchDescribeTypeConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -131,7 +147,6 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurationsRequest(_a0 *cl } } - var r1 *cloudformation.BatchDescribeTypeConfigurationsOutput if rf, ok := ret.Get(1).(func(*cloudformation.BatchDescribeTypeConfigurationsInput) *cloudformation.BatchDescribeTypeConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -155,6 +170,10 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurationsWithContext(_a0 ret := _m.Called(_ca...) var r0 *cloudformation.BatchDescribeTypeConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.BatchDescribeTypeConfigurationsInput, ...request.Option) (*cloudformation.BatchDescribeTypeConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.BatchDescribeTypeConfigurationsInput, ...request.Option) *cloudformation.BatchDescribeTypeConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -163,7 +182,6 @@ func (_m *MockFakeCloudformation) BatchDescribeTypeConfigurationsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.BatchDescribeTypeConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -178,6 +196,10 @@ func (_m *MockFakeCloudformation) CancelUpdateStack(_a0 *cloudformation.CancelUp ret := _m.Called(_a0) var r0 *cloudformation.CancelUpdateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.CancelUpdateStackInput) (*cloudformation.CancelUpdateStackOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CancelUpdateStackInput) *cloudformation.CancelUpdateStackOutput); ok { r0 = rf(_a0) } else { @@ -186,7 +208,6 @@ func (_m *MockFakeCloudformation) CancelUpdateStack(_a0 *cloudformation.CancelUp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.CancelUpdateStackInput) error); ok { r1 = rf(_a0) } else { @@ -201,6 +222,10 @@ func (_m *MockFakeCloudformation) CancelUpdateStackRequest(_a0 *cloudformation.C ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.CancelUpdateStackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.CancelUpdateStackInput) (*request.Request, *cloudformation.CancelUpdateStackOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CancelUpdateStackInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -209,7 +234,6 @@ func (_m *MockFakeCloudformation) CancelUpdateStackRequest(_a0 *cloudformation.C } } - var r1 *cloudformation.CancelUpdateStackOutput if rf, ok := ret.Get(1).(func(*cloudformation.CancelUpdateStackInput) *cloudformation.CancelUpdateStackOutput); ok { r1 = rf(_a0) } else { @@ -233,6 +257,10 @@ func (_m *MockFakeCloudformation) CancelUpdateStackWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *cloudformation.CancelUpdateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CancelUpdateStackInput, ...request.Option) (*cloudformation.CancelUpdateStackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CancelUpdateStackInput, ...request.Option) *cloudformation.CancelUpdateStackOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -241,7 +269,6 @@ func (_m *MockFakeCloudformation) CancelUpdateStackWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CancelUpdateStackInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -256,6 +283,10 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollback(_a0 *cloudformation.Con ret := _m.Called(_a0) var r0 *cloudformation.ContinueUpdateRollbackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ContinueUpdateRollbackInput) (*cloudformation.ContinueUpdateRollbackOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ContinueUpdateRollbackInput) *cloudformation.ContinueUpdateRollbackOutput); ok { r0 = rf(_a0) } else { @@ -264,7 +295,6 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollback(_a0 *cloudformation.Con } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ContinueUpdateRollbackInput) error); ok { r1 = rf(_a0) } else { @@ -279,6 +309,10 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollbackRequest(_a0 *cloudformat ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ContinueUpdateRollbackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ContinueUpdateRollbackInput) (*request.Request, *cloudformation.ContinueUpdateRollbackOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ContinueUpdateRollbackInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -287,7 +321,6 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollbackRequest(_a0 *cloudformat } } - var r1 *cloudformation.ContinueUpdateRollbackOutput if rf, ok := ret.Get(1).(func(*cloudformation.ContinueUpdateRollbackInput) *cloudformation.ContinueUpdateRollbackOutput); ok { r1 = rf(_a0) } else { @@ -311,6 +344,10 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollbackWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *cloudformation.ContinueUpdateRollbackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ContinueUpdateRollbackInput, ...request.Option) (*cloudformation.ContinueUpdateRollbackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ContinueUpdateRollbackInput, ...request.Option) *cloudformation.ContinueUpdateRollbackOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -319,7 +356,6 @@ func (_m *MockFakeCloudformation) ContinueUpdateRollbackWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ContinueUpdateRollbackInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -334,6 +370,10 @@ func (_m *MockFakeCloudformation) CreateChangeSet(_a0 *cloudformation.CreateChan ret := _m.Called(_a0) var r0 *cloudformation.CreateChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.CreateChangeSetInput) (*cloudformation.CreateChangeSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateChangeSetInput) *cloudformation.CreateChangeSetOutput); ok { r0 = rf(_a0) } else { @@ -342,7 +382,6 @@ func (_m *MockFakeCloudformation) CreateChangeSet(_a0 *cloudformation.CreateChan } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.CreateChangeSetInput) error); ok { r1 = rf(_a0) } else { @@ -357,6 +396,10 @@ func (_m *MockFakeCloudformation) CreateChangeSetRequest(_a0 *cloudformation.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.CreateChangeSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.CreateChangeSetInput) (*request.Request, *cloudformation.CreateChangeSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateChangeSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -365,7 +408,6 @@ func (_m *MockFakeCloudformation) CreateChangeSetRequest(_a0 *cloudformation.Cre } } - var r1 *cloudformation.CreateChangeSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.CreateChangeSetInput) *cloudformation.CreateChangeSetOutput); ok { r1 = rf(_a0) } else { @@ -389,6 +431,10 @@ func (_m *MockFakeCloudformation) CreateChangeSetWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *cloudformation.CreateChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateChangeSetInput, ...request.Option) (*cloudformation.CreateChangeSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateChangeSetInput, ...request.Option) *cloudformation.CreateChangeSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -397,7 +443,6 @@ func (_m *MockFakeCloudformation) CreateChangeSetWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CreateChangeSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -412,6 +457,10 @@ func (_m *MockFakeCloudformation) CreateStack(_a0 *cloudformation.CreateStackInp ret := _m.Called(_a0) var r0 *cloudformation.CreateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInput) *cloudformation.CreateStackOutput); ok { r0 = rf(_a0) } else { @@ -420,7 +469,6 @@ func (_m *MockFakeCloudformation) CreateStack(_a0 *cloudformation.CreateStackInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackInput) error); ok { r1 = rf(_a0) } else { @@ -435,6 +483,10 @@ func (_m *MockFakeCloudformation) CreateStackInstances(_a0 *cloudformation.Creat ret := _m.Called(_a0) var r0 *cloudformation.CreateStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) (*cloudformation.CreateStackInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) *cloudformation.CreateStackInstancesOutput); ok { r0 = rf(_a0) } else { @@ -443,7 +495,6 @@ func (_m *MockFakeCloudformation) CreateStackInstances(_a0 *cloudformation.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -458,6 +509,10 @@ func (_m *MockFakeCloudformation) CreateStackInstancesRequest(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.CreateStackInstancesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) (*request.Request, *cloudformation.CreateStackInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -466,7 +521,6 @@ func (_m *MockFakeCloudformation) CreateStackInstancesRequest(_a0 *cloudformatio } } - var r1 *cloudformation.CreateStackInstancesOutput if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackInstancesInput) *cloudformation.CreateStackInstancesOutput); ok { r1 = rf(_a0) } else { @@ -490,6 +544,10 @@ func (_m *MockFakeCloudformation) CreateStackInstancesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudformation.CreateStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInstancesInput, ...request.Option) (*cloudformation.CreateStackInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInstancesInput, ...request.Option) *cloudformation.CreateStackInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -498,7 +556,6 @@ func (_m *MockFakeCloudformation) CreateStackInstancesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CreateStackInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -513,6 +570,10 @@ func (_m *MockFakeCloudformation) CreateStackRequest(_a0 *cloudformation.CreateS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.CreateStackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInput) (*request.Request, *cloudformation.CreateStackOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -521,7 +582,6 @@ func (_m *MockFakeCloudformation) CreateStackRequest(_a0 *cloudformation.CreateS } } - var r1 *cloudformation.CreateStackOutput if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackInput) *cloudformation.CreateStackOutput); ok { r1 = rf(_a0) } else { @@ -538,6 +598,10 @@ func (_m *MockFakeCloudformation) CreateStackSet(_a0 *cloudformation.CreateStack ret := _m.Called(_a0) var r0 *cloudformation.CreateStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) (*cloudformation.CreateStackSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) *cloudformation.CreateStackSetOutput); ok { r0 = rf(_a0) } else { @@ -546,7 +610,6 @@ func (_m *MockFakeCloudformation) CreateStackSet(_a0 *cloudformation.CreateStack } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackSetInput) error); ok { r1 = rf(_a0) } else { @@ -561,6 +624,10 @@ func (_m *MockFakeCloudformation) CreateStackSetRequest(_a0 *cloudformation.Crea ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.CreateStackSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) (*request.Request, *cloudformation.CreateStackSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.CreateStackSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -569,7 +636,6 @@ func (_m *MockFakeCloudformation) CreateStackSetRequest(_a0 *cloudformation.Crea } } - var r1 *cloudformation.CreateStackSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.CreateStackSetInput) *cloudformation.CreateStackSetOutput); ok { r1 = rf(_a0) } else { @@ -593,6 +659,10 @@ func (_m *MockFakeCloudformation) CreateStackSetWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.CreateStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackSetInput, ...request.Option) (*cloudformation.CreateStackSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackSetInput, ...request.Option) *cloudformation.CreateStackSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -601,7 +671,6 @@ func (_m *MockFakeCloudformation) CreateStackSetWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CreateStackSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -623,6 +692,10 @@ func (_m *MockFakeCloudformation) CreateStackWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.CreateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) (*cloudformation.CreateStackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) *cloudformation.CreateStackOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -631,7 +704,6 @@ func (_m *MockFakeCloudformation) CreateStackWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.CreateStackInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -646,6 +718,10 @@ func (_m *MockFakeCloudformation) DeactivateType(_a0 *cloudformation.DeactivateT ret := _m.Called(_a0) var r0 *cloudformation.DeactivateTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeactivateTypeInput) (*cloudformation.DeactivateTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeactivateTypeInput) *cloudformation.DeactivateTypeOutput); ok { r0 = rf(_a0) } else { @@ -654,7 +730,6 @@ func (_m *MockFakeCloudformation) DeactivateType(_a0 *cloudformation.DeactivateT } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeactivateTypeInput) error); ok { r1 = rf(_a0) } else { @@ -669,6 +744,10 @@ func (_m *MockFakeCloudformation) DeactivateTypeRequest(_a0 *cloudformation.Deac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeactivateTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeactivateTypeInput) (*request.Request, *cloudformation.DeactivateTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeactivateTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -677,7 +756,6 @@ func (_m *MockFakeCloudformation) DeactivateTypeRequest(_a0 *cloudformation.Deac } } - var r1 *cloudformation.DeactivateTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeactivateTypeInput) *cloudformation.DeactivateTypeOutput); ok { r1 = rf(_a0) } else { @@ -701,6 +779,10 @@ func (_m *MockFakeCloudformation) DeactivateTypeWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.DeactivateTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeactivateTypeInput, ...request.Option) (*cloudformation.DeactivateTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeactivateTypeInput, ...request.Option) *cloudformation.DeactivateTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -709,7 +791,6 @@ func (_m *MockFakeCloudformation) DeactivateTypeWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeactivateTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -724,6 +805,10 @@ func (_m *MockFakeCloudformation) DeleteChangeSet(_a0 *cloudformation.DeleteChan ret := _m.Called(_a0) var r0 *cloudformation.DeleteChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteChangeSetInput) (*cloudformation.DeleteChangeSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteChangeSetInput) *cloudformation.DeleteChangeSetOutput); ok { r0 = rf(_a0) } else { @@ -732,7 +817,6 @@ func (_m *MockFakeCloudformation) DeleteChangeSet(_a0 *cloudformation.DeleteChan } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeleteChangeSetInput) error); ok { r1 = rf(_a0) } else { @@ -747,6 +831,10 @@ func (_m *MockFakeCloudformation) DeleteChangeSetRequest(_a0 *cloudformation.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeleteChangeSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteChangeSetInput) (*request.Request, *cloudformation.DeleteChangeSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteChangeSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -755,7 +843,6 @@ func (_m *MockFakeCloudformation) DeleteChangeSetRequest(_a0 *cloudformation.Del } } - var r1 *cloudformation.DeleteChangeSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeleteChangeSetInput) *cloudformation.DeleteChangeSetOutput); ok { r1 = rf(_a0) } else { @@ -779,6 +866,10 @@ func (_m *MockFakeCloudformation) DeleteChangeSetWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *cloudformation.DeleteChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteChangeSetInput, ...request.Option) (*cloudformation.DeleteChangeSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteChangeSetInput, ...request.Option) *cloudformation.DeleteChangeSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -787,7 +878,6 @@ func (_m *MockFakeCloudformation) DeleteChangeSetWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeleteChangeSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -802,6 +892,10 @@ func (_m *MockFakeCloudformation) DeleteStack(_a0 *cloudformation.DeleteStackInp ret := _m.Called(_a0) var r0 *cloudformation.DeleteStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInput) *cloudformation.DeleteStackOutput); ok { r0 = rf(_a0) } else { @@ -810,7 +904,6 @@ func (_m *MockFakeCloudformation) DeleteStack(_a0 *cloudformation.DeleteStackInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackInput) error); ok { r1 = rf(_a0) } else { @@ -825,6 +918,10 @@ func (_m *MockFakeCloudformation) DeleteStackInstances(_a0 *cloudformation.Delet ret := _m.Called(_a0) var r0 *cloudformation.DeleteStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInstancesInput) (*cloudformation.DeleteStackInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInstancesInput) *cloudformation.DeleteStackInstancesOutput); ok { r0 = rf(_a0) } else { @@ -833,7 +930,6 @@ func (_m *MockFakeCloudformation) DeleteStackInstances(_a0 *cloudformation.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -848,6 +944,10 @@ func (_m *MockFakeCloudformation) DeleteStackInstancesRequest(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeleteStackInstancesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInstancesInput) (*request.Request, *cloudformation.DeleteStackInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -856,7 +956,6 @@ func (_m *MockFakeCloudformation) DeleteStackInstancesRequest(_a0 *cloudformatio } } - var r1 *cloudformation.DeleteStackInstancesOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackInstancesInput) *cloudformation.DeleteStackInstancesOutput); ok { r1 = rf(_a0) } else { @@ -880,6 +979,10 @@ func (_m *MockFakeCloudformation) DeleteStackInstancesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudformation.DeleteStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInstancesInput, ...request.Option) (*cloudformation.DeleteStackInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInstancesInput, ...request.Option) *cloudformation.DeleteStackInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -888,7 +991,6 @@ func (_m *MockFakeCloudformation) DeleteStackInstancesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeleteStackInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -903,6 +1005,10 @@ func (_m *MockFakeCloudformation) DeleteStackRequest(_a0 *cloudformation.DeleteS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeleteStackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInput) (*request.Request, *cloudformation.DeleteStackOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -911,7 +1017,6 @@ func (_m *MockFakeCloudformation) DeleteStackRequest(_a0 *cloudformation.DeleteS } } - var r1 *cloudformation.DeleteStackOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackInput) *cloudformation.DeleteStackOutput); ok { r1 = rf(_a0) } else { @@ -928,6 +1033,10 @@ func (_m *MockFakeCloudformation) DeleteStackSet(_a0 *cloudformation.DeleteStack ret := _m.Called(_a0) var r0 *cloudformation.DeleteStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackSetInput) (*cloudformation.DeleteStackSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackSetInput) *cloudformation.DeleteStackSetOutput); ok { r0 = rf(_a0) } else { @@ -936,7 +1045,6 @@ func (_m *MockFakeCloudformation) DeleteStackSet(_a0 *cloudformation.DeleteStack } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackSetInput) error); ok { r1 = rf(_a0) } else { @@ -951,6 +1059,10 @@ func (_m *MockFakeCloudformation) DeleteStackSetRequest(_a0 *cloudformation.Dele ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeleteStackSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackSetInput) (*request.Request, *cloudformation.DeleteStackSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeleteStackSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -959,7 +1071,6 @@ func (_m *MockFakeCloudformation) DeleteStackSetRequest(_a0 *cloudformation.Dele } } - var r1 *cloudformation.DeleteStackSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeleteStackSetInput) *cloudformation.DeleteStackSetOutput); ok { r1 = rf(_a0) } else { @@ -983,6 +1094,10 @@ func (_m *MockFakeCloudformation) DeleteStackSetWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.DeleteStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackSetInput, ...request.Option) (*cloudformation.DeleteStackSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackSetInput, ...request.Option) *cloudformation.DeleteStackSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -991,7 +1106,6 @@ func (_m *MockFakeCloudformation) DeleteStackSetWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeleteStackSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1013,6 +1127,10 @@ func (_m *MockFakeCloudformation) DeleteStackWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.DeleteStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInput, ...request.Option) (*cloudformation.DeleteStackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInput, ...request.Option) *cloudformation.DeleteStackOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1021,7 +1139,6 @@ func (_m *MockFakeCloudformation) DeleteStackWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeleteStackInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1036,6 +1153,10 @@ func (_m *MockFakeCloudformation) DeregisterType(_a0 *cloudformation.DeregisterT ret := _m.Called(_a0) var r0 *cloudformation.DeregisterTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DeregisterTypeInput) (*cloudformation.DeregisterTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeregisterTypeInput) *cloudformation.DeregisterTypeOutput); ok { r0 = rf(_a0) } else { @@ -1044,7 +1165,6 @@ func (_m *MockFakeCloudformation) DeregisterType(_a0 *cloudformation.DeregisterT } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DeregisterTypeInput) error); ok { r1 = rf(_a0) } else { @@ -1059,6 +1179,10 @@ func (_m *MockFakeCloudformation) DeregisterTypeRequest(_a0 *cloudformation.Dere ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DeregisterTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DeregisterTypeInput) (*request.Request, *cloudformation.DeregisterTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DeregisterTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1067,7 +1191,6 @@ func (_m *MockFakeCloudformation) DeregisterTypeRequest(_a0 *cloudformation.Dere } } - var r1 *cloudformation.DeregisterTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.DeregisterTypeInput) *cloudformation.DeregisterTypeOutput); ok { r1 = rf(_a0) } else { @@ -1091,6 +1214,10 @@ func (_m *MockFakeCloudformation) DeregisterTypeWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.DeregisterTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeregisterTypeInput, ...request.Option) (*cloudformation.DeregisterTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeregisterTypeInput, ...request.Option) *cloudformation.DeregisterTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1099,7 +1226,6 @@ func (_m *MockFakeCloudformation) DeregisterTypeWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DeregisterTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1114,6 +1240,10 @@ func (_m *MockFakeCloudformation) DescribeAccountLimits(_a0 *cloudformation.Desc ret := _m.Called(_a0) var r0 *cloudformation.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeAccountLimitsInput) (*cloudformation.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeAccountLimitsInput) *cloudformation.DescribeAccountLimitsOutput); ok { r0 = rf(_a0) } else { @@ -1122,7 +1252,6 @@ func (_m *MockFakeCloudformation) DescribeAccountLimits(_a0 *cloudformation.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeAccountLimitsInput) error); ok { r1 = rf(_a0) } else { @@ -1172,6 +1301,10 @@ func (_m *MockFakeCloudformation) DescribeAccountLimitsRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeAccountLimitsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeAccountLimitsInput) (*request.Request, *cloudformation.DescribeAccountLimitsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeAccountLimitsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1180,7 +1313,6 @@ func (_m *MockFakeCloudformation) DescribeAccountLimitsRequest(_a0 *cloudformati } } - var r1 *cloudformation.DescribeAccountLimitsOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeAccountLimitsInput) *cloudformation.DescribeAccountLimitsOutput); ok { r1 = rf(_a0) } else { @@ -1204,6 +1336,10 @@ func (_m *MockFakeCloudformation) DescribeAccountLimitsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeAccountLimitsInput, ...request.Option) (*cloudformation.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeAccountLimitsInput, ...request.Option) *cloudformation.DescribeAccountLimitsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1212,7 +1348,6 @@ func (_m *MockFakeCloudformation) DescribeAccountLimitsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeAccountLimitsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1227,6 +1362,10 @@ func (_m *MockFakeCloudformation) DescribeChangeSet(_a0 *cloudformation.Describe ret := _m.Called(_a0) var r0 *cloudformation.DescribeChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetInput) (*cloudformation.DescribeChangeSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetInput) *cloudformation.DescribeChangeSetOutput); ok { r0 = rf(_a0) } else { @@ -1235,7 +1374,6 @@ func (_m *MockFakeCloudformation) DescribeChangeSet(_a0 *cloudformation.Describe } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeChangeSetInput) error); ok { r1 = rf(_a0) } else { @@ -1245,11 +1383,102 @@ func (_m *MockFakeCloudformation) DescribeChangeSet(_a0 *cloudformation.Describe return r0, r1 } +// DescribeChangeSetHooks provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) DescribeChangeSetHooks(_a0 *cloudformation.DescribeChangeSetHooksInput) (*cloudformation.DescribeChangeSetHooksOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudformation.DescribeChangeSetHooksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetHooksInput) (*cloudformation.DescribeChangeSetHooksOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetHooksInput) *cloudformation.DescribeChangeSetHooksOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.DescribeChangeSetHooksOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.DescribeChangeSetHooksInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeChangeSetHooksRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) DescribeChangeSetHooksRequest(_a0 *cloudformation.DescribeChangeSetHooksInput) (*request.Request, *cloudformation.DescribeChangeSetHooksOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudformation.DescribeChangeSetHooksOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetHooksInput) (*request.Request, *cloudformation.DescribeChangeSetHooksOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetHooksInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.DescribeChangeSetHooksInput) *cloudformation.DescribeChangeSetHooksOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudformation.DescribeChangeSetHooksOutput) + } + } + + return r0, r1 +} + +// DescribeChangeSetHooksWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudformation) DescribeChangeSetHooksWithContext(_a0 context.Context, _a1 *cloudformation.DescribeChangeSetHooksInput, _a2 ...request.Option) (*cloudformation.DescribeChangeSetHooksOutput, error) { + _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 *cloudformation.DescribeChangeSetHooksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetHooksInput, ...request.Option) (*cloudformation.DescribeChangeSetHooksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetHooksInput, ...request.Option) *cloudformation.DescribeChangeSetHooksOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.DescribeChangeSetHooksOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeChangeSetHooksInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeChangeSetRequest provides a mock function with given fields: _a0 func (_m *MockFakeCloudformation) DescribeChangeSetRequest(_a0 *cloudformation.DescribeChangeSetInput) (*request.Request, *cloudformation.DescribeChangeSetOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeChangeSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetInput) (*request.Request, *cloudformation.DescribeChangeSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeChangeSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1258,7 +1487,6 @@ func (_m *MockFakeCloudformation) DescribeChangeSetRequest(_a0 *cloudformation.D } } - var r1 *cloudformation.DescribeChangeSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeChangeSetInput) *cloudformation.DescribeChangeSetOutput); ok { r1 = rf(_a0) } else { @@ -1282,6 +1510,10 @@ func (_m *MockFakeCloudformation) DescribeChangeSetWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *cloudformation.DescribeChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetInput, ...request.Option) (*cloudformation.DescribeChangeSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetInput, ...request.Option) *cloudformation.DescribeChangeSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1290,7 +1522,6 @@ func (_m *MockFakeCloudformation) DescribeChangeSetWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeChangeSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1305,6 +1536,10 @@ func (_m *MockFakeCloudformation) DescribePublisher(_a0 *cloudformation.Describe ret := _m.Called(_a0) var r0 *cloudformation.DescribePublisherOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribePublisherInput) (*cloudformation.DescribePublisherOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribePublisherInput) *cloudformation.DescribePublisherOutput); ok { r0 = rf(_a0) } else { @@ -1313,7 +1548,6 @@ func (_m *MockFakeCloudformation) DescribePublisher(_a0 *cloudformation.Describe } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribePublisherInput) error); ok { r1 = rf(_a0) } else { @@ -1328,6 +1562,10 @@ func (_m *MockFakeCloudformation) DescribePublisherRequest(_a0 *cloudformation.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribePublisherOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribePublisherInput) (*request.Request, *cloudformation.DescribePublisherOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribePublisherInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1336,7 +1574,6 @@ func (_m *MockFakeCloudformation) DescribePublisherRequest(_a0 *cloudformation.D } } - var r1 *cloudformation.DescribePublisherOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribePublisherInput) *cloudformation.DescribePublisherOutput); ok { r1 = rf(_a0) } else { @@ -1360,6 +1597,10 @@ func (_m *MockFakeCloudformation) DescribePublisherWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *cloudformation.DescribePublisherOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribePublisherInput, ...request.Option) (*cloudformation.DescribePublisherOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribePublisherInput, ...request.Option) *cloudformation.DescribePublisherOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1368,7 +1609,6 @@ func (_m *MockFakeCloudformation) DescribePublisherWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribePublisherInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1383,6 +1623,10 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatus(_a0 *cloudfo ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackDriftDetectionStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) (*cloudformation.DescribeStackDriftDetectionStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) *cloudformation.DescribeStackDriftDetectionStatusOutput); ok { r0 = rf(_a0) } else { @@ -1391,7 +1635,6 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatus(_a0 *cloudfo } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) error); ok { r1 = rf(_a0) } else { @@ -1406,6 +1649,10 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatusRequest(_a0 * ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackDriftDetectionStatusOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) (*request.Request, *cloudformation.DescribeStackDriftDetectionStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1414,7 +1661,6 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatusRequest(_a0 * } } - var r1 *cloudformation.DescribeStackDriftDetectionStatusOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackDriftDetectionStatusInput) *cloudformation.DescribeStackDriftDetectionStatusOutput); ok { r1 = rf(_a0) } else { @@ -1438,6 +1684,10 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatusWithContext(_ ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackDriftDetectionStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackDriftDetectionStatusInput, ...request.Option) (*cloudformation.DescribeStackDriftDetectionStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackDriftDetectionStatusInput, ...request.Option) *cloudformation.DescribeStackDriftDetectionStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1446,7 +1696,6 @@ func (_m *MockFakeCloudformation) DescribeStackDriftDetectionStatusWithContext(_ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackDriftDetectionStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1461,6 +1710,10 @@ func (_m *MockFakeCloudformation) DescribeStackEvents(_a0 *cloudformation.Descri ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackEventsInput) *cloudformation.DescribeStackEventsOutput); ok { r0 = rf(_a0) } else { @@ -1469,7 +1722,6 @@ func (_m *MockFakeCloudformation) DescribeStackEvents(_a0 *cloudformation.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackEventsInput) error); ok { r1 = rf(_a0) } else { @@ -1519,6 +1771,10 @@ func (_m *MockFakeCloudformation) DescribeStackEventsRequest(_a0 *cloudformation ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackEventsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackEventsInput) (*request.Request, *cloudformation.DescribeStackEventsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackEventsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1527,7 +1783,6 @@ func (_m *MockFakeCloudformation) DescribeStackEventsRequest(_a0 *cloudformation } } - var r1 *cloudformation.DescribeStackEventsOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackEventsInput) *cloudformation.DescribeStackEventsOutput); ok { r1 = rf(_a0) } else { @@ -1551,6 +1806,10 @@ func (_m *MockFakeCloudformation) DescribeStackEventsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackEventsInput, ...request.Option) (*cloudformation.DescribeStackEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackEventsInput, ...request.Option) *cloudformation.DescribeStackEventsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1559,7 +1818,6 @@ func (_m *MockFakeCloudformation) DescribeStackEventsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackEventsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1574,6 +1832,10 @@ func (_m *MockFakeCloudformation) DescribeStackInstance(_a0 *cloudformation.Desc ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackInstanceInput) (*cloudformation.DescribeStackInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackInstanceInput) *cloudformation.DescribeStackInstanceOutput); ok { r0 = rf(_a0) } else { @@ -1582,7 +1844,6 @@ func (_m *MockFakeCloudformation) DescribeStackInstance(_a0 *cloudformation.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -1597,6 +1858,10 @@ func (_m *MockFakeCloudformation) DescribeStackInstanceRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackInstanceOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackInstanceInput) (*request.Request, *cloudformation.DescribeStackInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1605,7 +1870,6 @@ func (_m *MockFakeCloudformation) DescribeStackInstanceRequest(_a0 *cloudformati } } - var r1 *cloudformation.DescribeStackInstanceOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackInstanceInput) *cloudformation.DescribeStackInstanceOutput); ok { r1 = rf(_a0) } else { @@ -1629,6 +1893,10 @@ func (_m *MockFakeCloudformation) DescribeStackInstanceWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackInstanceInput, ...request.Option) (*cloudformation.DescribeStackInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackInstanceInput, ...request.Option) *cloudformation.DescribeStackInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1637,7 +1905,6 @@ func (_m *MockFakeCloudformation) DescribeStackInstanceWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1652,6 +1919,10 @@ func (_m *MockFakeCloudformation) DescribeStackResource(_a0 *cloudformation.Desc ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceInput) (*cloudformation.DescribeStackResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceInput) *cloudformation.DescribeStackResourceOutput); ok { r0 = rf(_a0) } else { @@ -1660,7 +1931,6 @@ func (_m *MockFakeCloudformation) DescribeStackResource(_a0 *cloudformation.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourceInput) error); ok { r1 = rf(_a0) } else { @@ -1675,6 +1945,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDrifts(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackResourceDriftsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceDriftsInput) (*cloudformation.DescribeStackResourceDriftsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceDriftsInput) *cloudformation.DescribeStackResourceDriftsOutput); ok { r0 = rf(_a0) } else { @@ -1683,7 +1957,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDrifts(_a0 *cloudformatio } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourceDriftsInput) error); ok { r1 = rf(_a0) } else { @@ -1733,6 +2006,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDriftsRequest(_a0 *cloudf ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackResourceDriftsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceDriftsInput) (*request.Request, *cloudformation.DescribeStackResourceDriftsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceDriftsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1741,7 +2018,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDriftsRequest(_a0 *cloudf } } - var r1 *cloudformation.DescribeStackResourceDriftsOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourceDriftsInput) *cloudformation.DescribeStackResourceDriftsOutput); ok { r1 = rf(_a0) } else { @@ -1765,6 +2041,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDriftsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackResourceDriftsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceDriftsInput, ...request.Option) (*cloudformation.DescribeStackResourceDriftsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceDriftsInput, ...request.Option) *cloudformation.DescribeStackResourceDriftsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1773,7 +2053,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourceDriftsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackResourceDriftsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1788,6 +2067,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourceRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackResourceOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceInput) (*request.Request, *cloudformation.DescribeStackResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1796,7 +2079,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourceRequest(_a0 *cloudformati } } - var r1 *cloudformation.DescribeStackResourceOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourceInput) *cloudformation.DescribeStackResourceOutput); ok { r1 = rf(_a0) } else { @@ -1820,6 +2102,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourceWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceInput, ...request.Option) (*cloudformation.DescribeStackResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceInput, ...request.Option) *cloudformation.DescribeStackResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1828,7 +2114,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourceWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1843,6 +2128,10 @@ func (_m *MockFakeCloudformation) DescribeStackResources(_a0 *cloudformation.Des ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourcesInput) (*cloudformation.DescribeStackResourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourcesInput) *cloudformation.DescribeStackResourcesOutput); ok { r0 = rf(_a0) } else { @@ -1851,7 +2140,6 @@ func (_m *MockFakeCloudformation) DescribeStackResources(_a0 *cloudformation.Des } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourcesInput) error); ok { r1 = rf(_a0) } else { @@ -1866,6 +2154,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourcesRequest(_a0 *cloudformat ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackResourcesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourcesInput) (*request.Request, *cloudformation.DescribeStackResourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackResourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1874,7 +2166,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourcesRequest(_a0 *cloudformat } } - var r1 *cloudformation.DescribeStackResourcesOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackResourcesInput) *cloudformation.DescribeStackResourcesOutput); ok { r1 = rf(_a0) } else { @@ -1898,6 +2189,10 @@ func (_m *MockFakeCloudformation) DescribeStackResourcesWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourcesInput, ...request.Option) (*cloudformation.DescribeStackResourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourcesInput, ...request.Option) *cloudformation.DescribeStackResourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1906,7 +2201,6 @@ func (_m *MockFakeCloudformation) DescribeStackResourcesWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackResourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1921,6 +2215,10 @@ func (_m *MockFakeCloudformation) DescribeStackSet(_a0 *cloudformation.DescribeS ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetInput) (*cloudformation.DescribeStackSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetInput) *cloudformation.DescribeStackSetOutput); ok { r0 = rf(_a0) } else { @@ -1929,7 +2227,6 @@ func (_m *MockFakeCloudformation) DescribeStackSet(_a0 *cloudformation.DescribeS } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackSetInput) error); ok { r1 = rf(_a0) } else { @@ -1944,6 +2241,10 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperation(_a0 *cloudformation. ret := _m.Called(_a0) var r0 *cloudformation.DescribeStackSetOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetOperationInput) (*cloudformation.DescribeStackSetOperationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetOperationInput) *cloudformation.DescribeStackSetOperationOutput); ok { r0 = rf(_a0) } else { @@ -1952,7 +2253,6 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperation(_a0 *cloudformation. } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackSetOperationInput) error); ok { r1 = rf(_a0) } else { @@ -1967,6 +2267,10 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperationRequest(_a0 *cloudfor ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackSetOperationOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetOperationInput) (*request.Request, *cloudformation.DescribeStackSetOperationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetOperationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1975,7 +2279,6 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperationRequest(_a0 *cloudfor } } - var r1 *cloudformation.DescribeStackSetOperationOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackSetOperationInput) *cloudformation.DescribeStackSetOperationOutput); ok { r1 = rf(_a0) } else { @@ -1999,6 +2302,10 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperationWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackSetOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetOperationInput, ...request.Option) (*cloudformation.DescribeStackSetOperationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetOperationInput, ...request.Option) *cloudformation.DescribeStackSetOperationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2007,7 +2314,6 @@ func (_m *MockFakeCloudformation) DescribeStackSetOperationWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackSetOperationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2022,6 +2328,10 @@ func (_m *MockFakeCloudformation) DescribeStackSetRequest(_a0 *cloudformation.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStackSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetInput) (*request.Request, *cloudformation.DescribeStackSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStackSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2030,7 +2340,6 @@ func (_m *MockFakeCloudformation) DescribeStackSetRequest(_a0 *cloudformation.De } } - var r1 *cloudformation.DescribeStackSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStackSetInput) *cloudformation.DescribeStackSetOutput); ok { r1 = rf(_a0) } else { @@ -2054,6 +2363,10 @@ func (_m *MockFakeCloudformation) DescribeStackSetWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetInput, ...request.Option) (*cloudformation.DescribeStackSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetInput, ...request.Option) *cloudformation.DescribeStackSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2062,7 +2375,6 @@ func (_m *MockFakeCloudformation) DescribeStackSetWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStackSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2077,6 +2389,10 @@ func (_m *MockFakeCloudformation) DescribeStacks(_a0 *cloudformation.DescribeSta ret := _m.Called(_a0) var r0 *cloudformation.DescribeStacksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStacksInput) *cloudformation.DescribeStacksOutput); ok { r0 = rf(_a0) } else { @@ -2085,7 +2401,6 @@ func (_m *MockFakeCloudformation) DescribeStacks(_a0 *cloudformation.DescribeSta } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStacksInput) error); ok { r1 = rf(_a0) } else { @@ -2135,6 +2450,10 @@ func (_m *MockFakeCloudformation) DescribeStacksRequest(_a0 *cloudformation.Desc ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeStacksOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStacksInput) (*request.Request, *cloudformation.DescribeStacksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeStacksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2143,7 +2462,6 @@ func (_m *MockFakeCloudformation) DescribeStacksRequest(_a0 *cloudformation.Desc } } - var r1 *cloudformation.DescribeStacksOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeStacksInput) *cloudformation.DescribeStacksOutput); ok { r1 = rf(_a0) } else { @@ -2167,6 +2485,10 @@ func (_m *MockFakeCloudformation) DescribeStacksWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.DescribeStacksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStacksInput, ...request.Option) (*cloudformation.DescribeStacksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStacksInput, ...request.Option) *cloudformation.DescribeStacksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2175,7 +2497,6 @@ func (_m *MockFakeCloudformation) DescribeStacksWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeStacksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2190,6 +2511,10 @@ func (_m *MockFakeCloudformation) DescribeType(_a0 *cloudformation.DescribeTypeI ret := _m.Called(_a0) var r0 *cloudformation.DescribeTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeInput) (*cloudformation.DescribeTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeInput) *cloudformation.DescribeTypeOutput); ok { r0 = rf(_a0) } else { @@ -2198,7 +2523,6 @@ func (_m *MockFakeCloudformation) DescribeType(_a0 *cloudformation.DescribeTypeI } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeTypeInput) error); ok { r1 = rf(_a0) } else { @@ -2213,6 +2537,10 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistration(_a0 *cloudformation.D ret := _m.Called(_a0) var r0 *cloudformation.DescribeTypeRegistrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeRegistrationInput) (*cloudformation.DescribeTypeRegistrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeRegistrationInput) *cloudformation.DescribeTypeRegistrationOutput); ok { r0 = rf(_a0) } else { @@ -2221,7 +2549,6 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistration(_a0 *cloudformation.D } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DescribeTypeRegistrationInput) error); ok { r1 = rf(_a0) } else { @@ -2236,6 +2563,10 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistrationRequest(_a0 *cloudform ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeTypeRegistrationOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeRegistrationInput) (*request.Request, *cloudformation.DescribeTypeRegistrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeRegistrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2244,7 +2575,6 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistrationRequest(_a0 *cloudform } } - var r1 *cloudformation.DescribeTypeRegistrationOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeTypeRegistrationInput) *cloudformation.DescribeTypeRegistrationOutput); ok { r1 = rf(_a0) } else { @@ -2268,6 +2598,10 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistrationWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *cloudformation.DescribeTypeRegistrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeRegistrationInput, ...request.Option) (*cloudformation.DescribeTypeRegistrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeRegistrationInput, ...request.Option) *cloudformation.DescribeTypeRegistrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2276,7 +2610,6 @@ func (_m *MockFakeCloudformation) DescribeTypeRegistrationWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeTypeRegistrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2291,6 +2624,10 @@ func (_m *MockFakeCloudformation) DescribeTypeRequest(_a0 *cloudformation.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DescribeTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeInput) (*request.Request, *cloudformation.DescribeTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DescribeTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2299,7 +2636,6 @@ func (_m *MockFakeCloudformation) DescribeTypeRequest(_a0 *cloudformation.Descri } } - var r1 *cloudformation.DescribeTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.DescribeTypeInput) *cloudformation.DescribeTypeOutput); ok { r1 = rf(_a0) } else { @@ -2323,6 +2659,10 @@ func (_m *MockFakeCloudformation) DescribeTypeWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *cloudformation.DescribeTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeInput, ...request.Option) (*cloudformation.DescribeTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeInput, ...request.Option) *cloudformation.DescribeTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2331,7 +2671,6 @@ func (_m *MockFakeCloudformation) DescribeTypeWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DescribeTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2346,6 +2685,10 @@ func (_m *MockFakeCloudformation) DetectStackDrift(_a0 *cloudformation.DetectSta ret := _m.Called(_a0) var r0 *cloudformation.DetectStackDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackDriftInput) (*cloudformation.DetectStackDriftOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackDriftInput) *cloudformation.DetectStackDriftOutput); ok { r0 = rf(_a0) } else { @@ -2354,7 +2697,6 @@ func (_m *MockFakeCloudformation) DetectStackDrift(_a0 *cloudformation.DetectSta } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackDriftInput) error); ok { r1 = rf(_a0) } else { @@ -2369,6 +2711,10 @@ func (_m *MockFakeCloudformation) DetectStackDriftRequest(_a0 *cloudformation.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DetectStackDriftOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackDriftInput) (*request.Request, *cloudformation.DetectStackDriftOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackDriftInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2377,7 +2723,6 @@ func (_m *MockFakeCloudformation) DetectStackDriftRequest(_a0 *cloudformation.De } } - var r1 *cloudformation.DetectStackDriftOutput if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackDriftInput) *cloudformation.DetectStackDriftOutput); ok { r1 = rf(_a0) } else { @@ -2401,6 +2746,10 @@ func (_m *MockFakeCloudformation) DetectStackDriftWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudformation.DetectStackDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackDriftInput, ...request.Option) (*cloudformation.DetectStackDriftOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackDriftInput, ...request.Option) *cloudformation.DetectStackDriftOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2409,7 +2758,6 @@ func (_m *MockFakeCloudformation) DetectStackDriftWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DetectStackDriftInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2424,6 +2772,10 @@ func (_m *MockFakeCloudformation) DetectStackResourceDrift(_a0 *cloudformation.D ret := _m.Called(_a0) var r0 *cloudformation.DetectStackResourceDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackResourceDriftInput) (*cloudformation.DetectStackResourceDriftOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackResourceDriftInput) *cloudformation.DetectStackResourceDriftOutput); ok { r0 = rf(_a0) } else { @@ -2432,7 +2784,6 @@ func (_m *MockFakeCloudformation) DetectStackResourceDrift(_a0 *cloudformation.D } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackResourceDriftInput) error); ok { r1 = rf(_a0) } else { @@ -2447,6 +2798,10 @@ func (_m *MockFakeCloudformation) DetectStackResourceDriftRequest(_a0 *cloudform ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DetectStackResourceDriftOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackResourceDriftInput) (*request.Request, *cloudformation.DetectStackResourceDriftOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackResourceDriftInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2455,7 +2810,6 @@ func (_m *MockFakeCloudformation) DetectStackResourceDriftRequest(_a0 *cloudform } } - var r1 *cloudformation.DetectStackResourceDriftOutput if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackResourceDriftInput) *cloudformation.DetectStackResourceDriftOutput); ok { r1 = rf(_a0) } else { @@ -2479,6 +2833,10 @@ func (_m *MockFakeCloudformation) DetectStackResourceDriftWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *cloudformation.DetectStackResourceDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackResourceDriftInput, ...request.Option) (*cloudformation.DetectStackResourceDriftOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackResourceDriftInput, ...request.Option) *cloudformation.DetectStackResourceDriftOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2487,7 +2845,6 @@ func (_m *MockFakeCloudformation) DetectStackResourceDriftWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DetectStackResourceDriftInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2502,6 +2859,10 @@ func (_m *MockFakeCloudformation) DetectStackSetDrift(_a0 *cloudformation.Detect ret := _m.Called(_a0) var r0 *cloudformation.DetectStackSetDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) (*cloudformation.DetectStackSetDriftOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) *cloudformation.DetectStackSetDriftOutput); ok { r0 = rf(_a0) } else { @@ -2510,7 +2871,6 @@ func (_m *MockFakeCloudformation) DetectStackSetDrift(_a0 *cloudformation.Detect } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackSetDriftInput) error); ok { r1 = rf(_a0) } else { @@ -2525,6 +2885,10 @@ func (_m *MockFakeCloudformation) DetectStackSetDriftRequest(_a0 *cloudformation ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.DetectStackSetDriftOutput + if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) (*request.Request, *cloudformation.DetectStackSetDriftOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.DetectStackSetDriftInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2533,7 +2897,6 @@ func (_m *MockFakeCloudformation) DetectStackSetDriftRequest(_a0 *cloudformation } } - var r1 *cloudformation.DetectStackSetDriftOutput if rf, ok := ret.Get(1).(func(*cloudformation.DetectStackSetDriftInput) *cloudformation.DetectStackSetDriftOutput); ok { r1 = rf(_a0) } else { @@ -2557,6 +2920,10 @@ func (_m *MockFakeCloudformation) DetectStackSetDriftWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *cloudformation.DetectStackSetDriftOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackSetDriftInput, ...request.Option) (*cloudformation.DetectStackSetDriftOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackSetDriftInput, ...request.Option) *cloudformation.DetectStackSetDriftOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2565,7 +2932,6 @@ func (_m *MockFakeCloudformation) DetectStackSetDriftWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.DetectStackSetDriftInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2580,6 +2946,10 @@ func (_m *MockFakeCloudformation) EstimateTemplateCost(_a0 *cloudformation.Estim ret := _m.Called(_a0) var r0 *cloudformation.EstimateTemplateCostOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.EstimateTemplateCostInput) (*cloudformation.EstimateTemplateCostOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.EstimateTemplateCostInput) *cloudformation.EstimateTemplateCostOutput); ok { r0 = rf(_a0) } else { @@ -2588,7 +2958,6 @@ func (_m *MockFakeCloudformation) EstimateTemplateCost(_a0 *cloudformation.Estim } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.EstimateTemplateCostInput) error); ok { r1 = rf(_a0) } else { @@ -2603,6 +2972,10 @@ func (_m *MockFakeCloudformation) EstimateTemplateCostRequest(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.EstimateTemplateCostOutput + if rf, ok := ret.Get(0).(func(*cloudformation.EstimateTemplateCostInput) (*request.Request, *cloudformation.EstimateTemplateCostOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.EstimateTemplateCostInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2611,7 +2984,6 @@ func (_m *MockFakeCloudformation) EstimateTemplateCostRequest(_a0 *cloudformatio } } - var r1 *cloudformation.EstimateTemplateCostOutput if rf, ok := ret.Get(1).(func(*cloudformation.EstimateTemplateCostInput) *cloudformation.EstimateTemplateCostOutput); ok { r1 = rf(_a0) } else { @@ -2635,6 +3007,10 @@ func (_m *MockFakeCloudformation) EstimateTemplateCostWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudformation.EstimateTemplateCostOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.EstimateTemplateCostInput, ...request.Option) (*cloudformation.EstimateTemplateCostOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.EstimateTemplateCostInput, ...request.Option) *cloudformation.EstimateTemplateCostOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2643,7 +3019,6 @@ func (_m *MockFakeCloudformation) EstimateTemplateCostWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.EstimateTemplateCostInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2658,6 +3033,10 @@ func (_m *MockFakeCloudformation) ExecuteChangeSet(_a0 *cloudformation.ExecuteCh ret := _m.Called(_a0) var r0 *cloudformation.ExecuteChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ExecuteChangeSetInput) (*cloudformation.ExecuteChangeSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ExecuteChangeSetInput) *cloudformation.ExecuteChangeSetOutput); ok { r0 = rf(_a0) } else { @@ -2666,7 +3045,6 @@ func (_m *MockFakeCloudformation) ExecuteChangeSet(_a0 *cloudformation.ExecuteCh } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ExecuteChangeSetInput) error); ok { r1 = rf(_a0) } else { @@ -2681,6 +3059,10 @@ func (_m *MockFakeCloudformation) ExecuteChangeSetRequest(_a0 *cloudformation.Ex ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ExecuteChangeSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ExecuteChangeSetInput) (*request.Request, *cloudformation.ExecuteChangeSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ExecuteChangeSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2689,7 +3071,6 @@ func (_m *MockFakeCloudformation) ExecuteChangeSetRequest(_a0 *cloudformation.Ex } } - var r1 *cloudformation.ExecuteChangeSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.ExecuteChangeSetInput) *cloudformation.ExecuteChangeSetOutput); ok { r1 = rf(_a0) } else { @@ -2713,6 +3094,10 @@ func (_m *MockFakeCloudformation) ExecuteChangeSetWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudformation.ExecuteChangeSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ExecuteChangeSetInput, ...request.Option) (*cloudformation.ExecuteChangeSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ExecuteChangeSetInput, ...request.Option) *cloudformation.ExecuteChangeSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2721,7 +3106,6 @@ func (_m *MockFakeCloudformation) ExecuteChangeSetWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ExecuteChangeSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2736,6 +3120,10 @@ func (_m *MockFakeCloudformation) GetStackPolicy(_a0 *cloudformation.GetStackPol ret := _m.Called(_a0) var r0 *cloudformation.GetStackPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.GetStackPolicyInput) (*cloudformation.GetStackPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetStackPolicyInput) *cloudformation.GetStackPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2744,7 +3132,6 @@ func (_m *MockFakeCloudformation) GetStackPolicy(_a0 *cloudformation.GetStackPol } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.GetStackPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2759,6 +3146,10 @@ func (_m *MockFakeCloudformation) GetStackPolicyRequest(_a0 *cloudformation.GetS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.GetStackPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudformation.GetStackPolicyInput) (*request.Request, *cloudformation.GetStackPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetStackPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2767,7 +3158,6 @@ func (_m *MockFakeCloudformation) GetStackPolicyRequest(_a0 *cloudformation.GetS } } - var r1 *cloudformation.GetStackPolicyOutput if rf, ok := ret.Get(1).(func(*cloudformation.GetStackPolicyInput) *cloudformation.GetStackPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2791,6 +3181,10 @@ func (_m *MockFakeCloudformation) GetStackPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.GetStackPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetStackPolicyInput, ...request.Option) (*cloudformation.GetStackPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetStackPolicyInput, ...request.Option) *cloudformation.GetStackPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2799,7 +3193,6 @@ func (_m *MockFakeCloudformation) GetStackPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.GetStackPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2814,6 +3207,10 @@ func (_m *MockFakeCloudformation) GetTemplate(_a0 *cloudformation.GetTemplateInp ret := _m.Called(_a0) var r0 *cloudformation.GetTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateInput) (*cloudformation.GetTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateInput) *cloudformation.GetTemplateOutput); ok { r0 = rf(_a0) } else { @@ -2822,7 +3219,6 @@ func (_m *MockFakeCloudformation) GetTemplate(_a0 *cloudformation.GetTemplateInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.GetTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -2837,6 +3233,10 @@ func (_m *MockFakeCloudformation) GetTemplateRequest(_a0 *cloudformation.GetTemp ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.GetTemplateOutput + if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateInput) (*request.Request, *cloudformation.GetTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2845,7 +3245,6 @@ func (_m *MockFakeCloudformation) GetTemplateRequest(_a0 *cloudformation.GetTemp } } - var r1 *cloudformation.GetTemplateOutput if rf, ok := ret.Get(1).(func(*cloudformation.GetTemplateInput) *cloudformation.GetTemplateOutput); ok { r1 = rf(_a0) } else { @@ -2862,6 +3261,10 @@ func (_m *MockFakeCloudformation) GetTemplateSummary(_a0 *cloudformation.GetTemp ret := _m.Called(_a0) var r0 *cloudformation.GetTemplateSummaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateSummaryInput) (*cloudformation.GetTemplateSummaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateSummaryInput) *cloudformation.GetTemplateSummaryOutput); ok { r0 = rf(_a0) } else { @@ -2870,7 +3273,6 @@ func (_m *MockFakeCloudformation) GetTemplateSummary(_a0 *cloudformation.GetTemp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.GetTemplateSummaryInput) error); ok { r1 = rf(_a0) } else { @@ -2885,6 +3287,10 @@ func (_m *MockFakeCloudformation) GetTemplateSummaryRequest(_a0 *cloudformation. ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.GetTemplateSummaryOutput + if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateSummaryInput) (*request.Request, *cloudformation.GetTemplateSummaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.GetTemplateSummaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2893,7 +3299,6 @@ func (_m *MockFakeCloudformation) GetTemplateSummaryRequest(_a0 *cloudformation. } } - var r1 *cloudformation.GetTemplateSummaryOutput if rf, ok := ret.Get(1).(func(*cloudformation.GetTemplateSummaryInput) *cloudformation.GetTemplateSummaryOutput); ok { r1 = rf(_a0) } else { @@ -2917,6 +3322,10 @@ func (_m *MockFakeCloudformation) GetTemplateSummaryWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *cloudformation.GetTemplateSummaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateSummaryInput, ...request.Option) (*cloudformation.GetTemplateSummaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateSummaryInput, ...request.Option) *cloudformation.GetTemplateSummaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2925,7 +3334,6 @@ func (_m *MockFakeCloudformation) GetTemplateSummaryWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.GetTemplateSummaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2947,6 +3355,10 @@ func (_m *MockFakeCloudformation) GetTemplateWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.GetTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateInput, ...request.Option) (*cloudformation.GetTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateInput, ...request.Option) *cloudformation.GetTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2955,7 +3367,6 @@ func (_m *MockFakeCloudformation) GetTemplateWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.GetTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2965,11 +3376,102 @@ func (_m *MockFakeCloudformation) GetTemplateWithContext(_a0 context.Context, _a return r0, r1 } +// ImportStacksToStackSet provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) ImportStacksToStackSet(_a0 *cloudformation.ImportStacksToStackSetInput) (*cloudformation.ImportStacksToStackSetOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudformation.ImportStacksToStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ImportStacksToStackSetInput) (*cloudformation.ImportStacksToStackSetOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.ImportStacksToStackSetInput) *cloudformation.ImportStacksToStackSetOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.ImportStacksToStackSetOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.ImportStacksToStackSetInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportStacksToStackSetRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) ImportStacksToStackSetRequest(_a0 *cloudformation.ImportStacksToStackSetInput) (*request.Request, *cloudformation.ImportStacksToStackSetOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudformation.ImportStacksToStackSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ImportStacksToStackSetInput) (*request.Request, *cloudformation.ImportStacksToStackSetOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.ImportStacksToStackSetInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.ImportStacksToStackSetInput) *cloudformation.ImportStacksToStackSetOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudformation.ImportStacksToStackSetOutput) + } + } + + return r0, r1 +} + +// ImportStacksToStackSetWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudformation) ImportStacksToStackSetWithContext(_a0 context.Context, _a1 *cloudformation.ImportStacksToStackSetInput, _a2 ...request.Option) (*cloudformation.ImportStacksToStackSetOutput, error) { + _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 *cloudformation.ImportStacksToStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ImportStacksToStackSetInput, ...request.Option) (*cloudformation.ImportStacksToStackSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ImportStacksToStackSetInput, ...request.Option) *cloudformation.ImportStacksToStackSetOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.ImportStacksToStackSetOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ImportStacksToStackSetInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListChangeSets provides a mock function with given fields: _a0 func (_m *MockFakeCloudformation) ListChangeSets(_a0 *cloudformation.ListChangeSetsInput) (*cloudformation.ListChangeSetsOutput, error) { ret := _m.Called(_a0) var r0 *cloudformation.ListChangeSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListChangeSetsInput) (*cloudformation.ListChangeSetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListChangeSetsInput) *cloudformation.ListChangeSetsOutput); ok { r0 = rf(_a0) } else { @@ -2978,7 +3480,6 @@ func (_m *MockFakeCloudformation) ListChangeSets(_a0 *cloudformation.ListChangeS } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListChangeSetsInput) error); ok { r1 = rf(_a0) } else { @@ -3028,6 +3529,10 @@ func (_m *MockFakeCloudformation) ListChangeSetsRequest(_a0 *cloudformation.List ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListChangeSetsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListChangeSetsInput) (*request.Request, *cloudformation.ListChangeSetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListChangeSetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3036,7 +3541,6 @@ func (_m *MockFakeCloudformation) ListChangeSetsRequest(_a0 *cloudformation.List } } - var r1 *cloudformation.ListChangeSetsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListChangeSetsInput) *cloudformation.ListChangeSetsOutput); ok { r1 = rf(_a0) } else { @@ -3060,6 +3564,10 @@ func (_m *MockFakeCloudformation) ListChangeSetsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.ListChangeSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListChangeSetsInput, ...request.Option) (*cloudformation.ListChangeSetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListChangeSetsInput, ...request.Option) *cloudformation.ListChangeSetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3068,7 +3576,6 @@ func (_m *MockFakeCloudformation) ListChangeSetsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListChangeSetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3083,6 +3590,10 @@ func (_m *MockFakeCloudformation) ListExports(_a0 *cloudformation.ListExportsInp ret := _m.Called(_a0) var r0 *cloudformation.ListExportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListExportsInput) (*cloudformation.ListExportsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListExportsInput) *cloudformation.ListExportsOutput); ok { r0 = rf(_a0) } else { @@ -3091,7 +3602,6 @@ func (_m *MockFakeCloudformation) ListExports(_a0 *cloudformation.ListExportsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListExportsInput) error); ok { r1 = rf(_a0) } else { @@ -3141,6 +3651,10 @@ func (_m *MockFakeCloudformation) ListExportsRequest(_a0 *cloudformation.ListExp ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListExportsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListExportsInput) (*request.Request, *cloudformation.ListExportsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListExportsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3149,7 +3663,6 @@ func (_m *MockFakeCloudformation) ListExportsRequest(_a0 *cloudformation.ListExp } } - var r1 *cloudformation.ListExportsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListExportsInput) *cloudformation.ListExportsOutput); ok { r1 = rf(_a0) } else { @@ -3173,6 +3686,10 @@ func (_m *MockFakeCloudformation) ListExportsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.ListExportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListExportsInput, ...request.Option) (*cloudformation.ListExportsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListExportsInput, ...request.Option) *cloudformation.ListExportsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3181,7 +3698,6 @@ func (_m *MockFakeCloudformation) ListExportsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListExportsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3196,6 +3712,10 @@ func (_m *MockFakeCloudformation) ListImports(_a0 *cloudformation.ListImportsInp ret := _m.Called(_a0) var r0 *cloudformation.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListImportsInput) (*cloudformation.ListImportsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListImportsInput) *cloudformation.ListImportsOutput); ok { r0 = rf(_a0) } else { @@ -3204,7 +3724,6 @@ func (_m *MockFakeCloudformation) ListImports(_a0 *cloudformation.ListImportsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListImportsInput) error); ok { r1 = rf(_a0) } else { @@ -3254,6 +3773,10 @@ func (_m *MockFakeCloudformation) ListImportsRequest(_a0 *cloudformation.ListImp ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListImportsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListImportsInput) (*request.Request, *cloudformation.ListImportsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListImportsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3262,7 +3785,6 @@ func (_m *MockFakeCloudformation) ListImportsRequest(_a0 *cloudformation.ListImp } } - var r1 *cloudformation.ListImportsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListImportsInput) *cloudformation.ListImportsOutput); ok { r1 = rf(_a0) } else { @@ -3286,6 +3808,10 @@ func (_m *MockFakeCloudformation) ListImportsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListImportsInput, ...request.Option) (*cloudformation.ListImportsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListImportsInput, ...request.Option) *cloudformation.ListImportsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3294,7 +3820,6 @@ func (_m *MockFakeCloudformation) ListImportsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListImportsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3309,6 +3834,10 @@ func (_m *MockFakeCloudformation) ListStackInstances(_a0 *cloudformation.ListSta ret := _m.Called(_a0) var r0 *cloudformation.ListStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackInstancesInput) (*cloudformation.ListStackInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackInstancesInput) *cloudformation.ListStackInstancesOutput); ok { r0 = rf(_a0) } else { @@ -3317,7 +3846,6 @@ func (_m *MockFakeCloudformation) ListStackInstances(_a0 *cloudformation.ListSta } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStackInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -3367,6 +3895,10 @@ func (_m *MockFakeCloudformation) ListStackInstancesRequest(_a0 *cloudformation. ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStackInstancesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackInstancesInput) (*request.Request, *cloudformation.ListStackInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3375,7 +3907,6 @@ func (_m *MockFakeCloudformation) ListStackInstancesRequest(_a0 *cloudformation. } } - var r1 *cloudformation.ListStackInstancesOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStackInstancesInput) *cloudformation.ListStackInstancesOutput); ok { r1 = rf(_a0) } else { @@ -3399,6 +3930,10 @@ func (_m *MockFakeCloudformation) ListStackInstancesWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *cloudformation.ListStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackInstancesInput, ...request.Option) (*cloudformation.ListStackInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackInstancesInput, ...request.Option) *cloudformation.ListStackInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3407,7 +3942,6 @@ func (_m *MockFakeCloudformation) ListStackInstancesWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStackInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3422,6 +3956,10 @@ func (_m *MockFakeCloudformation) ListStackResources(_a0 *cloudformation.ListSta ret := _m.Called(_a0) var r0 *cloudformation.ListStackResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackResourcesInput) (*cloudformation.ListStackResourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackResourcesInput) *cloudformation.ListStackResourcesOutput); ok { r0 = rf(_a0) } else { @@ -3430,7 +3968,6 @@ func (_m *MockFakeCloudformation) ListStackResources(_a0 *cloudformation.ListSta } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStackResourcesInput) error); ok { r1 = rf(_a0) } else { @@ -3480,6 +4017,10 @@ func (_m *MockFakeCloudformation) ListStackResourcesRequest(_a0 *cloudformation. ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStackResourcesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackResourcesInput) (*request.Request, *cloudformation.ListStackResourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackResourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3488,7 +4029,6 @@ func (_m *MockFakeCloudformation) ListStackResourcesRequest(_a0 *cloudformation. } } - var r1 *cloudformation.ListStackResourcesOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStackResourcesInput) *cloudformation.ListStackResourcesOutput); ok { r1 = rf(_a0) } else { @@ -3512,6 +4052,10 @@ func (_m *MockFakeCloudformation) ListStackResourcesWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *cloudformation.ListStackResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackResourcesInput, ...request.Option) (*cloudformation.ListStackResourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackResourcesInput, ...request.Option) *cloudformation.ListStackResourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3520,7 +4064,6 @@ func (_m *MockFakeCloudformation) ListStackResourcesWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStackResourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3535,6 +4078,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResults(_a0 *cloudformati ret := _m.Called(_a0) var r0 *cloudformation.ListStackSetOperationResultsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationResultsInput) (*cloudformation.ListStackSetOperationResultsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationResultsInput) *cloudformation.ListStackSetOperationResultsOutput); ok { r0 = rf(_a0) } else { @@ -3543,7 +4090,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResults(_a0 *cloudformati } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetOperationResultsInput) error); ok { r1 = rf(_a0) } else { @@ -3593,6 +4139,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResultsRequest(_a0 *cloud ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStackSetOperationResultsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationResultsInput) (*request.Request, *cloudformation.ListStackSetOperationResultsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationResultsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3601,7 +4151,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResultsRequest(_a0 *cloud } } - var r1 *cloudformation.ListStackSetOperationResultsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetOperationResultsInput) *cloudformation.ListStackSetOperationResultsOutput); ok { r1 = rf(_a0) } else { @@ -3625,6 +4174,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResultsWithContext(_a0 co ret := _m.Called(_ca...) var r0 *cloudformation.ListStackSetOperationResultsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationResultsInput, ...request.Option) (*cloudformation.ListStackSetOperationResultsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationResultsInput, ...request.Option) *cloudformation.ListStackSetOperationResultsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3633,7 +4186,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperationResultsWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStackSetOperationResultsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3648,6 +4200,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperations(_a0 *cloudformation.Lis ret := _m.Called(_a0) var r0 *cloudformation.ListStackSetOperationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationsInput) (*cloudformation.ListStackSetOperationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationsInput) *cloudformation.ListStackSetOperationsOutput); ok { r0 = rf(_a0) } else { @@ -3656,7 +4212,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperations(_a0 *cloudformation.Lis } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetOperationsInput) error); ok { r1 = rf(_a0) } else { @@ -3706,6 +4261,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperationsRequest(_a0 *cloudformat ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStackSetOperationsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationsInput) (*request.Request, *cloudformation.ListStackSetOperationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetOperationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3714,7 +4273,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperationsRequest(_a0 *cloudformat } } - var r1 *cloudformation.ListStackSetOperationsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetOperationsInput) *cloudformation.ListStackSetOperationsOutput); ok { r1 = rf(_a0) } else { @@ -3738,6 +4296,10 @@ func (_m *MockFakeCloudformation) ListStackSetOperationsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *cloudformation.ListStackSetOperationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationsInput, ...request.Option) (*cloudformation.ListStackSetOperationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationsInput, ...request.Option) *cloudformation.ListStackSetOperationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3746,7 +4308,6 @@ func (_m *MockFakeCloudformation) ListStackSetOperationsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStackSetOperationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3761,6 +4322,10 @@ func (_m *MockFakeCloudformation) ListStackSets(_a0 *cloudformation.ListStackSet ret := _m.Called(_a0) var r0 *cloudformation.ListStackSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetsInput) (*cloudformation.ListStackSetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetsInput) *cloudformation.ListStackSetsOutput); ok { r0 = rf(_a0) } else { @@ -3769,7 +4334,6 @@ func (_m *MockFakeCloudformation) ListStackSets(_a0 *cloudformation.ListStackSet } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetsInput) error); ok { r1 = rf(_a0) } else { @@ -3819,6 +4383,10 @@ func (_m *MockFakeCloudformation) ListStackSetsRequest(_a0 *cloudformation.ListS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStackSetsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetsInput) (*request.Request, *cloudformation.ListStackSetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStackSetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3827,7 +4395,6 @@ func (_m *MockFakeCloudformation) ListStackSetsRequest(_a0 *cloudformation.ListS } } - var r1 *cloudformation.ListStackSetsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStackSetsInput) *cloudformation.ListStackSetsOutput); ok { r1 = rf(_a0) } else { @@ -3851,6 +4418,10 @@ func (_m *MockFakeCloudformation) ListStackSetsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.ListStackSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetsInput, ...request.Option) (*cloudformation.ListStackSetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetsInput, ...request.Option) *cloudformation.ListStackSetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3859,7 +4430,6 @@ func (_m *MockFakeCloudformation) ListStackSetsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStackSetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3874,6 +4444,10 @@ func (_m *MockFakeCloudformation) ListStacks(_a0 *cloudformation.ListStacksInput ret := _m.Called(_a0) var r0 *cloudformation.ListStacksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListStacksInput) (*cloudformation.ListStacksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStacksInput) *cloudformation.ListStacksOutput); ok { r0 = rf(_a0) } else { @@ -3882,7 +4456,6 @@ func (_m *MockFakeCloudformation) ListStacks(_a0 *cloudformation.ListStacksInput } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListStacksInput) error); ok { r1 = rf(_a0) } else { @@ -3932,6 +4505,10 @@ func (_m *MockFakeCloudformation) ListStacksRequest(_a0 *cloudformation.ListStac ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListStacksOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListStacksInput) (*request.Request, *cloudformation.ListStacksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListStacksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3940,7 +4517,6 @@ func (_m *MockFakeCloudformation) ListStacksRequest(_a0 *cloudformation.ListStac } } - var r1 *cloudformation.ListStacksOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListStacksInput) *cloudformation.ListStacksOutput); ok { r1 = rf(_a0) } else { @@ -3964,6 +4540,10 @@ func (_m *MockFakeCloudformation) ListStacksWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudformation.ListStacksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStacksInput, ...request.Option) (*cloudformation.ListStacksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStacksInput, ...request.Option) *cloudformation.ListStacksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3972,7 +4552,6 @@ func (_m *MockFakeCloudformation) ListStacksWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListStacksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3987,6 +4566,10 @@ func (_m *MockFakeCloudformation) ListTypeRegistrations(_a0 *cloudformation.List ret := _m.Called(_a0) var r0 *cloudformation.ListTypeRegistrationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeRegistrationsInput) (*cloudformation.ListTypeRegistrationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeRegistrationsInput) *cloudformation.ListTypeRegistrationsOutput); ok { r0 = rf(_a0) } else { @@ -3995,7 +4578,6 @@ func (_m *MockFakeCloudformation) ListTypeRegistrations(_a0 *cloudformation.List } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListTypeRegistrationsInput) error); ok { r1 = rf(_a0) } else { @@ -4045,6 +4627,10 @@ func (_m *MockFakeCloudformation) ListTypeRegistrationsRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListTypeRegistrationsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeRegistrationsInput) (*request.Request, *cloudformation.ListTypeRegistrationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeRegistrationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4053,7 +4639,6 @@ func (_m *MockFakeCloudformation) ListTypeRegistrationsRequest(_a0 *cloudformati } } - var r1 *cloudformation.ListTypeRegistrationsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListTypeRegistrationsInput) *cloudformation.ListTypeRegistrationsOutput); ok { r1 = rf(_a0) } else { @@ -4077,6 +4662,10 @@ func (_m *MockFakeCloudformation) ListTypeRegistrationsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.ListTypeRegistrationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeRegistrationsInput, ...request.Option) (*cloudformation.ListTypeRegistrationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeRegistrationsInput, ...request.Option) *cloudformation.ListTypeRegistrationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4085,7 +4674,6 @@ func (_m *MockFakeCloudformation) ListTypeRegistrationsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListTypeRegistrationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4100,6 +4688,10 @@ func (_m *MockFakeCloudformation) ListTypeVersions(_a0 *cloudformation.ListTypeV ret := _m.Called(_a0) var r0 *cloudformation.ListTypeVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeVersionsInput) (*cloudformation.ListTypeVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeVersionsInput) *cloudformation.ListTypeVersionsOutput); ok { r0 = rf(_a0) } else { @@ -4108,7 +4700,6 @@ func (_m *MockFakeCloudformation) ListTypeVersions(_a0 *cloudformation.ListTypeV } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListTypeVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4158,6 +4749,10 @@ func (_m *MockFakeCloudformation) ListTypeVersionsRequest(_a0 *cloudformation.Li ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListTypeVersionsOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeVersionsInput) (*request.Request, *cloudformation.ListTypeVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypeVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4166,7 +4761,6 @@ func (_m *MockFakeCloudformation) ListTypeVersionsRequest(_a0 *cloudformation.Li } } - var r1 *cloudformation.ListTypeVersionsOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListTypeVersionsInput) *cloudformation.ListTypeVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4190,6 +4784,10 @@ func (_m *MockFakeCloudformation) ListTypeVersionsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudformation.ListTypeVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeVersionsInput, ...request.Option) (*cloudformation.ListTypeVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeVersionsInput, ...request.Option) *cloudformation.ListTypeVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4198,7 +4796,6 @@ func (_m *MockFakeCloudformation) ListTypeVersionsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListTypeVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4213,6 +4810,10 @@ func (_m *MockFakeCloudformation) ListTypes(_a0 *cloudformation.ListTypesInput) ret := _m.Called(_a0) var r0 *cloudformation.ListTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypesInput) (*cloudformation.ListTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypesInput) *cloudformation.ListTypesOutput); ok { r0 = rf(_a0) } else { @@ -4221,7 +4822,6 @@ func (_m *MockFakeCloudformation) ListTypes(_a0 *cloudformation.ListTypesInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ListTypesInput) error); ok { r1 = rf(_a0) } else { @@ -4271,6 +4871,10 @@ func (_m *MockFakeCloudformation) ListTypesRequest(_a0 *cloudformation.ListTypes ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ListTypesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ListTypesInput) (*request.Request, *cloudformation.ListTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ListTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4279,7 +4883,6 @@ func (_m *MockFakeCloudformation) ListTypesRequest(_a0 *cloudformation.ListTypes } } - var r1 *cloudformation.ListTypesOutput if rf, ok := ret.Get(1).(func(*cloudformation.ListTypesInput) *cloudformation.ListTypesOutput); ok { r1 = rf(_a0) } else { @@ -4303,6 +4906,10 @@ func (_m *MockFakeCloudformation) ListTypesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *cloudformation.ListTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypesInput, ...request.Option) (*cloudformation.ListTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypesInput, ...request.Option) *cloudformation.ListTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4311,7 +4918,6 @@ func (_m *MockFakeCloudformation) ListTypesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ListTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4326,6 +4932,10 @@ func (_m *MockFakeCloudformation) PublishType(_a0 *cloudformation.PublishTypeInp ret := _m.Called(_a0) var r0 *cloudformation.PublishTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.PublishTypeInput) (*cloudformation.PublishTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.PublishTypeInput) *cloudformation.PublishTypeOutput); ok { r0 = rf(_a0) } else { @@ -4334,7 +4944,6 @@ func (_m *MockFakeCloudformation) PublishType(_a0 *cloudformation.PublishTypeInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.PublishTypeInput) error); ok { r1 = rf(_a0) } else { @@ -4349,6 +4958,10 @@ func (_m *MockFakeCloudformation) PublishTypeRequest(_a0 *cloudformation.Publish ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.PublishTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.PublishTypeInput) (*request.Request, *cloudformation.PublishTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.PublishTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4357,7 +4970,6 @@ func (_m *MockFakeCloudformation) PublishTypeRequest(_a0 *cloudformation.Publish } } - var r1 *cloudformation.PublishTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.PublishTypeInput) *cloudformation.PublishTypeOutput); ok { r1 = rf(_a0) } else { @@ -4381,6 +4993,10 @@ func (_m *MockFakeCloudformation) PublishTypeWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.PublishTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.PublishTypeInput, ...request.Option) (*cloudformation.PublishTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.PublishTypeInput, ...request.Option) *cloudformation.PublishTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4389,7 +5005,6 @@ func (_m *MockFakeCloudformation) PublishTypeWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.PublishTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4404,6 +5019,10 @@ func (_m *MockFakeCloudformation) RecordHandlerProgress(_a0 *cloudformation.Reco ret := _m.Called(_a0) var r0 *cloudformation.RecordHandlerProgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.RecordHandlerProgressInput) (*cloudformation.RecordHandlerProgressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RecordHandlerProgressInput) *cloudformation.RecordHandlerProgressOutput); ok { r0 = rf(_a0) } else { @@ -4412,7 +5031,6 @@ func (_m *MockFakeCloudformation) RecordHandlerProgress(_a0 *cloudformation.Reco } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.RecordHandlerProgressInput) error); ok { r1 = rf(_a0) } else { @@ -4427,6 +5045,10 @@ func (_m *MockFakeCloudformation) RecordHandlerProgressRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.RecordHandlerProgressOutput + if rf, ok := ret.Get(0).(func(*cloudformation.RecordHandlerProgressInput) (*request.Request, *cloudformation.RecordHandlerProgressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RecordHandlerProgressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4435,7 +5057,6 @@ func (_m *MockFakeCloudformation) RecordHandlerProgressRequest(_a0 *cloudformati } } - var r1 *cloudformation.RecordHandlerProgressOutput if rf, ok := ret.Get(1).(func(*cloudformation.RecordHandlerProgressInput) *cloudformation.RecordHandlerProgressOutput); ok { r1 = rf(_a0) } else { @@ -4459,6 +5080,10 @@ func (_m *MockFakeCloudformation) RecordHandlerProgressWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.RecordHandlerProgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RecordHandlerProgressInput, ...request.Option) (*cloudformation.RecordHandlerProgressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RecordHandlerProgressInput, ...request.Option) *cloudformation.RecordHandlerProgressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4467,7 +5092,6 @@ func (_m *MockFakeCloudformation) RecordHandlerProgressWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.RecordHandlerProgressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4482,6 +5106,10 @@ func (_m *MockFakeCloudformation) RegisterPublisher(_a0 *cloudformation.Register ret := _m.Called(_a0) var r0 *cloudformation.RegisterPublisherOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.RegisterPublisherInput) (*cloudformation.RegisterPublisherOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RegisterPublisherInput) *cloudformation.RegisterPublisherOutput); ok { r0 = rf(_a0) } else { @@ -4490,7 +5118,6 @@ func (_m *MockFakeCloudformation) RegisterPublisher(_a0 *cloudformation.Register } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.RegisterPublisherInput) error); ok { r1 = rf(_a0) } else { @@ -4505,6 +5132,10 @@ func (_m *MockFakeCloudformation) RegisterPublisherRequest(_a0 *cloudformation.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.RegisterPublisherOutput + if rf, ok := ret.Get(0).(func(*cloudformation.RegisterPublisherInput) (*request.Request, *cloudformation.RegisterPublisherOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RegisterPublisherInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4513,7 +5144,6 @@ func (_m *MockFakeCloudformation) RegisterPublisherRequest(_a0 *cloudformation.R } } - var r1 *cloudformation.RegisterPublisherOutput if rf, ok := ret.Get(1).(func(*cloudformation.RegisterPublisherInput) *cloudformation.RegisterPublisherOutput); ok { r1 = rf(_a0) } else { @@ -4537,6 +5167,10 @@ func (_m *MockFakeCloudformation) RegisterPublisherWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *cloudformation.RegisterPublisherOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterPublisherInput, ...request.Option) (*cloudformation.RegisterPublisherOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterPublisherInput, ...request.Option) *cloudformation.RegisterPublisherOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4545,7 +5179,6 @@ func (_m *MockFakeCloudformation) RegisterPublisherWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.RegisterPublisherInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4560,6 +5193,10 @@ func (_m *MockFakeCloudformation) RegisterType(_a0 *cloudformation.RegisterTypeI ret := _m.Called(_a0) var r0 *cloudformation.RegisterTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.RegisterTypeInput) (*cloudformation.RegisterTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RegisterTypeInput) *cloudformation.RegisterTypeOutput); ok { r0 = rf(_a0) } else { @@ -4568,7 +5205,6 @@ func (_m *MockFakeCloudformation) RegisterType(_a0 *cloudformation.RegisterTypeI } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.RegisterTypeInput) error); ok { r1 = rf(_a0) } else { @@ -4583,6 +5219,10 @@ func (_m *MockFakeCloudformation) RegisterTypeRequest(_a0 *cloudformation.Regist ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.RegisterTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.RegisterTypeInput) (*request.Request, *cloudformation.RegisterTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.RegisterTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4591,7 +5231,6 @@ func (_m *MockFakeCloudformation) RegisterTypeRequest(_a0 *cloudformation.Regist } } - var r1 *cloudformation.RegisterTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.RegisterTypeInput) *cloudformation.RegisterTypeOutput); ok { r1 = rf(_a0) } else { @@ -4615,6 +5254,10 @@ func (_m *MockFakeCloudformation) RegisterTypeWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *cloudformation.RegisterTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterTypeInput, ...request.Option) (*cloudformation.RegisterTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterTypeInput, ...request.Option) *cloudformation.RegisterTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4623,7 +5266,6 @@ func (_m *MockFakeCloudformation) RegisterTypeWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.RegisterTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4633,11 +5275,102 @@ func (_m *MockFakeCloudformation) RegisterTypeWithContext(_a0 context.Context, _ return r0, r1 } +// RollbackStack provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) RollbackStack(_a0 *cloudformation.RollbackStackInput) (*cloudformation.RollbackStackOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudformation.RollbackStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.RollbackStackInput) (*cloudformation.RollbackStackOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.RollbackStackInput) *cloudformation.RollbackStackOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.RollbackStackOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.RollbackStackInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RollbackStackRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudformation) RollbackStackRequest(_a0 *cloudformation.RollbackStackInput) (*request.Request, *cloudformation.RollbackStackOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudformation.RollbackStackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.RollbackStackInput) (*request.Request, *cloudformation.RollbackStackOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudformation.RollbackStackInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudformation.RollbackStackInput) *cloudformation.RollbackStackOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudformation.RollbackStackOutput) + } + } + + return r0, r1 +} + +// RollbackStackWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudformation) RollbackStackWithContext(_a0 context.Context, _a1 *cloudformation.RollbackStackInput, _a2 ...request.Option) (*cloudformation.RollbackStackOutput, error) { + _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 *cloudformation.RollbackStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RollbackStackInput, ...request.Option) (*cloudformation.RollbackStackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RollbackStackInput, ...request.Option) *cloudformation.RollbackStackOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudformation.RollbackStackOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.RollbackStackInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // SetStackPolicy provides a mock function with given fields: _a0 func (_m *MockFakeCloudformation) SetStackPolicy(_a0 *cloudformation.SetStackPolicyInput) (*cloudformation.SetStackPolicyOutput, error) { ret := _m.Called(_a0) var r0 *cloudformation.SetStackPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) (*cloudformation.SetStackPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) *cloudformation.SetStackPolicyOutput); ok { r0 = rf(_a0) } else { @@ -4646,7 +5379,6 @@ func (_m *MockFakeCloudformation) SetStackPolicy(_a0 *cloudformation.SetStackPol } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.SetStackPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4661,6 +5393,10 @@ func (_m *MockFakeCloudformation) SetStackPolicyRequest(_a0 *cloudformation.SetS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.SetStackPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) (*request.Request, *cloudformation.SetStackPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetStackPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4669,7 +5405,6 @@ func (_m *MockFakeCloudformation) SetStackPolicyRequest(_a0 *cloudformation.SetS } } - var r1 *cloudformation.SetStackPolicyOutput if rf, ok := ret.Get(1).(func(*cloudformation.SetStackPolicyInput) *cloudformation.SetStackPolicyOutput); ok { r1 = rf(_a0) } else { @@ -4693,6 +5428,10 @@ func (_m *MockFakeCloudformation) SetStackPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.SetStackPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetStackPolicyInput, ...request.Option) (*cloudformation.SetStackPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetStackPolicyInput, ...request.Option) *cloudformation.SetStackPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4701,7 +5440,6 @@ func (_m *MockFakeCloudformation) SetStackPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.SetStackPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4716,6 +5454,10 @@ func (_m *MockFakeCloudformation) SetTypeConfiguration(_a0 *cloudformation.SetTy ret := _m.Called(_a0) var r0 *cloudformation.SetTypeConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeConfigurationInput) (*cloudformation.SetTypeConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeConfigurationInput) *cloudformation.SetTypeConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -4724,7 +5466,6 @@ func (_m *MockFakeCloudformation) SetTypeConfiguration(_a0 *cloudformation.SetTy } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.SetTypeConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -4739,6 +5480,10 @@ func (_m *MockFakeCloudformation) SetTypeConfigurationRequest(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.SetTypeConfigurationOutput + if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeConfigurationInput) (*request.Request, *cloudformation.SetTypeConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4747,7 +5492,6 @@ func (_m *MockFakeCloudformation) SetTypeConfigurationRequest(_a0 *cloudformatio } } - var r1 *cloudformation.SetTypeConfigurationOutput if rf, ok := ret.Get(1).(func(*cloudformation.SetTypeConfigurationInput) *cloudformation.SetTypeConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -4771,6 +5515,10 @@ func (_m *MockFakeCloudformation) SetTypeConfigurationWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudformation.SetTypeConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeConfigurationInput, ...request.Option) (*cloudformation.SetTypeConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeConfigurationInput, ...request.Option) *cloudformation.SetTypeConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4779,7 +5527,6 @@ func (_m *MockFakeCloudformation) SetTypeConfigurationWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.SetTypeConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4794,6 +5541,10 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersion(_a0 *cloudformation.SetT ret := _m.Called(_a0) var r0 *cloudformation.SetTypeDefaultVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeDefaultVersionInput) (*cloudformation.SetTypeDefaultVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeDefaultVersionInput) *cloudformation.SetTypeDefaultVersionOutput); ok { r0 = rf(_a0) } else { @@ -4802,7 +5553,6 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersion(_a0 *cloudformation.SetT } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.SetTypeDefaultVersionInput) error); ok { r1 = rf(_a0) } else { @@ -4817,6 +5567,10 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersionRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.SetTypeDefaultVersionOutput + if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeDefaultVersionInput) (*request.Request, *cloudformation.SetTypeDefaultVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SetTypeDefaultVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4825,7 +5579,6 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersionRequest(_a0 *cloudformati } } - var r1 *cloudformation.SetTypeDefaultVersionOutput if rf, ok := ret.Get(1).(func(*cloudformation.SetTypeDefaultVersionInput) *cloudformation.SetTypeDefaultVersionOutput); ok { r1 = rf(_a0) } else { @@ -4849,6 +5602,10 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.SetTypeDefaultVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeDefaultVersionInput, ...request.Option) (*cloudformation.SetTypeDefaultVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeDefaultVersionInput, ...request.Option) *cloudformation.SetTypeDefaultVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4857,7 +5614,6 @@ func (_m *MockFakeCloudformation) SetTypeDefaultVersionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.SetTypeDefaultVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4872,6 +5628,10 @@ func (_m *MockFakeCloudformation) SignalResource(_a0 *cloudformation.SignalResou ret := _m.Called(_a0) var r0 *cloudformation.SignalResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.SignalResourceInput) (*cloudformation.SignalResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SignalResourceInput) *cloudformation.SignalResourceOutput); ok { r0 = rf(_a0) } else { @@ -4880,7 +5640,6 @@ func (_m *MockFakeCloudformation) SignalResource(_a0 *cloudformation.SignalResou } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.SignalResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4895,6 +5654,10 @@ func (_m *MockFakeCloudformation) SignalResourceRequest(_a0 *cloudformation.Sign ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.SignalResourceOutput + if rf, ok := ret.Get(0).(func(*cloudformation.SignalResourceInput) (*request.Request, *cloudformation.SignalResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.SignalResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4903,7 +5666,6 @@ func (_m *MockFakeCloudformation) SignalResourceRequest(_a0 *cloudformation.Sign } } - var r1 *cloudformation.SignalResourceOutput if rf, ok := ret.Get(1).(func(*cloudformation.SignalResourceInput) *cloudformation.SignalResourceOutput); ok { r1 = rf(_a0) } else { @@ -4927,6 +5689,10 @@ func (_m *MockFakeCloudformation) SignalResourceWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.SignalResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SignalResourceInput, ...request.Option) (*cloudformation.SignalResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SignalResourceInput, ...request.Option) *cloudformation.SignalResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4935,7 +5701,6 @@ func (_m *MockFakeCloudformation) SignalResourceWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.SignalResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4950,6 +5715,10 @@ func (_m *MockFakeCloudformation) StopStackSetOperation(_a0 *cloudformation.Stop ret := _m.Called(_a0) var r0 *cloudformation.StopStackSetOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.StopStackSetOperationInput) (*cloudformation.StopStackSetOperationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.StopStackSetOperationInput) *cloudformation.StopStackSetOperationOutput); ok { r0 = rf(_a0) } else { @@ -4958,7 +5727,6 @@ func (_m *MockFakeCloudformation) StopStackSetOperation(_a0 *cloudformation.Stop } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.StopStackSetOperationInput) error); ok { r1 = rf(_a0) } else { @@ -4973,6 +5741,10 @@ func (_m *MockFakeCloudformation) StopStackSetOperationRequest(_a0 *cloudformati ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.StopStackSetOperationOutput + if rf, ok := ret.Get(0).(func(*cloudformation.StopStackSetOperationInput) (*request.Request, *cloudformation.StopStackSetOperationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.StopStackSetOperationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4981,7 +5753,6 @@ func (_m *MockFakeCloudformation) StopStackSetOperationRequest(_a0 *cloudformati } } - var r1 *cloudformation.StopStackSetOperationOutput if rf, ok := ret.Get(1).(func(*cloudformation.StopStackSetOperationInput) *cloudformation.StopStackSetOperationOutput); ok { r1 = rf(_a0) } else { @@ -5005,6 +5776,10 @@ func (_m *MockFakeCloudformation) StopStackSetOperationWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *cloudformation.StopStackSetOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.StopStackSetOperationInput, ...request.Option) (*cloudformation.StopStackSetOperationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.StopStackSetOperationInput, ...request.Option) *cloudformation.StopStackSetOperationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5013,7 +5788,6 @@ func (_m *MockFakeCloudformation) StopStackSetOperationWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.StopStackSetOperationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5028,6 +5802,10 @@ func (_m *MockFakeCloudformation) TestType(_a0 *cloudformation.TestTypeInput) (* ret := _m.Called(_a0) var r0 *cloudformation.TestTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.TestTypeInput) (*cloudformation.TestTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.TestTypeInput) *cloudformation.TestTypeOutput); ok { r0 = rf(_a0) } else { @@ -5036,7 +5814,6 @@ func (_m *MockFakeCloudformation) TestType(_a0 *cloudformation.TestTypeInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.TestTypeInput) error); ok { r1 = rf(_a0) } else { @@ -5051,6 +5828,10 @@ func (_m *MockFakeCloudformation) TestTypeRequest(_a0 *cloudformation.TestTypeIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.TestTypeOutput + if rf, ok := ret.Get(0).(func(*cloudformation.TestTypeInput) (*request.Request, *cloudformation.TestTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.TestTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5059,7 +5840,6 @@ func (_m *MockFakeCloudformation) TestTypeRequest(_a0 *cloudformation.TestTypeIn } } - var r1 *cloudformation.TestTypeOutput if rf, ok := ret.Get(1).(func(*cloudformation.TestTypeInput) *cloudformation.TestTypeOutput); ok { r1 = rf(_a0) } else { @@ -5083,6 +5863,10 @@ func (_m *MockFakeCloudformation) TestTypeWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *cloudformation.TestTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.TestTypeInput, ...request.Option) (*cloudformation.TestTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.TestTypeInput, ...request.Option) *cloudformation.TestTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5091,7 +5875,6 @@ func (_m *MockFakeCloudformation) TestTypeWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.TestTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5106,6 +5889,10 @@ func (_m *MockFakeCloudformation) UpdateStack(_a0 *cloudformation.UpdateStackInp ret := _m.Called(_a0) var r0 *cloudformation.UpdateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInput) *cloudformation.UpdateStackOutput); ok { r0 = rf(_a0) } else { @@ -5114,7 +5901,6 @@ func (_m *MockFakeCloudformation) UpdateStack(_a0 *cloudformation.UpdateStackInp } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackInput) error); ok { r1 = rf(_a0) } else { @@ -5129,6 +5915,10 @@ func (_m *MockFakeCloudformation) UpdateStackInstances(_a0 *cloudformation.Updat ret := _m.Called(_a0) var r0 *cloudformation.UpdateStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInstancesInput) (*cloudformation.UpdateStackInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInstancesInput) *cloudformation.UpdateStackInstancesOutput); ok { r0 = rf(_a0) } else { @@ -5137,7 +5927,6 @@ func (_m *MockFakeCloudformation) UpdateStackInstances(_a0 *cloudformation.Updat } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -5152,6 +5941,10 @@ func (_m *MockFakeCloudformation) UpdateStackInstancesRequest(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.UpdateStackInstancesOutput + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInstancesInput) (*request.Request, *cloudformation.UpdateStackInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5160,7 +5953,6 @@ func (_m *MockFakeCloudformation) UpdateStackInstancesRequest(_a0 *cloudformatio } } - var r1 *cloudformation.UpdateStackInstancesOutput if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackInstancesInput) *cloudformation.UpdateStackInstancesOutput); ok { r1 = rf(_a0) } else { @@ -5184,6 +5976,10 @@ func (_m *MockFakeCloudformation) UpdateStackInstancesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *cloudformation.UpdateStackInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInstancesInput, ...request.Option) (*cloudformation.UpdateStackInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInstancesInput, ...request.Option) *cloudformation.UpdateStackInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5192,7 +5988,6 @@ func (_m *MockFakeCloudformation) UpdateStackInstancesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.UpdateStackInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5207,6 +6002,10 @@ func (_m *MockFakeCloudformation) UpdateStackRequest(_a0 *cloudformation.UpdateS ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.UpdateStackOutput + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInput) (*request.Request, *cloudformation.UpdateStackOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5215,7 +6014,6 @@ func (_m *MockFakeCloudformation) UpdateStackRequest(_a0 *cloudformation.UpdateS } } - var r1 *cloudformation.UpdateStackOutput if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackInput) *cloudformation.UpdateStackOutput); ok { r1 = rf(_a0) } else { @@ -5232,6 +6030,10 @@ func (_m *MockFakeCloudformation) UpdateStackSet(_a0 *cloudformation.UpdateStack ret := _m.Called(_a0) var r0 *cloudformation.UpdateStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackSetInput) (*cloudformation.UpdateStackSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackSetInput) *cloudformation.UpdateStackSetOutput); ok { r0 = rf(_a0) } else { @@ -5240,7 +6042,6 @@ func (_m *MockFakeCloudformation) UpdateStackSet(_a0 *cloudformation.UpdateStack } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackSetInput) error); ok { r1 = rf(_a0) } else { @@ -5255,6 +6056,10 @@ func (_m *MockFakeCloudformation) UpdateStackSetRequest(_a0 *cloudformation.Upda ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.UpdateStackSetOutput + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackSetInput) (*request.Request, *cloudformation.UpdateStackSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateStackSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5263,7 +6068,6 @@ func (_m *MockFakeCloudformation) UpdateStackSetRequest(_a0 *cloudformation.Upda } } - var r1 *cloudformation.UpdateStackSetOutput if rf, ok := ret.Get(1).(func(*cloudformation.UpdateStackSetInput) *cloudformation.UpdateStackSetOutput); ok { r1 = rf(_a0) } else { @@ -5287,6 +6091,10 @@ func (_m *MockFakeCloudformation) UpdateStackSetWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *cloudformation.UpdateStackSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackSetInput, ...request.Option) (*cloudformation.UpdateStackSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackSetInput, ...request.Option) *cloudformation.UpdateStackSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5295,7 +6103,6 @@ func (_m *MockFakeCloudformation) UpdateStackSetWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.UpdateStackSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5317,6 +6124,10 @@ func (_m *MockFakeCloudformation) UpdateStackWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *cloudformation.UpdateStackOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInput, ...request.Option) (*cloudformation.UpdateStackOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInput, ...request.Option) *cloudformation.UpdateStackOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5325,7 +6136,6 @@ func (_m *MockFakeCloudformation) UpdateStackWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.UpdateStackInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5340,6 +6150,10 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtection(_a0 *cloudformatio ret := _m.Called(_a0) var r0 *cloudformation.UpdateTerminationProtectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateTerminationProtectionInput) (*cloudformation.UpdateTerminationProtectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateTerminationProtectionInput) *cloudformation.UpdateTerminationProtectionOutput); ok { r0 = rf(_a0) } else { @@ -5348,7 +6162,6 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtection(_a0 *cloudformatio } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.UpdateTerminationProtectionInput) error); ok { r1 = rf(_a0) } else { @@ -5363,6 +6176,10 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtectionRequest(_a0 *cloudf ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.UpdateTerminationProtectionOutput + if rf, ok := ret.Get(0).(func(*cloudformation.UpdateTerminationProtectionInput) (*request.Request, *cloudformation.UpdateTerminationProtectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.UpdateTerminationProtectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5371,7 +6188,6 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtectionRequest(_a0 *cloudf } } - var r1 *cloudformation.UpdateTerminationProtectionOutput if rf, ok := ret.Get(1).(func(*cloudformation.UpdateTerminationProtectionInput) *cloudformation.UpdateTerminationProtectionOutput); ok { r1 = rf(_a0) } else { @@ -5395,6 +6211,10 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtectionWithContext(_a0 con ret := _m.Called(_ca...) var r0 *cloudformation.UpdateTerminationProtectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateTerminationProtectionInput, ...request.Option) (*cloudformation.UpdateTerminationProtectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateTerminationProtectionInput, ...request.Option) *cloudformation.UpdateTerminationProtectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5403,7 +6223,6 @@ func (_m *MockFakeCloudformation) UpdateTerminationProtectionWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.UpdateTerminationProtectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5418,6 +6237,10 @@ func (_m *MockFakeCloudformation) ValidateTemplate(_a0 *cloudformation.ValidateT ret := _m.Called(_a0) var r0 *cloudformation.ValidateTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudformation.ValidateTemplateInput) (*cloudformation.ValidateTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ValidateTemplateInput) *cloudformation.ValidateTemplateOutput); ok { r0 = rf(_a0) } else { @@ -5426,7 +6249,6 @@ func (_m *MockFakeCloudformation) ValidateTemplate(_a0 *cloudformation.ValidateT } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudformation.ValidateTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -5441,6 +6263,10 @@ func (_m *MockFakeCloudformation) ValidateTemplateRequest(_a0 *cloudformation.Va ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudformation.ValidateTemplateOutput + if rf, ok := ret.Get(0).(func(*cloudformation.ValidateTemplateInput) (*request.Request, *cloudformation.ValidateTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudformation.ValidateTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5449,7 +6275,6 @@ func (_m *MockFakeCloudformation) ValidateTemplateRequest(_a0 *cloudformation.Va } } - var r1 *cloudformation.ValidateTemplateOutput if rf, ok := ret.Get(1).(func(*cloudformation.ValidateTemplateInput) *cloudformation.ValidateTemplateOutput); ok { r1 = rf(_a0) } else { @@ -5473,6 +6298,10 @@ func (_m *MockFakeCloudformation) ValidateTemplateWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *cloudformation.ValidateTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ValidateTemplateInput, ...request.Option) (*cloudformation.ValidateTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ValidateTemplateInput, ...request.Option) *cloudformation.ValidateTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5481,7 +6310,6 @@ func (_m *MockFakeCloudformation) ValidateTemplateWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudformation.ValidateTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5770,3 +6598,18 @@ func (_m *MockFakeCloudformation) WaitUntilTypeRegistrationCompleteWithContext(_ return r0 } + +type mockConstructorTestingTNewMockFakeCloudformation interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeCloudformation creates a new instance of MockFakeCloudformation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeCloudformation(t mockConstructorTestingTNewMockFakeCloudformation) *MockFakeCloudformation { + mock := &MockFakeCloudformation{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeCloudtrail.go b/test/aws/mock_FakeCloudtrail.go index 85b9d125e..533055d3f 100644 --- a/test/aws/mock_FakeCloudtrail.go +++ b/test/aws/mock_FakeCloudtrail.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -22,6 +22,10 @@ func (_m *MockFakeCloudtrail) AddTags(_a0 *cloudtrail.AddTagsInput) (*cloudtrail ret := _m.Called(_a0) var r0 *cloudtrail.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.AddTagsInput) (*cloudtrail.AddTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudtrail.AddTagsInput) *cloudtrail.AddTagsOutput); ok { r0 = rf(_a0) } else { @@ -30,7 +34,6 @@ func (_m *MockFakeCloudtrail) AddTags(_a0 *cloudtrail.AddTagsInput) (*cloudtrail } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudtrail.AddTagsInput) error); ok { r1 = rf(_a0) } else { @@ -45,6 +48,10 @@ func (_m *MockFakeCloudtrail) AddTagsRequest(_a0 *cloudtrail.AddTagsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudtrail.AddTagsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.AddTagsInput) (*request.Request, *cloudtrail.AddTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudtrail.AddTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -53,7 +60,6 @@ func (_m *MockFakeCloudtrail) AddTagsRequest(_a0 *cloudtrail.AddTagsInput) (*req } } - var r1 *cloudtrail.AddTagsOutput if rf, ok := ret.Get(1).(func(*cloudtrail.AddTagsInput) *cloudtrail.AddTagsOutput); ok { r1 = rf(_a0) } else { @@ -77,6 +83,10 @@ func (_m *MockFakeCloudtrail) AddTagsWithContext(_a0 context.Context, _a1 *cloud ret := _m.Called(_ca...) var r0 *cloudtrail.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.AddTagsInput, ...request.Option) (*cloudtrail.AddTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.AddTagsInput, ...request.Option) *cloudtrail.AddTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -85,7 +95,6 @@ func (_m *MockFakeCloudtrail) AddTagsWithContext(_a0 context.Context, _a1 *cloud } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.AddTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -95,21 +104,24 @@ func (_m *MockFakeCloudtrail) AddTagsWithContext(_a0 context.Context, _a1 *cloud return r0, r1 } -// CreateTrail provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) CreateTrail(_a0 *cloudtrail.CreateTrailInput) (*cloudtrail.CreateTrailOutput, error) { +// CancelQuery provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CancelQuery(_a0 *cloudtrail.CancelQueryInput) (*cloudtrail.CancelQueryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.CreateTrailOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) *cloudtrail.CreateTrailOutput); ok { + var r0 *cloudtrail.CancelQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.CancelQueryInput) (*cloudtrail.CancelQueryOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CancelQueryInput) *cloudtrail.CancelQueryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.CreateTrailOutput) + r0 = ret.Get(0).(*cloudtrail.CancelQueryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.CreateTrailInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CancelQueryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -118,12 +130,16 @@ func (_m *MockFakeCloudtrail) CreateTrail(_a0 *cloudtrail.CreateTrailInput) (*cl return r0, r1 } -// CreateTrailRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) CreateTrailRequest(_a0 *cloudtrail.CreateTrailInput) (*request.Request, *cloudtrail.CreateTrailOutput) { +// CancelQueryRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CancelQueryRequest(_a0 *cloudtrail.CancelQueryInput) (*request.Request, *cloudtrail.CancelQueryOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) *request.Request); ok { + var r1 *cloudtrail.CancelQueryOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.CancelQueryInput) (*request.Request, *cloudtrail.CancelQueryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CancelQueryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -131,20 +147,19 @@ func (_m *MockFakeCloudtrail) CreateTrailRequest(_a0 *cloudtrail.CreateTrailInpu } } - var r1 *cloudtrail.CreateTrailOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.CreateTrailInput) *cloudtrail.CreateTrailOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CancelQueryInput) *cloudtrail.CancelQueryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.CreateTrailOutput) + r1 = ret.Get(1).(*cloudtrail.CancelQueryOutput) } } return r0, r1 } -// CreateTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) CreateTrailWithContext(_a0 context.Context, _a1 *cloudtrail.CreateTrailInput, _a2 ...request.Option) (*cloudtrail.CreateTrailOutput, error) { +// CancelQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) CancelQueryWithContext(_a0 context.Context, _a1 *cloudtrail.CancelQueryInput, _a2 ...request.Option) (*cloudtrail.CancelQueryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -154,17 +169,20 @@ func (_m *MockFakeCloudtrail) CreateTrailWithContext(_a0 context.Context, _a1 *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.CreateTrailOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateTrailInput, ...request.Option) *cloudtrail.CreateTrailOutput); ok { + var r0 *cloudtrail.CancelQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CancelQueryInput, ...request.Option) (*cloudtrail.CancelQueryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CancelQueryInput, ...request.Option) *cloudtrail.CancelQueryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.CreateTrailOutput) + r0 = ret.Get(0).(*cloudtrail.CancelQueryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.CreateTrailInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.CancelQueryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -173,21 +191,24 @@ func (_m *MockFakeCloudtrail) CreateTrailWithContext(_a0 context.Context, _a1 *c return r0, r1 } -// DeleteTrail provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) DeleteTrail(_a0 *cloudtrail.DeleteTrailInput) (*cloudtrail.DeleteTrailOutput, error) { +// CreateEventDataStore provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CreateEventDataStore(_a0 *cloudtrail.CreateEventDataStoreInput) (*cloudtrail.CreateEventDataStoreOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.DeleteTrailOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) *cloudtrail.DeleteTrailOutput); ok { + var r0 *cloudtrail.CreateEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateEventDataStoreInput) (*cloudtrail.CreateEventDataStoreOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateEventDataStoreInput) *cloudtrail.CreateEventDataStoreOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.DeleteTrailOutput) + r0 = ret.Get(0).(*cloudtrail.CreateEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteTrailInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CreateEventDataStoreInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -196,12 +217,16 @@ func (_m *MockFakeCloudtrail) DeleteTrail(_a0 *cloudtrail.DeleteTrailInput) (*cl return r0, r1 } -// DeleteTrailRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) DeleteTrailRequest(_a0 *cloudtrail.DeleteTrailInput) (*request.Request, *cloudtrail.DeleteTrailOutput) { +// CreateEventDataStoreRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CreateEventDataStoreRequest(_a0 *cloudtrail.CreateEventDataStoreInput) (*request.Request, *cloudtrail.CreateEventDataStoreOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) *request.Request); ok { + var r1 *cloudtrail.CreateEventDataStoreOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateEventDataStoreInput) (*request.Request, *cloudtrail.CreateEventDataStoreOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateEventDataStoreInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -209,20 +234,19 @@ func (_m *MockFakeCloudtrail) DeleteTrailRequest(_a0 *cloudtrail.DeleteTrailInpu } } - var r1 *cloudtrail.DeleteTrailOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteTrailInput) *cloudtrail.DeleteTrailOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CreateEventDataStoreInput) *cloudtrail.CreateEventDataStoreOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.DeleteTrailOutput) + r1 = ret.Get(1).(*cloudtrail.CreateEventDataStoreOutput) } } return r0, r1 } -// DeleteTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) DeleteTrailWithContext(_a0 context.Context, _a1 *cloudtrail.DeleteTrailInput, _a2 ...request.Option) (*cloudtrail.DeleteTrailOutput, error) { +// CreateEventDataStoreWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) CreateEventDataStoreWithContext(_a0 context.Context, _a1 *cloudtrail.CreateEventDataStoreInput, _a2 ...request.Option) (*cloudtrail.CreateEventDataStoreOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -232,17 +256,20 @@ func (_m *MockFakeCloudtrail) DeleteTrailWithContext(_a0 context.Context, _a1 *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.DeleteTrailOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteTrailInput, ...request.Option) *cloudtrail.DeleteTrailOutput); ok { + var r0 *cloudtrail.CreateEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateEventDataStoreInput, ...request.Option) (*cloudtrail.CreateEventDataStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateEventDataStoreInput, ...request.Option) *cloudtrail.CreateEventDataStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.DeleteTrailOutput) + r0 = ret.Get(0).(*cloudtrail.CreateEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DeleteTrailInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.CreateEventDataStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -251,21 +278,24 @@ func (_m *MockFakeCloudtrail) DeleteTrailWithContext(_a0 context.Context, _a1 *c return r0, r1 } -// DescribeTrails provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) DescribeTrails(_a0 *cloudtrail.DescribeTrailsInput) (*cloudtrail.DescribeTrailsOutput, error) { +// CreateTrail provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CreateTrail(_a0 *cloudtrail.CreateTrailInput) (*cloudtrail.CreateTrailOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.DescribeTrailsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) *cloudtrail.DescribeTrailsOutput); ok { + var r0 *cloudtrail.CreateTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) (*cloudtrail.CreateTrailOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) *cloudtrail.CreateTrailOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.DescribeTrailsOutput) + r0 = ret.Get(0).(*cloudtrail.CreateTrailOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeTrailsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CreateTrailInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -274,12 +304,16 @@ func (_m *MockFakeCloudtrail) DescribeTrails(_a0 *cloudtrail.DescribeTrailsInput return r0, r1 } -// DescribeTrailsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) DescribeTrailsRequest(_a0 *cloudtrail.DescribeTrailsInput) (*request.Request, *cloudtrail.DescribeTrailsOutput) { +// CreateTrailRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) CreateTrailRequest(_a0 *cloudtrail.CreateTrailInput) (*request.Request, *cloudtrail.CreateTrailOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) *request.Request); ok { + var r1 *cloudtrail.CreateTrailOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) (*request.Request, *cloudtrail.CreateTrailOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.CreateTrailInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -287,20 +321,19 @@ func (_m *MockFakeCloudtrail) DescribeTrailsRequest(_a0 *cloudtrail.DescribeTrai } } - var r1 *cloudtrail.DescribeTrailsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeTrailsInput) *cloudtrail.DescribeTrailsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.CreateTrailInput) *cloudtrail.CreateTrailOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.DescribeTrailsOutput) + r1 = ret.Get(1).(*cloudtrail.CreateTrailOutput) } } return r0, r1 } -// DescribeTrailsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) DescribeTrailsWithContext(_a0 context.Context, _a1 *cloudtrail.DescribeTrailsInput, _a2 ...request.Option) (*cloudtrail.DescribeTrailsOutput, error) { +// CreateTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) CreateTrailWithContext(_a0 context.Context, _a1 *cloudtrail.CreateTrailInput, _a2 ...request.Option) (*cloudtrail.CreateTrailOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -310,17 +343,20 @@ func (_m *MockFakeCloudtrail) DescribeTrailsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.DescribeTrailsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...request.Option) *cloudtrail.DescribeTrailsOutput); ok { + var r0 *cloudtrail.CreateTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateTrailInput, ...request.Option) (*cloudtrail.CreateTrailOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateTrailInput, ...request.Option) *cloudtrail.CreateTrailOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.DescribeTrailsOutput) + r0 = ret.Get(0).(*cloudtrail.CreateTrailOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.CreateTrailInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -329,21 +365,24 @@ func (_m *MockFakeCloudtrail) DescribeTrailsWithContext(_a0 context.Context, _a1 return r0, r1 } -// GetEventSelectors provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetEventSelectors(_a0 *cloudtrail.GetEventSelectorsInput) (*cloudtrail.GetEventSelectorsOutput, error) { +// DeleteEventDataStore provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DeleteEventDataStore(_a0 *cloudtrail.DeleteEventDataStoreInput) (*cloudtrail.DeleteEventDataStoreOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.GetEventSelectorsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) *cloudtrail.GetEventSelectorsOutput); ok { + var r0 *cloudtrail.DeleteEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteEventDataStoreInput) (*cloudtrail.DeleteEventDataStoreOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteEventDataStoreInput) *cloudtrail.DeleteEventDataStoreOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetEventSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.DeleteEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventSelectorsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteEventDataStoreInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -352,12 +391,16 @@ func (_m *MockFakeCloudtrail) GetEventSelectors(_a0 *cloudtrail.GetEventSelector return r0, r1 } -// GetEventSelectorsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetEventSelectorsRequest(_a0 *cloudtrail.GetEventSelectorsInput) (*request.Request, *cloudtrail.GetEventSelectorsOutput) { +// DeleteEventDataStoreRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DeleteEventDataStoreRequest(_a0 *cloudtrail.DeleteEventDataStoreInput) (*request.Request, *cloudtrail.DeleteEventDataStoreOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) *request.Request); ok { + var r1 *cloudtrail.DeleteEventDataStoreOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteEventDataStoreInput) (*request.Request, *cloudtrail.DeleteEventDataStoreOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteEventDataStoreInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -365,20 +408,19 @@ func (_m *MockFakeCloudtrail) GetEventSelectorsRequest(_a0 *cloudtrail.GetEventS } } - var r1 *cloudtrail.GetEventSelectorsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventSelectorsInput) *cloudtrail.GetEventSelectorsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteEventDataStoreInput) *cloudtrail.DeleteEventDataStoreOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.GetEventSelectorsOutput) + r1 = ret.Get(1).(*cloudtrail.DeleteEventDataStoreOutput) } } return r0, r1 } -// GetEventSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) GetEventSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.GetEventSelectorsInput, _a2 ...request.Option) (*cloudtrail.GetEventSelectorsOutput, error) { +// DeleteEventDataStoreWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) DeleteEventDataStoreWithContext(_a0 context.Context, _a1 *cloudtrail.DeleteEventDataStoreInput, _a2 ...request.Option) (*cloudtrail.DeleteEventDataStoreOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -388,17 +430,20 @@ func (_m *MockFakeCloudtrail) GetEventSelectorsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.GetEventSelectorsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...request.Option) *cloudtrail.GetEventSelectorsOutput); ok { + var r0 *cloudtrail.DeleteEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteEventDataStoreInput, ...request.Option) (*cloudtrail.DeleteEventDataStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteEventDataStoreInput, ...request.Option) *cloudtrail.DeleteEventDataStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetEventSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.DeleteEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DeleteEventDataStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -407,21 +452,24 @@ func (_m *MockFakeCloudtrail) GetEventSelectorsWithContext(_a0 context.Context, return r0, r1 } -// GetInsightSelectors provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetInsightSelectors(_a0 *cloudtrail.GetInsightSelectorsInput) (*cloudtrail.GetInsightSelectorsOutput, error) { +// DeleteTrail provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DeleteTrail(_a0 *cloudtrail.DeleteTrailInput) (*cloudtrail.DeleteTrailOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.GetInsightSelectorsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) *cloudtrail.GetInsightSelectorsOutput); ok { + var r0 *cloudtrail.DeleteTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) (*cloudtrail.DeleteTrailOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) *cloudtrail.DeleteTrailOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetInsightSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.DeleteTrailOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.GetInsightSelectorsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteTrailInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -430,12 +478,16 @@ func (_m *MockFakeCloudtrail) GetInsightSelectors(_a0 *cloudtrail.GetInsightSele return r0, r1 } -// GetInsightSelectorsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetInsightSelectorsRequest(_a0 *cloudtrail.GetInsightSelectorsInput) (*request.Request, *cloudtrail.GetInsightSelectorsOutput) { +// DeleteTrailRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DeleteTrailRequest(_a0 *cloudtrail.DeleteTrailInput) (*request.Request, *cloudtrail.DeleteTrailOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) *request.Request); ok { + var r1 *cloudtrail.DeleteTrailOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) (*request.Request, *cloudtrail.DeleteTrailOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DeleteTrailInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -443,20 +495,19 @@ func (_m *MockFakeCloudtrail) GetInsightSelectorsRequest(_a0 *cloudtrail.GetInsi } } - var r1 *cloudtrail.GetInsightSelectorsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.GetInsightSelectorsInput) *cloudtrail.GetInsightSelectorsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DeleteTrailInput) *cloudtrail.DeleteTrailOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.GetInsightSelectorsOutput) + r1 = ret.Get(1).(*cloudtrail.DeleteTrailOutput) } } return r0, r1 } -// GetInsightSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) GetInsightSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.GetInsightSelectorsInput, _a2 ...request.Option) (*cloudtrail.GetInsightSelectorsOutput, error) { +// DeleteTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) DeleteTrailWithContext(_a0 context.Context, _a1 *cloudtrail.DeleteTrailInput, _a2 ...request.Option) (*cloudtrail.DeleteTrailOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -466,17 +517,20 @@ func (_m *MockFakeCloudtrail) GetInsightSelectorsWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.GetInsightSelectorsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...request.Option) *cloudtrail.GetInsightSelectorsOutput); ok { + var r0 *cloudtrail.DeleteTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteTrailInput, ...request.Option) (*cloudtrail.DeleteTrailOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteTrailInput, ...request.Option) *cloudtrail.DeleteTrailOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetInsightSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.DeleteTrailOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DeleteTrailInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -485,21 +539,24 @@ func (_m *MockFakeCloudtrail) GetInsightSelectorsWithContext(_a0 context.Context return r0, r1 } -// GetTrail provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetTrail(_a0 *cloudtrail.GetTrailInput) (*cloudtrail.GetTrailOutput, error) { +// DescribeQuery provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DescribeQuery(_a0 *cloudtrail.DescribeQueryInput) (*cloudtrail.DescribeQueryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.GetTrailOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) *cloudtrail.GetTrailOutput); ok { + var r0 *cloudtrail.DescribeQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) (*cloudtrail.DescribeQueryOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) *cloudtrail.DescribeQueryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetTrailOutput) + r0 = ret.Get(0).(*cloudtrail.DescribeQueryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeQueryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -508,12 +565,16 @@ func (_m *MockFakeCloudtrail) GetTrail(_a0 *cloudtrail.GetTrailInput) (*cloudtra return r0, r1 } -// GetTrailRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetTrailRequest(_a0 *cloudtrail.GetTrailInput) (*request.Request, *cloudtrail.GetTrailOutput) { +// DescribeQueryRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DescribeQueryRequest(_a0 *cloudtrail.DescribeQueryInput) (*request.Request, *cloudtrail.DescribeQueryOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) *request.Request); ok { + var r1 *cloudtrail.DescribeQueryOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) (*request.Request, *cloudtrail.DescribeQueryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeQueryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -521,33 +582,68 @@ func (_m *MockFakeCloudtrail) GetTrailRequest(_a0 *cloudtrail.GetTrailInput) (*r } } - var r1 *cloudtrail.GetTrailOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailInput) *cloudtrail.GetTrailOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeQueryInput) *cloudtrail.DescribeQueryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.GetTrailOutput) + r1 = ret.Get(1).(*cloudtrail.DescribeQueryOutput) } } return r0, r1 } -// GetTrailStatus provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetTrailStatus(_a0 *cloudtrail.GetTrailStatusInput) (*cloudtrail.GetTrailStatusOutput, error) { +// DescribeQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) DescribeQueryWithContext(_a0 context.Context, _a1 *cloudtrail.DescribeQueryInput, _a2 ...request.Option) (*cloudtrail.DescribeQueryOutput, error) { + _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 *cloudtrail.DescribeQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeQueryInput, ...request.Option) (*cloudtrail.DescribeQueryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeQueryInput, ...request.Option) *cloudtrail.DescribeQueryOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.DescribeQueryOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DescribeQueryInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeTrails provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DescribeTrails(_a0 *cloudtrail.DescribeTrailsInput) (*cloudtrail.DescribeTrailsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.GetTrailStatusOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) *cloudtrail.GetTrailStatusOutput); ok { + var r0 *cloudtrail.DescribeTrailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) (*cloudtrail.DescribeTrailsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) *cloudtrail.DescribeTrailsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetTrailStatusOutput) + r0 = ret.Get(0).(*cloudtrail.DescribeTrailsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailStatusInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeTrailsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -556,12 +652,16 @@ func (_m *MockFakeCloudtrail) GetTrailStatus(_a0 *cloudtrail.GetTrailStatusInput return r0, r1 } -// GetTrailStatusRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) GetTrailStatusRequest(_a0 *cloudtrail.GetTrailStatusInput) (*request.Request, *cloudtrail.GetTrailStatusOutput) { +// DescribeTrailsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) DescribeTrailsRequest(_a0 *cloudtrail.DescribeTrailsInput) (*request.Request, *cloudtrail.DescribeTrailsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) *request.Request); ok { + var r1 *cloudtrail.DescribeTrailsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) (*request.Request, *cloudtrail.DescribeTrailsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.DescribeTrailsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -569,20 +669,19 @@ func (_m *MockFakeCloudtrail) GetTrailStatusRequest(_a0 *cloudtrail.GetTrailStat } } - var r1 *cloudtrail.GetTrailStatusOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailStatusInput) *cloudtrail.GetTrailStatusOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.DescribeTrailsInput) *cloudtrail.DescribeTrailsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.GetTrailStatusOutput) + r1 = ret.Get(1).(*cloudtrail.DescribeTrailsOutput) } } return r0, r1 } -// GetTrailStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) GetTrailStatusWithContext(_a0 context.Context, _a1 *cloudtrail.GetTrailStatusInput, _a2 ...request.Option) (*cloudtrail.GetTrailStatusOutput, error) { +// DescribeTrailsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) DescribeTrailsWithContext(_a0 context.Context, _a1 *cloudtrail.DescribeTrailsInput, _a2 ...request.Option) (*cloudtrail.DescribeTrailsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -592,17 +691,20 @@ func (_m *MockFakeCloudtrail) GetTrailStatusWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.GetTrailStatusOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...request.Option) *cloudtrail.GetTrailStatusOutput); ok { + var r0 *cloudtrail.DescribeTrailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...request.Option) (*cloudtrail.DescribeTrailsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...request.Option) *cloudtrail.DescribeTrailsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetTrailStatusOutput) + r0 = ret.Get(0).(*cloudtrail.DescribeTrailsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -611,8 +713,1438 @@ func (_m *MockFakeCloudtrail) GetTrailStatusWithContext(_a0 context.Context, _a1 return r0, r1 } -// GetTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) GetTrailWithContext(_a0 context.Context, _a1 *cloudtrail.GetTrailInput, _a2 ...request.Option) (*cloudtrail.GetTrailOutput, error) { +// GetChannel provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetChannel(_a0 *cloudtrail.GetChannelInput) (*cloudtrail.GetChannelOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetChannelOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetChannelInput) (*cloudtrail.GetChannelOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetChannelInput) *cloudtrail.GetChannelOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetChannelOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetChannelInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetChannelRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetChannelRequest(_a0 *cloudtrail.GetChannelInput) (*request.Request, *cloudtrail.GetChannelOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetChannelOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetChannelInput) (*request.Request, *cloudtrail.GetChannelOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetChannelInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetChannelInput) *cloudtrail.GetChannelOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetChannelOutput) + } + } + + return r0, r1 +} + +// GetChannelWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetChannelWithContext(_a0 context.Context, _a1 *cloudtrail.GetChannelInput, _a2 ...request.Option) (*cloudtrail.GetChannelOutput, error) { + _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 *cloudtrail.GetChannelOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetChannelInput, ...request.Option) (*cloudtrail.GetChannelOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetChannelInput, ...request.Option) *cloudtrail.GetChannelOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetChannelOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetChannelInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetEventDataStore provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetEventDataStore(_a0 *cloudtrail.GetEventDataStoreInput) (*cloudtrail.GetEventDataStoreOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventDataStoreInput) (*cloudtrail.GetEventDataStoreOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventDataStoreInput) *cloudtrail.GetEventDataStoreOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetEventDataStoreOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventDataStoreInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetEventDataStoreRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetEventDataStoreRequest(_a0 *cloudtrail.GetEventDataStoreInput) (*request.Request, *cloudtrail.GetEventDataStoreOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetEventDataStoreOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventDataStoreInput) (*request.Request, *cloudtrail.GetEventDataStoreOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventDataStoreInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventDataStoreInput) *cloudtrail.GetEventDataStoreOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetEventDataStoreOutput) + } + } + + return r0, r1 +} + +// GetEventDataStoreWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetEventDataStoreWithContext(_a0 context.Context, _a1 *cloudtrail.GetEventDataStoreInput, _a2 ...request.Option) (*cloudtrail.GetEventDataStoreOutput, error) { + _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 *cloudtrail.GetEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventDataStoreInput, ...request.Option) (*cloudtrail.GetEventDataStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventDataStoreInput, ...request.Option) *cloudtrail.GetEventDataStoreOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetEventDataStoreOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetEventDataStoreInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetEventSelectors provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetEventSelectors(_a0 *cloudtrail.GetEventSelectorsInput) (*cloudtrail.GetEventSelectorsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetEventSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) (*cloudtrail.GetEventSelectorsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) *cloudtrail.GetEventSelectorsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetEventSelectorsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventSelectorsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetEventSelectorsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetEventSelectorsRequest(_a0 *cloudtrail.GetEventSelectorsInput) (*request.Request, *cloudtrail.GetEventSelectorsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetEventSelectorsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) (*request.Request, *cloudtrail.GetEventSelectorsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetEventSelectorsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetEventSelectorsInput) *cloudtrail.GetEventSelectorsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetEventSelectorsOutput) + } + } + + return r0, r1 +} + +// GetEventSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetEventSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.GetEventSelectorsInput, _a2 ...request.Option) (*cloudtrail.GetEventSelectorsOutput, error) { + _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 *cloudtrail.GetEventSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...request.Option) (*cloudtrail.GetEventSelectorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...request.Option) *cloudtrail.GetEventSelectorsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetEventSelectorsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetImport provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetImport(_a0 *cloudtrail.GetImportInput) (*cloudtrail.GetImportOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetImportInput) (*cloudtrail.GetImportOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetImportInput) *cloudtrail.GetImportOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetImportOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetImportInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetImportRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetImportRequest(_a0 *cloudtrail.GetImportInput) (*request.Request, *cloudtrail.GetImportOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetImportOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetImportInput) (*request.Request, *cloudtrail.GetImportOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetImportInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetImportInput) *cloudtrail.GetImportOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetImportOutput) + } + } + + return r0, r1 +} + +// GetImportWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetImportWithContext(_a0 context.Context, _a1 *cloudtrail.GetImportInput, _a2 ...request.Option) (*cloudtrail.GetImportOutput, error) { + _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 *cloudtrail.GetImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetImportInput, ...request.Option) (*cloudtrail.GetImportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetImportInput, ...request.Option) *cloudtrail.GetImportOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetImportOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetImportInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetInsightSelectors provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetInsightSelectors(_a0 *cloudtrail.GetInsightSelectorsInput) (*cloudtrail.GetInsightSelectorsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetInsightSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) (*cloudtrail.GetInsightSelectorsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) *cloudtrail.GetInsightSelectorsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetInsightSelectorsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetInsightSelectorsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetInsightSelectorsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetInsightSelectorsRequest(_a0 *cloudtrail.GetInsightSelectorsInput) (*request.Request, *cloudtrail.GetInsightSelectorsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetInsightSelectorsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) (*request.Request, *cloudtrail.GetInsightSelectorsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetInsightSelectorsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetInsightSelectorsInput) *cloudtrail.GetInsightSelectorsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetInsightSelectorsOutput) + } + } + + return r0, r1 +} + +// GetInsightSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetInsightSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.GetInsightSelectorsInput, _a2 ...request.Option) (*cloudtrail.GetInsightSelectorsOutput, error) { + _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 *cloudtrail.GetInsightSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...request.Option) (*cloudtrail.GetInsightSelectorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...request.Option) *cloudtrail.GetInsightSelectorsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetInsightSelectorsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetQueryResults provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetQueryResults(_a0 *cloudtrail.GetQueryResultsInput) (*cloudtrail.GetQueryResultsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetQueryResultsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetQueryResultsInput) (*cloudtrail.GetQueryResultsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetQueryResultsInput) *cloudtrail.GetQueryResultsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetQueryResultsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetQueryResultsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetQueryResultsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) GetQueryResultsPages(_a0 *cloudtrail.GetQueryResultsInput, _a1 func(*cloudtrail.GetQueryResultsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetQueryResultsInput, func(*cloudtrail.GetQueryResultsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetQueryResultsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) GetQueryResultsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.GetQueryResultsInput, _a2 func(*cloudtrail.GetQueryResultsOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.GetQueryResultsInput, func(*cloudtrail.GetQueryResultsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetQueryResultsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetQueryResultsRequest(_a0 *cloudtrail.GetQueryResultsInput) (*request.Request, *cloudtrail.GetQueryResultsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetQueryResultsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetQueryResultsInput) (*request.Request, *cloudtrail.GetQueryResultsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetQueryResultsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetQueryResultsInput) *cloudtrail.GetQueryResultsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetQueryResultsOutput) + } + } + + return r0, r1 +} + +// GetQueryResultsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetQueryResultsWithContext(_a0 context.Context, _a1 *cloudtrail.GetQueryResultsInput, _a2 ...request.Option) (*cloudtrail.GetQueryResultsOutput, error) { + _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 *cloudtrail.GetQueryResultsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetQueryResultsInput, ...request.Option) (*cloudtrail.GetQueryResultsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetQueryResultsInput, ...request.Option) *cloudtrail.GetQueryResultsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetQueryResultsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetQueryResultsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTrail provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetTrail(_a0 *cloudtrail.GetTrailInput) (*cloudtrail.GetTrailOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) (*cloudtrail.GetTrailOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) *cloudtrail.GetTrailOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetTrailOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTrailRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetTrailRequest(_a0 *cloudtrail.GetTrailInput) (*request.Request, *cloudtrail.GetTrailOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetTrailOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) (*request.Request, *cloudtrail.GetTrailOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailInput) *cloudtrail.GetTrailOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetTrailOutput) + } + } + + return r0, r1 +} + +// GetTrailStatus provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetTrailStatus(_a0 *cloudtrail.GetTrailStatusInput) (*cloudtrail.GetTrailStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.GetTrailStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) (*cloudtrail.GetTrailStatusOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) *cloudtrail.GetTrailStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetTrailStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTrailStatusRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) GetTrailStatusRequest(_a0 *cloudtrail.GetTrailStatusInput) (*request.Request, *cloudtrail.GetTrailStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.GetTrailStatusOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) (*request.Request, *cloudtrail.GetTrailStatusOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.GetTrailStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.GetTrailStatusInput) *cloudtrail.GetTrailStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.GetTrailStatusOutput) + } + } + + return r0, r1 +} + +// GetTrailStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetTrailStatusWithContext(_a0 context.Context, _a1 *cloudtrail.GetTrailStatusInput, _a2 ...request.Option) (*cloudtrail.GetTrailStatusOutput, error) { + _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 *cloudtrail.GetTrailStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...request.Option) (*cloudtrail.GetTrailStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...request.Option) *cloudtrail.GetTrailStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetTrailStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTrailWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) GetTrailWithContext(_a0 context.Context, _a1 *cloudtrail.GetTrailInput, _a2 ...request.Option) (*cloudtrail.GetTrailOutput, error) { + _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 *cloudtrail.GetTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailInput, ...request.Option) (*cloudtrail.GetTrailOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailInput, ...request.Option) *cloudtrail.GetTrailOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.GetTrailOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetTrailInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListChannels provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListChannels(_a0 *cloudtrail.ListChannelsInput) (*cloudtrail.ListChannelsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListChannelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListChannelsInput) (*cloudtrail.ListChannelsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListChannelsInput) *cloudtrail.ListChannelsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListChannelsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListChannelsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListChannelsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListChannelsPages(_a0 *cloudtrail.ListChannelsInput, _a1 func(*cloudtrail.ListChannelsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListChannelsInput, func(*cloudtrail.ListChannelsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListChannelsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListChannelsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListChannelsInput, _a2 func(*cloudtrail.ListChannelsOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListChannelsInput, func(*cloudtrail.ListChannelsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListChannelsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListChannelsRequest(_a0 *cloudtrail.ListChannelsInput) (*request.Request, *cloudtrail.ListChannelsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListChannelsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListChannelsInput) (*request.Request, *cloudtrail.ListChannelsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListChannelsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListChannelsInput) *cloudtrail.ListChannelsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListChannelsOutput) + } + } + + return r0, r1 +} + +// ListChannelsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListChannelsWithContext(_a0 context.Context, _a1 *cloudtrail.ListChannelsInput, _a2 ...request.Option) (*cloudtrail.ListChannelsOutput, error) { + _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 *cloudtrail.ListChannelsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListChannelsInput, ...request.Option) (*cloudtrail.ListChannelsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListChannelsInput, ...request.Option) *cloudtrail.ListChannelsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListChannelsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListChannelsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListEventDataStores provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListEventDataStores(_a0 *cloudtrail.ListEventDataStoresInput) (*cloudtrail.ListEventDataStoresOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListEventDataStoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListEventDataStoresInput) (*cloudtrail.ListEventDataStoresOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListEventDataStoresInput) *cloudtrail.ListEventDataStoresOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListEventDataStoresOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListEventDataStoresInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListEventDataStoresPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListEventDataStoresPages(_a0 *cloudtrail.ListEventDataStoresInput, _a1 func(*cloudtrail.ListEventDataStoresOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListEventDataStoresInput, func(*cloudtrail.ListEventDataStoresOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListEventDataStoresPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListEventDataStoresPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListEventDataStoresInput, _a2 func(*cloudtrail.ListEventDataStoresOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListEventDataStoresInput, func(*cloudtrail.ListEventDataStoresOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListEventDataStoresRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListEventDataStoresRequest(_a0 *cloudtrail.ListEventDataStoresInput) (*request.Request, *cloudtrail.ListEventDataStoresOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListEventDataStoresOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListEventDataStoresInput) (*request.Request, *cloudtrail.ListEventDataStoresOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListEventDataStoresInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListEventDataStoresInput) *cloudtrail.ListEventDataStoresOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListEventDataStoresOutput) + } + } + + return r0, r1 +} + +// ListEventDataStoresWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListEventDataStoresWithContext(_a0 context.Context, _a1 *cloudtrail.ListEventDataStoresInput, _a2 ...request.Option) (*cloudtrail.ListEventDataStoresOutput, error) { + _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 *cloudtrail.ListEventDataStoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListEventDataStoresInput, ...request.Option) (*cloudtrail.ListEventDataStoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListEventDataStoresInput, ...request.Option) *cloudtrail.ListEventDataStoresOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListEventDataStoresOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListEventDataStoresInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImportFailures provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListImportFailures(_a0 *cloudtrail.ListImportFailuresInput) (*cloudtrail.ListImportFailuresOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListImportFailuresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportFailuresInput) (*cloudtrail.ListImportFailuresOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportFailuresInput) *cloudtrail.ListImportFailuresOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListImportFailuresOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListImportFailuresInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImportFailuresPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListImportFailuresPages(_a0 *cloudtrail.ListImportFailuresInput, _a1 func(*cloudtrail.ListImportFailuresOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportFailuresInput, func(*cloudtrail.ListImportFailuresOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportFailuresPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListImportFailuresPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListImportFailuresInput, _a2 func(*cloudtrail.ListImportFailuresOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListImportFailuresInput, func(*cloudtrail.ListImportFailuresOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportFailuresRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListImportFailuresRequest(_a0 *cloudtrail.ListImportFailuresInput) (*request.Request, *cloudtrail.ListImportFailuresOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListImportFailuresOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportFailuresInput) (*request.Request, *cloudtrail.ListImportFailuresOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportFailuresInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListImportFailuresInput) *cloudtrail.ListImportFailuresOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListImportFailuresOutput) + } + } + + return r0, r1 +} + +// ListImportFailuresWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListImportFailuresWithContext(_a0 context.Context, _a1 *cloudtrail.ListImportFailuresInput, _a2 ...request.Option) (*cloudtrail.ListImportFailuresOutput, error) { + _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 *cloudtrail.ListImportFailuresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportFailuresInput, ...request.Option) (*cloudtrail.ListImportFailuresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportFailuresInput, ...request.Option) *cloudtrail.ListImportFailuresOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListImportFailuresOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListImportFailuresInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImports provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListImports(_a0 *cloudtrail.ListImportsInput) (*cloudtrail.ListImportsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportsInput) (*cloudtrail.ListImportsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportsInput) *cloudtrail.ListImportsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListImportsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListImportsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImportsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListImportsPages(_a0 *cloudtrail.ListImportsInput, _a1 func(*cloudtrail.ListImportsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportsInput, func(*cloudtrail.ListImportsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListImportsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListImportsInput, _a2 func(*cloudtrail.ListImportsOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListImportsInput, func(*cloudtrail.ListImportsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListImportsRequest(_a0 *cloudtrail.ListImportsInput) (*request.Request, *cloudtrail.ListImportsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListImportsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportsInput) (*request.Request, *cloudtrail.ListImportsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListImportsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListImportsInput) *cloudtrail.ListImportsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListImportsOutput) + } + } + + return r0, r1 +} + +// ListImportsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListImportsWithContext(_a0 context.Context, _a1 *cloudtrail.ListImportsInput, _a2 ...request.Option) (*cloudtrail.ListImportsOutput, error) { + _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 *cloudtrail.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportsInput, ...request.Option) (*cloudtrail.ListImportsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportsInput, ...request.Option) *cloudtrail.ListImportsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListImportsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListImportsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPublicKeys provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListPublicKeys(_a0 *cloudtrail.ListPublicKeysInput) (*cloudtrail.ListPublicKeysOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) (*cloudtrail.ListPublicKeysOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) *cloudtrail.ListPublicKeysOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListPublicKeysOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListPublicKeysInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListPublicKeysPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListPublicKeysPages(_a0 *cloudtrail.ListPublicKeysInput, _a1 func(*cloudtrail.ListPublicKeysOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput, func(*cloudtrail.ListPublicKeysOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPublicKeysPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListPublicKeysPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListPublicKeysInput, _a2 func(*cloudtrail.ListPublicKeysOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListPublicKeysInput, func(*cloudtrail.ListPublicKeysOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPublicKeysRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListPublicKeysRequest(_a0 *cloudtrail.ListPublicKeysInput) (*request.Request, *cloudtrail.ListPublicKeysOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListPublicKeysOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) (*request.Request, *cloudtrail.ListPublicKeysOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListPublicKeysInput) *cloudtrail.ListPublicKeysOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListPublicKeysOutput) + } + } + + return r0, r1 +} + +// ListPublicKeysWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListPublicKeysWithContext(_a0 context.Context, _a1 *cloudtrail.ListPublicKeysInput, _a2 ...request.Option) (*cloudtrail.ListPublicKeysOutput, error) { + _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 *cloudtrail.ListPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...request.Option) (*cloudtrail.ListPublicKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...request.Option) *cloudtrail.ListPublicKeysOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListPublicKeysOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListQueries provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListQueries(_a0 *cloudtrail.ListQueriesInput) (*cloudtrail.ListQueriesOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListQueriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListQueriesInput) (*cloudtrail.ListQueriesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListQueriesInput) *cloudtrail.ListQueriesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListQueriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListQueriesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListQueriesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListQueriesPages(_a0 *cloudtrail.ListQueriesInput, _a1 func(*cloudtrail.ListQueriesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListQueriesInput, func(*cloudtrail.ListQueriesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListQueriesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListQueriesPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListQueriesInput, _a2 func(*cloudtrail.ListQueriesOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListQueriesInput, func(*cloudtrail.ListQueriesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListQueriesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListQueriesRequest(_a0 *cloudtrail.ListQueriesInput) (*request.Request, *cloudtrail.ListQueriesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListQueriesOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListQueriesInput) (*request.Request, *cloudtrail.ListQueriesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListQueriesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListQueriesInput) *cloudtrail.ListQueriesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListQueriesOutput) + } + } + + return r0, r1 +} + +// ListQueriesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListQueriesWithContext(_a0 context.Context, _a1 *cloudtrail.ListQueriesInput, _a2 ...request.Option) (*cloudtrail.ListQueriesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -622,17 +2154,142 @@ func (_m *MockFakeCloudtrail) GetTrailWithContext(_a0 context.Context, _a1 *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.GetTrailOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailInput, ...request.Option) *cloudtrail.GetTrailOutput); ok { + var r0 *cloudtrail.ListQueriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListQueriesInput, ...request.Option) (*cloudtrail.ListQueriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListQueriesInput, ...request.Option) *cloudtrail.ListQueriesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.GetTrailOutput) + r0 = ret.Get(0).(*cloudtrail.ListQueriesOutput) } } + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListQueriesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTags provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListTags(_a0 *cloudtrail.ListTagsInput) (*cloudtrail.ListTagsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.ListTagsOutput var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.GetTrailInput, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) (*cloudtrail.ListTagsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) *cloudtrail.ListTagsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListTagsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListTagsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTagsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListTagsPages(_a0 *cloudtrail.ListTagsInput, _a1 func(*cloudtrail.ListTagsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput, func(*cloudtrail.ListTagsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListTagsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListTagsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListTagsInput, _a2 func(*cloudtrail.ListTagsOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListTagsInput, func(*cloudtrail.ListTagsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListTagsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListTagsRequest(_a0 *cloudtrail.ListTagsInput) (*request.Request, *cloudtrail.ListTagsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListTagsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) (*request.Request, *cloudtrail.ListTagsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListTagsInput) *cloudtrail.ListTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListTagsOutput) + } + } + + return r0, r1 +} + +// ListTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListTagsWithContext(_a0 context.Context, _a1 *cloudtrail.ListTagsInput, _a2 ...request.Option) (*cloudtrail.ListTagsOutput, error) { + _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 *cloudtrail.ListTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTagsInput, ...request.Option) (*cloudtrail.ListTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTagsInput, ...request.Option) *cloudtrail.ListTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListTagsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -641,21 +2298,146 @@ func (_m *MockFakeCloudtrail) GetTrailWithContext(_a0 context.Context, _a1 *clou return r0, r1 } -// ListPublicKeys provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListPublicKeys(_a0 *cloudtrail.ListPublicKeysInput) (*cloudtrail.ListPublicKeysOutput, error) { +// ListTrails provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListTrails(_a0 *cloudtrail.ListTrailsInput) (*cloudtrail.ListTrailsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.ListPublicKeysOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) *cloudtrail.ListPublicKeysOutput); ok { + var r0 *cloudtrail.ListTrailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) (*cloudtrail.ListTrailsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) *cloudtrail.ListTrailsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListTrailsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListTrailsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListTrailsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) ListTrailsPages(_a0 *cloudtrail.ListTrailsInput, _a1 func(*cloudtrail.ListTrailsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput, func(*cloudtrail.ListTrailsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListTrailsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) ListTrailsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListTrailsInput, _a2 func(*cloudtrail.ListTrailsOutput, bool) bool, _a3 ...request.Option) error { + _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, *cloudtrail.ListTrailsInput, func(*cloudtrail.ListTrailsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListTrailsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) ListTrailsRequest(_a0 *cloudtrail.ListTrailsInput) (*request.Request, *cloudtrail.ListTrailsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *cloudtrail.ListTrailsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) (*request.Request, *cloudtrail.ListTrailsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.ListTrailsInput) *cloudtrail.ListTrailsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.ListTrailsOutput) + } + } + + return r0, r1 +} + +// ListTrailsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) ListTrailsWithContext(_a0 context.Context, _a1 *cloudtrail.ListTrailsInput, _a2 ...request.Option) (*cloudtrail.ListTrailsOutput, error) { + _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 *cloudtrail.ListTrailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTrailsInput, ...request.Option) (*cloudtrail.ListTrailsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTrailsInput, ...request.Option) *cloudtrail.ListTrailsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.ListTrailsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListTrailsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// LookupEvents provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) LookupEvents(_a0 *cloudtrail.LookupEventsInput) (*cloudtrail.LookupEventsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.LookupEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) (*cloudtrail.LookupEventsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) *cloudtrail.LookupEventsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListPublicKeysOutput) + r0 = ret.Get(0).(*cloudtrail.LookupEventsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.ListPublicKeysInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.LookupEventsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -664,12 +2446,12 @@ func (_m *MockFakeCloudtrail) ListPublicKeys(_a0 *cloudtrail.ListPublicKeysInput return r0, r1 } -// ListPublicKeysPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeCloudtrail) ListPublicKeysPages(_a0 *cloudtrail.ListPublicKeysInput, _a1 func(*cloudtrail.ListPublicKeysOutput, bool) bool) error { +// LookupEventsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeCloudtrail) LookupEventsPages(_a0 *cloudtrail.LookupEventsInput, _a1 func(*cloudtrail.LookupEventsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput, func(*cloudtrail.ListPublicKeysOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput, func(*cloudtrail.LookupEventsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -678,8 +2460,8 @@ func (_m *MockFakeCloudtrail) ListPublicKeysPages(_a0 *cloudtrail.ListPublicKeys return r0 } -// ListPublicKeysPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeCloudtrail) ListPublicKeysPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListPublicKeysInput, _a2 func(*cloudtrail.ListPublicKeysOutput, bool) bool, _a3 ...request.Option) error { +// LookupEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeCloudtrail) LookupEventsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.LookupEventsInput, _a2 func(*cloudtrail.LookupEventsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -690,7 +2472,7 @@ func (_m *MockFakeCloudtrail) ListPublicKeysPagesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListPublicKeysInput, func(*cloudtrail.ListPublicKeysOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.LookupEventsInput, func(*cloudtrail.LookupEventsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -699,12 +2481,16 @@ func (_m *MockFakeCloudtrail) ListPublicKeysPagesWithContext(_a0 context.Context return r0 } -// ListPublicKeysRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListPublicKeysRequest(_a0 *cloudtrail.ListPublicKeysInput) (*request.Request, *cloudtrail.ListPublicKeysOutput) { +// LookupEventsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) LookupEventsRequest(_a0 *cloudtrail.LookupEventsInput) (*request.Request, *cloudtrail.LookupEventsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.ListPublicKeysInput) *request.Request); ok { + var r1 *cloudtrail.LookupEventsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) (*request.Request, *cloudtrail.LookupEventsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -712,20 +2498,19 @@ func (_m *MockFakeCloudtrail) ListPublicKeysRequest(_a0 *cloudtrail.ListPublicKe } } - var r1 *cloudtrail.ListPublicKeysOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.ListPublicKeysInput) *cloudtrail.ListPublicKeysOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.LookupEventsInput) *cloudtrail.LookupEventsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.ListPublicKeysOutput) + r1 = ret.Get(1).(*cloudtrail.LookupEventsOutput) } } return r0, r1 } -// ListPublicKeysWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) ListPublicKeysWithContext(_a0 context.Context, _a1 *cloudtrail.ListPublicKeysInput, _a2 ...request.Option) (*cloudtrail.ListPublicKeysOutput, error) { +// LookupEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) LookupEventsWithContext(_a0 context.Context, _a1 *cloudtrail.LookupEventsInput, _a2 ...request.Option) (*cloudtrail.LookupEventsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -735,17 +2520,20 @@ func (_m *MockFakeCloudtrail) ListPublicKeysWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.ListPublicKeysOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...request.Option) *cloudtrail.ListPublicKeysOutput); ok { + var r0 *cloudtrail.LookupEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.LookupEventsInput, ...request.Option) (*cloudtrail.LookupEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.LookupEventsInput, ...request.Option) *cloudtrail.LookupEventsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListPublicKeysOutput) + r0 = ret.Get(0).(*cloudtrail.LookupEventsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.LookupEventsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -754,21 +2542,24 @@ func (_m *MockFakeCloudtrail) ListPublicKeysWithContext(_a0 context.Context, _a1 return r0, r1 } -// ListTags provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListTags(_a0 *cloudtrail.ListTagsInput) (*cloudtrail.ListTagsOutput, error) { +// PutEventSelectors provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) PutEventSelectors(_a0 *cloudtrail.PutEventSelectorsInput) (*cloudtrail.PutEventSelectorsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.ListTagsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) *cloudtrail.ListTagsOutput); ok { + var r0 *cloudtrail.PutEventSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) (*cloudtrail.PutEventSelectorsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) *cloudtrail.PutEventSelectorsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListTagsOutput) + r0 = ret.Get(0).(*cloudtrail.PutEventSelectorsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.ListTagsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.PutEventSelectorsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -777,47 +2568,103 @@ func (_m *MockFakeCloudtrail) ListTags(_a0 *cloudtrail.ListTagsInput) (*cloudtra return r0, r1 } -// ListTagsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeCloudtrail) ListTagsPages(_a0 *cloudtrail.ListTagsInput, _a1 func(*cloudtrail.ListTagsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// PutEventSelectorsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) PutEventSelectorsRequest(_a0 *cloudtrail.PutEventSelectorsInput) (*request.Request, *cloudtrail.PutEventSelectorsOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput, func(*cloudtrail.ListTagsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + var r0 *request.Request + var r1 *cloudtrail.PutEventSelectorsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) (*request.Request, *cloudtrail.PutEventSelectorsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudtrail.PutEventSelectorsInput) *cloudtrail.PutEventSelectorsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.PutEventSelectorsOutput) + } + } + + return r0, r1 } -// ListTagsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeCloudtrail) ListTagsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListTagsInput, _a2 func(*cloudtrail.ListTagsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// PutEventSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) PutEventSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.PutEventSelectorsInput, _a2 ...request.Option) (*cloudtrail.PutEventSelectorsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _a0, _a1) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTagsInput, func(*cloudtrail.ListTagsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *cloudtrail.PutEventSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...request.Option) (*cloudtrail.PutEventSelectorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...request.Option) *cloudtrail.PutEventSelectorsOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.PutEventSelectorsOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// ListTagsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListTagsRequest(_a0 *cloudtrail.ListTagsInput) (*request.Request, *cloudtrail.ListTagsOutput) { +// PutInsightSelectors provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) PutInsightSelectors(_a0 *cloudtrail.PutInsightSelectorsInput) (*cloudtrail.PutInsightSelectorsOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.PutInsightSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) (*cloudtrail.PutInsightSelectorsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) *cloudtrail.PutInsightSelectorsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.PutInsightSelectorsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.PutInsightSelectorsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutInsightSelectorsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) PutInsightSelectorsRequest(_a0 *cloudtrail.PutInsightSelectorsInput) (*request.Request, *cloudtrail.PutInsightSelectorsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTagsInput) *request.Request); ok { + var r1 *cloudtrail.PutInsightSelectorsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) (*request.Request, *cloudtrail.PutInsightSelectorsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -825,20 +2672,19 @@ func (_m *MockFakeCloudtrail) ListTagsRequest(_a0 *cloudtrail.ListTagsInput) (*r } } - var r1 *cloudtrail.ListTagsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.ListTagsInput) *cloudtrail.ListTagsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.PutInsightSelectorsInput) *cloudtrail.PutInsightSelectorsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.ListTagsOutput) + r1 = ret.Get(1).(*cloudtrail.PutInsightSelectorsOutput) } } return r0, r1 } -// ListTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) ListTagsWithContext(_a0 context.Context, _a1 *cloudtrail.ListTagsInput, _a2 ...request.Option) (*cloudtrail.ListTagsOutput, error) { +// PutInsightSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) PutInsightSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.PutInsightSelectorsInput, _a2 ...request.Option) (*cloudtrail.PutInsightSelectorsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -848,17 +2694,20 @@ func (_m *MockFakeCloudtrail) ListTagsWithContext(_a0 context.Context, _a1 *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.ListTagsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTagsInput, ...request.Option) *cloudtrail.ListTagsOutput); ok { + var r0 *cloudtrail.PutInsightSelectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...request.Option) (*cloudtrail.PutInsightSelectorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...request.Option) *cloudtrail.PutInsightSelectorsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListTagsOutput) + r0 = ret.Get(0).(*cloudtrail.PutInsightSelectorsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListTagsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -867,21 +2716,24 @@ func (_m *MockFakeCloudtrail) ListTagsWithContext(_a0 context.Context, _a1 *clou return r0, r1 } -// ListTrails provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListTrails(_a0 *cloudtrail.ListTrailsInput) (*cloudtrail.ListTrailsOutput, error) { +// RemoveTags provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) RemoveTags(_a0 *cloudtrail.RemoveTagsInput) (*cloudtrail.RemoveTagsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.ListTrailsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) *cloudtrail.ListTrailsOutput); ok { + var r0 *cloudtrail.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) (*cloudtrail.RemoveTagsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) *cloudtrail.RemoveTagsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListTrailsOutput) + r0 = ret.Get(0).(*cloudtrail.RemoveTagsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.ListTrailsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.RemoveTagsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -890,47 +2742,103 @@ func (_m *MockFakeCloudtrail) ListTrails(_a0 *cloudtrail.ListTrailsInput) (*clou return r0, r1 } -// ListTrailsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeCloudtrail) ListTrailsPages(_a0 *cloudtrail.ListTrailsInput, _a1 func(*cloudtrail.ListTrailsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// RemoveTagsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) RemoveTagsRequest(_a0 *cloudtrail.RemoveTagsInput) (*request.Request, *cloudtrail.RemoveTagsOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput, func(*cloudtrail.ListTrailsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + var r0 *request.Request + var r1 *cloudtrail.RemoveTagsOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) (*request.Request, *cloudtrail.RemoveTagsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudtrail.RemoveTagsInput) *cloudtrail.RemoveTagsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudtrail.RemoveTagsOutput) + } + } + + return r0, r1 } -// ListTrailsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeCloudtrail) ListTrailsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.ListTrailsInput, _a2 func(*cloudtrail.ListTrailsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// RemoveTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) RemoveTagsWithContext(_a0 context.Context, _a1 *cloudtrail.RemoveTagsInput, _a2 ...request.Option) (*cloudtrail.RemoveTagsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _a0, _a1) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTrailsInput, func(*cloudtrail.ListTrailsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *cloudtrail.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RemoveTagsInput, ...request.Option) (*cloudtrail.RemoveTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RemoveTagsInput, ...request.Option) *cloudtrail.RemoveTagsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.RemoveTagsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.RemoveTagsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RestoreEventDataStore provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) RestoreEventDataStore(_a0 *cloudtrail.RestoreEventDataStoreInput) (*cloudtrail.RestoreEventDataStoreOutput, error) { + ret := _m.Called(_a0) + + var r0 *cloudtrail.RestoreEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.RestoreEventDataStoreInput) (*cloudtrail.RestoreEventDataStoreOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.RestoreEventDataStoreInput) *cloudtrail.RestoreEventDataStoreOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudtrail.RestoreEventDataStoreOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudtrail.RestoreEventDataStoreInput) error); ok { + r1 = rf(_a0) } else { - r0 = ret.Error(0) + r1 = ret.Error(1) } - return r0 + return r0, r1 } -// ListTrailsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) ListTrailsRequest(_a0 *cloudtrail.ListTrailsInput) (*request.Request, *cloudtrail.ListTrailsOutput) { +// RestoreEventDataStoreRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) RestoreEventDataStoreRequest(_a0 *cloudtrail.RestoreEventDataStoreInput) (*request.Request, *cloudtrail.RestoreEventDataStoreOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.ListTrailsInput) *request.Request); ok { + var r1 *cloudtrail.RestoreEventDataStoreOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.RestoreEventDataStoreInput) (*request.Request, *cloudtrail.RestoreEventDataStoreOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.RestoreEventDataStoreInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -938,20 +2846,19 @@ func (_m *MockFakeCloudtrail) ListTrailsRequest(_a0 *cloudtrail.ListTrailsInput) } } - var r1 *cloudtrail.ListTrailsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.ListTrailsInput) *cloudtrail.ListTrailsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.RestoreEventDataStoreInput) *cloudtrail.RestoreEventDataStoreOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.ListTrailsOutput) + r1 = ret.Get(1).(*cloudtrail.RestoreEventDataStoreOutput) } } return r0, r1 } -// ListTrailsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) ListTrailsWithContext(_a0 context.Context, _a1 *cloudtrail.ListTrailsInput, _a2 ...request.Option) (*cloudtrail.ListTrailsOutput, error) { +// RestoreEventDataStoreWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) RestoreEventDataStoreWithContext(_a0 context.Context, _a1 *cloudtrail.RestoreEventDataStoreInput, _a2 ...request.Option) (*cloudtrail.RestoreEventDataStoreOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -961,17 +2868,20 @@ func (_m *MockFakeCloudtrail) ListTrailsWithContext(_a0 context.Context, _a1 *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.ListTrailsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTrailsInput, ...request.Option) *cloudtrail.ListTrailsOutput); ok { + var r0 *cloudtrail.RestoreEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RestoreEventDataStoreInput, ...request.Option) (*cloudtrail.RestoreEventDataStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RestoreEventDataStoreInput, ...request.Option) *cloudtrail.RestoreEventDataStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.ListTrailsOutput) + r0 = ret.Get(0).(*cloudtrail.RestoreEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.ListTrailsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.RestoreEventDataStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -980,21 +2890,24 @@ func (_m *MockFakeCloudtrail) ListTrailsWithContext(_a0 context.Context, _a1 *cl return r0, r1 } -// LookupEvents provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) LookupEvents(_a0 *cloudtrail.LookupEventsInput) (*cloudtrail.LookupEventsOutput, error) { +// StartImport provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartImport(_a0 *cloudtrail.StartImportInput) (*cloudtrail.StartImportOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.LookupEventsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) *cloudtrail.LookupEventsOutput); ok { + var r0 *cloudtrail.StartImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.StartImportInput) (*cloudtrail.StartImportOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartImportInput) *cloudtrail.StartImportOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.LookupEventsOutput) + r0 = ret.Get(0).(*cloudtrail.StartImportOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.LookupEventsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartImportInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1003,47 +2916,16 @@ func (_m *MockFakeCloudtrail) LookupEvents(_a0 *cloudtrail.LookupEventsInput) (* return r0, r1 } -// LookupEventsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeCloudtrail) LookupEventsPages(_a0 *cloudtrail.LookupEventsInput, _a1 func(*cloudtrail.LookupEventsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput, func(*cloudtrail.LookupEventsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// LookupEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeCloudtrail) LookupEventsPagesWithContext(_a0 context.Context, _a1 *cloudtrail.LookupEventsInput, _a2 func(*cloudtrail.LookupEventsOutput, bool) bool, _a3 ...request.Option) error { - _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, *cloudtrail.LookupEventsInput, func(*cloudtrail.LookupEventsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// LookupEventsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) LookupEventsRequest(_a0 *cloudtrail.LookupEventsInput) (*request.Request, *cloudtrail.LookupEventsOutput) { +// StartImportRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartImportRequest(_a0 *cloudtrail.StartImportInput) (*request.Request, *cloudtrail.StartImportOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.LookupEventsInput) *request.Request); ok { + var r1 *cloudtrail.StartImportOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.StartImportInput) (*request.Request, *cloudtrail.StartImportOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartImportInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1051,20 +2933,19 @@ func (_m *MockFakeCloudtrail) LookupEventsRequest(_a0 *cloudtrail.LookupEventsIn } } - var r1 *cloudtrail.LookupEventsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.LookupEventsInput) *cloudtrail.LookupEventsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartImportInput) *cloudtrail.StartImportOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.LookupEventsOutput) + r1 = ret.Get(1).(*cloudtrail.StartImportOutput) } } return r0, r1 } -// LookupEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) LookupEventsWithContext(_a0 context.Context, _a1 *cloudtrail.LookupEventsInput, _a2 ...request.Option) (*cloudtrail.LookupEventsOutput, error) { +// StartImportWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) StartImportWithContext(_a0 context.Context, _a1 *cloudtrail.StartImportInput, _a2 ...request.Option) (*cloudtrail.StartImportOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1074,17 +2955,20 @@ func (_m *MockFakeCloudtrail) LookupEventsWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.LookupEventsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.LookupEventsInput, ...request.Option) *cloudtrail.LookupEventsOutput); ok { + var r0 *cloudtrail.StartImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartImportInput, ...request.Option) (*cloudtrail.StartImportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartImportInput, ...request.Option) *cloudtrail.StartImportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.LookupEventsOutput) + r0 = ret.Get(0).(*cloudtrail.StartImportOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.LookupEventsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StartImportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1093,21 +2977,24 @@ func (_m *MockFakeCloudtrail) LookupEventsWithContext(_a0 context.Context, _a1 * return r0, r1 } -// PutEventSelectors provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) PutEventSelectors(_a0 *cloudtrail.PutEventSelectorsInput) (*cloudtrail.PutEventSelectorsOutput, error) { +// StartLogging provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartLogging(_a0 *cloudtrail.StartLoggingInput) (*cloudtrail.StartLoggingOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.PutEventSelectorsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) *cloudtrail.PutEventSelectorsOutput); ok { + var r0 *cloudtrail.StartLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) (*cloudtrail.StartLoggingOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) *cloudtrail.StartLoggingOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.PutEventSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.StartLoggingOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.PutEventSelectorsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartLoggingInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1116,12 +3003,16 @@ func (_m *MockFakeCloudtrail) PutEventSelectors(_a0 *cloudtrail.PutEventSelector return r0, r1 } -// PutEventSelectorsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) PutEventSelectorsRequest(_a0 *cloudtrail.PutEventSelectorsInput) (*request.Request, *cloudtrail.PutEventSelectorsOutput) { +// StartLoggingRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartLoggingRequest(_a0 *cloudtrail.StartLoggingInput) (*request.Request, *cloudtrail.StartLoggingOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.PutEventSelectorsInput) *request.Request); ok { + var r1 *cloudtrail.StartLoggingOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) (*request.Request, *cloudtrail.StartLoggingOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1129,20 +3020,19 @@ func (_m *MockFakeCloudtrail) PutEventSelectorsRequest(_a0 *cloudtrail.PutEventS } } - var r1 *cloudtrail.PutEventSelectorsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.PutEventSelectorsInput) *cloudtrail.PutEventSelectorsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartLoggingInput) *cloudtrail.StartLoggingOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.PutEventSelectorsOutput) + r1 = ret.Get(1).(*cloudtrail.StartLoggingOutput) } } return r0, r1 } -// PutEventSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) PutEventSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.PutEventSelectorsInput, _a2 ...request.Option) (*cloudtrail.PutEventSelectorsOutput, error) { +// StartLoggingWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) StartLoggingWithContext(_a0 context.Context, _a1 *cloudtrail.StartLoggingInput, _a2 ...request.Option) (*cloudtrail.StartLoggingOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1152,17 +3042,20 @@ func (_m *MockFakeCloudtrail) PutEventSelectorsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.PutEventSelectorsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...request.Option) *cloudtrail.PutEventSelectorsOutput); ok { + var r0 *cloudtrail.StartLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartLoggingInput, ...request.Option) (*cloudtrail.StartLoggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartLoggingInput, ...request.Option) *cloudtrail.StartLoggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.PutEventSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.StartLoggingOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StartLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1171,21 +3064,24 @@ func (_m *MockFakeCloudtrail) PutEventSelectorsWithContext(_a0 context.Context, return r0, r1 } -// PutInsightSelectors provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) PutInsightSelectors(_a0 *cloudtrail.PutInsightSelectorsInput) (*cloudtrail.PutInsightSelectorsOutput, error) { +// StartQuery provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartQuery(_a0 *cloudtrail.StartQueryInput) (*cloudtrail.StartQueryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.PutInsightSelectorsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) *cloudtrail.PutInsightSelectorsOutput); ok { + var r0 *cloudtrail.StartQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.StartQueryInput) (*cloudtrail.StartQueryOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartQueryInput) *cloudtrail.StartQueryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.PutInsightSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.StartQueryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.PutInsightSelectorsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartQueryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1194,12 +3090,16 @@ func (_m *MockFakeCloudtrail) PutInsightSelectors(_a0 *cloudtrail.PutInsightSele return r0, r1 } -// PutInsightSelectorsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) PutInsightSelectorsRequest(_a0 *cloudtrail.PutInsightSelectorsInput) (*request.Request, *cloudtrail.PutInsightSelectorsOutput) { +// StartQueryRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StartQueryRequest(_a0 *cloudtrail.StartQueryInput) (*request.Request, *cloudtrail.StartQueryOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.PutInsightSelectorsInput) *request.Request); ok { + var r1 *cloudtrail.StartQueryOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.StartQueryInput) (*request.Request, *cloudtrail.StartQueryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StartQueryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1207,20 +3107,19 @@ func (_m *MockFakeCloudtrail) PutInsightSelectorsRequest(_a0 *cloudtrail.PutInsi } } - var r1 *cloudtrail.PutInsightSelectorsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.PutInsightSelectorsInput) *cloudtrail.PutInsightSelectorsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StartQueryInput) *cloudtrail.StartQueryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.PutInsightSelectorsOutput) + r1 = ret.Get(1).(*cloudtrail.StartQueryOutput) } } return r0, r1 } -// PutInsightSelectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) PutInsightSelectorsWithContext(_a0 context.Context, _a1 *cloudtrail.PutInsightSelectorsInput, _a2 ...request.Option) (*cloudtrail.PutInsightSelectorsOutput, error) { +// StartQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) StartQueryWithContext(_a0 context.Context, _a1 *cloudtrail.StartQueryInput, _a2 ...request.Option) (*cloudtrail.StartQueryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1230,17 +3129,20 @@ func (_m *MockFakeCloudtrail) PutInsightSelectorsWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.PutInsightSelectorsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...request.Option) *cloudtrail.PutInsightSelectorsOutput); ok { + var r0 *cloudtrail.StartQueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartQueryInput, ...request.Option) (*cloudtrail.StartQueryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartQueryInput, ...request.Option) *cloudtrail.StartQueryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.PutInsightSelectorsOutput) + r0 = ret.Get(0).(*cloudtrail.StartQueryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StartQueryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1249,21 +3151,24 @@ func (_m *MockFakeCloudtrail) PutInsightSelectorsWithContext(_a0 context.Context return r0, r1 } -// RemoveTags provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) RemoveTags(_a0 *cloudtrail.RemoveTagsInput) (*cloudtrail.RemoveTagsOutput, error) { +// StopImport provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StopImport(_a0 *cloudtrail.StopImportInput) (*cloudtrail.StopImportOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.RemoveTagsOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) *cloudtrail.RemoveTagsOutput); ok { + var r0 *cloudtrail.StopImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.StopImportInput) (*cloudtrail.StopImportOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StopImportInput) *cloudtrail.StopImportOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.RemoveTagsOutput) + r0 = ret.Get(0).(*cloudtrail.StopImportOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.RemoveTagsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StopImportInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1272,12 +3177,16 @@ func (_m *MockFakeCloudtrail) RemoveTags(_a0 *cloudtrail.RemoveTagsInput) (*clou return r0, r1 } -// RemoveTagsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) RemoveTagsRequest(_a0 *cloudtrail.RemoveTagsInput) (*request.Request, *cloudtrail.RemoveTagsOutput) { +// StopImportRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StopImportRequest(_a0 *cloudtrail.StopImportInput) (*request.Request, *cloudtrail.StopImportOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.RemoveTagsInput) *request.Request); ok { + var r1 *cloudtrail.StopImportOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.StopImportInput) (*request.Request, *cloudtrail.StopImportOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StopImportInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1285,20 +3194,19 @@ func (_m *MockFakeCloudtrail) RemoveTagsRequest(_a0 *cloudtrail.RemoveTagsInput) } } - var r1 *cloudtrail.RemoveTagsOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.RemoveTagsInput) *cloudtrail.RemoveTagsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StopImportInput) *cloudtrail.StopImportOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.RemoveTagsOutput) + r1 = ret.Get(1).(*cloudtrail.StopImportOutput) } } return r0, r1 } -// RemoveTagsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) RemoveTagsWithContext(_a0 context.Context, _a1 *cloudtrail.RemoveTagsInput, _a2 ...request.Option) (*cloudtrail.RemoveTagsOutput, error) { +// StopImportWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) StopImportWithContext(_a0 context.Context, _a1 *cloudtrail.StopImportInput, _a2 ...request.Option) (*cloudtrail.StopImportOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1308,17 +3216,20 @@ func (_m *MockFakeCloudtrail) RemoveTagsWithContext(_a0 context.Context, _a1 *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.RemoveTagsOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RemoveTagsInput, ...request.Option) *cloudtrail.RemoveTagsOutput); ok { + var r0 *cloudtrail.StopImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopImportInput, ...request.Option) (*cloudtrail.StopImportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopImportInput, ...request.Option) *cloudtrail.StopImportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.RemoveTagsOutput) + r0 = ret.Get(0).(*cloudtrail.StopImportOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.RemoveTagsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StopImportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1327,21 +3238,24 @@ func (_m *MockFakeCloudtrail) RemoveTagsWithContext(_a0 context.Context, _a1 *cl return r0, r1 } -// StartLogging provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) StartLogging(_a0 *cloudtrail.StartLoggingInput) (*cloudtrail.StartLoggingOutput, error) { +// StopLogging provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StopLogging(_a0 *cloudtrail.StopLoggingInput) (*cloudtrail.StopLoggingOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.StartLoggingOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) *cloudtrail.StartLoggingOutput); ok { + var r0 *cloudtrail.StopLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) (*cloudtrail.StopLoggingOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) *cloudtrail.StopLoggingOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.StartLoggingOutput) + r0 = ret.Get(0).(*cloudtrail.StopLoggingOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.StartLoggingInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StopLoggingInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1350,12 +3264,16 @@ func (_m *MockFakeCloudtrail) StartLogging(_a0 *cloudtrail.StartLoggingInput) (* return r0, r1 } -// StartLoggingRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) StartLoggingRequest(_a0 *cloudtrail.StartLoggingInput) (*request.Request, *cloudtrail.StartLoggingOutput) { +// StopLoggingRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) StopLoggingRequest(_a0 *cloudtrail.StopLoggingInput) (*request.Request, *cloudtrail.StopLoggingOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.StartLoggingInput) *request.Request); ok { + var r1 *cloudtrail.StopLoggingOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) (*request.Request, *cloudtrail.StopLoggingOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1363,20 +3281,19 @@ func (_m *MockFakeCloudtrail) StartLoggingRequest(_a0 *cloudtrail.StartLoggingIn } } - var r1 *cloudtrail.StartLoggingOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.StartLoggingInput) *cloudtrail.StartLoggingOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.StopLoggingInput) *cloudtrail.StopLoggingOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.StartLoggingOutput) + r1 = ret.Get(1).(*cloudtrail.StopLoggingOutput) } } return r0, r1 } -// StartLoggingWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) StartLoggingWithContext(_a0 context.Context, _a1 *cloudtrail.StartLoggingInput, _a2 ...request.Option) (*cloudtrail.StartLoggingOutput, error) { +// StopLoggingWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) StopLoggingWithContext(_a0 context.Context, _a1 *cloudtrail.StopLoggingInput, _a2 ...request.Option) (*cloudtrail.StopLoggingOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1386,17 +3303,20 @@ func (_m *MockFakeCloudtrail) StartLoggingWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.StartLoggingOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartLoggingInput, ...request.Option) *cloudtrail.StartLoggingOutput); ok { + var r0 *cloudtrail.StopLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopLoggingInput, ...request.Option) (*cloudtrail.StopLoggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopLoggingInput, ...request.Option) *cloudtrail.StopLoggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.StartLoggingOutput) + r0 = ret.Get(0).(*cloudtrail.StopLoggingOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StartLoggingInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StopLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1405,21 +3325,24 @@ func (_m *MockFakeCloudtrail) StartLoggingWithContext(_a0 context.Context, _a1 * return r0, r1 } -// StopLogging provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) StopLogging(_a0 *cloudtrail.StopLoggingInput) (*cloudtrail.StopLoggingOutput, error) { +// UpdateEventDataStore provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) UpdateEventDataStore(_a0 *cloudtrail.UpdateEventDataStoreInput) (*cloudtrail.UpdateEventDataStoreOutput, error) { ret := _m.Called(_a0) - var r0 *cloudtrail.StopLoggingOutput - if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) *cloudtrail.StopLoggingOutput); ok { + var r0 *cloudtrail.UpdateEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateEventDataStoreInput) (*cloudtrail.UpdateEventDataStoreOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateEventDataStoreInput) *cloudtrail.UpdateEventDataStoreOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.StopLoggingOutput) + r0 = ret.Get(0).(*cloudtrail.UpdateEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*cloudtrail.StopLoggingInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.UpdateEventDataStoreInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1428,12 +3351,16 @@ func (_m *MockFakeCloudtrail) StopLogging(_a0 *cloudtrail.StopLoggingInput) (*cl return r0, r1 } -// StopLoggingRequest provides a mock function with given fields: _a0 -func (_m *MockFakeCloudtrail) StopLoggingRequest(_a0 *cloudtrail.StopLoggingInput) (*request.Request, *cloudtrail.StopLoggingOutput) { +// UpdateEventDataStoreRequest provides a mock function with given fields: _a0 +func (_m *MockFakeCloudtrail) UpdateEventDataStoreRequest(_a0 *cloudtrail.UpdateEventDataStoreInput) (*request.Request, *cloudtrail.UpdateEventDataStoreOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*cloudtrail.StopLoggingInput) *request.Request); ok { + var r1 *cloudtrail.UpdateEventDataStoreOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateEventDataStoreInput) (*request.Request, *cloudtrail.UpdateEventDataStoreOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateEventDataStoreInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1441,20 +3368,19 @@ func (_m *MockFakeCloudtrail) StopLoggingRequest(_a0 *cloudtrail.StopLoggingInpu } } - var r1 *cloudtrail.StopLoggingOutput - if rf, ok := ret.Get(1).(func(*cloudtrail.StopLoggingInput) *cloudtrail.StopLoggingOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudtrail.UpdateEventDataStoreInput) *cloudtrail.UpdateEventDataStoreOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudtrail.StopLoggingOutput) + r1 = ret.Get(1).(*cloudtrail.UpdateEventDataStoreOutput) } } return r0, r1 } -// StopLoggingWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeCloudtrail) StopLoggingWithContext(_a0 context.Context, _a1 *cloudtrail.StopLoggingInput, _a2 ...request.Option) (*cloudtrail.StopLoggingOutput, error) { +// UpdateEventDataStoreWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeCloudtrail) UpdateEventDataStoreWithContext(_a0 context.Context, _a1 *cloudtrail.UpdateEventDataStoreInput, _a2 ...request.Option) (*cloudtrail.UpdateEventDataStoreOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1464,17 +3390,20 @@ func (_m *MockFakeCloudtrail) StopLoggingWithContext(_a0 context.Context, _a1 *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudtrail.StopLoggingOutput - if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopLoggingInput, ...request.Option) *cloudtrail.StopLoggingOutput); ok { + var r0 *cloudtrail.UpdateEventDataStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateEventDataStoreInput, ...request.Option) (*cloudtrail.UpdateEventDataStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateEventDataStoreInput, ...request.Option) *cloudtrail.UpdateEventDataStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudtrail.StopLoggingOutput) + r0 = ret.Get(0).(*cloudtrail.UpdateEventDataStoreOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.StopLoggingInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.UpdateEventDataStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1488,6 +3417,10 @@ func (_m *MockFakeCloudtrail) UpdateTrail(_a0 *cloudtrail.UpdateTrailInput) (*cl ret := _m.Called(_a0) var r0 *cloudtrail.UpdateTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateTrailInput) (*cloudtrail.UpdateTrailOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateTrailInput) *cloudtrail.UpdateTrailOutput); ok { r0 = rf(_a0) } else { @@ -1496,7 +3429,6 @@ func (_m *MockFakeCloudtrail) UpdateTrail(_a0 *cloudtrail.UpdateTrailInput) (*cl } } - var r1 error if rf, ok := ret.Get(1).(func(*cloudtrail.UpdateTrailInput) error); ok { r1 = rf(_a0) } else { @@ -1511,6 +3443,10 @@ func (_m *MockFakeCloudtrail) UpdateTrailRequest(_a0 *cloudtrail.UpdateTrailInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *cloudtrail.UpdateTrailOutput + if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateTrailInput) (*request.Request, *cloudtrail.UpdateTrailOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*cloudtrail.UpdateTrailInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1519,7 +3455,6 @@ func (_m *MockFakeCloudtrail) UpdateTrailRequest(_a0 *cloudtrail.UpdateTrailInpu } } - var r1 *cloudtrail.UpdateTrailOutput if rf, ok := ret.Get(1).(func(*cloudtrail.UpdateTrailInput) *cloudtrail.UpdateTrailOutput); ok { r1 = rf(_a0) } else { @@ -1543,6 +3478,10 @@ func (_m *MockFakeCloudtrail) UpdateTrailWithContext(_a0 context.Context, _a1 *c ret := _m.Called(_ca...) var r0 *cloudtrail.UpdateTrailOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateTrailInput, ...request.Option) (*cloudtrail.UpdateTrailOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateTrailInput, ...request.Option) *cloudtrail.UpdateTrailOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1551,7 +3490,6 @@ func (_m *MockFakeCloudtrail) UpdateTrailWithContext(_a0 context.Context, _a1 *c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *cloudtrail.UpdateTrailInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { diff --git a/test/aws/mock_FakeDynamoDB.go b/test/aws/mock_FakeDynamoDB.go index ed51d1d49..d7fd59dcf 100644 --- a/test/aws/mock_FakeDynamoDB.go +++ b/test/aws/mock_FakeDynamoDB.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatement(_a0 *dynamodb.BatchExecuteStat ret := _m.Called(_a0) var r0 *dynamodb.BatchExecuteStatementOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.BatchExecuteStatementInput) (*dynamodb.BatchExecuteStatementOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchExecuteStatementInput) *dynamodb.BatchExecuteStatementOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatement(_a0 *dynamodb.BatchExecuteStat } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.BatchExecuteStatementInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatementRequest(_a0 *dynamodb.BatchExec ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.BatchExecuteStatementOutput + if rf, ok := ret.Get(0).(func(*dynamodb.BatchExecuteStatementInput) (*request.Request, *dynamodb.BatchExecuteStatementOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchExecuteStatementInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatementRequest(_a0 *dynamodb.BatchExec } } - var r1 *dynamodb.BatchExecuteStatementOutput if rf, ok := ret.Get(1).(func(*dynamodb.BatchExecuteStatementInput) *dynamodb.BatchExecuteStatementOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatementWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *dynamodb.BatchExecuteStatementOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchExecuteStatementInput, ...request.Option) (*dynamodb.BatchExecuteStatementOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchExecuteStatementInput, ...request.Option) *dynamodb.BatchExecuteStatementOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeDynamoDB) BatchExecuteStatementWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.BatchExecuteStatementInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeDynamoDB) BatchGetItem(_a0 *dynamodb.BatchGetItemInput) (*dyna ret := _m.Called(_a0) var r0 *dynamodb.BatchGetItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.BatchGetItemInput) (*dynamodb.BatchGetItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchGetItemInput) *dynamodb.BatchGetItemOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeDynamoDB) BatchGetItem(_a0 *dynamodb.BatchGetItemInput) (*dyna } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.BatchGetItemInput) error); ok { r1 = rf(_a0) } else { @@ -157,6 +169,10 @@ func (_m *MockFakeDynamoDB) BatchGetItemRequest(_a0 *dynamodb.BatchGetItemInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.BatchGetItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.BatchGetItemInput) (*request.Request, *dynamodb.BatchGetItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchGetItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -165,7 +181,6 @@ func (_m *MockFakeDynamoDB) BatchGetItemRequest(_a0 *dynamodb.BatchGetItemInput) } } - var r1 *dynamodb.BatchGetItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.BatchGetItemInput) *dynamodb.BatchGetItemOutput); ok { r1 = rf(_a0) } else { @@ -189,6 +204,10 @@ func (_m *MockFakeDynamoDB) BatchGetItemWithContext(_a0 context.Context, _a1 *dy ret := _m.Called(_ca...) var r0 *dynamodb.BatchGetItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchGetItemInput, ...request.Option) (*dynamodb.BatchGetItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchGetItemInput, ...request.Option) *dynamodb.BatchGetItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -197,7 +216,6 @@ func (_m *MockFakeDynamoDB) BatchGetItemWithContext(_a0 context.Context, _a1 *dy } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.BatchGetItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -212,6 +230,10 @@ func (_m *MockFakeDynamoDB) BatchWriteItem(_a0 *dynamodb.BatchWriteItemInput) (* ret := _m.Called(_a0) var r0 *dynamodb.BatchWriteItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.BatchWriteItemInput) (*dynamodb.BatchWriteItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchWriteItemInput) *dynamodb.BatchWriteItemOutput); ok { r0 = rf(_a0) } else { @@ -220,7 +242,6 @@ func (_m *MockFakeDynamoDB) BatchWriteItem(_a0 *dynamodb.BatchWriteItemInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.BatchWriteItemInput) error); ok { r1 = rf(_a0) } else { @@ -235,6 +256,10 @@ func (_m *MockFakeDynamoDB) BatchWriteItemRequest(_a0 *dynamodb.BatchWriteItemIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.BatchWriteItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.BatchWriteItemInput) (*request.Request, *dynamodb.BatchWriteItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.BatchWriteItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -243,7 +268,6 @@ func (_m *MockFakeDynamoDB) BatchWriteItemRequest(_a0 *dynamodb.BatchWriteItemIn } } - var r1 *dynamodb.BatchWriteItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.BatchWriteItemInput) *dynamodb.BatchWriteItemOutput); ok { r1 = rf(_a0) } else { @@ -267,6 +291,10 @@ func (_m *MockFakeDynamoDB) BatchWriteItemWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *dynamodb.BatchWriteItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchWriteItemInput, ...request.Option) (*dynamodb.BatchWriteItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.BatchWriteItemInput, ...request.Option) *dynamodb.BatchWriteItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -275,7 +303,6 @@ func (_m *MockFakeDynamoDB) BatchWriteItemWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.BatchWriteItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -290,6 +317,10 @@ func (_m *MockFakeDynamoDB) CreateBackup(_a0 *dynamodb.CreateBackupInput) (*dyna ret := _m.Called(_a0) var r0 *dynamodb.CreateBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.CreateBackupInput) (*dynamodb.CreateBackupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateBackupInput) *dynamodb.CreateBackupOutput); ok { r0 = rf(_a0) } else { @@ -298,7 +329,6 @@ func (_m *MockFakeDynamoDB) CreateBackup(_a0 *dynamodb.CreateBackupInput) (*dyna } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.CreateBackupInput) error); ok { r1 = rf(_a0) } else { @@ -313,6 +343,10 @@ func (_m *MockFakeDynamoDB) CreateBackupRequest(_a0 *dynamodb.CreateBackupInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.CreateBackupOutput + if rf, ok := ret.Get(0).(func(*dynamodb.CreateBackupInput) (*request.Request, *dynamodb.CreateBackupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateBackupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -321,7 +355,6 @@ func (_m *MockFakeDynamoDB) CreateBackupRequest(_a0 *dynamodb.CreateBackupInput) } } - var r1 *dynamodb.CreateBackupOutput if rf, ok := ret.Get(1).(func(*dynamodb.CreateBackupInput) *dynamodb.CreateBackupOutput); ok { r1 = rf(_a0) } else { @@ -345,6 +378,10 @@ func (_m *MockFakeDynamoDB) CreateBackupWithContext(_a0 context.Context, _a1 *dy ret := _m.Called(_ca...) var r0 *dynamodb.CreateBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateBackupInput, ...request.Option) (*dynamodb.CreateBackupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateBackupInput, ...request.Option) *dynamodb.CreateBackupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -353,7 +390,6 @@ func (_m *MockFakeDynamoDB) CreateBackupWithContext(_a0 context.Context, _a1 *dy } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.CreateBackupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -368,6 +404,10 @@ func (_m *MockFakeDynamoDB) CreateGlobalTable(_a0 *dynamodb.CreateGlobalTableInp ret := _m.Called(_a0) var r0 *dynamodb.CreateGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.CreateGlobalTableInput) (*dynamodb.CreateGlobalTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateGlobalTableInput) *dynamodb.CreateGlobalTableOutput); ok { r0 = rf(_a0) } else { @@ -376,7 +416,6 @@ func (_m *MockFakeDynamoDB) CreateGlobalTable(_a0 *dynamodb.CreateGlobalTableInp } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.CreateGlobalTableInput) error); ok { r1 = rf(_a0) } else { @@ -391,6 +430,10 @@ func (_m *MockFakeDynamoDB) CreateGlobalTableRequest(_a0 *dynamodb.CreateGlobalT ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.CreateGlobalTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.CreateGlobalTableInput) (*request.Request, *dynamodb.CreateGlobalTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateGlobalTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -399,7 +442,6 @@ func (_m *MockFakeDynamoDB) CreateGlobalTableRequest(_a0 *dynamodb.CreateGlobalT } } - var r1 *dynamodb.CreateGlobalTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.CreateGlobalTableInput) *dynamodb.CreateGlobalTableOutput); ok { r1 = rf(_a0) } else { @@ -423,6 +465,10 @@ func (_m *MockFakeDynamoDB) CreateGlobalTableWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *dynamodb.CreateGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateGlobalTableInput, ...request.Option) (*dynamodb.CreateGlobalTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateGlobalTableInput, ...request.Option) *dynamodb.CreateGlobalTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -431,7 +477,6 @@ func (_m *MockFakeDynamoDB) CreateGlobalTableWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.CreateGlobalTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -446,6 +491,10 @@ func (_m *MockFakeDynamoDB) CreateTable(_a0 *dynamodb.CreateTableInput) (*dynamo ret := _m.Called(_a0) var r0 *dynamodb.CreateTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.CreateTableInput) (*dynamodb.CreateTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateTableInput) *dynamodb.CreateTableOutput); ok { r0 = rf(_a0) } else { @@ -454,7 +503,6 @@ func (_m *MockFakeDynamoDB) CreateTable(_a0 *dynamodb.CreateTableInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.CreateTableInput) error); ok { r1 = rf(_a0) } else { @@ -469,6 +517,10 @@ func (_m *MockFakeDynamoDB) CreateTableRequest(_a0 *dynamodb.CreateTableInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.CreateTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.CreateTableInput) (*request.Request, *dynamodb.CreateTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.CreateTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -477,7 +529,6 @@ func (_m *MockFakeDynamoDB) CreateTableRequest(_a0 *dynamodb.CreateTableInput) ( } } - var r1 *dynamodb.CreateTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.CreateTableInput) *dynamodb.CreateTableOutput); ok { r1 = rf(_a0) } else { @@ -501,6 +552,10 @@ func (_m *MockFakeDynamoDB) CreateTableWithContext(_a0 context.Context, _a1 *dyn ret := _m.Called(_ca...) var r0 *dynamodb.CreateTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateTableInput, ...request.Option) (*dynamodb.CreateTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.CreateTableInput, ...request.Option) *dynamodb.CreateTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -509,7 +564,6 @@ func (_m *MockFakeDynamoDB) CreateTableWithContext(_a0 context.Context, _a1 *dyn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.CreateTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -524,6 +578,10 @@ func (_m *MockFakeDynamoDB) DeleteBackup(_a0 *dynamodb.DeleteBackupInput) (*dyna ret := _m.Called(_a0) var r0 *dynamodb.DeleteBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteBackupInput) (*dynamodb.DeleteBackupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteBackupInput) *dynamodb.DeleteBackupOutput); ok { r0 = rf(_a0) } else { @@ -532,7 +590,6 @@ func (_m *MockFakeDynamoDB) DeleteBackup(_a0 *dynamodb.DeleteBackupInput) (*dyna } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DeleteBackupInput) error); ok { r1 = rf(_a0) } else { @@ -547,6 +604,10 @@ func (_m *MockFakeDynamoDB) DeleteBackupRequest(_a0 *dynamodb.DeleteBackupInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DeleteBackupOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteBackupInput) (*request.Request, *dynamodb.DeleteBackupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteBackupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -555,7 +616,6 @@ func (_m *MockFakeDynamoDB) DeleteBackupRequest(_a0 *dynamodb.DeleteBackupInput) } } - var r1 *dynamodb.DeleteBackupOutput if rf, ok := ret.Get(1).(func(*dynamodb.DeleteBackupInput) *dynamodb.DeleteBackupOutput); ok { r1 = rf(_a0) } else { @@ -579,6 +639,10 @@ func (_m *MockFakeDynamoDB) DeleteBackupWithContext(_a0 context.Context, _a1 *dy ret := _m.Called(_ca...) var r0 *dynamodb.DeleteBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteBackupInput, ...request.Option) (*dynamodb.DeleteBackupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteBackupInput, ...request.Option) *dynamodb.DeleteBackupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -587,7 +651,6 @@ func (_m *MockFakeDynamoDB) DeleteBackupWithContext(_a0 context.Context, _a1 *dy } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DeleteBackupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -602,6 +665,10 @@ func (_m *MockFakeDynamoDB) DeleteItem(_a0 *dynamodb.DeleteItemInput) (*dynamodb ret := _m.Called(_a0) var r0 *dynamodb.DeleteItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteItemInput) *dynamodb.DeleteItemOutput); ok { r0 = rf(_a0) } else { @@ -610,7 +677,6 @@ func (_m *MockFakeDynamoDB) DeleteItem(_a0 *dynamodb.DeleteItemInput) (*dynamodb } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DeleteItemInput) error); ok { r1 = rf(_a0) } else { @@ -625,6 +691,10 @@ func (_m *MockFakeDynamoDB) DeleteItemRequest(_a0 *dynamodb.DeleteItemInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DeleteItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -633,7 +703,6 @@ func (_m *MockFakeDynamoDB) DeleteItemRequest(_a0 *dynamodb.DeleteItemInput) (*r } } - var r1 *dynamodb.DeleteItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.DeleteItemInput) *dynamodb.DeleteItemOutput); ok { r1 = rf(_a0) } else { @@ -657,6 +726,10 @@ func (_m *MockFakeDynamoDB) DeleteItemWithContext(_a0 context.Context, _a1 *dyna ret := _m.Called(_ca...) var r0 *dynamodb.DeleteItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteItemInput, ...request.Option) (*dynamodb.DeleteItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteItemInput, ...request.Option) *dynamodb.DeleteItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -665,7 +738,6 @@ func (_m *MockFakeDynamoDB) DeleteItemWithContext(_a0 context.Context, _a1 *dyna } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DeleteItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -680,6 +752,10 @@ func (_m *MockFakeDynamoDB) DeleteTable(_a0 *dynamodb.DeleteTableInput) (*dynamo ret := _m.Called(_a0) var r0 *dynamodb.DeleteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteTableInput) (*dynamodb.DeleteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteTableInput) *dynamodb.DeleteTableOutput); ok { r0 = rf(_a0) } else { @@ -688,7 +764,6 @@ func (_m *MockFakeDynamoDB) DeleteTable(_a0 *dynamodb.DeleteTableInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DeleteTableInput) error); ok { r1 = rf(_a0) } else { @@ -703,6 +778,10 @@ func (_m *MockFakeDynamoDB) DeleteTableRequest(_a0 *dynamodb.DeleteTableInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DeleteTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DeleteTableInput) (*request.Request, *dynamodb.DeleteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DeleteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -711,7 +790,6 @@ func (_m *MockFakeDynamoDB) DeleteTableRequest(_a0 *dynamodb.DeleteTableInput) ( } } - var r1 *dynamodb.DeleteTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.DeleteTableInput) *dynamodb.DeleteTableOutput); ok { r1 = rf(_a0) } else { @@ -735,6 +813,10 @@ func (_m *MockFakeDynamoDB) DeleteTableWithContext(_a0 context.Context, _a1 *dyn ret := _m.Called(_ca...) var r0 *dynamodb.DeleteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteTableInput, ...request.Option) (*dynamodb.DeleteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DeleteTableInput, ...request.Option) *dynamodb.DeleteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -743,7 +825,6 @@ func (_m *MockFakeDynamoDB) DeleteTableWithContext(_a0 context.Context, _a1 *dyn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DeleteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -758,6 +839,10 @@ func (_m *MockFakeDynamoDB) DescribeBackup(_a0 *dynamodb.DescribeBackupInput) (* ret := _m.Called(_a0) var r0 *dynamodb.DescribeBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeBackupInput) (*dynamodb.DescribeBackupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeBackupInput) *dynamodb.DescribeBackupOutput); ok { r0 = rf(_a0) } else { @@ -766,7 +851,6 @@ func (_m *MockFakeDynamoDB) DescribeBackup(_a0 *dynamodb.DescribeBackupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeBackupInput) error); ok { r1 = rf(_a0) } else { @@ -781,6 +865,10 @@ func (_m *MockFakeDynamoDB) DescribeBackupRequest(_a0 *dynamodb.DescribeBackupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeBackupOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeBackupInput) (*request.Request, *dynamodb.DescribeBackupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeBackupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -789,7 +877,6 @@ func (_m *MockFakeDynamoDB) DescribeBackupRequest(_a0 *dynamodb.DescribeBackupIn } } - var r1 *dynamodb.DescribeBackupOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeBackupInput) *dynamodb.DescribeBackupOutput); ok { r1 = rf(_a0) } else { @@ -813,6 +900,10 @@ func (_m *MockFakeDynamoDB) DescribeBackupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *dynamodb.DescribeBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeBackupInput, ...request.Option) (*dynamodb.DescribeBackupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeBackupInput, ...request.Option) *dynamodb.DescribeBackupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -821,7 +912,6 @@ func (_m *MockFakeDynamoDB) DescribeBackupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeBackupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -836,6 +926,10 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackups(_a0 *dynamodb.DescribeCont ret := _m.Called(_a0) var r0 *dynamodb.DescribeContinuousBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContinuousBackupsInput) (*dynamodb.DescribeContinuousBackupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContinuousBackupsInput) *dynamodb.DescribeContinuousBackupsOutput); ok { r0 = rf(_a0) } else { @@ -844,7 +938,6 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackups(_a0 *dynamodb.DescribeCont } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeContinuousBackupsInput) error); ok { r1 = rf(_a0) } else { @@ -859,6 +952,10 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackupsRequest(_a0 *dynamodb.Descr ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeContinuousBackupsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContinuousBackupsInput) (*request.Request, *dynamodb.DescribeContinuousBackupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContinuousBackupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -867,7 +964,6 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackupsRequest(_a0 *dynamodb.Descr } } - var r1 *dynamodb.DescribeContinuousBackupsOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeContinuousBackupsInput) *dynamodb.DescribeContinuousBackupsOutput); ok { r1 = rf(_a0) } else { @@ -891,6 +987,10 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackupsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *dynamodb.DescribeContinuousBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeContinuousBackupsInput, ...request.Option) (*dynamodb.DescribeContinuousBackupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeContinuousBackupsInput, ...request.Option) *dynamodb.DescribeContinuousBackupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -899,7 +999,6 @@ func (_m *MockFakeDynamoDB) DescribeContinuousBackupsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeContinuousBackupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -914,6 +1013,10 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsights(_a0 *dynamodb.DescribeCo ret := _m.Called(_a0) var r0 *dynamodb.DescribeContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContributorInsightsInput) (*dynamodb.DescribeContributorInsightsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContributorInsightsInput) *dynamodb.DescribeContributorInsightsOutput); ok { r0 = rf(_a0) } else { @@ -922,7 +1025,6 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsights(_a0 *dynamodb.DescribeCo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeContributorInsightsInput) error); ok { r1 = rf(_a0) } else { @@ -937,6 +1039,10 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsightsRequest(_a0 *dynamodb.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeContributorInsightsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContributorInsightsInput) (*request.Request, *dynamodb.DescribeContributorInsightsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeContributorInsightsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -945,7 +1051,6 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsightsRequest(_a0 *dynamodb.Des } } - var r1 *dynamodb.DescribeContributorInsightsOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeContributorInsightsInput) *dynamodb.DescribeContributorInsightsOutput); ok { r1 = rf(_a0) } else { @@ -969,6 +1074,10 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsightsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *dynamodb.DescribeContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeContributorInsightsInput, ...request.Option) (*dynamodb.DescribeContributorInsightsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeContributorInsightsInput, ...request.Option) *dynamodb.DescribeContributorInsightsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -977,7 +1086,6 @@ func (_m *MockFakeDynamoDB) DescribeContributorInsightsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeContributorInsightsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -992,6 +1100,10 @@ func (_m *MockFakeDynamoDB) DescribeEndpoints(_a0 *dynamodb.DescribeEndpointsInp ret := _m.Called(_a0) var r0 *dynamodb.DescribeEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeEndpointsInput) (*dynamodb.DescribeEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeEndpointsInput) *dynamodb.DescribeEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -1000,7 +1112,6 @@ func (_m *MockFakeDynamoDB) DescribeEndpoints(_a0 *dynamodb.DescribeEndpointsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -1015,6 +1126,10 @@ func (_m *MockFakeDynamoDB) DescribeEndpointsRequest(_a0 *dynamodb.DescribeEndpo ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeEndpointsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeEndpointsInput) (*request.Request, *dynamodb.DescribeEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1023,7 +1138,6 @@ func (_m *MockFakeDynamoDB) DescribeEndpointsRequest(_a0 *dynamodb.DescribeEndpo } } - var r1 *dynamodb.DescribeEndpointsOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeEndpointsInput) *dynamodb.DescribeEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -1047,6 +1161,10 @@ func (_m *MockFakeDynamoDB) DescribeEndpointsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *dynamodb.DescribeEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeEndpointsInput, ...request.Option) (*dynamodb.DescribeEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeEndpointsInput, ...request.Option) *dynamodb.DescribeEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1055,7 +1173,6 @@ func (_m *MockFakeDynamoDB) DescribeEndpointsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1070,6 +1187,10 @@ func (_m *MockFakeDynamoDB) DescribeExport(_a0 *dynamodb.DescribeExportInput) (* ret := _m.Called(_a0) var r0 *dynamodb.DescribeExportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeExportInput) (*dynamodb.DescribeExportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeExportInput) *dynamodb.DescribeExportOutput); ok { r0 = rf(_a0) } else { @@ -1078,7 +1199,6 @@ func (_m *MockFakeDynamoDB) DescribeExport(_a0 *dynamodb.DescribeExportInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeExportInput) error); ok { r1 = rf(_a0) } else { @@ -1093,6 +1213,10 @@ func (_m *MockFakeDynamoDB) DescribeExportRequest(_a0 *dynamodb.DescribeExportIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeExportOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeExportInput) (*request.Request, *dynamodb.DescribeExportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeExportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1101,7 +1225,6 @@ func (_m *MockFakeDynamoDB) DescribeExportRequest(_a0 *dynamodb.DescribeExportIn } } - var r1 *dynamodb.DescribeExportOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeExportInput) *dynamodb.DescribeExportOutput); ok { r1 = rf(_a0) } else { @@ -1125,6 +1248,10 @@ func (_m *MockFakeDynamoDB) DescribeExportWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *dynamodb.DescribeExportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeExportInput, ...request.Option) (*dynamodb.DescribeExportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeExportInput, ...request.Option) *dynamodb.DescribeExportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1133,7 +1260,6 @@ func (_m *MockFakeDynamoDB) DescribeExportWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeExportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1148,6 +1274,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTable(_a0 *dynamodb.DescribeGlobalTabl ret := _m.Called(_a0) var r0 *dynamodb.DescribeGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableInput) (*dynamodb.DescribeGlobalTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableInput) *dynamodb.DescribeGlobalTableOutput); ok { r0 = rf(_a0) } else { @@ -1156,7 +1286,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTable(_a0 *dynamodb.DescribeGlobalTabl } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeGlobalTableInput) error); ok { r1 = rf(_a0) } else { @@ -1171,6 +1300,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableRequest(_a0 *dynamodb.DescribeGlo ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeGlobalTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableInput) (*request.Request, *dynamodb.DescribeGlobalTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1179,7 +1312,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableRequest(_a0 *dynamodb.DescribeGlo } } - var r1 *dynamodb.DescribeGlobalTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeGlobalTableInput) *dynamodb.DescribeGlobalTableOutput); ok { r1 = rf(_a0) } else { @@ -1196,6 +1328,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettings(_a0 *dynamodb.DescribeGl ret := _m.Called(_a0) var r0 *dynamodb.DescribeGlobalTableSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableSettingsInput) (*dynamodb.DescribeGlobalTableSettingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableSettingsInput) *dynamodb.DescribeGlobalTableSettingsOutput); ok { r0 = rf(_a0) } else { @@ -1204,7 +1340,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettings(_a0 *dynamodb.DescribeGl } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeGlobalTableSettingsInput) error); ok { r1 = rf(_a0) } else { @@ -1219,6 +1354,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettingsRequest(_a0 *dynamodb.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeGlobalTableSettingsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableSettingsInput) (*request.Request, *dynamodb.DescribeGlobalTableSettingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeGlobalTableSettingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1227,7 +1366,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettingsRequest(_a0 *dynamodb.Des } } - var r1 *dynamodb.DescribeGlobalTableSettingsOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeGlobalTableSettingsInput) *dynamodb.DescribeGlobalTableSettingsOutput); ok { r1 = rf(_a0) } else { @@ -1251,6 +1389,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettingsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *dynamodb.DescribeGlobalTableSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeGlobalTableSettingsInput, ...request.Option) (*dynamodb.DescribeGlobalTableSettingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeGlobalTableSettingsInput, ...request.Option) *dynamodb.DescribeGlobalTableSettingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1259,7 +1401,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableSettingsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeGlobalTableSettingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1281,6 +1422,10 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *dynamodb.DescribeGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeGlobalTableInput, ...request.Option) (*dynamodb.DescribeGlobalTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeGlobalTableInput, ...request.Option) *dynamodb.DescribeGlobalTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1289,7 +1434,6 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeGlobalTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1299,11 +1443,102 @@ func (_m *MockFakeDynamoDB) DescribeGlobalTableWithContext(_a0 context.Context, return r0, r1 } +// DescribeImport provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) DescribeImport(_a0 *dynamodb.DescribeImportInput) (*dynamodb.DescribeImportOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.DescribeImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) (*dynamodb.DescribeImportOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) *dynamodb.DescribeImportOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.DescribeImportOutput) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.DescribeImportInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeImportRequest provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) DescribeImportRequest(_a0 *dynamodb.DescribeImportInput) (*request.Request, *dynamodb.DescribeImportOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *dynamodb.DescribeImportOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) (*request.Request, *dynamodb.DescribeImportOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeImportInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.DescribeImportInput) *dynamodb.DescribeImportOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.DescribeImportOutput) + } + } + + return r0, r1 +} + +// DescribeImportWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeDynamoDB) DescribeImportWithContext(_a0 context.Context, _a1 *dynamodb.DescribeImportInput, _a2 ...request.Option) (*dynamodb.DescribeImportOutput, error) { + _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 *dynamodb.DescribeImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeImportInput, ...request.Option) (*dynamodb.DescribeImportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeImportInput, ...request.Option) *dynamodb.DescribeImportOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.DescribeImportOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeImportInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeKinesisStreamingDestination provides a mock function with given fields: _a0 func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestination(_a0 *dynamodb.DescribeKinesisStreamingDestinationInput) (*dynamodb.DescribeKinesisStreamingDestinationOutput, error) { ret := _m.Called(_a0) var r0 *dynamodb.DescribeKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) (*dynamodb.DescribeKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) *dynamodb.DescribeKinesisStreamingDestinationOutput); ok { r0 = rf(_a0) } else { @@ -1312,7 +1547,6 @@ func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestination(_a0 *dynamodb.De } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) error); ok { r1 = rf(_a0) } else { @@ -1327,6 +1561,10 @@ func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestinationRequest(_a0 *dyna ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeKinesisStreamingDestinationOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) (*request.Request, *dynamodb.DescribeKinesisStreamingDestinationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1335,7 +1573,6 @@ func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestinationRequest(_a0 *dyna } } - var r1 *dynamodb.DescribeKinesisStreamingDestinationOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeKinesisStreamingDestinationInput) *dynamodb.DescribeKinesisStreamingDestinationOutput); ok { r1 = rf(_a0) } else { @@ -1359,6 +1596,10 @@ func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestinationWithContext(_a0 c ret := _m.Called(_ca...) var r0 *dynamodb.DescribeKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeKinesisStreamingDestinationInput, ...request.Option) (*dynamodb.DescribeKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeKinesisStreamingDestinationInput, ...request.Option) *dynamodb.DescribeKinesisStreamingDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1367,7 +1608,6 @@ func (_m *MockFakeDynamoDB) DescribeKinesisStreamingDestinationWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeKinesisStreamingDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1382,6 +1622,10 @@ func (_m *MockFakeDynamoDB) DescribeLimits(_a0 *dynamodb.DescribeLimitsInput) (* ret := _m.Called(_a0) var r0 *dynamodb.DescribeLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeLimitsInput) (*dynamodb.DescribeLimitsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeLimitsInput) *dynamodb.DescribeLimitsOutput); ok { r0 = rf(_a0) } else { @@ -1390,7 +1634,6 @@ func (_m *MockFakeDynamoDB) DescribeLimits(_a0 *dynamodb.DescribeLimitsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeLimitsInput) error); ok { r1 = rf(_a0) } else { @@ -1405,6 +1648,10 @@ func (_m *MockFakeDynamoDB) DescribeLimitsRequest(_a0 *dynamodb.DescribeLimitsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeLimitsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeLimitsInput) (*request.Request, *dynamodb.DescribeLimitsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeLimitsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1413,7 +1660,6 @@ func (_m *MockFakeDynamoDB) DescribeLimitsRequest(_a0 *dynamodb.DescribeLimitsIn } } - var r1 *dynamodb.DescribeLimitsOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeLimitsInput) *dynamodb.DescribeLimitsOutput); ok { r1 = rf(_a0) } else { @@ -1437,6 +1683,10 @@ func (_m *MockFakeDynamoDB) DescribeLimitsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *dynamodb.DescribeLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeLimitsInput, ...request.Option) (*dynamodb.DescribeLimitsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeLimitsInput, ...request.Option) *dynamodb.DescribeLimitsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1445,7 +1695,6 @@ func (_m *MockFakeDynamoDB) DescribeLimitsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeLimitsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1460,6 +1709,10 @@ func (_m *MockFakeDynamoDB) DescribeTable(_a0 *dynamodb.DescribeTableInput) (*dy ret := _m.Called(_a0) var r0 *dynamodb.DescribeTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableInput) (*dynamodb.DescribeTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableInput) *dynamodb.DescribeTableOutput); ok { r0 = rf(_a0) } else { @@ -1468,7 +1721,6 @@ func (_m *MockFakeDynamoDB) DescribeTable(_a0 *dynamodb.DescribeTableInput) (*dy } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTableInput) error); ok { r1 = rf(_a0) } else { @@ -1483,6 +1735,10 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScaling(_a0 *dynamodb.Descri ret := _m.Called(_a0) var r0 *dynamodb.DescribeTableReplicaAutoScalingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) (*dynamodb.DescribeTableReplicaAutoScalingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) *dynamodb.DescribeTableReplicaAutoScalingOutput); ok { r0 = rf(_a0) } else { @@ -1491,7 +1747,6 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScaling(_a0 *dynamodb.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) error); ok { r1 = rf(_a0) } else { @@ -1506,6 +1761,10 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScalingRequest(_a0 *dynamodb ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeTableReplicaAutoScalingOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) (*request.Request, *dynamodb.DescribeTableReplicaAutoScalingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1514,7 +1773,6 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScalingRequest(_a0 *dynamodb } } - var r1 *dynamodb.DescribeTableReplicaAutoScalingOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTableReplicaAutoScalingInput) *dynamodb.DescribeTableReplicaAutoScalingOutput); ok { r1 = rf(_a0) } else { @@ -1538,6 +1796,10 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScalingWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *dynamodb.DescribeTableReplicaAutoScalingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTableReplicaAutoScalingInput, ...request.Option) (*dynamodb.DescribeTableReplicaAutoScalingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTableReplicaAutoScalingInput, ...request.Option) *dynamodb.DescribeTableReplicaAutoScalingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1546,7 +1808,6 @@ func (_m *MockFakeDynamoDB) DescribeTableReplicaAutoScalingWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeTableReplicaAutoScalingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1561,6 +1822,10 @@ func (_m *MockFakeDynamoDB) DescribeTableRequest(_a0 *dynamodb.DescribeTableInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableInput) (*request.Request, *dynamodb.DescribeTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1569,7 +1834,6 @@ func (_m *MockFakeDynamoDB) DescribeTableRequest(_a0 *dynamodb.DescribeTableInpu } } - var r1 *dynamodb.DescribeTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTableInput) *dynamodb.DescribeTableOutput); ok { r1 = rf(_a0) } else { @@ -1593,6 +1857,10 @@ func (_m *MockFakeDynamoDB) DescribeTableWithContext(_a0 context.Context, _a1 *d ret := _m.Called(_ca...) var r0 *dynamodb.DescribeTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTableInput, ...request.Option) (*dynamodb.DescribeTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTableInput, ...request.Option) *dynamodb.DescribeTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1601,7 +1869,6 @@ func (_m *MockFakeDynamoDB) DescribeTableWithContext(_a0 context.Context, _a1 *d } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1616,6 +1883,10 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLive(_a0 *dynamodb.DescribeTimeToLiveI ret := _m.Called(_a0) var r0 *dynamodb.DescribeTimeToLiveOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTimeToLiveInput) (*dynamodb.DescribeTimeToLiveOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTimeToLiveInput) *dynamodb.DescribeTimeToLiveOutput); ok { r0 = rf(_a0) } else { @@ -1624,7 +1895,6 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLive(_a0 *dynamodb.DescribeTimeToLiveI } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTimeToLiveInput) error); ok { r1 = rf(_a0) } else { @@ -1639,6 +1909,10 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLiveRequest(_a0 *dynamodb.DescribeTime ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DescribeTimeToLiveOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTimeToLiveInput) (*request.Request, *dynamodb.DescribeTimeToLiveOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DescribeTimeToLiveInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1647,7 +1921,6 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLiveRequest(_a0 *dynamodb.DescribeTime } } - var r1 *dynamodb.DescribeTimeToLiveOutput if rf, ok := ret.Get(1).(func(*dynamodb.DescribeTimeToLiveInput) *dynamodb.DescribeTimeToLiveOutput); ok { r1 = rf(_a0) } else { @@ -1671,6 +1944,10 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLiveWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *dynamodb.DescribeTimeToLiveOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTimeToLiveInput, ...request.Option) (*dynamodb.DescribeTimeToLiveOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DescribeTimeToLiveInput, ...request.Option) *dynamodb.DescribeTimeToLiveOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1679,7 +1956,6 @@ func (_m *MockFakeDynamoDB) DescribeTimeToLiveWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DescribeTimeToLiveInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1694,6 +1970,10 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestination(_a0 *dynamodb.Dis ret := _m.Called(_a0) var r0 *dynamodb.DisableKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.DisableKinesisStreamingDestinationInput) (*dynamodb.DisableKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DisableKinesisStreamingDestinationInput) *dynamodb.DisableKinesisStreamingDestinationOutput); ok { r0 = rf(_a0) } else { @@ -1702,7 +1982,6 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestination(_a0 *dynamodb.Dis } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.DisableKinesisStreamingDestinationInput) error); ok { r1 = rf(_a0) } else { @@ -1717,6 +1996,10 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestinationRequest(_a0 *dynam ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.DisableKinesisStreamingDestinationOutput + if rf, ok := ret.Get(0).(func(*dynamodb.DisableKinesisStreamingDestinationInput) (*request.Request, *dynamodb.DisableKinesisStreamingDestinationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.DisableKinesisStreamingDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1725,7 +2008,6 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestinationRequest(_a0 *dynam } } - var r1 *dynamodb.DisableKinesisStreamingDestinationOutput if rf, ok := ret.Get(1).(func(*dynamodb.DisableKinesisStreamingDestinationInput) *dynamodb.DisableKinesisStreamingDestinationOutput); ok { r1 = rf(_a0) } else { @@ -1749,6 +2031,10 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestinationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *dynamodb.DisableKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DisableKinesisStreamingDestinationInput, ...request.Option) (*dynamodb.DisableKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.DisableKinesisStreamingDestinationInput, ...request.Option) *dynamodb.DisableKinesisStreamingDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1757,7 +2043,6 @@ func (_m *MockFakeDynamoDB) DisableKinesisStreamingDestinationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.DisableKinesisStreamingDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1772,6 +2057,10 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestination(_a0 *dynamodb.Enab ret := _m.Called(_a0) var r0 *dynamodb.EnableKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.EnableKinesisStreamingDestinationInput) (*dynamodb.EnableKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.EnableKinesisStreamingDestinationInput) *dynamodb.EnableKinesisStreamingDestinationOutput); ok { r0 = rf(_a0) } else { @@ -1780,7 +2069,6 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestination(_a0 *dynamodb.Enab } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.EnableKinesisStreamingDestinationInput) error); ok { r1 = rf(_a0) } else { @@ -1795,6 +2083,10 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestinationRequest(_a0 *dynamo ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.EnableKinesisStreamingDestinationOutput + if rf, ok := ret.Get(0).(func(*dynamodb.EnableKinesisStreamingDestinationInput) (*request.Request, *dynamodb.EnableKinesisStreamingDestinationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.EnableKinesisStreamingDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1803,7 +2095,6 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestinationRequest(_a0 *dynamo } } - var r1 *dynamodb.EnableKinesisStreamingDestinationOutput if rf, ok := ret.Get(1).(func(*dynamodb.EnableKinesisStreamingDestinationInput) *dynamodb.EnableKinesisStreamingDestinationOutput); ok { r1 = rf(_a0) } else { @@ -1827,6 +2118,10 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestinationWithContext(_a0 con ret := _m.Called(_ca...) var r0 *dynamodb.EnableKinesisStreamingDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.EnableKinesisStreamingDestinationInput, ...request.Option) (*dynamodb.EnableKinesisStreamingDestinationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.EnableKinesisStreamingDestinationInput, ...request.Option) *dynamodb.EnableKinesisStreamingDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1835,7 +2130,6 @@ func (_m *MockFakeDynamoDB) EnableKinesisStreamingDestinationWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.EnableKinesisStreamingDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1850,6 +2144,10 @@ func (_m *MockFakeDynamoDB) ExecuteStatement(_a0 *dynamodb.ExecuteStatementInput ret := _m.Called(_a0) var r0 *dynamodb.ExecuteStatementOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteStatementInput) (*dynamodb.ExecuteStatementOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteStatementInput) *dynamodb.ExecuteStatementOutput); ok { r0 = rf(_a0) } else { @@ -1858,7 +2156,6 @@ func (_m *MockFakeDynamoDB) ExecuteStatement(_a0 *dynamodb.ExecuteStatementInput } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ExecuteStatementInput) error); ok { r1 = rf(_a0) } else { @@ -1873,6 +2170,10 @@ func (_m *MockFakeDynamoDB) ExecuteStatementRequest(_a0 *dynamodb.ExecuteStateme ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ExecuteStatementOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteStatementInput) (*request.Request, *dynamodb.ExecuteStatementOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteStatementInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1881,7 +2182,6 @@ func (_m *MockFakeDynamoDB) ExecuteStatementRequest(_a0 *dynamodb.ExecuteStateme } } - var r1 *dynamodb.ExecuteStatementOutput if rf, ok := ret.Get(1).(func(*dynamodb.ExecuteStatementInput) *dynamodb.ExecuteStatementOutput); ok { r1 = rf(_a0) } else { @@ -1905,6 +2205,10 @@ func (_m *MockFakeDynamoDB) ExecuteStatementWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *dynamodb.ExecuteStatementOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExecuteStatementInput, ...request.Option) (*dynamodb.ExecuteStatementOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExecuteStatementInput, ...request.Option) *dynamodb.ExecuteStatementOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1913,7 +2217,6 @@ func (_m *MockFakeDynamoDB) ExecuteStatementWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ExecuteStatementInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1928,6 +2231,10 @@ func (_m *MockFakeDynamoDB) ExecuteTransaction(_a0 *dynamodb.ExecuteTransactionI ret := _m.Called(_a0) var r0 *dynamodb.ExecuteTransactionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteTransactionInput) (*dynamodb.ExecuteTransactionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteTransactionInput) *dynamodb.ExecuteTransactionOutput); ok { r0 = rf(_a0) } else { @@ -1936,7 +2243,6 @@ func (_m *MockFakeDynamoDB) ExecuteTransaction(_a0 *dynamodb.ExecuteTransactionI } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ExecuteTransactionInput) error); ok { r1 = rf(_a0) } else { @@ -1951,6 +2257,10 @@ func (_m *MockFakeDynamoDB) ExecuteTransactionRequest(_a0 *dynamodb.ExecuteTrans ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ExecuteTransactionOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteTransactionInput) (*request.Request, *dynamodb.ExecuteTransactionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExecuteTransactionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1959,7 +2269,6 @@ func (_m *MockFakeDynamoDB) ExecuteTransactionRequest(_a0 *dynamodb.ExecuteTrans } } - var r1 *dynamodb.ExecuteTransactionOutput if rf, ok := ret.Get(1).(func(*dynamodb.ExecuteTransactionInput) *dynamodb.ExecuteTransactionOutput); ok { r1 = rf(_a0) } else { @@ -1983,6 +2292,10 @@ func (_m *MockFakeDynamoDB) ExecuteTransactionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *dynamodb.ExecuteTransactionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExecuteTransactionInput, ...request.Option) (*dynamodb.ExecuteTransactionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExecuteTransactionInput, ...request.Option) *dynamodb.ExecuteTransactionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1991,7 +2304,6 @@ func (_m *MockFakeDynamoDB) ExecuteTransactionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ExecuteTransactionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2006,6 +2318,10 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTime(_a0 *dynamodb.ExportTableTo ret := _m.Called(_a0) var r0 *dynamodb.ExportTableToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ExportTableToPointInTimeInput) (*dynamodb.ExportTableToPointInTimeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExportTableToPointInTimeInput) *dynamodb.ExportTableToPointInTimeOutput); ok { r0 = rf(_a0) } else { @@ -2014,7 +2330,6 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTime(_a0 *dynamodb.ExportTableTo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ExportTableToPointInTimeInput) error); ok { r1 = rf(_a0) } else { @@ -2029,6 +2344,10 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTimeRequest(_a0 *dynamodb.Export ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ExportTableToPointInTimeOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ExportTableToPointInTimeInput) (*request.Request, *dynamodb.ExportTableToPointInTimeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ExportTableToPointInTimeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2037,7 +2356,6 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTimeRequest(_a0 *dynamodb.Export } } - var r1 *dynamodb.ExportTableToPointInTimeOutput if rf, ok := ret.Get(1).(func(*dynamodb.ExportTableToPointInTimeInput) *dynamodb.ExportTableToPointInTimeOutput); ok { r1 = rf(_a0) } else { @@ -2061,6 +2379,10 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTimeWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *dynamodb.ExportTableToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExportTableToPointInTimeInput, ...request.Option) (*dynamodb.ExportTableToPointInTimeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ExportTableToPointInTimeInput, ...request.Option) *dynamodb.ExportTableToPointInTimeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2069,7 +2391,6 @@ func (_m *MockFakeDynamoDB) ExportTableToPointInTimeWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ExportTableToPointInTimeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2084,6 +2405,10 @@ func (_m *MockFakeDynamoDB) GetItem(_a0 *dynamodb.GetItemInput) (*dynamodb.GetIt ret := _m.Called(_a0) var r0 *dynamodb.GetItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.GetItemInput) *dynamodb.GetItemOutput); ok { r0 = rf(_a0) } else { @@ -2092,7 +2417,6 @@ func (_m *MockFakeDynamoDB) GetItem(_a0 *dynamodb.GetItemInput) (*dynamodb.GetIt } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.GetItemInput) error); ok { r1 = rf(_a0) } else { @@ -2107,6 +2431,10 @@ func (_m *MockFakeDynamoDB) GetItemRequest(_a0 *dynamodb.GetItemInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.GetItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.GetItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2115,7 +2443,6 @@ func (_m *MockFakeDynamoDB) GetItemRequest(_a0 *dynamodb.GetItemInput) (*request } } - var r1 *dynamodb.GetItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.GetItemInput) *dynamodb.GetItemOutput); ok { r1 = rf(_a0) } else { @@ -2139,6 +2466,10 @@ func (_m *MockFakeDynamoDB) GetItemWithContext(_a0 context.Context, _a1 *dynamod ret := _m.Called(_ca...) var r0 *dynamodb.GetItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.GetItemInput, ...request.Option) (*dynamodb.GetItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.GetItemInput, ...request.Option) *dynamodb.GetItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2147,7 +2478,6 @@ func (_m *MockFakeDynamoDB) GetItemWithContext(_a0 context.Context, _a1 *dynamod } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.GetItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2157,11 +2487,102 @@ func (_m *MockFakeDynamoDB) GetItemWithContext(_a0 context.Context, _a1 *dynamod return r0, r1 } +// ImportTable provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ImportTable(_a0 *dynamodb.ImportTableInput) (*dynamodb.ImportTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.ImportTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) (*dynamodb.ImportTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) *dynamodb.ImportTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ImportTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.ImportTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ImportTableRequest(_a0 *dynamodb.ImportTableInput) (*request.Request, *dynamodb.ImportTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *dynamodb.ImportTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) (*request.Request, *dynamodb.ImportTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ImportTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.ImportTableInput) *dynamodb.ImportTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.ImportTableOutput) + } + } + + return r0, r1 +} + +// ImportTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeDynamoDB) ImportTableWithContext(_a0 context.Context, _a1 *dynamodb.ImportTableInput, _a2 ...request.Option) (*dynamodb.ImportTableOutput, error) { + _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 *dynamodb.ImportTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ImportTableInput, ...request.Option) (*dynamodb.ImportTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ImportTableInput, ...request.Option) *dynamodb.ImportTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ImportTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ImportTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListBackups provides a mock function with given fields: _a0 func (_m *MockFakeDynamoDB) ListBackups(_a0 *dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error) { ret := _m.Called(_a0) var r0 *dynamodb.ListBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListBackupsInput) *dynamodb.ListBackupsOutput); ok { r0 = rf(_a0) } else { @@ -2170,7 +2591,6 @@ func (_m *MockFakeDynamoDB) ListBackups(_a0 *dynamodb.ListBackupsInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ListBackupsInput) error); ok { r1 = rf(_a0) } else { @@ -2185,6 +2605,10 @@ func (_m *MockFakeDynamoDB) ListBackupsRequest(_a0 *dynamodb.ListBackupsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ListBackupsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListBackupsInput) (*request.Request, *dynamodb.ListBackupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListBackupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2193,7 +2617,6 @@ func (_m *MockFakeDynamoDB) ListBackupsRequest(_a0 *dynamodb.ListBackupsInput) ( } } - var r1 *dynamodb.ListBackupsOutput if rf, ok := ret.Get(1).(func(*dynamodb.ListBackupsInput) *dynamodb.ListBackupsOutput); ok { r1 = rf(_a0) } else { @@ -2217,6 +2640,10 @@ func (_m *MockFakeDynamoDB) ListBackupsWithContext(_a0 context.Context, _a1 *dyn ret := _m.Called(_ca...) var r0 *dynamodb.ListBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListBackupsInput, ...request.Option) (*dynamodb.ListBackupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListBackupsInput, ...request.Option) *dynamodb.ListBackupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2225,7 +2652,6 @@ func (_m *MockFakeDynamoDB) ListBackupsWithContext(_a0 context.Context, _a1 *dyn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListBackupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2240,6 +2666,10 @@ func (_m *MockFakeDynamoDB) ListContributorInsights(_a0 *dynamodb.ListContributo ret := _m.Called(_a0) var r0 *dynamodb.ListContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListContributorInsightsInput) (*dynamodb.ListContributorInsightsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListContributorInsightsInput) *dynamodb.ListContributorInsightsOutput); ok { r0 = rf(_a0) } else { @@ -2248,7 +2678,6 @@ func (_m *MockFakeDynamoDB) ListContributorInsights(_a0 *dynamodb.ListContributo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ListContributorInsightsInput) error); ok { r1 = rf(_a0) } else { @@ -2298,6 +2727,10 @@ func (_m *MockFakeDynamoDB) ListContributorInsightsRequest(_a0 *dynamodb.ListCon ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ListContributorInsightsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListContributorInsightsInput) (*request.Request, *dynamodb.ListContributorInsightsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListContributorInsightsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2306,7 +2739,6 @@ func (_m *MockFakeDynamoDB) ListContributorInsightsRequest(_a0 *dynamodb.ListCon } } - var r1 *dynamodb.ListContributorInsightsOutput if rf, ok := ret.Get(1).(func(*dynamodb.ListContributorInsightsInput) *dynamodb.ListContributorInsightsOutput); ok { r1 = rf(_a0) } else { @@ -2330,6 +2762,10 @@ func (_m *MockFakeDynamoDB) ListContributorInsightsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *dynamodb.ListContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListContributorInsightsInput, ...request.Option) (*dynamodb.ListContributorInsightsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListContributorInsightsInput, ...request.Option) *dynamodb.ListContributorInsightsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2338,7 +2774,6 @@ func (_m *MockFakeDynamoDB) ListContributorInsightsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListContributorInsightsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2353,6 +2788,10 @@ func (_m *MockFakeDynamoDB) ListExports(_a0 *dynamodb.ListExportsInput) (*dynamo ret := _m.Called(_a0) var r0 *dynamodb.ListExportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListExportsInput) (*dynamodb.ListExportsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListExportsInput) *dynamodb.ListExportsOutput); ok { r0 = rf(_a0) } else { @@ -2361,7 +2800,6 @@ func (_m *MockFakeDynamoDB) ListExports(_a0 *dynamodb.ListExportsInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ListExportsInput) error); ok { r1 = rf(_a0) } else { @@ -2411,7 +2849,98 @@ func (_m *MockFakeDynamoDB) ListExportsRequest(_a0 *dynamodb.ListExportsInput) ( ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*dynamodb.ListExportsInput) *request.Request); ok { + var r1 *dynamodb.ListExportsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListExportsInput) (*request.Request, *dynamodb.ListExportsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ListExportsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.ListExportsInput) *dynamodb.ListExportsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*dynamodb.ListExportsOutput) + } + } + + return r0, r1 +} + +// ListExportsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeDynamoDB) ListExportsWithContext(_a0 context.Context, _a1 *dynamodb.ListExportsInput, _a2 ...request.Option) (*dynamodb.ListExportsOutput, error) { + _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 *dynamodb.ListExportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListExportsInput, ...request.Option) (*dynamodb.ListExportsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListExportsInput, ...request.Option) *dynamodb.ListExportsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ListExportsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListExportsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListGlobalTables provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ListGlobalTables(_a0 *dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error) { + ret := _m.Called(_a0) + + var r0 *dynamodb.ListGlobalTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) *dynamodb.ListGlobalTablesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*dynamodb.ListGlobalTablesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*dynamodb.ListGlobalTablesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListGlobalTablesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ListGlobalTablesRequest(_a0 *dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *dynamodb.ListGlobalTablesOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2419,20 +2948,19 @@ func (_m *MockFakeDynamoDB) ListExportsRequest(_a0 *dynamodb.ListExportsInput) ( } } - var r1 *dynamodb.ListExportsOutput - if rf, ok := ret.Get(1).(func(*dynamodb.ListExportsInput) *dynamodb.ListExportsOutput); ok { + if rf, ok := ret.Get(1).(func(*dynamodb.ListGlobalTablesInput) *dynamodb.ListGlobalTablesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*dynamodb.ListExportsOutput) + r1 = ret.Get(1).(*dynamodb.ListGlobalTablesOutput) } } return r0, r1 } -// ListExportsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeDynamoDB) ListExportsWithContext(_a0 context.Context, _a1 *dynamodb.ListExportsInput, _a2 ...request.Option) (*dynamodb.ListExportsOutput, error) { +// ListGlobalTablesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeDynamoDB) ListGlobalTablesWithContext(_a0 context.Context, _a1 *dynamodb.ListGlobalTablesInput, _a2 ...request.Option) (*dynamodb.ListGlobalTablesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2442,17 +2970,20 @@ func (_m *MockFakeDynamoDB) ListExportsWithContext(_a0 context.Context, _a1 *dyn _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *dynamodb.ListExportsOutput - if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListExportsInput, ...request.Option) *dynamodb.ListExportsOutput); ok { + var r0 *dynamodb.ListGlobalTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListGlobalTablesInput, ...request.Option) (*dynamodb.ListGlobalTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListGlobalTablesInput, ...request.Option) *dynamodb.ListGlobalTablesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*dynamodb.ListExportsOutput) + r0 = ret.Get(0).(*dynamodb.ListGlobalTablesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListExportsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListGlobalTablesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2461,21 +2992,24 @@ func (_m *MockFakeDynamoDB) ListExportsWithContext(_a0 context.Context, _a1 *dyn return r0, r1 } -// ListGlobalTables provides a mock function with given fields: _a0 -func (_m *MockFakeDynamoDB) ListGlobalTables(_a0 *dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error) { +// ListImports provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ListImports(_a0 *dynamodb.ListImportsInput) (*dynamodb.ListImportsOutput, error) { ret := _m.Called(_a0) - var r0 *dynamodb.ListGlobalTablesOutput - if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) *dynamodb.ListGlobalTablesOutput); ok { + var r0 *dynamodb.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) (*dynamodb.ListImportsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) *dynamodb.ListImportsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*dynamodb.ListGlobalTablesOutput) + r0 = ret.Get(0).(*dynamodb.ListImportsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*dynamodb.ListGlobalTablesInput) error); ok { + if rf, ok := ret.Get(1).(func(*dynamodb.ListImportsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2484,12 +3018,51 @@ func (_m *MockFakeDynamoDB) ListGlobalTables(_a0 *dynamodb.ListGlobalTablesInput return r0, r1 } -// ListGlobalTablesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeDynamoDB) ListGlobalTablesRequest(_a0 *dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput) { +// ListImportsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeDynamoDB) ListImportsPages(_a0 *dynamodb.ListImportsInput, _a1 func(*dynamodb.ListImportsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput, func(*dynamodb.ListImportsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeDynamoDB) ListImportsPagesWithContext(_a0 context.Context, _a1 *dynamodb.ListImportsInput, _a2 func(*dynamodb.ListImportsOutput, bool) bool, _a3 ...request.Option) error { + _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, *dynamodb.ListImportsInput, func(*dynamodb.ListImportsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListImportsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeDynamoDB) ListImportsRequest(_a0 *dynamodb.ListImportsInput) (*request.Request, *dynamodb.ListImportsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*dynamodb.ListGlobalTablesInput) *request.Request); ok { + var r1 *dynamodb.ListImportsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) (*request.Request, *dynamodb.ListImportsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*dynamodb.ListImportsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2497,20 +3070,19 @@ func (_m *MockFakeDynamoDB) ListGlobalTablesRequest(_a0 *dynamodb.ListGlobalTabl } } - var r1 *dynamodb.ListGlobalTablesOutput - if rf, ok := ret.Get(1).(func(*dynamodb.ListGlobalTablesInput) *dynamodb.ListGlobalTablesOutput); ok { + if rf, ok := ret.Get(1).(func(*dynamodb.ListImportsInput) *dynamodb.ListImportsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*dynamodb.ListGlobalTablesOutput) + r1 = ret.Get(1).(*dynamodb.ListImportsOutput) } } return r0, r1 } -// ListGlobalTablesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeDynamoDB) ListGlobalTablesWithContext(_a0 context.Context, _a1 *dynamodb.ListGlobalTablesInput, _a2 ...request.Option) (*dynamodb.ListGlobalTablesOutput, error) { +// ListImportsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeDynamoDB) ListImportsWithContext(_a0 context.Context, _a1 *dynamodb.ListImportsInput, _a2 ...request.Option) (*dynamodb.ListImportsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2520,17 +3092,20 @@ func (_m *MockFakeDynamoDB) ListGlobalTablesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *dynamodb.ListGlobalTablesOutput - if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListGlobalTablesInput, ...request.Option) *dynamodb.ListGlobalTablesOutput); ok { + var r0 *dynamodb.ListImportsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListImportsInput, ...request.Option) (*dynamodb.ListImportsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListImportsInput, ...request.Option) *dynamodb.ListImportsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*dynamodb.ListGlobalTablesOutput) + r0 = ret.Get(0).(*dynamodb.ListImportsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListGlobalTablesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListImportsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2544,6 +3119,10 @@ func (_m *MockFakeDynamoDB) ListTables(_a0 *dynamodb.ListTablesInput) (*dynamodb ret := _m.Called(_a0) var r0 *dynamodb.ListTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListTablesInput) *dynamodb.ListTablesOutput); ok { r0 = rf(_a0) } else { @@ -2552,7 +3131,6 @@ func (_m *MockFakeDynamoDB) ListTables(_a0 *dynamodb.ListTablesInput) (*dynamodb } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ListTablesInput) error); ok { r1 = rf(_a0) } else { @@ -2602,6 +3180,10 @@ func (_m *MockFakeDynamoDB) ListTablesRequest(_a0 *dynamodb.ListTablesInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ListTablesOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListTablesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2610,7 +3192,6 @@ func (_m *MockFakeDynamoDB) ListTablesRequest(_a0 *dynamodb.ListTablesInput) (*r } } - var r1 *dynamodb.ListTablesOutput if rf, ok := ret.Get(1).(func(*dynamodb.ListTablesInput) *dynamodb.ListTablesOutput); ok { r1 = rf(_a0) } else { @@ -2634,6 +3215,10 @@ func (_m *MockFakeDynamoDB) ListTablesWithContext(_a0 context.Context, _a1 *dyna ret := _m.Called(_ca...) var r0 *dynamodb.ListTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListTablesInput, ...request.Option) (*dynamodb.ListTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListTablesInput, ...request.Option) *dynamodb.ListTablesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2642,7 +3227,6 @@ func (_m *MockFakeDynamoDB) ListTablesWithContext(_a0 context.Context, _a1 *dyna } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListTablesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2657,6 +3241,10 @@ func (_m *MockFakeDynamoDB) ListTagsOfResource(_a0 *dynamodb.ListTagsOfResourceI ret := _m.Called(_a0) var r0 *dynamodb.ListTagsOfResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ListTagsOfResourceInput) (*dynamodb.ListTagsOfResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListTagsOfResourceInput) *dynamodb.ListTagsOfResourceOutput); ok { r0 = rf(_a0) } else { @@ -2665,7 +3253,6 @@ func (_m *MockFakeDynamoDB) ListTagsOfResource(_a0 *dynamodb.ListTagsOfResourceI } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ListTagsOfResourceInput) error); ok { r1 = rf(_a0) } else { @@ -2680,6 +3267,10 @@ func (_m *MockFakeDynamoDB) ListTagsOfResourceRequest(_a0 *dynamodb.ListTagsOfRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ListTagsOfResourceOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ListTagsOfResourceInput) (*request.Request, *dynamodb.ListTagsOfResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ListTagsOfResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2688,7 +3279,6 @@ func (_m *MockFakeDynamoDB) ListTagsOfResourceRequest(_a0 *dynamodb.ListTagsOfRe } } - var r1 *dynamodb.ListTagsOfResourceOutput if rf, ok := ret.Get(1).(func(*dynamodb.ListTagsOfResourceInput) *dynamodb.ListTagsOfResourceOutput); ok { r1 = rf(_a0) } else { @@ -2712,6 +3302,10 @@ func (_m *MockFakeDynamoDB) ListTagsOfResourceWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *dynamodb.ListTagsOfResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListTagsOfResourceInput, ...request.Option) (*dynamodb.ListTagsOfResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ListTagsOfResourceInput, ...request.Option) *dynamodb.ListTagsOfResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2720,7 +3314,6 @@ func (_m *MockFakeDynamoDB) ListTagsOfResourceWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ListTagsOfResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2735,6 +3328,10 @@ func (_m *MockFakeDynamoDB) PutItem(_a0 *dynamodb.PutItemInput) (*dynamodb.PutIt ret := _m.Called(_a0) var r0 *dynamodb.PutItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.PutItemInput) *dynamodb.PutItemOutput); ok { r0 = rf(_a0) } else { @@ -2743,7 +3340,6 @@ func (_m *MockFakeDynamoDB) PutItem(_a0 *dynamodb.PutItemInput) (*dynamodb.PutIt } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.PutItemInput) error); ok { r1 = rf(_a0) } else { @@ -2758,6 +3354,10 @@ func (_m *MockFakeDynamoDB) PutItemRequest(_a0 *dynamodb.PutItemInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.PutItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.PutItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2766,7 +3366,6 @@ func (_m *MockFakeDynamoDB) PutItemRequest(_a0 *dynamodb.PutItemInput) (*request } } - var r1 *dynamodb.PutItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.PutItemInput) *dynamodb.PutItemOutput); ok { r1 = rf(_a0) } else { @@ -2790,6 +3389,10 @@ func (_m *MockFakeDynamoDB) PutItemWithContext(_a0 context.Context, _a1 *dynamod ret := _m.Called(_ca...) var r0 *dynamodb.PutItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.PutItemInput, ...request.Option) (*dynamodb.PutItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.PutItemInput, ...request.Option) *dynamodb.PutItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2798,7 +3401,6 @@ func (_m *MockFakeDynamoDB) PutItemWithContext(_a0 context.Context, _a1 *dynamod } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.PutItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2813,6 +3415,10 @@ func (_m *MockFakeDynamoDB) Query(_a0 *dynamodb.QueryInput) (*dynamodb.QueryOutp ret := _m.Called(_a0) var r0 *dynamodb.QueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.QueryInput) (*dynamodb.QueryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.QueryInput) *dynamodb.QueryOutput); ok { r0 = rf(_a0) } else { @@ -2821,7 +3427,6 @@ func (_m *MockFakeDynamoDB) Query(_a0 *dynamodb.QueryInput) (*dynamodb.QueryOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.QueryInput) error); ok { r1 = rf(_a0) } else { @@ -2871,6 +3476,10 @@ func (_m *MockFakeDynamoDB) QueryRequest(_a0 *dynamodb.QueryInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.QueryOutput + if rf, ok := ret.Get(0).(func(*dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.QueryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2879,7 +3488,6 @@ func (_m *MockFakeDynamoDB) QueryRequest(_a0 *dynamodb.QueryInput) (*request.Req } } - var r1 *dynamodb.QueryOutput if rf, ok := ret.Get(1).(func(*dynamodb.QueryInput) *dynamodb.QueryOutput); ok { r1 = rf(_a0) } else { @@ -2903,6 +3511,10 @@ func (_m *MockFakeDynamoDB) QueryWithContext(_a0 context.Context, _a1 *dynamodb. ret := _m.Called(_ca...) var r0 *dynamodb.QueryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.QueryInput, ...request.Option) (*dynamodb.QueryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.QueryInput, ...request.Option) *dynamodb.QueryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2911,7 +3523,6 @@ func (_m *MockFakeDynamoDB) QueryWithContext(_a0 context.Context, _a1 *dynamodb. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.QueryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2926,6 +3537,10 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackup(_a0 *dynamodb.RestoreTableFro ret := _m.Called(_a0) var r0 *dynamodb.RestoreTableFromBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableFromBackupInput) (*dynamodb.RestoreTableFromBackupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableFromBackupInput) *dynamodb.RestoreTableFromBackupOutput); ok { r0 = rf(_a0) } else { @@ -2934,7 +3549,6 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackup(_a0 *dynamodb.RestoreTableFro } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.RestoreTableFromBackupInput) error); ok { r1 = rf(_a0) } else { @@ -2949,6 +3563,10 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackupRequest(_a0 *dynamodb.RestoreT ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.RestoreTableFromBackupOutput + if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableFromBackupInput) (*request.Request, *dynamodb.RestoreTableFromBackupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableFromBackupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2957,7 +3575,6 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackupRequest(_a0 *dynamodb.RestoreT } } - var r1 *dynamodb.RestoreTableFromBackupOutput if rf, ok := ret.Get(1).(func(*dynamodb.RestoreTableFromBackupInput) *dynamodb.RestoreTableFromBackupOutput); ok { r1 = rf(_a0) } else { @@ -2981,6 +3598,10 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackupWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *dynamodb.RestoreTableFromBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.RestoreTableFromBackupInput, ...request.Option) (*dynamodb.RestoreTableFromBackupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.RestoreTableFromBackupInput, ...request.Option) *dynamodb.RestoreTableFromBackupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2989,7 +3610,6 @@ func (_m *MockFakeDynamoDB) RestoreTableFromBackupWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.RestoreTableFromBackupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3004,6 +3624,10 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTime(_a0 *dynamodb.RestoreTable ret := _m.Called(_a0) var r0 *dynamodb.RestoreTableToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableToPointInTimeInput) (*dynamodb.RestoreTableToPointInTimeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableToPointInTimeInput) *dynamodb.RestoreTableToPointInTimeOutput); ok { r0 = rf(_a0) } else { @@ -3012,7 +3636,6 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTime(_a0 *dynamodb.RestoreTable } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.RestoreTableToPointInTimeInput) error); ok { r1 = rf(_a0) } else { @@ -3027,6 +3650,10 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTimeRequest(_a0 *dynamodb.Resto ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.RestoreTableToPointInTimeOutput + if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableToPointInTimeInput) (*request.Request, *dynamodb.RestoreTableToPointInTimeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.RestoreTableToPointInTimeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3035,7 +3662,6 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTimeRequest(_a0 *dynamodb.Resto } } - var r1 *dynamodb.RestoreTableToPointInTimeOutput if rf, ok := ret.Get(1).(func(*dynamodb.RestoreTableToPointInTimeInput) *dynamodb.RestoreTableToPointInTimeOutput); ok { r1 = rf(_a0) } else { @@ -3059,6 +3685,10 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTimeWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *dynamodb.RestoreTableToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.RestoreTableToPointInTimeInput, ...request.Option) (*dynamodb.RestoreTableToPointInTimeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.RestoreTableToPointInTimeInput, ...request.Option) *dynamodb.RestoreTableToPointInTimeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3067,7 +3697,6 @@ func (_m *MockFakeDynamoDB) RestoreTableToPointInTimeWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.RestoreTableToPointInTimeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3082,6 +3711,10 @@ func (_m *MockFakeDynamoDB) Scan(_a0 *dynamodb.ScanInput) (*dynamodb.ScanOutput, ret := _m.Called(_a0) var r0 *dynamodb.ScanOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.ScanInput) (*dynamodb.ScanOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ScanInput) *dynamodb.ScanOutput); ok { r0 = rf(_a0) } else { @@ -3090,7 +3723,6 @@ func (_m *MockFakeDynamoDB) Scan(_a0 *dynamodb.ScanInput) (*dynamodb.ScanOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.ScanInput) error); ok { r1 = rf(_a0) } else { @@ -3140,6 +3772,10 @@ func (_m *MockFakeDynamoDB) ScanRequest(_a0 *dynamodb.ScanInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.ScanOutput + if rf, ok := ret.Get(0).(func(*dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.ScanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3148,7 +3784,6 @@ func (_m *MockFakeDynamoDB) ScanRequest(_a0 *dynamodb.ScanInput) (*request.Reque } } - var r1 *dynamodb.ScanOutput if rf, ok := ret.Get(1).(func(*dynamodb.ScanInput) *dynamodb.ScanOutput); ok { r1 = rf(_a0) } else { @@ -3172,6 +3807,10 @@ func (_m *MockFakeDynamoDB) ScanWithContext(_a0 context.Context, _a1 *dynamodb.S ret := _m.Called(_ca...) var r0 *dynamodb.ScanOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ScanInput, ...request.Option) (*dynamodb.ScanOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.ScanInput, ...request.Option) *dynamodb.ScanOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3180,7 +3819,6 @@ func (_m *MockFakeDynamoDB) ScanWithContext(_a0 context.Context, _a1 *dynamodb.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.ScanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3195,6 +3833,10 @@ func (_m *MockFakeDynamoDB) TagResource(_a0 *dynamodb.TagResourceInput) (*dynamo ret := _m.Called(_a0) var r0 *dynamodb.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.TagResourceInput) (*dynamodb.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TagResourceInput) *dynamodb.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3203,7 +3845,6 @@ func (_m *MockFakeDynamoDB) TagResource(_a0 *dynamodb.TagResourceInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3218,6 +3859,10 @@ func (_m *MockFakeDynamoDB) TagResourceRequest(_a0 *dynamodb.TagResourceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.TagResourceOutput + if rf, ok := ret.Get(0).(func(*dynamodb.TagResourceInput) (*request.Request, *dynamodb.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3226,7 +3871,6 @@ func (_m *MockFakeDynamoDB) TagResourceRequest(_a0 *dynamodb.TagResourceInput) ( } } - var r1 *dynamodb.TagResourceOutput if rf, ok := ret.Get(1).(func(*dynamodb.TagResourceInput) *dynamodb.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3250,6 +3894,10 @@ func (_m *MockFakeDynamoDB) TagResourceWithContext(_a0 context.Context, _a1 *dyn ret := _m.Called(_ca...) var r0 *dynamodb.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TagResourceInput, ...request.Option) (*dynamodb.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TagResourceInput, ...request.Option) *dynamodb.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3258,7 +3906,6 @@ func (_m *MockFakeDynamoDB) TagResourceWithContext(_a0 context.Context, _a1 *dyn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3273,6 +3920,10 @@ func (_m *MockFakeDynamoDB) TransactGetItems(_a0 *dynamodb.TransactGetItemsInput ret := _m.Called(_a0) var r0 *dynamodb.TransactGetItemsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.TransactGetItemsInput) (*dynamodb.TransactGetItemsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TransactGetItemsInput) *dynamodb.TransactGetItemsOutput); ok { r0 = rf(_a0) } else { @@ -3281,7 +3932,6 @@ func (_m *MockFakeDynamoDB) TransactGetItems(_a0 *dynamodb.TransactGetItemsInput } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.TransactGetItemsInput) error); ok { r1 = rf(_a0) } else { @@ -3296,6 +3946,10 @@ func (_m *MockFakeDynamoDB) TransactGetItemsRequest(_a0 *dynamodb.TransactGetIte ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.TransactGetItemsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.TransactGetItemsInput) (*request.Request, *dynamodb.TransactGetItemsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TransactGetItemsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3304,7 +3958,6 @@ func (_m *MockFakeDynamoDB) TransactGetItemsRequest(_a0 *dynamodb.TransactGetIte } } - var r1 *dynamodb.TransactGetItemsOutput if rf, ok := ret.Get(1).(func(*dynamodb.TransactGetItemsInput) *dynamodb.TransactGetItemsOutput); ok { r1 = rf(_a0) } else { @@ -3328,6 +3981,10 @@ func (_m *MockFakeDynamoDB) TransactGetItemsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *dynamodb.TransactGetItemsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TransactGetItemsInput, ...request.Option) (*dynamodb.TransactGetItemsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TransactGetItemsInput, ...request.Option) *dynamodb.TransactGetItemsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3336,7 +3993,6 @@ func (_m *MockFakeDynamoDB) TransactGetItemsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.TransactGetItemsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3351,6 +4007,10 @@ func (_m *MockFakeDynamoDB) TransactWriteItems(_a0 *dynamodb.TransactWriteItemsI ret := _m.Called(_a0) var r0 *dynamodb.TransactWriteItemsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.TransactWriteItemsInput) (*dynamodb.TransactWriteItemsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TransactWriteItemsInput) *dynamodb.TransactWriteItemsOutput); ok { r0 = rf(_a0) } else { @@ -3359,7 +4019,6 @@ func (_m *MockFakeDynamoDB) TransactWriteItems(_a0 *dynamodb.TransactWriteItemsI } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.TransactWriteItemsInput) error); ok { r1 = rf(_a0) } else { @@ -3374,6 +4033,10 @@ func (_m *MockFakeDynamoDB) TransactWriteItemsRequest(_a0 *dynamodb.TransactWrit ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.TransactWriteItemsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.TransactWriteItemsInput) (*request.Request, *dynamodb.TransactWriteItemsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.TransactWriteItemsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3382,7 +4045,6 @@ func (_m *MockFakeDynamoDB) TransactWriteItemsRequest(_a0 *dynamodb.TransactWrit } } - var r1 *dynamodb.TransactWriteItemsOutput if rf, ok := ret.Get(1).(func(*dynamodb.TransactWriteItemsInput) *dynamodb.TransactWriteItemsOutput); ok { r1 = rf(_a0) } else { @@ -3406,6 +4068,10 @@ func (_m *MockFakeDynamoDB) TransactWriteItemsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *dynamodb.TransactWriteItemsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TransactWriteItemsInput, ...request.Option) (*dynamodb.TransactWriteItemsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.TransactWriteItemsInput, ...request.Option) *dynamodb.TransactWriteItemsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3414,7 +4080,6 @@ func (_m *MockFakeDynamoDB) TransactWriteItemsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.TransactWriteItemsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3429,6 +4094,10 @@ func (_m *MockFakeDynamoDB) UntagResource(_a0 *dynamodb.UntagResourceInput) (*dy ret := _m.Called(_a0) var r0 *dynamodb.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UntagResourceInput) (*dynamodb.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UntagResourceInput) *dynamodb.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3437,7 +4106,6 @@ func (_m *MockFakeDynamoDB) UntagResource(_a0 *dynamodb.UntagResourceInput) (*dy } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3452,6 +4120,10 @@ func (_m *MockFakeDynamoDB) UntagResourceRequest(_a0 *dynamodb.UntagResourceInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UntagResourceInput) (*request.Request, *dynamodb.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3460,7 +4132,6 @@ func (_m *MockFakeDynamoDB) UntagResourceRequest(_a0 *dynamodb.UntagResourceInpu } } - var r1 *dynamodb.UntagResourceOutput if rf, ok := ret.Get(1).(func(*dynamodb.UntagResourceInput) *dynamodb.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3484,6 +4155,10 @@ func (_m *MockFakeDynamoDB) UntagResourceWithContext(_a0 context.Context, _a1 *d ret := _m.Called(_ca...) var r0 *dynamodb.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UntagResourceInput, ...request.Option) (*dynamodb.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UntagResourceInput, ...request.Option) *dynamodb.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3492,7 +4167,6 @@ func (_m *MockFakeDynamoDB) UntagResourceWithContext(_a0 context.Context, _a1 *d } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3507,6 +4181,10 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackups(_a0 *dynamodb.UpdateContinuo ret := _m.Called(_a0) var r0 *dynamodb.UpdateContinuousBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContinuousBackupsInput) (*dynamodb.UpdateContinuousBackupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContinuousBackupsInput) *dynamodb.UpdateContinuousBackupsOutput); ok { r0 = rf(_a0) } else { @@ -3515,7 +4193,6 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackups(_a0 *dynamodb.UpdateContinuo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateContinuousBackupsInput) error); ok { r1 = rf(_a0) } else { @@ -3530,6 +4207,10 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackupsRequest(_a0 *dynamodb.UpdateC ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateContinuousBackupsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContinuousBackupsInput) (*request.Request, *dynamodb.UpdateContinuousBackupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContinuousBackupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3538,7 +4219,6 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackupsRequest(_a0 *dynamodb.UpdateC } } - var r1 *dynamodb.UpdateContinuousBackupsOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateContinuousBackupsInput) *dynamodb.UpdateContinuousBackupsOutput); ok { r1 = rf(_a0) } else { @@ -3562,6 +4242,10 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackupsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *dynamodb.UpdateContinuousBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateContinuousBackupsInput, ...request.Option) (*dynamodb.UpdateContinuousBackupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateContinuousBackupsInput, ...request.Option) *dynamodb.UpdateContinuousBackupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3570,7 +4254,6 @@ func (_m *MockFakeDynamoDB) UpdateContinuousBackupsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateContinuousBackupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3585,6 +4268,10 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsights(_a0 *dynamodb.UpdateContri ret := _m.Called(_a0) var r0 *dynamodb.UpdateContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContributorInsightsInput) (*dynamodb.UpdateContributorInsightsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContributorInsightsInput) *dynamodb.UpdateContributorInsightsOutput); ok { r0 = rf(_a0) } else { @@ -3593,7 +4280,6 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsights(_a0 *dynamodb.UpdateContri } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateContributorInsightsInput) error); ok { r1 = rf(_a0) } else { @@ -3608,6 +4294,10 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsightsRequest(_a0 *dynamodb.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateContributorInsightsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContributorInsightsInput) (*request.Request, *dynamodb.UpdateContributorInsightsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateContributorInsightsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3616,7 +4306,6 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsightsRequest(_a0 *dynamodb.Updat } } - var r1 *dynamodb.UpdateContributorInsightsOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateContributorInsightsInput) *dynamodb.UpdateContributorInsightsOutput); ok { r1 = rf(_a0) } else { @@ -3640,6 +4329,10 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsightsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *dynamodb.UpdateContributorInsightsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateContributorInsightsInput, ...request.Option) (*dynamodb.UpdateContributorInsightsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateContributorInsightsInput, ...request.Option) *dynamodb.UpdateContributorInsightsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3648,7 +4341,6 @@ func (_m *MockFakeDynamoDB) UpdateContributorInsightsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateContributorInsightsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3663,6 +4355,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTable(_a0 *dynamodb.UpdateGlobalTableInp ret := _m.Called(_a0) var r0 *dynamodb.UpdateGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableInput) (*dynamodb.UpdateGlobalTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableInput) *dynamodb.UpdateGlobalTableOutput); ok { r0 = rf(_a0) } else { @@ -3671,7 +4367,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTable(_a0 *dynamodb.UpdateGlobalTableInp } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateGlobalTableInput) error); ok { r1 = rf(_a0) } else { @@ -3686,6 +4381,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableRequest(_a0 *dynamodb.UpdateGlobalT ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateGlobalTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableInput) (*request.Request, *dynamodb.UpdateGlobalTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3694,7 +4393,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableRequest(_a0 *dynamodb.UpdateGlobalT } } - var r1 *dynamodb.UpdateGlobalTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateGlobalTableInput) *dynamodb.UpdateGlobalTableOutput); ok { r1 = rf(_a0) } else { @@ -3711,6 +4409,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettings(_a0 *dynamodb.UpdateGlobal ret := _m.Called(_a0) var r0 *dynamodb.UpdateGlobalTableSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableSettingsInput) (*dynamodb.UpdateGlobalTableSettingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableSettingsInput) *dynamodb.UpdateGlobalTableSettingsOutput); ok { r0 = rf(_a0) } else { @@ -3719,7 +4421,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettings(_a0 *dynamodb.UpdateGlobal } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateGlobalTableSettingsInput) error); ok { r1 = rf(_a0) } else { @@ -3734,6 +4435,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettingsRequest(_a0 *dynamodb.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateGlobalTableSettingsOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableSettingsInput) (*request.Request, *dynamodb.UpdateGlobalTableSettingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateGlobalTableSettingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3742,7 +4447,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettingsRequest(_a0 *dynamodb.Updat } } - var r1 *dynamodb.UpdateGlobalTableSettingsOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateGlobalTableSettingsInput) *dynamodb.UpdateGlobalTableSettingsOutput); ok { r1 = rf(_a0) } else { @@ -3766,6 +4470,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettingsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *dynamodb.UpdateGlobalTableSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateGlobalTableSettingsInput, ...request.Option) (*dynamodb.UpdateGlobalTableSettingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateGlobalTableSettingsInput, ...request.Option) *dynamodb.UpdateGlobalTableSettingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3774,7 +4482,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableSettingsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateGlobalTableSettingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3796,6 +4503,10 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *dynamodb.UpdateGlobalTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateGlobalTableInput, ...request.Option) (*dynamodb.UpdateGlobalTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateGlobalTableInput, ...request.Option) *dynamodb.UpdateGlobalTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3804,7 +4515,6 @@ func (_m *MockFakeDynamoDB) UpdateGlobalTableWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateGlobalTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3819,6 +4529,10 @@ func (_m *MockFakeDynamoDB) UpdateItem(_a0 *dynamodb.UpdateItemInput) (*dynamodb ret := _m.Called(_a0) var r0 *dynamodb.UpdateItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateItemInput) *dynamodb.UpdateItemOutput); ok { r0 = rf(_a0) } else { @@ -3827,7 +4541,6 @@ func (_m *MockFakeDynamoDB) UpdateItem(_a0 *dynamodb.UpdateItemInput) (*dynamodb } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateItemInput) error); ok { r1 = rf(_a0) } else { @@ -3842,6 +4555,10 @@ func (_m *MockFakeDynamoDB) UpdateItemRequest(_a0 *dynamodb.UpdateItemInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateItemOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateItemInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3850,7 +4567,6 @@ func (_m *MockFakeDynamoDB) UpdateItemRequest(_a0 *dynamodb.UpdateItemInput) (*r } } - var r1 *dynamodb.UpdateItemOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateItemInput) *dynamodb.UpdateItemOutput); ok { r1 = rf(_a0) } else { @@ -3874,6 +4590,10 @@ func (_m *MockFakeDynamoDB) UpdateItemWithContext(_a0 context.Context, _a1 *dyna ret := _m.Called(_ca...) var r0 *dynamodb.UpdateItemOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateItemInput, ...request.Option) (*dynamodb.UpdateItemOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateItemInput, ...request.Option) *dynamodb.UpdateItemOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3882,7 +4602,6 @@ func (_m *MockFakeDynamoDB) UpdateItemWithContext(_a0 context.Context, _a1 *dyna } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateItemInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3897,6 +4616,10 @@ func (_m *MockFakeDynamoDB) UpdateTable(_a0 *dynamodb.UpdateTableInput) (*dynamo ret := _m.Called(_a0) var r0 *dynamodb.UpdateTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableInput) (*dynamodb.UpdateTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableInput) *dynamodb.UpdateTableOutput); ok { r0 = rf(_a0) } else { @@ -3905,7 +4628,6 @@ func (_m *MockFakeDynamoDB) UpdateTable(_a0 *dynamodb.UpdateTableInput) (*dynamo } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTableInput) error); ok { r1 = rf(_a0) } else { @@ -3920,6 +4642,10 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScaling(_a0 *dynamodb.UpdateTa ret := _m.Called(_a0) var r0 *dynamodb.UpdateTableReplicaAutoScalingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) (*dynamodb.UpdateTableReplicaAutoScalingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) *dynamodb.UpdateTableReplicaAutoScalingOutput); ok { r0 = rf(_a0) } else { @@ -3928,7 +4654,6 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScaling(_a0 *dynamodb.UpdateTa } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) error); ok { r1 = rf(_a0) } else { @@ -3943,6 +4668,10 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScalingRequest(_a0 *dynamodb.U ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateTableReplicaAutoScalingOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) (*request.Request, *dynamodb.UpdateTableReplicaAutoScalingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3951,7 +4680,6 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScalingRequest(_a0 *dynamodb.U } } - var r1 *dynamodb.UpdateTableReplicaAutoScalingOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTableReplicaAutoScalingInput) *dynamodb.UpdateTableReplicaAutoScalingOutput); ok { r1 = rf(_a0) } else { @@ -3975,6 +4703,10 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScalingWithContext(_a0 context ret := _m.Called(_ca...) var r0 *dynamodb.UpdateTableReplicaAutoScalingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTableReplicaAutoScalingInput, ...request.Option) (*dynamodb.UpdateTableReplicaAutoScalingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTableReplicaAutoScalingInput, ...request.Option) *dynamodb.UpdateTableReplicaAutoScalingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3983,7 +4715,6 @@ func (_m *MockFakeDynamoDB) UpdateTableReplicaAutoScalingWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateTableReplicaAutoScalingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3998,6 +4729,10 @@ func (_m *MockFakeDynamoDB) UpdateTableRequest(_a0 *dynamodb.UpdateTableInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateTableOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableInput) (*request.Request, *dynamodb.UpdateTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4006,7 +4741,6 @@ func (_m *MockFakeDynamoDB) UpdateTableRequest(_a0 *dynamodb.UpdateTableInput) ( } } - var r1 *dynamodb.UpdateTableOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTableInput) *dynamodb.UpdateTableOutput); ok { r1 = rf(_a0) } else { @@ -4030,6 +4764,10 @@ func (_m *MockFakeDynamoDB) UpdateTableWithContext(_a0 context.Context, _a1 *dyn ret := _m.Called(_ca...) var r0 *dynamodb.UpdateTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTableInput, ...request.Option) (*dynamodb.UpdateTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTableInput, ...request.Option) *dynamodb.UpdateTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4038,7 +4776,6 @@ func (_m *MockFakeDynamoDB) UpdateTableWithContext(_a0 context.Context, _a1 *dyn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4053,6 +4790,10 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLive(_a0 *dynamodb.UpdateTimeToLiveInput ret := _m.Called(_a0) var r0 *dynamodb.UpdateTimeToLiveOutput + var r1 error + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTimeToLiveInput) (*dynamodb.UpdateTimeToLiveOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTimeToLiveInput) *dynamodb.UpdateTimeToLiveOutput); ok { r0 = rf(_a0) } else { @@ -4061,7 +4802,6 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLive(_a0 *dynamodb.UpdateTimeToLiveInput } } - var r1 error if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTimeToLiveInput) error); ok { r1 = rf(_a0) } else { @@ -4076,6 +4816,10 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLiveRequest(_a0 *dynamodb.UpdateTimeToLi ret := _m.Called(_a0) var r0 *request.Request + var r1 *dynamodb.UpdateTimeToLiveOutput + if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTimeToLiveInput) (*request.Request, *dynamodb.UpdateTimeToLiveOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*dynamodb.UpdateTimeToLiveInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4084,7 +4828,6 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLiveRequest(_a0 *dynamodb.UpdateTimeToLi } } - var r1 *dynamodb.UpdateTimeToLiveOutput if rf, ok := ret.Get(1).(func(*dynamodb.UpdateTimeToLiveInput) *dynamodb.UpdateTimeToLiveOutput); ok { r1 = rf(_a0) } else { @@ -4108,6 +4851,10 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLiveWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *dynamodb.UpdateTimeToLiveOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTimeToLiveInput, ...request.Option) (*dynamodb.UpdateTimeToLiveOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *dynamodb.UpdateTimeToLiveInput, ...request.Option) *dynamodb.UpdateTimeToLiveOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4116,7 +4863,6 @@ func (_m *MockFakeDynamoDB) UpdateTimeToLiveWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *dynamodb.UpdateTimeToLiveInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4195,3 +4941,18 @@ func (_m *MockFakeDynamoDB) WaitUntilTableNotExistsWithContext(_a0 context.Conte return r0 } + +type mockConstructorTestingTNewMockFakeDynamoDB interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeDynamoDB creates a new instance of MockFakeDynamoDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeDynamoDB(t mockConstructorTestingTNewMockFakeDynamoDB) *MockFakeDynamoDB { + mock := &MockFakeDynamoDB{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeEC2.go b/test/aws/mock_FakeEC2.go index f8dab0633..6c143ea45 100644 --- a/test/aws/mock_FakeEC2.go +++ b/test/aws/mock_FakeEC2.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuote(_a0 *ec2.AcceptReser ret := _m.Called(_a0) var r0 *ec2.AcceptReservedInstancesExchangeQuoteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) *ec2.AcceptReservedInstancesExchangeQuoteOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuote(_a0 *ec2.AcceptReser } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuoteRequest(_a0 *ec2.Acce ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptReservedInstancesExchangeQuoteOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.AcceptReservedInstancesExchangeQuoteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuoteRequest(_a0 *ec2.Acce } } - var r1 *ec2.AcceptReservedInstancesExchangeQuoteOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptReservedInstancesExchangeQuoteInput) *ec2.AcceptReservedInstancesExchangeQuoteOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuoteWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *ec2.AcceptReservedInstancesExchangeQuoteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...request.Option) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...request.Option) *ec2.AcceptReservedInstancesExchangeQuoteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeEC2) AcceptReservedInstancesExchangeQuoteWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociations(_a0 *ec2. ret := _m.Called(_a0) var r0 *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) (*ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociations(_a0 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociationsRequest(_a ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociationsRequest(_a } } - var r1 *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociationsWithContex ret := _m.Called(_ca...) var r0 *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayMulticastDomainAssociationsInput, ...request.Option) (*ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayMulticastDomainAssociationsInput, ...request.Option) *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayMulticastDomainAssociationsWithContex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptTransitGatewayMulticastDomainAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachment(_a0 *ec2.AcceptTran ret := _m.Called(_a0) var r0 *ec2.AcceptTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) (*ec2.AcceptTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) *ec2.AcceptTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachment(_a0 *ec2.AcceptTran } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Acc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptTransitGatewayPeeringAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.AcceptTransitGatewayPeeringAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Acc } } - var r1 *ec2.AcceptTransitGatewayPeeringAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayPeeringAttachmentInput) *ec2.AcceptTransitGatewayPeeringAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachmentWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.AcceptTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.AcceptTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayPeeringAttachmentInput, ...request.Option) *ec2.AcceptTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayPeeringAttachmentWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptTransitGatewayPeeringAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachment(_a0 *ec2.AcceptTransitG ret := _m.Called(_a0) var r0 *ec2.AcceptTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) (*ec2.AcceptTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) *ec2.AcceptTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachment(_a0 *ec2.AcceptTransitG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachmentRequest(_a0 *ec2.AcceptT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptTransitGatewayVpcAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.AcceptTransitGatewayVpcAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachmentRequest(_a0 *ec2.AcceptT } } - var r1 *ec2.AcceptTransitGatewayVpcAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptTransitGatewayVpcAttachmentInput) *ec2.AcceptTransitGatewayVpcAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachmentWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.AcceptTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.AcceptTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayVpcAttachmentInput, ...request.Option) *ec2.AcceptTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeEC2) AcceptTransitGatewayVpcAttachmentWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptTransitGatewayVpcAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnections(_a0 *ec2.AcceptVpcEndpointCo ret := _m.Called(_a0) var r0 *ec2.AcceptVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcEndpointConnectionsInput) (*ec2.AcceptVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcEndpointConnectionsInput) *ec2.AcceptVpcEndpointConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnections(_a0 *ec2.AcceptVpcEndpointCo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptVpcEndpointConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnectionsRequest(_a0 *ec2.AcceptVpcEnd ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptVpcEndpointConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcEndpointConnectionsInput) (*request.Request, *ec2.AcceptVpcEndpointConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcEndpointConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnectionsRequest(_a0 *ec2.AcceptVpcEnd } } - var r1 *ec2.AcceptVpcEndpointConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptVpcEndpointConnectionsInput) *ec2.AcceptVpcEndpointConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnectionsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.AcceptVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcEndpointConnectionsInput, ...request.Option) (*ec2.AcceptVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcEndpointConnectionsInput, ...request.Option) *ec2.AcceptVpcEndpointConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeEC2) AcceptVpcEndpointConnectionsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptVpcEndpointConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnection(_a0 *ec2.AcceptVpcPeeringConne ret := _m.Called(_a0) var r0 *ec2.AcceptVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcPeeringConnectionInput) (*ec2.AcceptVpcPeeringConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcPeeringConnectionInput) *ec2.AcceptVpcPeeringConnectionOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnection(_a0 *ec2.AcceptVpcPeeringConne } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AcceptVpcPeeringConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnectionRequest(_a0 *ec2.AcceptVpcPeeri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AcceptVpcPeeringConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcPeeringConnectionInput) (*request.Request, *ec2.AcceptVpcPeeringConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AcceptVpcPeeringConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnectionRequest(_a0 *ec2.AcceptVpcPeeri } } - var r1 *ec2.AcceptVpcPeeringConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.AcceptVpcPeeringConnectionInput) *ec2.AcceptVpcPeeringConnectionOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnectionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.AcceptVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcPeeringConnectionInput, ...request.Option) (*ec2.AcceptVpcPeeringConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcPeeringConnectionInput, ...request.Option) *ec2.AcceptVpcPeeringConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeEC2) AcceptVpcPeeringConnectionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AcceptVpcPeeringConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeEC2) AdvertiseByoipCidr(_a0 *ec2.AdvertiseByoipCidrInput) (*ec ret := _m.Called(_a0) var r0 *ec2.AdvertiseByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AdvertiseByoipCidrInput) (*ec2.AdvertiseByoipCidrOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AdvertiseByoipCidrInput) *ec2.AdvertiseByoipCidrOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeEC2) AdvertiseByoipCidr(_a0 *ec2.AdvertiseByoipCidrInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AdvertiseByoipCidrInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeEC2) AdvertiseByoipCidrRequest(_a0 *ec2.AdvertiseByoipCidrInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AdvertiseByoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.AdvertiseByoipCidrInput) (*request.Request, *ec2.AdvertiseByoipCidrOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AdvertiseByoipCidrInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeEC2) AdvertiseByoipCidrRequest(_a0 *ec2.AdvertiseByoipCidrInpu } } - var r1 *ec2.AdvertiseByoipCidrOutput if rf, ok := ret.Get(1).(func(*ec2.AdvertiseByoipCidrInput) *ec2.AdvertiseByoipCidrOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeEC2) AdvertiseByoipCidrWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.AdvertiseByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AdvertiseByoipCidrInput, ...request.Option) (*ec2.AdvertiseByoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AdvertiseByoipCidrInput, ...request.Option) *ec2.AdvertiseByoipCidrOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeEC2) AdvertiseByoipCidrWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AdvertiseByoipCidrInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeEC2) AllocateAddress(_a0 *ec2.AllocateAddressInput) (*ec2.Allo ret := _m.Called(_a0) var r0 *ec2.AllocateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AllocateAddressInput) (*ec2.AllocateAddressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AllocateAddressInput) *ec2.AllocateAddressOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeEC2) AllocateAddress(_a0 *ec2.AllocateAddressInput) (*ec2.Allo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AllocateAddressInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeEC2) AllocateAddressRequest(_a0 *ec2.AllocateAddressInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AllocateAddressOutput + if rf, ok := ret.Get(0).(func(*ec2.AllocateAddressInput) (*request.Request, *ec2.AllocateAddressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AllocateAddressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeEC2) AllocateAddressRequest(_a0 *ec2.AllocateAddressInput) (*r } } - var r1 *ec2.AllocateAddressOutput if rf, ok := ret.Get(1).(func(*ec2.AllocateAddressInput) *ec2.AllocateAddressOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeEC2) AllocateAddressWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.AllocateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateAddressInput, ...request.Option) (*ec2.AllocateAddressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateAddressInput, ...request.Option) *ec2.AllocateAddressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeEC2) AllocateAddressWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AllocateAddressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeEC2) AllocateHosts(_a0 *ec2.AllocateHostsInput) (*ec2.Allocate ret := _m.Called(_a0) var r0 *ec2.AllocateHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AllocateHostsInput) (*ec2.AllocateHostsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AllocateHostsInput) *ec2.AllocateHostsOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeEC2) AllocateHosts(_a0 *ec2.AllocateHostsInput) (*ec2.Allocate } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AllocateHostsInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeEC2) AllocateHostsRequest(_a0 *ec2.AllocateHostsInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AllocateHostsOutput + if rf, ok := ret.Get(0).(func(*ec2.AllocateHostsInput) (*request.Request, *ec2.AllocateHostsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AllocateHostsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeEC2) AllocateHostsRequest(_a0 *ec2.AllocateHostsInput) (*reque } } - var r1 *ec2.AllocateHostsOutput if rf, ok := ret.Get(1).(func(*ec2.AllocateHostsInput) *ec2.AllocateHostsOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeEC2) AllocateHostsWithContext(_a0 context.Context, _a1 *ec2.Al ret := _m.Called(_ca...) var r0 *ec2.AllocateHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateHostsInput, ...request.Option) (*ec2.AllocateHostsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateHostsInput, ...request.Option) *ec2.AllocateHostsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeEC2) AllocateHostsWithContext(_a0 context.Context, _a1 *ec2.Al } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AllocateHostsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -718,11 +799,102 @@ func (_m *MockFakeEC2) AllocateHostsWithContext(_a0 context.Context, _a1 *ec2.Al return r0, r1 } +// AllocateIpamPoolCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AllocateIpamPoolCidr(_a0 *ec2.AllocateIpamPoolCidrInput) (*ec2.AllocateIpamPoolCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.AllocateIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AllocateIpamPoolCidrInput) (*ec2.AllocateIpamPoolCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AllocateIpamPoolCidrInput) *ec2.AllocateIpamPoolCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AllocateIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AllocateIpamPoolCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// AllocateIpamPoolCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AllocateIpamPoolCidrRequest(_a0 *ec2.AllocateIpamPoolCidrInput) (*request.Request, *ec2.AllocateIpamPoolCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.AllocateIpamPoolCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.AllocateIpamPoolCidrInput) (*request.Request, *ec2.AllocateIpamPoolCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AllocateIpamPoolCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AllocateIpamPoolCidrInput) *ec2.AllocateIpamPoolCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.AllocateIpamPoolCidrOutput) + } + } + + return r0, r1 +} + +// AllocateIpamPoolCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) AllocateIpamPoolCidrWithContext(_a0 context.Context, _a1 *ec2.AllocateIpamPoolCidrInput, _a2 ...request.Option) (*ec2.AllocateIpamPoolCidrOutput, error) { + _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 *ec2.AllocateIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateIpamPoolCidrInput, ...request.Option) (*ec2.AllocateIpamPoolCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateIpamPoolCidrInput, ...request.Option) *ec2.AllocateIpamPoolCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AllocateIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.AllocateIpamPoolCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ApplySecurityGroupsToClientVpnTargetNetwork provides a mock function with given fields: _a0 func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetwork(_a0 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) (*ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput, error) { ret := _m.Called(_a0) var r0 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) (*ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +903,6 @@ func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetwork(_a0 *ec2.Appl } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +917,10 @@ func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetworkRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput + if rf, ok := ret.Get(0).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) (*request.Request, *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +929,6 @@ func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetworkRequest(_a0 *e } } - var r1 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput if rf, ok := ret.Get(1).(func(*ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput) *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +952,10 @@ func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetworkWithContext(_a ret := _m.Called(_ca...) var r0 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput, ...request.Option) (*ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput, ...request.Option) *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +964,6 @@ func (_m *MockFakeEC2) ApplySecurityGroupsToClientVpnTargetNetworkWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +978,10 @@ func (_m *MockFakeEC2) AssignIpv6Addresses(_a0 *ec2.AssignIpv6AddressesInput) (* ret := _m.Called(_a0) var r0 *ec2.AssignIpv6AddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssignIpv6AddressesInput) (*ec2.AssignIpv6AddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssignIpv6AddressesInput) *ec2.AssignIpv6AddressesOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +990,6 @@ func (_m *MockFakeEC2) AssignIpv6Addresses(_a0 *ec2.AssignIpv6AddressesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssignIpv6AddressesInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +1004,10 @@ func (_m *MockFakeEC2) AssignIpv6AddressesRequest(_a0 *ec2.AssignIpv6AddressesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssignIpv6AddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.AssignIpv6AddressesInput) (*request.Request, *ec2.AssignIpv6AddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssignIpv6AddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +1016,6 @@ func (_m *MockFakeEC2) AssignIpv6AddressesRequest(_a0 *ec2.AssignIpv6AddressesIn } } - var r1 *ec2.AssignIpv6AddressesOutput if rf, ok := ret.Get(1).(func(*ec2.AssignIpv6AddressesInput) *ec2.AssignIpv6AddressesOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +1039,10 @@ func (_m *MockFakeEC2) AssignIpv6AddressesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.AssignIpv6AddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignIpv6AddressesInput, ...request.Option) (*ec2.AssignIpv6AddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignIpv6AddressesInput, ...request.Option) *ec2.AssignIpv6AddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +1051,6 @@ func (_m *MockFakeEC2) AssignIpv6AddressesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssignIpv6AddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +1065,10 @@ func (_m *MockFakeEC2) AssignPrivateIpAddresses(_a0 *ec2.AssignPrivateIpAddresse ret := _m.Called(_a0) var r0 *ec2.AssignPrivateIpAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssignPrivateIpAddressesInput) (*ec2.AssignPrivateIpAddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssignPrivateIpAddressesInput) *ec2.AssignPrivateIpAddressesOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +1077,6 @@ func (_m *MockFakeEC2) AssignPrivateIpAddresses(_a0 *ec2.AssignPrivateIpAddresse } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssignPrivateIpAddressesInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1091,10 @@ func (_m *MockFakeEC2) AssignPrivateIpAddressesRequest(_a0 *ec2.AssignPrivateIpA ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssignPrivateIpAddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.AssignPrivateIpAddressesInput) (*request.Request, *ec2.AssignPrivateIpAddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssignPrivateIpAddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1103,6 @@ func (_m *MockFakeEC2) AssignPrivateIpAddressesRequest(_a0 *ec2.AssignPrivateIpA } } - var r1 *ec2.AssignPrivateIpAddressesOutput if rf, ok := ret.Get(1).(func(*ec2.AssignPrivateIpAddressesInput) *ec2.AssignPrivateIpAddressesOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1126,10 @@ func (_m *MockFakeEC2) AssignPrivateIpAddressesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.AssignPrivateIpAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignPrivateIpAddressesInput, ...request.Option) (*ec2.AssignPrivateIpAddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignPrivateIpAddressesInput, ...request.Option) *ec2.AssignPrivateIpAddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1138,6 @@ func (_m *MockFakeEC2) AssignPrivateIpAddressesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssignPrivateIpAddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1152,10 @@ func (_m *MockFakeEC2) AssociateAddress(_a0 *ec2.AssociateAddressInput) (*ec2.As ret := _m.Called(_a0) var r0 *ec2.AssociateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateAddressInput) (*ec2.AssociateAddressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateAddressInput) *ec2.AssociateAddressOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1164,6 @@ func (_m *MockFakeEC2) AssociateAddress(_a0 *ec2.AssociateAddressInput) (*ec2.As } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateAddressInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1178,10 @@ func (_m *MockFakeEC2) AssociateAddressRequest(_a0 *ec2.AssociateAddressInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateAddressOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateAddressInput) (*request.Request, *ec2.AssociateAddressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateAddressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1190,6 @@ func (_m *MockFakeEC2) AssociateAddressRequest(_a0 *ec2.AssociateAddressInput) ( } } - var r1 *ec2.AssociateAddressOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateAddressInput) *ec2.AssociateAddressOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1213,10 @@ func (_m *MockFakeEC2) AssociateAddressWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.AssociateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateAddressInput, ...request.Option) (*ec2.AssociateAddressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateAddressInput, ...request.Option) *ec2.AssociateAddressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1225,6 @@ func (_m *MockFakeEC2) AssociateAddressWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateAddressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1239,10 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetwork(_a0 *ec2.AssociateClientV ret := _m.Called(_a0) var r0 *ec2.AssociateClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateClientVpnTargetNetworkInput) (*ec2.AssociateClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateClientVpnTargetNetworkInput) *ec2.AssociateClientVpnTargetNetworkOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1251,6 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetwork(_a0 *ec2.AssociateClientV } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateClientVpnTargetNetworkInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1265,10 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetworkRequest(_a0 *ec2.Associate ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateClientVpnTargetNetworkOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateClientVpnTargetNetworkInput) (*request.Request, *ec2.AssociateClientVpnTargetNetworkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateClientVpnTargetNetworkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1277,6 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetworkRequest(_a0 *ec2.Associate } } - var r1 *ec2.AssociateClientVpnTargetNetworkOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateClientVpnTargetNetworkInput) *ec2.AssociateClientVpnTargetNetworkOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1300,10 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetworkWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.AssociateClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateClientVpnTargetNetworkInput, ...request.Option) (*ec2.AssociateClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateClientVpnTargetNetworkInput, ...request.Option) *ec2.AssociateClientVpnTargetNetworkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1312,6 @@ func (_m *MockFakeEC2) AssociateClientVpnTargetNetworkWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateClientVpnTargetNetworkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1326,10 @@ func (_m *MockFakeEC2) AssociateDhcpOptions(_a0 *ec2.AssociateDhcpOptionsInput) ret := _m.Called(_a0) var r0 *ec2.AssociateDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateDhcpOptionsInput) (*ec2.AssociateDhcpOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateDhcpOptionsInput) *ec2.AssociateDhcpOptionsOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1338,6 @@ func (_m *MockFakeEC2) AssociateDhcpOptions(_a0 *ec2.AssociateDhcpOptionsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateDhcpOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1352,10 @@ func (_m *MockFakeEC2) AssociateDhcpOptionsRequest(_a0 *ec2.AssociateDhcpOptions ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateDhcpOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateDhcpOptionsInput) (*request.Request, *ec2.AssociateDhcpOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateDhcpOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1364,6 @@ func (_m *MockFakeEC2) AssociateDhcpOptionsRequest(_a0 *ec2.AssociateDhcpOptions } } - var r1 *ec2.AssociateDhcpOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateDhcpOptionsInput) *ec2.AssociateDhcpOptionsOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1387,10 @@ func (_m *MockFakeEC2) AssociateDhcpOptionsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.AssociateDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateDhcpOptionsInput, ...request.Option) (*ec2.AssociateDhcpOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateDhcpOptionsInput, ...request.Option) *ec2.AssociateDhcpOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1399,6 @@ func (_m *MockFakeEC2) AssociateDhcpOptionsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateDhcpOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1413,10 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRole(_a0 *ec2.AssociateEncl ret := _m.Called(_a0) var r0 *ec2.AssociateEnclaveCertificateIamRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) (*ec2.AssociateEnclaveCertificateIamRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) *ec2.AssociateEnclaveCertificateIamRoleOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1425,6 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRole(_a0 *ec2.AssociateEncl } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1439,10 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRoleRequest(_a0 *ec2.Associ ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateEnclaveCertificateIamRoleOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) (*request.Request, *ec2.AssociateEnclaveCertificateIamRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1451,6 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRoleRequest(_a0 *ec2.Associ } } - var r1 *ec2.AssociateEnclaveCertificateIamRoleOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateEnclaveCertificateIamRoleInput) *ec2.AssociateEnclaveCertificateIamRoleOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1474,10 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRoleWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.AssociateEnclaveCertificateIamRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateEnclaveCertificateIamRoleInput, ...request.Option) (*ec2.AssociateEnclaveCertificateIamRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateEnclaveCertificateIamRoleInput, ...request.Option) *ec2.AssociateEnclaveCertificateIamRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1486,6 @@ func (_m *MockFakeEC2) AssociateEnclaveCertificateIamRoleWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateEnclaveCertificateIamRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1500,10 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfile(_a0 *ec2.AssociateIamInstance ret := _m.Called(_a0) var r0 *ec2.AssociateIamInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateIamInstanceProfileInput) (*ec2.AssociateIamInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateIamInstanceProfileInput) *ec2.AssociateIamInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1512,6 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfile(_a0 *ec2.AssociateIamInstance } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateIamInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1526,10 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfileRequest(_a0 *ec2.AssociateIamI ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateIamInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateIamInstanceProfileInput) (*request.Request, *ec2.AssociateIamInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateIamInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1538,6 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfileRequest(_a0 *ec2.AssociateIamI } } - var r1 *ec2.AssociateIamInstanceProfileOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateIamInstanceProfileInput) *ec2.AssociateIamInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1561,10 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfileWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.AssociateIamInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateIamInstanceProfileInput, ...request.Option) (*ec2.AssociateIamInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateIamInstanceProfileInput, ...request.Option) *ec2.AssociateIamInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1573,6 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfileWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateIamInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1342,11 +1582,102 @@ func (_m *MockFakeEC2) AssociateIamInstanceProfileWithContext(_a0 context.Contex return r0, r1 } +// AssociateInstanceEventWindow provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AssociateInstanceEventWindow(_a0 *ec2.AssociateInstanceEventWindowInput) (*ec2.AssociateInstanceEventWindowOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.AssociateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateInstanceEventWindowInput) (*ec2.AssociateInstanceEventWindowOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AssociateInstanceEventWindowInput) *ec2.AssociateInstanceEventWindowOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AssociateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AssociateInstanceEventWindowInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// AssociateInstanceEventWindowRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AssociateInstanceEventWindowRequest(_a0 *ec2.AssociateInstanceEventWindowInput) (*request.Request, *ec2.AssociateInstanceEventWindowOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.AssociateInstanceEventWindowOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateInstanceEventWindowInput) (*request.Request, *ec2.AssociateInstanceEventWindowOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AssociateInstanceEventWindowInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AssociateInstanceEventWindowInput) *ec2.AssociateInstanceEventWindowOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.AssociateInstanceEventWindowOutput) + } + } + + return r0, r1 +} + +// AssociateInstanceEventWindowWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) AssociateInstanceEventWindowWithContext(_a0 context.Context, _a1 *ec2.AssociateInstanceEventWindowInput, _a2 ...request.Option) (*ec2.AssociateInstanceEventWindowOutput, error) { + _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 *ec2.AssociateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateInstanceEventWindowInput, ...request.Option) (*ec2.AssociateInstanceEventWindowOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateInstanceEventWindowInput, ...request.Option) *ec2.AssociateInstanceEventWindowOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AssociateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateInstanceEventWindowInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // AssociateRouteTable provides a mock function with given fields: _a0 func (_m *MockFakeEC2) AssociateRouteTable(_a0 *ec2.AssociateRouteTableInput) (*ec2.AssociateRouteTableOutput, error) { ret := _m.Called(_a0) var r0 *ec2.AssociateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateRouteTableInput) (*ec2.AssociateRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateRouteTableInput) *ec2.AssociateRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1686,6 @@ func (_m *MockFakeEC2) AssociateRouteTable(_a0 *ec2.AssociateRouteTableInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1700,10 @@ func (_m *MockFakeEC2) AssociateRouteTableRequest(_a0 *ec2.AssociateRouteTableIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateRouteTableInput) (*request.Request, *ec2.AssociateRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1712,6 @@ func (_m *MockFakeEC2) AssociateRouteTableRequest(_a0 *ec2.AssociateRouteTableIn } } - var r1 *ec2.AssociateRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateRouteTableInput) *ec2.AssociateRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1735,10 @@ func (_m *MockFakeEC2) AssociateRouteTableWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.AssociateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateRouteTableInput, ...request.Option) (*ec2.AssociateRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateRouteTableInput, ...request.Option) *ec2.AssociateRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1747,6 @@ func (_m *MockFakeEC2) AssociateRouteTableWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1761,10 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlock(_a0 *ec2.AssociateSubnetCidrBloc ret := _m.Called(_a0) var r0 *ec2.AssociateSubnetCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateSubnetCidrBlockInput) (*ec2.AssociateSubnetCidrBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateSubnetCidrBlockInput) *ec2.AssociateSubnetCidrBlockOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1773,6 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlock(_a0 *ec2.AssociateSubnetCidrBloc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateSubnetCidrBlockInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1787,10 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlockRequest(_a0 *ec2.AssociateSubnetC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateSubnetCidrBlockOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateSubnetCidrBlockInput) (*request.Request, *ec2.AssociateSubnetCidrBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateSubnetCidrBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1799,6 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlockRequest(_a0 *ec2.AssociateSubnetC } } - var r1 *ec2.AssociateSubnetCidrBlockOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateSubnetCidrBlockInput) *ec2.AssociateSubnetCidrBlockOutput); ok { r1 = rf(_a0) } else { @@ -1480,6 +1822,10 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlockWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.AssociateSubnetCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateSubnetCidrBlockInput, ...request.Option) (*ec2.AssociateSubnetCidrBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateSubnetCidrBlockInput, ...request.Option) *ec2.AssociateSubnetCidrBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1488,7 +1834,6 @@ func (_m *MockFakeEC2) AssociateSubnetCidrBlockWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateSubnetCidrBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1503,6 +1848,10 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomain(_a0 *ec2.Associate ret := _m.Called(_a0) var r0 *ec2.AssociateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) (*ec2.AssociateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) *ec2.AssociateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0) } else { @@ -1511,7 +1860,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomain(_a0 *ec2.Associate } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) error); ok { r1 = rf(_a0) } else { @@ -1526,6 +1874,10 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomainRequest(_a0 *ec2.As ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateTransitGatewayMulticastDomainOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) (*request.Request, *ec2.AssociateTransitGatewayMulticastDomainOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1534,7 +1886,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomainRequest(_a0 *ec2.As } } - var r1 *ec2.AssociateTransitGatewayMulticastDomainOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayMulticastDomainInput) *ec2.AssociateTransitGatewayMulticastDomainOutput); ok { r1 = rf(_a0) } else { @@ -1558,6 +1909,10 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomainWithContext(_a0 con ret := _m.Called(_ca...) var r0 *ec2.AssociateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.AssociateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayMulticastDomainInput, ...request.Option) *ec2.AssociateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1566,7 +1921,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomainWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateTransitGatewayMulticastDomainInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1576,11 +1930,102 @@ func (_m *MockFakeEC2) AssociateTransitGatewayMulticastDomainWithContext(_a0 con return r0, r1 } +// AssociateTransitGatewayPolicyTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AssociateTransitGatewayPolicyTable(_a0 *ec2.AssociateTransitGatewayPolicyTableInput) (*ec2.AssociateTransitGatewayPolicyTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.AssociateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayPolicyTableInput) (*ec2.AssociateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayPolicyTableInput) *ec2.AssociateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AssociateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayPolicyTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// AssociateTransitGatewayPolicyTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) AssociateTransitGatewayPolicyTableRequest(_a0 *ec2.AssociateTransitGatewayPolicyTableInput) (*request.Request, *ec2.AssociateTransitGatewayPolicyTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.AssociateTransitGatewayPolicyTableOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayPolicyTableInput) (*request.Request, *ec2.AssociateTransitGatewayPolicyTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayPolicyTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayPolicyTableInput) *ec2.AssociateTransitGatewayPolicyTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.AssociateTransitGatewayPolicyTableOutput) + } + } + + return r0, r1 +} + +// AssociateTransitGatewayPolicyTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) AssociateTransitGatewayPolicyTableWithContext(_a0 context.Context, _a1 *ec2.AssociateTransitGatewayPolicyTableInput, _a2 ...request.Option) (*ec2.AssociateTransitGatewayPolicyTableOutput, error) { + _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 *ec2.AssociateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayPolicyTableInput, ...request.Option) (*ec2.AssociateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayPolicyTableInput, ...request.Option) *ec2.AssociateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.AssociateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateTransitGatewayPolicyTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // AssociateTransitGatewayRouteTable provides a mock function with given fields: _a0 func (_m *MockFakeEC2) AssociateTransitGatewayRouteTable(_a0 *ec2.AssociateTransitGatewayRouteTableInput) (*ec2.AssociateTransitGatewayRouteTableOutput, error) { ret := _m.Called(_a0) var r0 *ec2.AssociateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayRouteTableInput) (*ec2.AssociateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayRouteTableInput) *ec2.AssociateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -1589,7 +2034,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayRouteTable(_a0 *ec2.AssociateTrans } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -1604,6 +2048,10 @@ func (_m *MockFakeEC2) AssociateTransitGatewayRouteTableRequest(_a0 *ec2.Associa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateTransitGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayRouteTableInput) (*request.Request, *ec2.AssociateTransitGatewayRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTransitGatewayRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +2060,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayRouteTableRequest(_a0 *ec2.Associa } } - var r1 *ec2.AssociateTransitGatewayRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateTransitGatewayRouteTableInput) *ec2.AssociateTransitGatewayRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +2083,10 @@ func (_m *MockFakeEC2) AssociateTransitGatewayRouteTableWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.AssociateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayRouteTableInput, ...request.Option) (*ec2.AssociateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayRouteTableInput, ...request.Option) *ec2.AssociateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +2095,6 @@ func (_m *MockFakeEC2) AssociateTransitGatewayRouteTableWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateTransitGatewayRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +2109,10 @@ func (_m *MockFakeEC2) AssociateTrunkInterface(_a0 *ec2.AssociateTrunkInterfaceI ret := _m.Called(_a0) var r0 *ec2.AssociateTrunkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateTrunkInterfaceInput) (*ec2.AssociateTrunkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTrunkInterfaceInput) *ec2.AssociateTrunkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +2121,6 @@ func (_m *MockFakeEC2) AssociateTrunkInterface(_a0 *ec2.AssociateTrunkInterfaceI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateTrunkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +2135,10 @@ func (_m *MockFakeEC2) AssociateTrunkInterfaceRequest(_a0 *ec2.AssociateTrunkInt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateTrunkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateTrunkInterfaceInput) (*request.Request, *ec2.AssociateTrunkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateTrunkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +2147,6 @@ func (_m *MockFakeEC2) AssociateTrunkInterfaceRequest(_a0 *ec2.AssociateTrunkInt } } - var r1 *ec2.AssociateTrunkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateTrunkInterfaceInput) *ec2.AssociateTrunkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +2170,10 @@ func (_m *MockFakeEC2) AssociateTrunkInterfaceWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.AssociateTrunkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTrunkInterfaceInput, ...request.Option) (*ec2.AssociateTrunkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTrunkInterfaceInput, ...request.Option) *ec2.AssociateTrunkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +2182,6 @@ func (_m *MockFakeEC2) AssociateTrunkInterfaceWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateTrunkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1737,6 +2196,10 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlock(_a0 *ec2.AssociateVpcCidrBlockInput ret := _m.Called(_a0) var r0 *ec2.AssociateVpcCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AssociateVpcCidrBlockInput) (*ec2.AssociateVpcCidrBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateVpcCidrBlockInput) *ec2.AssociateVpcCidrBlockOutput); ok { r0 = rf(_a0) } else { @@ -1745,7 +2208,6 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlock(_a0 *ec2.AssociateVpcCidrBlockInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AssociateVpcCidrBlockInput) error); ok { r1 = rf(_a0) } else { @@ -1760,6 +2222,10 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlockRequest(_a0 *ec2.AssociateVpcCidrBlo ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AssociateVpcCidrBlockOutput + if rf, ok := ret.Get(0).(func(*ec2.AssociateVpcCidrBlockInput) (*request.Request, *ec2.AssociateVpcCidrBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AssociateVpcCidrBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +2234,6 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlockRequest(_a0 *ec2.AssociateVpcCidrBlo } } - var r1 *ec2.AssociateVpcCidrBlockOutput if rf, ok := ret.Get(1).(func(*ec2.AssociateVpcCidrBlockInput) *ec2.AssociateVpcCidrBlockOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +2257,10 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlockWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.AssociateVpcCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateVpcCidrBlockInput, ...request.Option) (*ec2.AssociateVpcCidrBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateVpcCidrBlockInput, ...request.Option) *ec2.AssociateVpcCidrBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2269,6 @@ func (_m *MockFakeEC2) AssociateVpcCidrBlockWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AssociateVpcCidrBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2283,10 @@ func (_m *MockFakeEC2) AttachClassicLinkVpc(_a0 *ec2.AttachClassicLinkVpcInput) ret := _m.Called(_a0) var r0 *ec2.AttachClassicLinkVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AttachClassicLinkVpcInput) (*ec2.AttachClassicLinkVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachClassicLinkVpcInput) *ec2.AttachClassicLinkVpcOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2295,6 @@ func (_m *MockFakeEC2) AttachClassicLinkVpc(_a0 *ec2.AttachClassicLinkVpcInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AttachClassicLinkVpcInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2309,10 @@ func (_m *MockFakeEC2) AttachClassicLinkVpcRequest(_a0 *ec2.AttachClassicLinkVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AttachClassicLinkVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.AttachClassicLinkVpcInput) (*request.Request, *ec2.AttachClassicLinkVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachClassicLinkVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2321,6 @@ func (_m *MockFakeEC2) AttachClassicLinkVpcRequest(_a0 *ec2.AttachClassicLinkVpc } } - var r1 *ec2.AttachClassicLinkVpcOutput if rf, ok := ret.Get(1).(func(*ec2.AttachClassicLinkVpcInput) *ec2.AttachClassicLinkVpcOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2344,10 @@ func (_m *MockFakeEC2) AttachClassicLinkVpcWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.AttachClassicLinkVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachClassicLinkVpcInput, ...request.Option) (*ec2.AttachClassicLinkVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachClassicLinkVpcInput, ...request.Option) *ec2.AttachClassicLinkVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2356,6 @@ func (_m *MockFakeEC2) AttachClassicLinkVpcWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AttachClassicLinkVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2370,10 @@ func (_m *MockFakeEC2) AttachInternetGateway(_a0 *ec2.AttachInternetGatewayInput ret := _m.Called(_a0) var r0 *ec2.AttachInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AttachInternetGatewayInput) (*ec2.AttachInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachInternetGatewayInput) *ec2.AttachInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2382,6 @@ func (_m *MockFakeEC2) AttachInternetGateway(_a0 *ec2.AttachInternetGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AttachInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2396,10 @@ func (_m *MockFakeEC2) AttachInternetGatewayRequest(_a0 *ec2.AttachInternetGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AttachInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.AttachInternetGatewayInput) (*request.Request, *ec2.AttachInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2408,6 @@ func (_m *MockFakeEC2) AttachInternetGatewayRequest(_a0 *ec2.AttachInternetGatew } } - var r1 *ec2.AttachInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.AttachInternetGatewayInput) *ec2.AttachInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2431,10 @@ func (_m *MockFakeEC2) AttachInternetGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.AttachInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachInternetGatewayInput, ...request.Option) (*ec2.AttachInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachInternetGatewayInput, ...request.Option) *ec2.AttachInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2443,6 @@ func (_m *MockFakeEC2) AttachInternetGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AttachInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2457,10 @@ func (_m *MockFakeEC2) AttachNetworkInterface(_a0 *ec2.AttachNetworkInterfaceInp ret := _m.Called(_a0) var r0 *ec2.AttachNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AttachNetworkInterfaceInput) (*ec2.AttachNetworkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachNetworkInterfaceInput) *ec2.AttachNetworkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2469,6 @@ func (_m *MockFakeEC2) AttachNetworkInterface(_a0 *ec2.AttachNetworkInterfaceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AttachNetworkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2483,10 @@ func (_m *MockFakeEC2) AttachNetworkInterfaceRequest(_a0 *ec2.AttachNetworkInter ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AttachNetworkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.AttachNetworkInterfaceInput) (*request.Request, *ec2.AttachNetworkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachNetworkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2495,6 @@ func (_m *MockFakeEC2) AttachNetworkInterfaceRequest(_a0 *ec2.AttachNetworkInter } } - var r1 *ec2.AttachNetworkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.AttachNetworkInterfaceInput) *ec2.AttachNetworkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2518,10 @@ func (_m *MockFakeEC2) AttachNetworkInterfaceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.AttachNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachNetworkInterfaceInput, ...request.Option) (*ec2.AttachNetworkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachNetworkInterfaceInput, ...request.Option) *ec2.AttachNetworkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2530,6 @@ func (_m *MockFakeEC2) AttachNetworkInterfaceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AttachNetworkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2544,10 @@ func (_m *MockFakeEC2) AttachVolume(_a0 *ec2.AttachVolumeInput) (*ec2.VolumeAtta ret := _m.Called(_a0) var r0 *ec2.VolumeAttachment + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AttachVolumeInput) (*ec2.VolumeAttachment, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachVolumeInput) *ec2.VolumeAttachment); ok { r0 = rf(_a0) } else { @@ -2057,7 +2556,6 @@ func (_m *MockFakeEC2) AttachVolume(_a0 *ec2.AttachVolumeInput) (*ec2.VolumeAtta } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AttachVolumeInput) error); ok { r1 = rf(_a0) } else { @@ -2072,6 +2570,10 @@ func (_m *MockFakeEC2) AttachVolumeRequest(_a0 *ec2.AttachVolumeInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.VolumeAttachment + if rf, ok := ret.Get(0).(func(*ec2.AttachVolumeInput) (*request.Request, *ec2.VolumeAttachment)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachVolumeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2582,6 @@ func (_m *MockFakeEC2) AttachVolumeRequest(_a0 *ec2.AttachVolumeInput) (*request } } - var r1 *ec2.VolumeAttachment if rf, ok := ret.Get(1).(func(*ec2.AttachVolumeInput) *ec2.VolumeAttachment); ok { r1 = rf(_a0) } else { @@ -2104,6 +2605,10 @@ func (_m *MockFakeEC2) AttachVolumeWithContext(_a0 context.Context, _a1 *ec2.Att ret := _m.Called(_ca...) var r0 *ec2.VolumeAttachment + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVolumeInput, ...request.Option) (*ec2.VolumeAttachment, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVolumeInput, ...request.Option) *ec2.VolumeAttachment); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2617,6 @@ func (_m *MockFakeEC2) AttachVolumeWithContext(_a0 context.Context, _a1 *ec2.Att } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AttachVolumeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2631,10 @@ func (_m *MockFakeEC2) AttachVpnGateway(_a0 *ec2.AttachVpnGatewayInput) (*ec2.At ret := _m.Called(_a0) var r0 *ec2.AttachVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AttachVpnGatewayInput) (*ec2.AttachVpnGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachVpnGatewayInput) *ec2.AttachVpnGatewayOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2643,6 @@ func (_m *MockFakeEC2) AttachVpnGateway(_a0 *ec2.AttachVpnGatewayInput) (*ec2.At } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AttachVpnGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2657,10 @@ func (_m *MockFakeEC2) AttachVpnGatewayRequest(_a0 *ec2.AttachVpnGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AttachVpnGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.AttachVpnGatewayInput) (*request.Request, *ec2.AttachVpnGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AttachVpnGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2669,6 @@ func (_m *MockFakeEC2) AttachVpnGatewayRequest(_a0 *ec2.AttachVpnGatewayInput) ( } } - var r1 *ec2.AttachVpnGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.AttachVpnGatewayInput) *ec2.AttachVpnGatewayOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2692,10 @@ func (_m *MockFakeEC2) AttachVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.AttachVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVpnGatewayInput, ...request.Option) (*ec2.AttachVpnGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVpnGatewayInput, ...request.Option) *ec2.AttachVpnGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2704,6 @@ func (_m *MockFakeEC2) AttachVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AttachVpnGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2718,10 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngress(_a0 *ec2.AuthorizeClientVpnIngr ret := _m.Called(_a0) var r0 *ec2.AuthorizeClientVpnIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeClientVpnIngressInput) (*ec2.AuthorizeClientVpnIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeClientVpnIngressInput) *ec2.AuthorizeClientVpnIngressOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2730,6 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngress(_a0 *ec2.AuthorizeClientVpnIngr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AuthorizeClientVpnIngressInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2744,10 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngressRequest(_a0 *ec2.AuthorizeClient ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AuthorizeClientVpnIngressOutput + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeClientVpnIngressInput) (*request.Request, *ec2.AuthorizeClientVpnIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeClientVpnIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2756,6 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngressRequest(_a0 *ec2.AuthorizeClient } } - var r1 *ec2.AuthorizeClientVpnIngressOutput if rf, ok := ret.Get(1).(func(*ec2.AuthorizeClientVpnIngressInput) *ec2.AuthorizeClientVpnIngressOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2779,10 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngressWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.AuthorizeClientVpnIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeClientVpnIngressInput, ...request.Option) (*ec2.AuthorizeClientVpnIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeClientVpnIngressInput, ...request.Option) *ec2.AuthorizeClientVpnIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2791,6 @@ func (_m *MockFakeEC2) AuthorizeClientVpnIngressWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AuthorizeClientVpnIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2283,6 +2805,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgress(_a0 *ec2.AuthorizeSecurityGr ret := _m.Called(_a0) var r0 *ec2.AuthorizeSecurityGroupEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupEgressInput) (*ec2.AuthorizeSecurityGroupEgressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupEgressInput) *ec2.AuthorizeSecurityGroupEgressOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +2817,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgress(_a0 *ec2.AuthorizeSecurityGr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AuthorizeSecurityGroupEgressInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +2831,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgressRequest(_a0 *ec2.AuthorizeSec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AuthorizeSecurityGroupEgressOutput + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupEgressInput) (*request.Request, *ec2.AuthorizeSecurityGroupEgressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupEgressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2314,7 +2843,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgressRequest(_a0 *ec2.AuthorizeSec } } - var r1 *ec2.AuthorizeSecurityGroupEgressOutput if rf, ok := ret.Get(1).(func(*ec2.AuthorizeSecurityGroupEgressInput) *ec2.AuthorizeSecurityGroupEgressOutput); ok { r1 = rf(_a0) } else { @@ -2338,6 +2866,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgressWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.AuthorizeSecurityGroupEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupEgressInput, ...request.Option) (*ec2.AuthorizeSecurityGroupEgressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupEgressInput, ...request.Option) *ec2.AuthorizeSecurityGroupEgressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2346,7 +2878,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupEgressWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AuthorizeSecurityGroupEgressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2361,6 +2892,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngress(_a0 *ec2.AuthorizeSecurityG ret := _m.Called(_a0) var r0 *ec2.AuthorizeSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupIngressInput) *ec2.AuthorizeSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -2369,7 +2904,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngress(_a0 *ec2.AuthorizeSecurityG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.AuthorizeSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -2384,6 +2918,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngressRequest(_a0 *ec2.AuthorizeSe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.AuthorizeSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupIngressInput) (*request.Request, *ec2.AuthorizeSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.AuthorizeSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2392,7 +2930,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngressRequest(_a0 *ec2.AuthorizeSe } } - var r1 *ec2.AuthorizeSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*ec2.AuthorizeSecurityGroupIngressInput) *ec2.AuthorizeSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -2416,6 +2953,10 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngressWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.AuthorizeSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupIngressInput, ...request.Option) (*ec2.AuthorizeSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupIngressInput, ...request.Option) *ec2.AuthorizeSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2424,7 +2965,6 @@ func (_m *MockFakeEC2) AuthorizeSecurityGroupIngressWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.AuthorizeSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2439,6 +2979,10 @@ func (_m *MockFakeEC2) BundleInstance(_a0 *ec2.BundleInstanceInput) (*ec2.Bundle ret := _m.Called(_a0) var r0 *ec2.BundleInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.BundleInstanceInput) (*ec2.BundleInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.BundleInstanceInput) *ec2.BundleInstanceOutput); ok { r0 = rf(_a0) } else { @@ -2447,7 +2991,6 @@ func (_m *MockFakeEC2) BundleInstance(_a0 *ec2.BundleInstanceInput) (*ec2.Bundle } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.BundleInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -2462,6 +3005,10 @@ func (_m *MockFakeEC2) BundleInstanceRequest(_a0 *ec2.BundleInstanceInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.BundleInstanceOutput + if rf, ok := ret.Get(0).(func(*ec2.BundleInstanceInput) (*request.Request, *ec2.BundleInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.BundleInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2470,7 +3017,6 @@ func (_m *MockFakeEC2) BundleInstanceRequest(_a0 *ec2.BundleInstanceInput) (*req } } - var r1 *ec2.BundleInstanceOutput if rf, ok := ret.Get(1).(func(*ec2.BundleInstanceInput) *ec2.BundleInstanceOutput); ok { r1 = rf(_a0) } else { @@ -2494,6 +3040,10 @@ func (_m *MockFakeEC2) BundleInstanceWithContext(_a0 context.Context, _a1 *ec2.B ret := _m.Called(_ca...) var r0 *ec2.BundleInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.BundleInstanceInput, ...request.Option) (*ec2.BundleInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.BundleInstanceInput, ...request.Option) *ec2.BundleInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2502,7 +3052,6 @@ func (_m *MockFakeEC2) BundleInstanceWithContext(_a0 context.Context, _a1 *ec2.B } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.BundleInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2517,6 +3066,10 @@ func (_m *MockFakeEC2) CancelBundleTask(_a0 *ec2.CancelBundleTaskInput) (*ec2.Ca ret := _m.Called(_a0) var r0 *ec2.CancelBundleTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelBundleTaskInput) (*ec2.CancelBundleTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelBundleTaskInput) *ec2.CancelBundleTaskOutput); ok { r0 = rf(_a0) } else { @@ -2525,7 +3078,6 @@ func (_m *MockFakeEC2) CancelBundleTask(_a0 *ec2.CancelBundleTaskInput) (*ec2.Ca } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelBundleTaskInput) error); ok { r1 = rf(_a0) } else { @@ -2540,6 +3092,10 @@ func (_m *MockFakeEC2) CancelBundleTaskRequest(_a0 *ec2.CancelBundleTaskInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelBundleTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelBundleTaskInput) (*request.Request, *ec2.CancelBundleTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelBundleTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2548,7 +3104,6 @@ func (_m *MockFakeEC2) CancelBundleTaskRequest(_a0 *ec2.CancelBundleTaskInput) ( } } - var r1 *ec2.CancelBundleTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CancelBundleTaskInput) *ec2.CancelBundleTaskOutput); ok { r1 = rf(_a0) } else { @@ -2572,6 +3127,10 @@ func (_m *MockFakeEC2) CancelBundleTaskWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CancelBundleTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelBundleTaskInput, ...request.Option) (*ec2.CancelBundleTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelBundleTaskInput, ...request.Option) *ec2.CancelBundleTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2580,7 +3139,6 @@ func (_m *MockFakeEC2) CancelBundleTaskWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelBundleTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2595,6 +3153,10 @@ func (_m *MockFakeEC2) CancelCapacityReservation(_a0 *ec2.CancelCapacityReservat ret := _m.Called(_a0) var r0 *ec2.CancelCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationInput) (*ec2.CancelCapacityReservationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationInput) *ec2.CancelCapacityReservationOutput); ok { r0 = rf(_a0) } else { @@ -2603,7 +3165,6 @@ func (_m *MockFakeEC2) CancelCapacityReservation(_a0 *ec2.CancelCapacityReservat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelCapacityReservationInput) error); ok { r1 = rf(_a0) } else { @@ -2613,11 +3174,102 @@ func (_m *MockFakeEC2) CancelCapacityReservation(_a0 *ec2.CancelCapacityReservat return r0, r1 } +// CancelCapacityReservationFleets provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CancelCapacityReservationFleets(_a0 *ec2.CancelCapacityReservationFleetsInput) (*ec2.CancelCapacityReservationFleetsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CancelCapacityReservationFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationFleetsInput) (*ec2.CancelCapacityReservationFleetsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationFleetsInput) *ec2.CancelCapacityReservationFleetsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CancelCapacityReservationFleetsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CancelCapacityReservationFleetsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CancelCapacityReservationFleetsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CancelCapacityReservationFleetsRequest(_a0 *ec2.CancelCapacityReservationFleetsInput) (*request.Request, *ec2.CancelCapacityReservationFleetsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CancelCapacityReservationFleetsOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationFleetsInput) (*request.Request, *ec2.CancelCapacityReservationFleetsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationFleetsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CancelCapacityReservationFleetsInput) *ec2.CancelCapacityReservationFleetsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CancelCapacityReservationFleetsOutput) + } + } + + return r0, r1 +} + +// CancelCapacityReservationFleetsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CancelCapacityReservationFleetsWithContext(_a0 context.Context, _a1 *ec2.CancelCapacityReservationFleetsInput, _a2 ...request.Option) (*ec2.CancelCapacityReservationFleetsOutput, error) { + _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 *ec2.CancelCapacityReservationFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationFleetsInput, ...request.Option) (*ec2.CancelCapacityReservationFleetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationFleetsInput, ...request.Option) *ec2.CancelCapacityReservationFleetsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CancelCapacityReservationFleetsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelCapacityReservationFleetsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CancelCapacityReservationRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CancelCapacityReservationRequest(_a0 *ec2.CancelCapacityReservationInput) (*request.Request, *ec2.CancelCapacityReservationOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelCapacityReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationInput) (*request.Request, *ec2.CancelCapacityReservationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelCapacityReservationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2626,7 +3278,6 @@ func (_m *MockFakeEC2) CancelCapacityReservationRequest(_a0 *ec2.CancelCapacityR } } - var r1 *ec2.CancelCapacityReservationOutput if rf, ok := ret.Get(1).(func(*ec2.CancelCapacityReservationInput) *ec2.CancelCapacityReservationOutput); ok { r1 = rf(_a0) } else { @@ -2650,6 +3301,10 @@ func (_m *MockFakeEC2) CancelCapacityReservationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CancelCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationInput, ...request.Option) (*ec2.CancelCapacityReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationInput, ...request.Option) *ec2.CancelCapacityReservationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2658,7 +3313,6 @@ func (_m *MockFakeEC2) CancelCapacityReservationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelCapacityReservationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2673,6 +3327,10 @@ func (_m *MockFakeEC2) CancelConversionTask(_a0 *ec2.CancelConversionTaskInput) ret := _m.Called(_a0) var r0 *ec2.CancelConversionTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelConversionTaskInput) (*ec2.CancelConversionTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelConversionTaskInput) *ec2.CancelConversionTaskOutput); ok { r0 = rf(_a0) } else { @@ -2681,7 +3339,6 @@ func (_m *MockFakeEC2) CancelConversionTask(_a0 *ec2.CancelConversionTaskInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelConversionTaskInput) error); ok { r1 = rf(_a0) } else { @@ -2696,6 +3353,10 @@ func (_m *MockFakeEC2) CancelConversionTaskRequest(_a0 *ec2.CancelConversionTask ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelConversionTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelConversionTaskInput) (*request.Request, *ec2.CancelConversionTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelConversionTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2704,7 +3365,6 @@ func (_m *MockFakeEC2) CancelConversionTaskRequest(_a0 *ec2.CancelConversionTask } } - var r1 *ec2.CancelConversionTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CancelConversionTaskInput) *ec2.CancelConversionTaskOutput); ok { r1 = rf(_a0) } else { @@ -2728,6 +3388,10 @@ func (_m *MockFakeEC2) CancelConversionTaskWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CancelConversionTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelConversionTaskInput, ...request.Option) (*ec2.CancelConversionTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelConversionTaskInput, ...request.Option) *ec2.CancelConversionTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2736,7 +3400,6 @@ func (_m *MockFakeEC2) CancelConversionTaskWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelConversionTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2751,6 +3414,10 @@ func (_m *MockFakeEC2) CancelExportTask(_a0 *ec2.CancelExportTaskInput) (*ec2.Ca ret := _m.Called(_a0) var r0 *ec2.CancelExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelExportTaskInput) (*ec2.CancelExportTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelExportTaskInput) *ec2.CancelExportTaskOutput); ok { r0 = rf(_a0) } else { @@ -2759,7 +3426,6 @@ func (_m *MockFakeEC2) CancelExportTask(_a0 *ec2.CancelExportTaskInput) (*ec2.Ca } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelExportTaskInput) error); ok { r1 = rf(_a0) } else { @@ -2774,6 +3440,10 @@ func (_m *MockFakeEC2) CancelExportTaskRequest(_a0 *ec2.CancelExportTaskInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelExportTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelExportTaskInput) (*request.Request, *ec2.CancelExportTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelExportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2782,7 +3452,6 @@ func (_m *MockFakeEC2) CancelExportTaskRequest(_a0 *ec2.CancelExportTaskInput) ( } } - var r1 *ec2.CancelExportTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CancelExportTaskInput) *ec2.CancelExportTaskOutput); ok { r1 = rf(_a0) } else { @@ -2806,6 +3475,10 @@ func (_m *MockFakeEC2) CancelExportTaskWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CancelExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelExportTaskInput, ...request.Option) (*ec2.CancelExportTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelExportTaskInput, ...request.Option) *ec2.CancelExportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2814,7 +3487,6 @@ func (_m *MockFakeEC2) CancelExportTaskWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelExportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2829,6 +3501,10 @@ func (_m *MockFakeEC2) CancelImportTask(_a0 *ec2.CancelImportTaskInput) (*ec2.Ca ret := _m.Called(_a0) var r0 *ec2.CancelImportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelImportTaskInput) (*ec2.CancelImportTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelImportTaskInput) *ec2.CancelImportTaskOutput); ok { r0 = rf(_a0) } else { @@ -2837,7 +3513,6 @@ func (_m *MockFakeEC2) CancelImportTask(_a0 *ec2.CancelImportTaskInput) (*ec2.Ca } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelImportTaskInput) error); ok { r1 = rf(_a0) } else { @@ -2852,6 +3527,10 @@ func (_m *MockFakeEC2) CancelImportTaskRequest(_a0 *ec2.CancelImportTaskInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelImportTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelImportTaskInput) (*request.Request, *ec2.CancelImportTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelImportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2860,7 +3539,6 @@ func (_m *MockFakeEC2) CancelImportTaskRequest(_a0 *ec2.CancelImportTaskInput) ( } } - var r1 *ec2.CancelImportTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CancelImportTaskInput) *ec2.CancelImportTaskOutput); ok { r1 = rf(_a0) } else { @@ -2884,6 +3562,10 @@ func (_m *MockFakeEC2) CancelImportTaskWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CancelImportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelImportTaskInput, ...request.Option) (*ec2.CancelImportTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelImportTaskInput, ...request.Option) *ec2.CancelImportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2892,7 +3574,6 @@ func (_m *MockFakeEC2) CancelImportTaskWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelImportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2907,6 +3588,10 @@ func (_m *MockFakeEC2) CancelReservedInstancesListing(_a0 *ec2.CancelReservedIns ret := _m.Called(_a0) var r0 *ec2.CancelReservedInstancesListingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelReservedInstancesListingInput) (*ec2.CancelReservedInstancesListingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelReservedInstancesListingInput) *ec2.CancelReservedInstancesListingOutput); ok { r0 = rf(_a0) } else { @@ -2915,7 +3600,6 @@ func (_m *MockFakeEC2) CancelReservedInstancesListing(_a0 *ec2.CancelReservedIns } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelReservedInstancesListingInput) error); ok { r1 = rf(_a0) } else { @@ -2930,6 +3614,10 @@ func (_m *MockFakeEC2) CancelReservedInstancesListingRequest(_a0 *ec2.CancelRese ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelReservedInstancesListingOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelReservedInstancesListingInput) (*request.Request, *ec2.CancelReservedInstancesListingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelReservedInstancesListingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2938,7 +3626,6 @@ func (_m *MockFakeEC2) CancelReservedInstancesListingRequest(_a0 *ec2.CancelRese } } - var r1 *ec2.CancelReservedInstancesListingOutput if rf, ok := ret.Get(1).(func(*ec2.CancelReservedInstancesListingInput) *ec2.CancelReservedInstancesListingOutput); ok { r1 = rf(_a0) } else { @@ -2962,6 +3649,10 @@ func (_m *MockFakeEC2) CancelReservedInstancesListingWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.CancelReservedInstancesListingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelReservedInstancesListingInput, ...request.Option) (*ec2.CancelReservedInstancesListingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelReservedInstancesListingInput, ...request.Option) *ec2.CancelReservedInstancesListingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2970,7 +3661,6 @@ func (_m *MockFakeEC2) CancelReservedInstancesListingWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelReservedInstancesListingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2985,6 +3675,10 @@ func (_m *MockFakeEC2) CancelSpotFleetRequests(_a0 *ec2.CancelSpotFleetRequestsI ret := _m.Called(_a0) var r0 *ec2.CancelSpotFleetRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelSpotFleetRequestsInput) (*ec2.CancelSpotFleetRequestsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelSpotFleetRequestsInput) *ec2.CancelSpotFleetRequestsOutput); ok { r0 = rf(_a0) } else { @@ -2993,7 +3687,6 @@ func (_m *MockFakeEC2) CancelSpotFleetRequests(_a0 *ec2.CancelSpotFleetRequestsI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelSpotFleetRequestsInput) error); ok { r1 = rf(_a0) } else { @@ -3008,6 +3701,10 @@ func (_m *MockFakeEC2) CancelSpotFleetRequestsRequest(_a0 *ec2.CancelSpotFleetRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelSpotFleetRequestsOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelSpotFleetRequestsInput) (*request.Request, *ec2.CancelSpotFleetRequestsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelSpotFleetRequestsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3016,7 +3713,6 @@ func (_m *MockFakeEC2) CancelSpotFleetRequestsRequest(_a0 *ec2.CancelSpotFleetRe } } - var r1 *ec2.CancelSpotFleetRequestsOutput if rf, ok := ret.Get(1).(func(*ec2.CancelSpotFleetRequestsInput) *ec2.CancelSpotFleetRequestsOutput); ok { r1 = rf(_a0) } else { @@ -3040,6 +3736,10 @@ func (_m *MockFakeEC2) CancelSpotFleetRequestsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.CancelSpotFleetRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotFleetRequestsInput, ...request.Option) (*ec2.CancelSpotFleetRequestsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotFleetRequestsInput, ...request.Option) *ec2.CancelSpotFleetRequestsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3048,7 +3748,6 @@ func (_m *MockFakeEC2) CancelSpotFleetRequestsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelSpotFleetRequestsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3063,6 +3762,10 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequests(_a0 *ec2.CancelSpotInstanceReq ret := _m.Called(_a0) var r0 *ec2.CancelSpotInstanceRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CancelSpotInstanceRequestsInput) (*ec2.CancelSpotInstanceRequestsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelSpotInstanceRequestsInput) *ec2.CancelSpotInstanceRequestsOutput); ok { r0 = rf(_a0) } else { @@ -3071,7 +3774,6 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequests(_a0 *ec2.CancelSpotInstanceReq } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CancelSpotInstanceRequestsInput) error); ok { r1 = rf(_a0) } else { @@ -3086,6 +3788,10 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequestsRequest(_a0 *ec2.CancelSpotInst ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CancelSpotInstanceRequestsOutput + if rf, ok := ret.Get(0).(func(*ec2.CancelSpotInstanceRequestsInput) (*request.Request, *ec2.CancelSpotInstanceRequestsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CancelSpotInstanceRequestsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3094,7 +3800,6 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequestsRequest(_a0 *ec2.CancelSpotInst } } - var r1 *ec2.CancelSpotInstanceRequestsOutput if rf, ok := ret.Get(1).(func(*ec2.CancelSpotInstanceRequestsInput) *ec2.CancelSpotInstanceRequestsOutput); ok { r1 = rf(_a0) } else { @@ -3118,6 +3823,10 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequestsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.CancelSpotInstanceRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotInstanceRequestsInput, ...request.Option) (*ec2.CancelSpotInstanceRequestsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotInstanceRequestsInput, ...request.Option) *ec2.CancelSpotInstanceRequestsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3126,7 +3835,6 @@ func (_m *MockFakeEC2) CancelSpotInstanceRequestsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CancelSpotInstanceRequestsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3141,6 +3849,10 @@ func (_m *MockFakeEC2) ConfirmProductInstance(_a0 *ec2.ConfirmProductInstanceInp ret := _m.Called(_a0) var r0 *ec2.ConfirmProductInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ConfirmProductInstanceInput) (*ec2.ConfirmProductInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ConfirmProductInstanceInput) *ec2.ConfirmProductInstanceOutput); ok { r0 = rf(_a0) } else { @@ -3149,7 +3861,6 @@ func (_m *MockFakeEC2) ConfirmProductInstance(_a0 *ec2.ConfirmProductInstanceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ConfirmProductInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -3164,6 +3875,10 @@ func (_m *MockFakeEC2) ConfirmProductInstanceRequest(_a0 *ec2.ConfirmProductInst ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ConfirmProductInstanceOutput + if rf, ok := ret.Get(0).(func(*ec2.ConfirmProductInstanceInput) (*request.Request, *ec2.ConfirmProductInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ConfirmProductInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3172,7 +3887,6 @@ func (_m *MockFakeEC2) ConfirmProductInstanceRequest(_a0 *ec2.ConfirmProductInst } } - var r1 *ec2.ConfirmProductInstanceOutput if rf, ok := ret.Get(1).(func(*ec2.ConfirmProductInstanceInput) *ec2.ConfirmProductInstanceOutput); ok { r1 = rf(_a0) } else { @@ -3196,6 +3910,10 @@ func (_m *MockFakeEC2) ConfirmProductInstanceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ConfirmProductInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ConfirmProductInstanceInput, ...request.Option) (*ec2.ConfirmProductInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ConfirmProductInstanceInput, ...request.Option) *ec2.ConfirmProductInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3204,7 +3922,6 @@ func (_m *MockFakeEC2) ConfirmProductInstanceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ConfirmProductInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3219,6 +3936,10 @@ func (_m *MockFakeEC2) CopyFpgaImage(_a0 *ec2.CopyFpgaImageInput) (*ec2.CopyFpga ret := _m.Called(_a0) var r0 *ec2.CopyFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CopyFpgaImageInput) (*ec2.CopyFpgaImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopyFpgaImageInput) *ec2.CopyFpgaImageOutput); ok { r0 = rf(_a0) } else { @@ -3227,7 +3948,6 @@ func (_m *MockFakeEC2) CopyFpgaImage(_a0 *ec2.CopyFpgaImageInput) (*ec2.CopyFpga } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CopyFpgaImageInput) error); ok { r1 = rf(_a0) } else { @@ -3242,6 +3962,10 @@ func (_m *MockFakeEC2) CopyFpgaImageRequest(_a0 *ec2.CopyFpgaImageInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CopyFpgaImageOutput + if rf, ok := ret.Get(0).(func(*ec2.CopyFpgaImageInput) (*request.Request, *ec2.CopyFpgaImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopyFpgaImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3250,7 +3974,6 @@ func (_m *MockFakeEC2) CopyFpgaImageRequest(_a0 *ec2.CopyFpgaImageInput) (*reque } } - var r1 *ec2.CopyFpgaImageOutput if rf, ok := ret.Get(1).(func(*ec2.CopyFpgaImageInput) *ec2.CopyFpgaImageOutput); ok { r1 = rf(_a0) } else { @@ -3274,6 +3997,10 @@ func (_m *MockFakeEC2) CopyFpgaImageWithContext(_a0 context.Context, _a1 *ec2.Co ret := _m.Called(_ca...) var r0 *ec2.CopyFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyFpgaImageInput, ...request.Option) (*ec2.CopyFpgaImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyFpgaImageInput, ...request.Option) *ec2.CopyFpgaImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3282,7 +4009,6 @@ func (_m *MockFakeEC2) CopyFpgaImageWithContext(_a0 context.Context, _a1 *ec2.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CopyFpgaImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3297,6 +4023,10 @@ func (_m *MockFakeEC2) CopyImage(_a0 *ec2.CopyImageInput) (*ec2.CopyImageOutput, ret := _m.Called(_a0) var r0 *ec2.CopyImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CopyImageInput) (*ec2.CopyImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopyImageInput) *ec2.CopyImageOutput); ok { r0 = rf(_a0) } else { @@ -3305,7 +4035,6 @@ func (_m *MockFakeEC2) CopyImage(_a0 *ec2.CopyImageInput) (*ec2.CopyImageOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CopyImageInput) error); ok { r1 = rf(_a0) } else { @@ -3320,6 +4049,10 @@ func (_m *MockFakeEC2) CopyImageRequest(_a0 *ec2.CopyImageInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CopyImageOutput + if rf, ok := ret.Get(0).(func(*ec2.CopyImageInput) (*request.Request, *ec2.CopyImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopyImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3328,7 +4061,6 @@ func (_m *MockFakeEC2) CopyImageRequest(_a0 *ec2.CopyImageInput) (*request.Reque } } - var r1 *ec2.CopyImageOutput if rf, ok := ret.Get(1).(func(*ec2.CopyImageInput) *ec2.CopyImageOutput); ok { r1 = rf(_a0) } else { @@ -3352,6 +4084,10 @@ func (_m *MockFakeEC2) CopyImageWithContext(_a0 context.Context, _a1 *ec2.CopyIm ret := _m.Called(_ca...) var r0 *ec2.CopyImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyImageInput, ...request.Option) (*ec2.CopyImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyImageInput, ...request.Option) *ec2.CopyImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3360,7 +4096,6 @@ func (_m *MockFakeEC2) CopyImageWithContext(_a0 context.Context, _a1 *ec2.CopyIm } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CopyImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3375,6 +4110,10 @@ func (_m *MockFakeEC2) CopySnapshot(_a0 *ec2.CopySnapshotInput) (*ec2.CopySnapsh ret := _m.Called(_a0) var r0 *ec2.CopySnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CopySnapshotInput) (*ec2.CopySnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopySnapshotInput) *ec2.CopySnapshotOutput); ok { r0 = rf(_a0) } else { @@ -3383,7 +4122,6 @@ func (_m *MockFakeEC2) CopySnapshot(_a0 *ec2.CopySnapshotInput) (*ec2.CopySnapsh } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CopySnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -3398,6 +4136,10 @@ func (_m *MockFakeEC2) CopySnapshotRequest(_a0 *ec2.CopySnapshotInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CopySnapshotOutput + if rf, ok := ret.Get(0).(func(*ec2.CopySnapshotInput) (*request.Request, *ec2.CopySnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CopySnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3406,7 +4148,6 @@ func (_m *MockFakeEC2) CopySnapshotRequest(_a0 *ec2.CopySnapshotInput) (*request } } - var r1 *ec2.CopySnapshotOutput if rf, ok := ret.Get(1).(func(*ec2.CopySnapshotInput) *ec2.CopySnapshotOutput); ok { r1 = rf(_a0) } else { @@ -3430,6 +4171,10 @@ func (_m *MockFakeEC2) CopySnapshotWithContext(_a0 context.Context, _a1 *ec2.Cop ret := _m.Called(_ca...) var r0 *ec2.CopySnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopySnapshotInput, ...request.Option) (*ec2.CopySnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopySnapshotInput, ...request.Option) *ec2.CopySnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3438,7 +4183,6 @@ func (_m *MockFakeEC2) CopySnapshotWithContext(_a0 context.Context, _a1 *ec2.Cop } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CopySnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3453,6 +4197,10 @@ func (_m *MockFakeEC2) CreateCapacityReservation(_a0 *ec2.CreateCapacityReservat ret := _m.Called(_a0) var r0 *ec2.CreateCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationInput) (*ec2.CreateCapacityReservationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationInput) *ec2.CreateCapacityReservationOutput); ok { r0 = rf(_a0) } else { @@ -3461,7 +4209,6 @@ func (_m *MockFakeEC2) CreateCapacityReservation(_a0 *ec2.CreateCapacityReservat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateCapacityReservationInput) error); ok { r1 = rf(_a0) } else { @@ -3471,11 +4218,102 @@ func (_m *MockFakeEC2) CreateCapacityReservation(_a0 *ec2.CreateCapacityReservat return r0, r1 } +// CreateCapacityReservationFleet provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCapacityReservationFleet(_a0 *ec2.CreateCapacityReservationFleetInput) (*ec2.CreateCapacityReservationFleetOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateCapacityReservationFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationFleetInput) (*ec2.CreateCapacityReservationFleetOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationFleetInput) *ec2.CreateCapacityReservationFleetOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCapacityReservationFleetOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCapacityReservationFleetInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateCapacityReservationFleetRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCapacityReservationFleetRequest(_a0 *ec2.CreateCapacityReservationFleetInput) (*request.Request, *ec2.CreateCapacityReservationFleetOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateCapacityReservationFleetOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationFleetInput) (*request.Request, *ec2.CreateCapacityReservationFleetOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationFleetInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCapacityReservationFleetInput) *ec2.CreateCapacityReservationFleetOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateCapacityReservationFleetOutput) + } + } + + return r0, r1 +} + +// CreateCapacityReservationFleetWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateCapacityReservationFleetWithContext(_a0 context.Context, _a1 *ec2.CreateCapacityReservationFleetInput, _a2 ...request.Option) (*ec2.CreateCapacityReservationFleetOutput, error) { + _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 *ec2.CreateCapacityReservationFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationFleetInput, ...request.Option) (*ec2.CreateCapacityReservationFleetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationFleetInput, ...request.Option) *ec2.CreateCapacityReservationFleetOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCapacityReservationFleetOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCapacityReservationFleetInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateCapacityReservationRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateCapacityReservationRequest(_a0 *ec2.CreateCapacityReservationInput) (*request.Request, *ec2.CreateCapacityReservationOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateCapacityReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationInput) (*request.Request, *ec2.CreateCapacityReservationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCapacityReservationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3484,7 +4322,6 @@ func (_m *MockFakeEC2) CreateCapacityReservationRequest(_a0 *ec2.CreateCapacityR } } - var r1 *ec2.CreateCapacityReservationOutput if rf, ok := ret.Get(1).(func(*ec2.CreateCapacityReservationInput) *ec2.CreateCapacityReservationOutput); ok { r1 = rf(_a0) } else { @@ -3508,6 +4345,10 @@ func (_m *MockFakeEC2) CreateCapacityReservationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationInput, ...request.Option) (*ec2.CreateCapacityReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationInput, ...request.Option) *ec2.CreateCapacityReservationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3516,7 +4357,6 @@ func (_m *MockFakeEC2) CreateCapacityReservationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCapacityReservationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3531,6 +4371,10 @@ func (_m *MockFakeEC2) CreateCarrierGateway(_a0 *ec2.CreateCarrierGatewayInput) ret := _m.Called(_a0) var r0 *ec2.CreateCarrierGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCarrierGatewayInput) (*ec2.CreateCarrierGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCarrierGatewayInput) *ec2.CreateCarrierGatewayOutput); ok { r0 = rf(_a0) } else { @@ -3539,7 +4383,6 @@ func (_m *MockFakeEC2) CreateCarrierGateway(_a0 *ec2.CreateCarrierGatewayInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateCarrierGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -3554,6 +4397,10 @@ func (_m *MockFakeEC2) CreateCarrierGatewayRequest(_a0 *ec2.CreateCarrierGateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateCarrierGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCarrierGatewayInput) (*request.Request, *ec2.CreateCarrierGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCarrierGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3562,7 +4409,6 @@ func (_m *MockFakeEC2) CreateCarrierGatewayRequest(_a0 *ec2.CreateCarrierGateway } } - var r1 *ec2.CreateCarrierGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateCarrierGatewayInput) *ec2.CreateCarrierGatewayOutput); ok { r1 = rf(_a0) } else { @@ -3586,6 +4432,10 @@ func (_m *MockFakeEC2) CreateCarrierGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateCarrierGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCarrierGatewayInput, ...request.Option) (*ec2.CreateCarrierGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCarrierGatewayInput, ...request.Option) *ec2.CreateCarrierGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3594,7 +4444,6 @@ func (_m *MockFakeEC2) CreateCarrierGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCarrierGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3609,6 +4458,10 @@ func (_m *MockFakeEC2) CreateClientVpnEndpoint(_a0 *ec2.CreateClientVpnEndpointI ret := _m.Called(_a0) var r0 *ec2.CreateClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnEndpointInput) (*ec2.CreateClientVpnEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnEndpointInput) *ec2.CreateClientVpnEndpointOutput); ok { r0 = rf(_a0) } else { @@ -3617,7 +4470,6 @@ func (_m *MockFakeEC2) CreateClientVpnEndpoint(_a0 *ec2.CreateClientVpnEndpointI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateClientVpnEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -3632,6 +4484,10 @@ func (_m *MockFakeEC2) CreateClientVpnEndpointRequest(_a0 *ec2.CreateClientVpnEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateClientVpnEndpointOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnEndpointInput) (*request.Request, *ec2.CreateClientVpnEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3640,7 +4496,6 @@ func (_m *MockFakeEC2) CreateClientVpnEndpointRequest(_a0 *ec2.CreateClientVpnEn } } - var r1 *ec2.CreateClientVpnEndpointOutput if rf, ok := ret.Get(1).(func(*ec2.CreateClientVpnEndpointInput) *ec2.CreateClientVpnEndpointOutput); ok { r1 = rf(_a0) } else { @@ -3664,6 +4519,10 @@ func (_m *MockFakeEC2) CreateClientVpnEndpointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.CreateClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnEndpointInput, ...request.Option) (*ec2.CreateClientVpnEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnEndpointInput, ...request.Option) *ec2.CreateClientVpnEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3672,7 +4531,6 @@ func (_m *MockFakeEC2) CreateClientVpnEndpointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateClientVpnEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3687,6 +4545,10 @@ func (_m *MockFakeEC2) CreateClientVpnRoute(_a0 *ec2.CreateClientVpnRouteInput) ret := _m.Called(_a0) var r0 *ec2.CreateClientVpnRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnRouteInput) (*ec2.CreateClientVpnRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnRouteInput) *ec2.CreateClientVpnRouteOutput); ok { r0 = rf(_a0) } else { @@ -3695,7 +4557,6 @@ func (_m *MockFakeEC2) CreateClientVpnRoute(_a0 *ec2.CreateClientVpnRouteInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateClientVpnRouteInput) error); ok { r1 = rf(_a0) } else { @@ -3710,6 +4571,10 @@ func (_m *MockFakeEC2) CreateClientVpnRouteRequest(_a0 *ec2.CreateClientVpnRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateClientVpnRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnRouteInput) (*request.Request, *ec2.CreateClientVpnRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateClientVpnRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3718,7 +4583,6 @@ func (_m *MockFakeEC2) CreateClientVpnRouteRequest(_a0 *ec2.CreateClientVpnRoute } } - var r1 *ec2.CreateClientVpnRouteOutput if rf, ok := ret.Get(1).(func(*ec2.CreateClientVpnRouteInput) *ec2.CreateClientVpnRouteOutput); ok { r1 = rf(_a0) } else { @@ -3742,6 +4606,10 @@ func (_m *MockFakeEC2) CreateClientVpnRouteWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateClientVpnRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnRouteInput, ...request.Option) (*ec2.CreateClientVpnRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnRouteInput, ...request.Option) *ec2.CreateClientVpnRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3750,7 +4618,6 @@ func (_m *MockFakeEC2) CreateClientVpnRouteWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateClientVpnRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3760,11 +4627,189 @@ func (_m *MockFakeEC2) CreateClientVpnRouteWithContext(_a0 context.Context, _a1 return r0, r1 } +// CreateCoipCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCoipCidr(_a0 *ec2.CreateCoipCidrInput) (*ec2.CreateCoipCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateCoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipCidrInput) (*ec2.CreateCoipCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipCidrInput) *ec2.CreateCoipCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCoipCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCoipCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateCoipCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCoipCidrRequest(_a0 *ec2.CreateCoipCidrInput) (*request.Request, *ec2.CreateCoipCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateCoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipCidrInput) (*request.Request, *ec2.CreateCoipCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCoipCidrInput) *ec2.CreateCoipCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateCoipCidrOutput) + } + } + + return r0, r1 +} + +// CreateCoipCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateCoipCidrWithContext(_a0 context.Context, _a1 *ec2.CreateCoipCidrInput, _a2 ...request.Option) (*ec2.CreateCoipCidrOutput, error) { + _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 *ec2.CreateCoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCoipCidrInput, ...request.Option) (*ec2.CreateCoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCoipCidrInput, ...request.Option) *ec2.CreateCoipCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCoipCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCoipCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateCoipPool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCoipPool(_a0 *ec2.CreateCoipPoolInput) (*ec2.CreateCoipPoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateCoipPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipPoolInput) (*ec2.CreateCoipPoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipPoolInput) *ec2.CreateCoipPoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCoipPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCoipPoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateCoipPoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateCoipPoolRequest(_a0 *ec2.CreateCoipPoolInput) (*request.Request, *ec2.CreateCoipPoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateCoipPoolOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipPoolInput) (*request.Request, *ec2.CreateCoipPoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateCoipPoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateCoipPoolInput) *ec2.CreateCoipPoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateCoipPoolOutput) + } + } + + return r0, r1 +} + +// CreateCoipPoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateCoipPoolWithContext(_a0 context.Context, _a1 *ec2.CreateCoipPoolInput, _a2 ...request.Option) (*ec2.CreateCoipPoolOutput, error) { + _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 *ec2.CreateCoipPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCoipPoolInput, ...request.Option) (*ec2.CreateCoipPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCoipPoolInput, ...request.Option) *ec2.CreateCoipPoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateCoipPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCoipPoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateCustomerGateway provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateCustomerGateway(_a0 *ec2.CreateCustomerGatewayInput) (*ec2.CreateCustomerGatewayOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateCustomerGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateCustomerGatewayInput) (*ec2.CreateCustomerGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCustomerGatewayInput) *ec2.CreateCustomerGatewayOutput); ok { r0 = rf(_a0) } else { @@ -3773,7 +4818,6 @@ func (_m *MockFakeEC2) CreateCustomerGateway(_a0 *ec2.CreateCustomerGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateCustomerGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -3788,6 +4832,10 @@ func (_m *MockFakeEC2) CreateCustomerGatewayRequest(_a0 *ec2.CreateCustomerGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateCustomerGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateCustomerGatewayInput) (*request.Request, *ec2.CreateCustomerGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateCustomerGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3796,7 +4844,6 @@ func (_m *MockFakeEC2) CreateCustomerGatewayRequest(_a0 *ec2.CreateCustomerGatew } } - var r1 *ec2.CreateCustomerGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateCustomerGatewayInput) *ec2.CreateCustomerGatewayOutput); ok { r1 = rf(_a0) } else { @@ -3820,6 +4867,10 @@ func (_m *MockFakeEC2) CreateCustomerGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateCustomerGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCustomerGatewayInput, ...request.Option) (*ec2.CreateCustomerGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCustomerGatewayInput, ...request.Option) *ec2.CreateCustomerGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3828,7 +4879,6 @@ func (_m *MockFakeEC2) CreateCustomerGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateCustomerGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3843,6 +4893,10 @@ func (_m *MockFakeEC2) CreateDefaultSubnet(_a0 *ec2.CreateDefaultSubnetInput) (* ret := _m.Called(_a0) var r0 *ec2.CreateDefaultSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultSubnetInput) (*ec2.CreateDefaultSubnetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultSubnetInput) *ec2.CreateDefaultSubnetOutput); ok { r0 = rf(_a0) } else { @@ -3851,7 +4905,6 @@ func (_m *MockFakeEC2) CreateDefaultSubnet(_a0 *ec2.CreateDefaultSubnetInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateDefaultSubnetInput) error); ok { r1 = rf(_a0) } else { @@ -3866,6 +4919,10 @@ func (_m *MockFakeEC2) CreateDefaultSubnetRequest(_a0 *ec2.CreateDefaultSubnetIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateDefaultSubnetOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultSubnetInput) (*request.Request, *ec2.CreateDefaultSubnetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultSubnetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3874,7 +4931,6 @@ func (_m *MockFakeEC2) CreateDefaultSubnetRequest(_a0 *ec2.CreateDefaultSubnetIn } } - var r1 *ec2.CreateDefaultSubnetOutput if rf, ok := ret.Get(1).(func(*ec2.CreateDefaultSubnetInput) *ec2.CreateDefaultSubnetOutput); ok { r1 = rf(_a0) } else { @@ -3898,6 +4954,10 @@ func (_m *MockFakeEC2) CreateDefaultSubnetWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.CreateDefaultSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultSubnetInput, ...request.Option) (*ec2.CreateDefaultSubnetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultSubnetInput, ...request.Option) *ec2.CreateDefaultSubnetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3906,7 +4966,6 @@ func (_m *MockFakeEC2) CreateDefaultSubnetWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateDefaultSubnetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3921,6 +4980,10 @@ func (_m *MockFakeEC2) CreateDefaultVpc(_a0 *ec2.CreateDefaultVpcInput) (*ec2.Cr ret := _m.Called(_a0) var r0 *ec2.CreateDefaultVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultVpcInput) (*ec2.CreateDefaultVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultVpcInput) *ec2.CreateDefaultVpcOutput); ok { r0 = rf(_a0) } else { @@ -3929,7 +4992,6 @@ func (_m *MockFakeEC2) CreateDefaultVpc(_a0 *ec2.CreateDefaultVpcInput) (*ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateDefaultVpcInput) error); ok { r1 = rf(_a0) } else { @@ -3944,6 +5006,10 @@ func (_m *MockFakeEC2) CreateDefaultVpcRequest(_a0 *ec2.CreateDefaultVpcInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateDefaultVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultVpcInput) (*request.Request, *ec2.CreateDefaultVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDefaultVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3952,7 +5018,6 @@ func (_m *MockFakeEC2) CreateDefaultVpcRequest(_a0 *ec2.CreateDefaultVpcInput) ( } } - var r1 *ec2.CreateDefaultVpcOutput if rf, ok := ret.Get(1).(func(*ec2.CreateDefaultVpcInput) *ec2.CreateDefaultVpcOutput); ok { r1 = rf(_a0) } else { @@ -3976,6 +5041,10 @@ func (_m *MockFakeEC2) CreateDefaultVpcWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CreateDefaultVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultVpcInput, ...request.Option) (*ec2.CreateDefaultVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultVpcInput, ...request.Option) *ec2.CreateDefaultVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3984,7 +5053,6 @@ func (_m *MockFakeEC2) CreateDefaultVpcWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateDefaultVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3999,6 +5067,10 @@ func (_m *MockFakeEC2) CreateDhcpOptions(_a0 *ec2.CreateDhcpOptionsInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.CreateDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateDhcpOptionsInput) (*ec2.CreateDhcpOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDhcpOptionsInput) *ec2.CreateDhcpOptionsOutput); ok { r0 = rf(_a0) } else { @@ -4007,7 +5079,6 @@ func (_m *MockFakeEC2) CreateDhcpOptions(_a0 *ec2.CreateDhcpOptionsInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateDhcpOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -4022,6 +5093,10 @@ func (_m *MockFakeEC2) CreateDhcpOptionsRequest(_a0 *ec2.CreateDhcpOptionsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateDhcpOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateDhcpOptionsInput) (*request.Request, *ec2.CreateDhcpOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateDhcpOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4030,7 +5105,6 @@ func (_m *MockFakeEC2) CreateDhcpOptionsRequest(_a0 *ec2.CreateDhcpOptionsInput) } } - var r1 *ec2.CreateDhcpOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.CreateDhcpOptionsInput) *ec2.CreateDhcpOptionsOutput); ok { r1 = rf(_a0) } else { @@ -4054,6 +5128,10 @@ func (_m *MockFakeEC2) CreateDhcpOptionsWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.CreateDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDhcpOptionsInput, ...request.Option) (*ec2.CreateDhcpOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDhcpOptionsInput, ...request.Option) *ec2.CreateDhcpOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4062,7 +5140,6 @@ func (_m *MockFakeEC2) CreateDhcpOptionsWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateDhcpOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4077,6 +5154,10 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGateway(_a0 *ec2.CreateEgressOnly ret := _m.Called(_a0) var r0 *ec2.CreateEgressOnlyInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateEgressOnlyInternetGatewayInput) (*ec2.CreateEgressOnlyInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateEgressOnlyInternetGatewayInput) *ec2.CreateEgressOnlyInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -4085,7 +5166,6 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGateway(_a0 *ec2.CreateEgressOnly } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateEgressOnlyInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -4100,6 +5180,10 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGatewayRequest(_a0 *ec2.CreateEgr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateEgressOnlyInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateEgressOnlyInternetGatewayInput) (*request.Request, *ec2.CreateEgressOnlyInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateEgressOnlyInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4108,7 +5192,6 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGatewayRequest(_a0 *ec2.CreateEgr } } - var r1 *ec2.CreateEgressOnlyInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateEgressOnlyInternetGatewayInput) *ec2.CreateEgressOnlyInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -4132,6 +5215,10 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGatewayWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.CreateEgressOnlyInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateEgressOnlyInternetGatewayInput, ...request.Option) (*ec2.CreateEgressOnlyInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateEgressOnlyInternetGatewayInput, ...request.Option) *ec2.CreateEgressOnlyInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4140,7 +5227,6 @@ func (_m *MockFakeEC2) CreateEgressOnlyInternetGatewayWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateEgressOnlyInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4155,6 +5241,10 @@ func (_m *MockFakeEC2) CreateFleet(_a0 *ec2.CreateFleetInput) (*ec2.CreateFleetO ret := _m.Called(_a0) var r0 *ec2.CreateFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateFleetInput) (*ec2.CreateFleetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFleetInput) *ec2.CreateFleetOutput); ok { r0 = rf(_a0) } else { @@ -4163,7 +5253,6 @@ func (_m *MockFakeEC2) CreateFleet(_a0 *ec2.CreateFleetInput) (*ec2.CreateFleetO } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateFleetInput) error); ok { r1 = rf(_a0) } else { @@ -4178,6 +5267,10 @@ func (_m *MockFakeEC2) CreateFleetRequest(_a0 *ec2.CreateFleetInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateFleetOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateFleetInput) (*request.Request, *ec2.CreateFleetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFleetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4186,7 +5279,6 @@ func (_m *MockFakeEC2) CreateFleetRequest(_a0 *ec2.CreateFleetInput) (*request.R } } - var r1 *ec2.CreateFleetOutput if rf, ok := ret.Get(1).(func(*ec2.CreateFleetInput) *ec2.CreateFleetOutput); ok { r1 = rf(_a0) } else { @@ -4210,6 +5302,10 @@ func (_m *MockFakeEC2) CreateFleetWithContext(_a0 context.Context, _a1 *ec2.Crea ret := _m.Called(_ca...) var r0 *ec2.CreateFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFleetInput, ...request.Option) (*ec2.CreateFleetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFleetInput, ...request.Option) *ec2.CreateFleetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4218,7 +5314,6 @@ func (_m *MockFakeEC2) CreateFleetWithContext(_a0 context.Context, _a1 *ec2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateFleetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4233,6 +5328,10 @@ func (_m *MockFakeEC2) CreateFlowLogs(_a0 *ec2.CreateFlowLogsInput) (*ec2.Create ret := _m.Called(_a0) var r0 *ec2.CreateFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateFlowLogsInput) (*ec2.CreateFlowLogsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFlowLogsInput) *ec2.CreateFlowLogsOutput); ok { r0 = rf(_a0) } else { @@ -4241,7 +5340,6 @@ func (_m *MockFakeEC2) CreateFlowLogs(_a0 *ec2.CreateFlowLogsInput) (*ec2.Create } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateFlowLogsInput) error); ok { r1 = rf(_a0) } else { @@ -4256,6 +5354,10 @@ func (_m *MockFakeEC2) CreateFlowLogsRequest(_a0 *ec2.CreateFlowLogsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateFlowLogsOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateFlowLogsInput) (*request.Request, *ec2.CreateFlowLogsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFlowLogsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4264,7 +5366,6 @@ func (_m *MockFakeEC2) CreateFlowLogsRequest(_a0 *ec2.CreateFlowLogsInput) (*req } } - var r1 *ec2.CreateFlowLogsOutput if rf, ok := ret.Get(1).(func(*ec2.CreateFlowLogsInput) *ec2.CreateFlowLogsOutput); ok { r1 = rf(_a0) } else { @@ -4288,6 +5389,10 @@ func (_m *MockFakeEC2) CreateFlowLogsWithContext(_a0 context.Context, _a1 *ec2.C ret := _m.Called(_ca...) var r0 *ec2.CreateFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFlowLogsInput, ...request.Option) (*ec2.CreateFlowLogsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFlowLogsInput, ...request.Option) *ec2.CreateFlowLogsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4296,7 +5401,6 @@ func (_m *MockFakeEC2) CreateFlowLogsWithContext(_a0 context.Context, _a1 *ec2.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateFlowLogsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4311,6 +5415,10 @@ func (_m *MockFakeEC2) CreateFpgaImage(_a0 *ec2.CreateFpgaImageInput) (*ec2.Crea ret := _m.Called(_a0) var r0 *ec2.CreateFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateFpgaImageInput) (*ec2.CreateFpgaImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFpgaImageInput) *ec2.CreateFpgaImageOutput); ok { r0 = rf(_a0) } else { @@ -4319,7 +5427,6 @@ func (_m *MockFakeEC2) CreateFpgaImage(_a0 *ec2.CreateFpgaImageInput) (*ec2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateFpgaImageInput) error); ok { r1 = rf(_a0) } else { @@ -4334,6 +5441,10 @@ func (_m *MockFakeEC2) CreateFpgaImageRequest(_a0 *ec2.CreateFpgaImageInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateFpgaImageOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateFpgaImageInput) (*request.Request, *ec2.CreateFpgaImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateFpgaImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4342,7 +5453,6 @@ func (_m *MockFakeEC2) CreateFpgaImageRequest(_a0 *ec2.CreateFpgaImageInput) (*r } } - var r1 *ec2.CreateFpgaImageOutput if rf, ok := ret.Get(1).(func(*ec2.CreateFpgaImageInput) *ec2.CreateFpgaImageOutput); ok { r1 = rf(_a0) } else { @@ -4366,6 +5476,10 @@ func (_m *MockFakeEC2) CreateFpgaImageWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.CreateFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFpgaImageInput, ...request.Option) (*ec2.CreateFpgaImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFpgaImageInput, ...request.Option) *ec2.CreateFpgaImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4374,7 +5488,6 @@ func (_m *MockFakeEC2) CreateFpgaImageWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateFpgaImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4389,6 +5502,10 @@ func (_m *MockFakeEC2) CreateImage(_a0 *ec2.CreateImageInput) (*ec2.CreateImageO ret := _m.Called(_a0) var r0 *ec2.CreateImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateImageInput) (*ec2.CreateImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateImageInput) *ec2.CreateImageOutput); ok { r0 = rf(_a0) } else { @@ -4397,7 +5514,6 @@ func (_m *MockFakeEC2) CreateImage(_a0 *ec2.CreateImageInput) (*ec2.CreateImageO } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateImageInput) error); ok { r1 = rf(_a0) } else { @@ -4412,6 +5528,10 @@ func (_m *MockFakeEC2) CreateImageRequest(_a0 *ec2.CreateImageInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateImageOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateImageInput) (*request.Request, *ec2.CreateImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4420,7 +5540,6 @@ func (_m *MockFakeEC2) CreateImageRequest(_a0 *ec2.CreateImageInput) (*request.R } } - var r1 *ec2.CreateImageOutput if rf, ok := ret.Get(1).(func(*ec2.CreateImageInput) *ec2.CreateImageOutput); ok { r1 = rf(_a0) } else { @@ -4444,6 +5563,10 @@ func (_m *MockFakeEC2) CreateImageWithContext(_a0 context.Context, _a1 *ec2.Crea ret := _m.Called(_ca...) var r0 *ec2.CreateImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateImageInput, ...request.Option) (*ec2.CreateImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateImageInput, ...request.Option) *ec2.CreateImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4452,7 +5575,6 @@ func (_m *MockFakeEC2) CreateImageWithContext(_a0 context.Context, _a1 *ec2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4462,11 +5584,102 @@ func (_m *MockFakeEC2) CreateImageWithContext(_a0 context.Context, _a1 *ec2.Crea return r0, r1 } +// CreateInstanceEventWindow provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateInstanceEventWindow(_a0 *ec2.CreateInstanceEventWindowInput) (*ec2.CreateInstanceEventWindowOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceEventWindowInput) (*ec2.CreateInstanceEventWindowOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceEventWindowInput) *ec2.CreateInstanceEventWindowOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateInstanceEventWindowInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateInstanceEventWindowRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateInstanceEventWindowRequest(_a0 *ec2.CreateInstanceEventWindowInput) (*request.Request, *ec2.CreateInstanceEventWindowOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateInstanceEventWindowOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceEventWindowInput) (*request.Request, *ec2.CreateInstanceEventWindowOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceEventWindowInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateInstanceEventWindowInput) *ec2.CreateInstanceEventWindowOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateInstanceEventWindowOutput) + } + } + + return r0, r1 +} + +// CreateInstanceEventWindowWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateInstanceEventWindowWithContext(_a0 context.Context, _a1 *ec2.CreateInstanceEventWindowInput, _a2 ...request.Option) (*ec2.CreateInstanceEventWindowOutput, error) { + _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 *ec2.CreateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceEventWindowInput, ...request.Option) (*ec2.CreateInstanceEventWindowOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceEventWindowInput, ...request.Option) *ec2.CreateInstanceEventWindowOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateInstanceEventWindowInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateInstanceExportTask provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateInstanceExportTask(_a0 *ec2.CreateInstanceExportTaskInput) (*ec2.CreateInstanceExportTaskOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateInstanceExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceExportTaskInput) (*ec2.CreateInstanceExportTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceExportTaskInput) *ec2.CreateInstanceExportTaskOutput); ok { r0 = rf(_a0) } else { @@ -4475,7 +5688,6 @@ func (_m *MockFakeEC2) CreateInstanceExportTask(_a0 *ec2.CreateInstanceExportTas } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateInstanceExportTaskInput) error); ok { r1 = rf(_a0) } else { @@ -4490,6 +5702,10 @@ func (_m *MockFakeEC2) CreateInstanceExportTaskRequest(_a0 *ec2.CreateInstanceEx ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateInstanceExportTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceExportTaskInput) (*request.Request, *ec2.CreateInstanceExportTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateInstanceExportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4498,7 +5714,6 @@ func (_m *MockFakeEC2) CreateInstanceExportTaskRequest(_a0 *ec2.CreateInstanceEx } } - var r1 *ec2.CreateInstanceExportTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CreateInstanceExportTaskInput) *ec2.CreateInstanceExportTaskOutput); ok { r1 = rf(_a0) } else { @@ -4522,6 +5737,10 @@ func (_m *MockFakeEC2) CreateInstanceExportTaskWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateInstanceExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceExportTaskInput, ...request.Option) (*ec2.CreateInstanceExportTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceExportTaskInput, ...request.Option) *ec2.CreateInstanceExportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4530,7 +5749,6 @@ func (_m *MockFakeEC2) CreateInstanceExportTaskWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateInstanceExportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4545,6 +5763,10 @@ func (_m *MockFakeEC2) CreateInternetGateway(_a0 *ec2.CreateInternetGatewayInput ret := _m.Called(_a0) var r0 *ec2.CreateInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateInternetGatewayInput) (*ec2.CreateInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateInternetGatewayInput) *ec2.CreateInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -4553,7 +5775,6 @@ func (_m *MockFakeEC2) CreateInternetGateway(_a0 *ec2.CreateInternetGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -4568,6 +5789,10 @@ func (_m *MockFakeEC2) CreateInternetGatewayRequest(_a0 *ec2.CreateInternetGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateInternetGatewayInput) (*request.Request, *ec2.CreateInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4576,7 +5801,6 @@ func (_m *MockFakeEC2) CreateInternetGatewayRequest(_a0 *ec2.CreateInternetGatew } } - var r1 *ec2.CreateInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateInternetGatewayInput) *ec2.CreateInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -4600,6 +5824,10 @@ func (_m *MockFakeEC2) CreateInternetGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInternetGatewayInput, ...request.Option) (*ec2.CreateInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInternetGatewayInput, ...request.Option) *ec2.CreateInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4608,7 +5836,6 @@ func (_m *MockFakeEC2) CreateInternetGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4618,11 +5845,276 @@ func (_m *MockFakeEC2) CreateInternetGatewayWithContext(_a0 context.Context, _a1 return r0, r1 } +// CreateIpam provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpam(_a0 *ec2.CreateIpamInput) (*ec2.CreateIpamOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamInput) (*ec2.CreateIpamOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamInput) *ec2.CreateIpamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateIpamPool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpamPool(_a0 *ec2.CreateIpamPoolInput) (*ec2.CreateIpamPoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateIpamPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamPoolInput) (*ec2.CreateIpamPoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamPoolInput) *ec2.CreateIpamPoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamPoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateIpamPoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpamPoolRequest(_a0 *ec2.CreateIpamPoolInput) (*request.Request, *ec2.CreateIpamPoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateIpamPoolOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamPoolInput) (*request.Request, *ec2.CreateIpamPoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamPoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamPoolInput) *ec2.CreateIpamPoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateIpamPoolOutput) + } + } + + return r0, r1 +} + +// CreateIpamPoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateIpamPoolWithContext(_a0 context.Context, _a1 *ec2.CreateIpamPoolInput, _a2 ...request.Option) (*ec2.CreateIpamPoolOutput, error) { + _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 *ec2.CreateIpamPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamPoolInput, ...request.Option) (*ec2.CreateIpamPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamPoolInput, ...request.Option) *ec2.CreateIpamPoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateIpamPoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateIpamRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpamRequest(_a0 *ec2.CreateIpamInput) (*request.Request, *ec2.CreateIpamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateIpamOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamInput) (*request.Request, *ec2.CreateIpamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamInput) *ec2.CreateIpamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateIpamOutput) + } + } + + return r0, r1 +} + +// CreateIpamScope provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpamScope(_a0 *ec2.CreateIpamScopeInput) (*ec2.CreateIpamScopeOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamScopeInput) (*ec2.CreateIpamScopeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamScopeInput) *ec2.CreateIpamScopeOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamScopeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateIpamScopeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateIpamScopeRequest(_a0 *ec2.CreateIpamScopeInput) (*request.Request, *ec2.CreateIpamScopeOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateIpamScopeOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamScopeInput) (*request.Request, *ec2.CreateIpamScopeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateIpamScopeInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateIpamScopeInput) *ec2.CreateIpamScopeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateIpamScopeOutput) + } + } + + return r0, r1 +} + +// CreateIpamScopeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateIpamScopeWithContext(_a0 context.Context, _a1 *ec2.CreateIpamScopeInput, _a2 ...request.Option) (*ec2.CreateIpamScopeOutput, error) { + _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 *ec2.CreateIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamScopeInput, ...request.Option) (*ec2.CreateIpamScopeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamScopeInput, ...request.Option) *ec2.CreateIpamScopeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateIpamScopeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateIpamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateIpamWithContext(_a0 context.Context, _a1 *ec2.CreateIpamInput, _a2 ...request.Option) (*ec2.CreateIpamOutput, error) { + _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 *ec2.CreateIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamInput, ...request.Option) (*ec2.CreateIpamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamInput, ...request.Option) *ec2.CreateIpamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateIpamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateKeyPair provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateKeyPair(_a0 *ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateKeyPairInput) *ec2.CreateKeyPairOutput); ok { r0 = rf(_a0) } else { @@ -4631,7 +6123,6 @@ func (_m *MockFakeEC2) CreateKeyPair(_a0 *ec2.CreateKeyPairInput) (*ec2.CreateKe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateKeyPairInput) error); ok { r1 = rf(_a0) } else { @@ -4646,6 +6137,10 @@ func (_m *MockFakeEC2) CreateKeyPairRequest(_a0 *ec2.CreateKeyPairInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateKeyPairOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateKeyPairInput) (*request.Request, *ec2.CreateKeyPairOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateKeyPairInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4654,7 +6149,6 @@ func (_m *MockFakeEC2) CreateKeyPairRequest(_a0 *ec2.CreateKeyPairInput) (*reque } } - var r1 *ec2.CreateKeyPairOutput if rf, ok := ret.Get(1).(func(*ec2.CreateKeyPairInput) *ec2.CreateKeyPairOutput); ok { r1 = rf(_a0) } else { @@ -4678,6 +6172,10 @@ func (_m *MockFakeEC2) CreateKeyPairWithContext(_a0 context.Context, _a1 *ec2.Cr ret := _m.Called(_ca...) var r0 *ec2.CreateKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateKeyPairInput, ...request.Option) (*ec2.CreateKeyPairOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateKeyPairInput, ...request.Option) *ec2.CreateKeyPairOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4686,7 +6184,6 @@ func (_m *MockFakeEC2) CreateKeyPairWithContext(_a0 context.Context, _a1 *ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateKeyPairInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4701,6 +6198,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplate(_a0 *ec2.CreateLaunchTemplateInput) ret := _m.Called(_a0) var r0 *ec2.CreateLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateInput) (*ec2.CreateLaunchTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateInput) *ec2.CreateLaunchTemplateOutput); ok { r0 = rf(_a0) } else { @@ -4709,7 +6210,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplate(_a0 *ec2.CreateLaunchTemplateInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateLaunchTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -4724,6 +6224,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplateRequest(_a0 *ec2.CreateLaunchTemplate ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateLaunchTemplateOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateInput) (*request.Request, *ec2.CreateLaunchTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4732,7 +6236,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplateRequest(_a0 *ec2.CreateLaunchTemplate } } - var r1 *ec2.CreateLaunchTemplateOutput if rf, ok := ret.Get(1).(func(*ec2.CreateLaunchTemplateInput) *ec2.CreateLaunchTemplateOutput); ok { r1 = rf(_a0) } else { @@ -4749,6 +6252,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersion(_a0 *ec2.CreateLaunchTemplate ret := _m.Called(_a0) var r0 *ec2.CreateLaunchTemplateVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateVersionInput) (*ec2.CreateLaunchTemplateVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateVersionInput) *ec2.CreateLaunchTemplateVersionOutput); ok { r0 = rf(_a0) } else { @@ -4757,7 +6264,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersion(_a0 *ec2.CreateLaunchTemplate } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateLaunchTemplateVersionInput) error); ok { r1 = rf(_a0) } else { @@ -4772,6 +6278,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersionRequest(_a0 *ec2.CreateLaunchT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateLaunchTemplateVersionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateVersionInput) (*request.Request, *ec2.CreateLaunchTemplateVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLaunchTemplateVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4780,7 +6290,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersionRequest(_a0 *ec2.CreateLaunchT } } - var r1 *ec2.CreateLaunchTemplateVersionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateLaunchTemplateVersionInput) *ec2.CreateLaunchTemplateVersionOutput); ok { r1 = rf(_a0) } else { @@ -4804,6 +6313,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersionWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.CreateLaunchTemplateVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateVersionInput, ...request.Option) (*ec2.CreateLaunchTemplateVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateVersionInput, ...request.Option) *ec2.CreateLaunchTemplateVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4812,7 +6325,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplateVersionWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLaunchTemplateVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4834,6 +6346,10 @@ func (_m *MockFakeEC2) CreateLaunchTemplateWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateInput, ...request.Option) (*ec2.CreateLaunchTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateInput, ...request.Option) *ec2.CreateLaunchTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4842,7 +6358,6 @@ func (_m *MockFakeEC2) CreateLaunchTemplateWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLaunchTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4857,6 +6372,10 @@ func (_m *MockFakeEC2) CreateLocalGatewayRoute(_a0 *ec2.CreateLocalGatewayRouteI ret := _m.Called(_a0) var r0 *ec2.CreateLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteInput) (*ec2.CreateLocalGatewayRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteInput) *ec2.CreateLocalGatewayRouteOutput); ok { r0 = rf(_a0) } else { @@ -4865,7 +6384,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRoute(_a0 *ec2.CreateLocalGatewayRouteI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteInput) error); ok { r1 = rf(_a0) } else { @@ -4880,6 +6398,10 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteRequest(_a0 *ec2.CreateLocalGatewa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateLocalGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteInput) (*request.Request, *ec2.CreateLocalGatewayRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4888,7 +6410,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteRequest(_a0 *ec2.CreateLocalGatewa } } - var r1 *ec2.CreateLocalGatewayRouteOutput if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteInput) *ec2.CreateLocalGatewayRouteOutput); ok { r1 = rf(_a0) } else { @@ -4900,11 +6421,156 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteRequest(_a0 *ec2.CreateLocalGatewa return r0, r1 } +// CreateLocalGatewayRouteTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTable(_a0 *ec2.CreateLocalGatewayRouteTableInput) (*ec2.CreateLocalGatewayRouteTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateLocalGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableInput) (*ec2.CreateLocalGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableInput) *ec2.CreateLocalGatewayRouteTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateLocalGatewayRouteTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateLocalGatewayRouteTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTableRequest(_a0 *ec2.CreateLocalGatewayRouteTableInput) (*request.Request, *ec2.CreateLocalGatewayRouteTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateLocalGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableInput) (*request.Request, *ec2.CreateLocalGatewayRouteTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableInput) *ec2.CreateLocalGatewayRouteTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateLocalGatewayRouteTableOutput) + } + } + + return r0, r1 +} + +// CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation(_a0 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(_a0 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*request.Request, *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*request.Request, *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + return r0, r1 +} + +// CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationWithContext(_a0 context.Context, _a1 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, _a2 ...request.Option) (*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error) { + _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 *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) (*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateLocalGatewayRouteTableVpcAssociation provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociation(_a0 *ec2.CreateLocalGatewayRouteTableVpcAssociationInput) (*ec2.CreateLocalGatewayRouteTableVpcAssociationOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) (*ec2.CreateLocalGatewayRouteTableVpcAssociationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput); ok { r0 = rf(_a0) } else { @@ -4913,7 +6579,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociation(_a0 *ec2.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) error); ok { r1 = rf(_a0) } else { @@ -4928,6 +6593,10 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociationRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) (*request.Request, *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4936,7 +6605,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociationRequest(_a0 *ec } } - var r1 *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput if rf, ok := ret.Get(1).(func(*ec2.CreateLocalGatewayRouteTableVpcAssociationInput) *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput); ok { r1 = rf(_a0) } else { @@ -4960,6 +6628,10 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociationWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVpcAssociationInput, ...request.Option) (*ec2.CreateLocalGatewayRouteTableVpcAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVpcAssociationInput, ...request.Option) *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4968,7 +6640,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVpcAssociationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4978,6 +6649,39 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteTableVpcAssociationWithContext(_a0 return r0, r1 } +// CreateLocalGatewayRouteTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateLocalGatewayRouteTableWithContext(_a0 context.Context, _a1 *ec2.CreateLocalGatewayRouteTableInput, _a2 ...request.Option) (*ec2.CreateLocalGatewayRouteTableOutput, error) { + _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 *ec2.CreateLocalGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableInput, ...request.Option) (*ec2.CreateLocalGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableInput, ...request.Option) *ec2.CreateLocalGatewayRouteTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateLocalGatewayRouteTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLocalGatewayRouteTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateLocalGatewayRouteWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeEC2) CreateLocalGatewayRouteWithContext(_a0 context.Context, _a1 *ec2.CreateLocalGatewayRouteInput, _a2 ...request.Option) (*ec2.CreateLocalGatewayRouteOutput, error) { _va := make([]interface{}, len(_a2)) @@ -4990,6 +6694,10 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.CreateLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteInput, ...request.Option) (*ec2.CreateLocalGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteInput, ...request.Option) *ec2.CreateLocalGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4998,7 +6706,6 @@ func (_m *MockFakeEC2) CreateLocalGatewayRouteWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateLocalGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5013,6 +6720,10 @@ func (_m *MockFakeEC2) CreateManagedPrefixList(_a0 *ec2.CreateManagedPrefixListI ret := _m.Called(_a0) var r0 *ec2.CreateManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateManagedPrefixListInput) (*ec2.CreateManagedPrefixListOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateManagedPrefixListInput) *ec2.CreateManagedPrefixListOutput); ok { r0 = rf(_a0) } else { @@ -5021,7 +6732,6 @@ func (_m *MockFakeEC2) CreateManagedPrefixList(_a0 *ec2.CreateManagedPrefixListI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateManagedPrefixListInput) error); ok { r1 = rf(_a0) } else { @@ -5036,6 +6746,10 @@ func (_m *MockFakeEC2) CreateManagedPrefixListRequest(_a0 *ec2.CreateManagedPref ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateManagedPrefixListOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateManagedPrefixListInput) (*request.Request, *ec2.CreateManagedPrefixListOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateManagedPrefixListInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5044,7 +6758,6 @@ func (_m *MockFakeEC2) CreateManagedPrefixListRequest(_a0 *ec2.CreateManagedPref } } - var r1 *ec2.CreateManagedPrefixListOutput if rf, ok := ret.Get(1).(func(*ec2.CreateManagedPrefixListInput) *ec2.CreateManagedPrefixListOutput); ok { r1 = rf(_a0) } else { @@ -5068,6 +6781,10 @@ func (_m *MockFakeEC2) CreateManagedPrefixListWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.CreateManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateManagedPrefixListInput, ...request.Option) (*ec2.CreateManagedPrefixListOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateManagedPrefixListInput, ...request.Option) *ec2.CreateManagedPrefixListOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5076,7 +6793,6 @@ func (_m *MockFakeEC2) CreateManagedPrefixListWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateManagedPrefixListInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5091,6 +6807,10 @@ func (_m *MockFakeEC2) CreateNatGateway(_a0 *ec2.CreateNatGatewayInput) (*ec2.Cr ret := _m.Called(_a0) var r0 *ec2.CreateNatGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNatGatewayInput) (*ec2.CreateNatGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNatGatewayInput) *ec2.CreateNatGatewayOutput); ok { r0 = rf(_a0) } else { @@ -5099,7 +6819,6 @@ func (_m *MockFakeEC2) CreateNatGateway(_a0 *ec2.CreateNatGatewayInput) (*ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNatGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -5114,6 +6833,10 @@ func (_m *MockFakeEC2) CreateNatGatewayRequest(_a0 *ec2.CreateNatGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNatGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNatGatewayInput) (*request.Request, *ec2.CreateNatGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNatGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5122,7 +6845,6 @@ func (_m *MockFakeEC2) CreateNatGatewayRequest(_a0 *ec2.CreateNatGatewayInput) ( } } - var r1 *ec2.CreateNatGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNatGatewayInput) *ec2.CreateNatGatewayOutput); ok { r1 = rf(_a0) } else { @@ -5146,6 +6868,10 @@ func (_m *MockFakeEC2) CreateNatGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CreateNatGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNatGatewayInput, ...request.Option) (*ec2.CreateNatGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNatGatewayInput, ...request.Option) *ec2.CreateNatGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5154,7 +6880,6 @@ func (_m *MockFakeEC2) CreateNatGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNatGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5169,6 +6894,10 @@ func (_m *MockFakeEC2) CreateNetworkAcl(_a0 *ec2.CreateNetworkAclInput) (*ec2.Cr ret := _m.Called(_a0) var r0 *ec2.CreateNetworkAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclInput) (*ec2.CreateNetworkAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclInput) *ec2.CreateNetworkAclOutput); ok { r0 = rf(_a0) } else { @@ -5177,7 +6906,6 @@ func (_m *MockFakeEC2) CreateNetworkAcl(_a0 *ec2.CreateNetworkAclInput) (*ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkAclInput) error); ok { r1 = rf(_a0) } else { @@ -5192,6 +6920,10 @@ func (_m *MockFakeEC2) CreateNetworkAclEntry(_a0 *ec2.CreateNetworkAclEntryInput ret := _m.Called(_a0) var r0 *ec2.CreateNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclEntryInput) (*ec2.CreateNetworkAclEntryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclEntryInput) *ec2.CreateNetworkAclEntryOutput); ok { r0 = rf(_a0) } else { @@ -5200,7 +6932,6 @@ func (_m *MockFakeEC2) CreateNetworkAclEntry(_a0 *ec2.CreateNetworkAclEntryInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkAclEntryInput) error); ok { r1 = rf(_a0) } else { @@ -5215,6 +6946,10 @@ func (_m *MockFakeEC2) CreateNetworkAclEntryRequest(_a0 *ec2.CreateNetworkAclEnt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNetworkAclEntryOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclEntryInput) (*request.Request, *ec2.CreateNetworkAclEntryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclEntryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5223,7 +6958,6 @@ func (_m *MockFakeEC2) CreateNetworkAclEntryRequest(_a0 *ec2.CreateNetworkAclEnt } } - var r1 *ec2.CreateNetworkAclEntryOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkAclEntryInput) *ec2.CreateNetworkAclEntryOutput); ok { r1 = rf(_a0) } else { @@ -5247,6 +6981,10 @@ func (_m *MockFakeEC2) CreateNetworkAclEntryWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclEntryInput, ...request.Option) (*ec2.CreateNetworkAclEntryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclEntryInput, ...request.Option) *ec2.CreateNetworkAclEntryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5255,7 +6993,6 @@ func (_m *MockFakeEC2) CreateNetworkAclEntryWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkAclEntryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5270,6 +7007,10 @@ func (_m *MockFakeEC2) CreateNetworkAclRequest(_a0 *ec2.CreateNetworkAclInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNetworkAclOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclInput) (*request.Request, *ec2.CreateNetworkAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5278,7 +7019,6 @@ func (_m *MockFakeEC2) CreateNetworkAclRequest(_a0 *ec2.CreateNetworkAclInput) ( } } - var r1 *ec2.CreateNetworkAclOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkAclInput) *ec2.CreateNetworkAclOutput); ok { r1 = rf(_a0) } else { @@ -5302,6 +7042,10 @@ func (_m *MockFakeEC2) CreateNetworkAclWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CreateNetworkAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclInput, ...request.Option) (*ec2.CreateNetworkAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclInput, ...request.Option) *ec2.CreateNetworkAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5310,7 +7054,6 @@ func (_m *MockFakeEC2) CreateNetworkAclWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5320,11 +7063,102 @@ func (_m *MockFakeEC2) CreateNetworkAclWithContext(_a0 context.Context, _a1 *ec2 return r0, r1 } +// CreateNetworkInsightsAccessScope provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateNetworkInsightsAccessScope(_a0 *ec2.CreateNetworkInsightsAccessScopeInput) (*ec2.CreateNetworkInsightsAccessScopeOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateNetworkInsightsAccessScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsAccessScopeInput) (*ec2.CreateNetworkInsightsAccessScopeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsAccessScopeInput) *ec2.CreateNetworkInsightsAccessScopeOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateNetworkInsightsAccessScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInsightsAccessScopeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateNetworkInsightsAccessScopeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateNetworkInsightsAccessScopeRequest(_a0 *ec2.CreateNetworkInsightsAccessScopeInput) (*request.Request, *ec2.CreateNetworkInsightsAccessScopeOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateNetworkInsightsAccessScopeOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsAccessScopeInput) (*request.Request, *ec2.CreateNetworkInsightsAccessScopeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsAccessScopeInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInsightsAccessScopeInput) *ec2.CreateNetworkInsightsAccessScopeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateNetworkInsightsAccessScopeOutput) + } + } + + return r0, r1 +} + +// CreateNetworkInsightsAccessScopeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateNetworkInsightsAccessScopeWithContext(_a0 context.Context, _a1 *ec2.CreateNetworkInsightsAccessScopeInput, _a2 ...request.Option) (*ec2.CreateNetworkInsightsAccessScopeOutput, error) { + _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 *ec2.CreateNetworkInsightsAccessScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsAccessScopeInput, ...request.Option) (*ec2.CreateNetworkInsightsAccessScopeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsAccessScopeInput, ...request.Option) *ec2.CreateNetworkInsightsAccessScopeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateNetworkInsightsAccessScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkInsightsAccessScopeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateNetworkInsightsPath provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateNetworkInsightsPath(_a0 *ec2.CreateNetworkInsightsPathInput) (*ec2.CreateNetworkInsightsPathOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateNetworkInsightsPathOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsPathInput) (*ec2.CreateNetworkInsightsPathOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsPathInput) *ec2.CreateNetworkInsightsPathOutput); ok { r0 = rf(_a0) } else { @@ -5333,7 +7167,6 @@ func (_m *MockFakeEC2) CreateNetworkInsightsPath(_a0 *ec2.CreateNetworkInsightsP } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInsightsPathInput) error); ok { r1 = rf(_a0) } else { @@ -5348,6 +7181,10 @@ func (_m *MockFakeEC2) CreateNetworkInsightsPathRequest(_a0 *ec2.CreateNetworkIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNetworkInsightsPathOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsPathInput) (*request.Request, *ec2.CreateNetworkInsightsPathOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInsightsPathInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5356,7 +7193,6 @@ func (_m *MockFakeEC2) CreateNetworkInsightsPathRequest(_a0 *ec2.CreateNetworkIn } } - var r1 *ec2.CreateNetworkInsightsPathOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInsightsPathInput) *ec2.CreateNetworkInsightsPathOutput); ok { r1 = rf(_a0) } else { @@ -5380,6 +7216,10 @@ func (_m *MockFakeEC2) CreateNetworkInsightsPathWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateNetworkInsightsPathOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsPathInput, ...request.Option) (*ec2.CreateNetworkInsightsPathOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsPathInput, ...request.Option) *ec2.CreateNetworkInsightsPathOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5388,7 +7228,6 @@ func (_m *MockFakeEC2) CreateNetworkInsightsPathWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkInsightsPathInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5403,6 +7242,10 @@ func (_m *MockFakeEC2) CreateNetworkInterface(_a0 *ec2.CreateNetworkInterfaceInp ret := _m.Called(_a0) var r0 *ec2.CreateNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfaceInput) (*ec2.CreateNetworkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfaceInput) *ec2.CreateNetworkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -5411,7 +7254,6 @@ func (_m *MockFakeEC2) CreateNetworkInterface(_a0 *ec2.CreateNetworkInterfaceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -5426,6 +7268,10 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermission(_a0 *ec2.CreateNetworkIn ret := _m.Called(_a0) var r0 *ec2.CreateNetworkInterfacePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfacePermissionInput) (*ec2.CreateNetworkInterfacePermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfacePermissionInput) *ec2.CreateNetworkInterfacePermissionOutput); ok { r0 = rf(_a0) } else { @@ -5434,7 +7280,6 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermission(_a0 *ec2.CreateNetworkIn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInterfacePermissionInput) error); ok { r1 = rf(_a0) } else { @@ -5449,6 +7294,10 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermissionRequest(_a0 *ec2.CreateNe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNetworkInterfacePermissionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfacePermissionInput) (*request.Request, *ec2.CreateNetworkInterfacePermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfacePermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5457,7 +7306,6 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermissionRequest(_a0 *ec2.CreateNe } } - var r1 *ec2.CreateNetworkInterfacePermissionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInterfacePermissionInput) *ec2.CreateNetworkInterfacePermissionOutput); ok { r1 = rf(_a0) } else { @@ -5481,6 +7329,10 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermissionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *ec2.CreateNetworkInterfacePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfacePermissionInput, ...request.Option) (*ec2.CreateNetworkInterfacePermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfacePermissionInput, ...request.Option) *ec2.CreateNetworkInterfacePermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5489,7 +7341,6 @@ func (_m *MockFakeEC2) CreateNetworkInterfacePermissionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkInterfacePermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5504,6 +7355,10 @@ func (_m *MockFakeEC2) CreateNetworkInterfaceRequest(_a0 *ec2.CreateNetworkInter ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateNetworkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfaceInput) (*request.Request, *ec2.CreateNetworkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateNetworkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5512,7 +7367,6 @@ func (_m *MockFakeEC2) CreateNetworkInterfaceRequest(_a0 *ec2.CreateNetworkInter } } - var r1 *ec2.CreateNetworkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.CreateNetworkInterfaceInput) *ec2.CreateNetworkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -5536,6 +7390,10 @@ func (_m *MockFakeEC2) CreateNetworkInterfaceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.CreateNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfaceInput, ...request.Option) (*ec2.CreateNetworkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfaceInput, ...request.Option) *ec2.CreateNetworkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5544,7 +7402,6 @@ func (_m *MockFakeEC2) CreateNetworkInterfaceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateNetworkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5559,6 +7416,10 @@ func (_m *MockFakeEC2) CreatePlacementGroup(_a0 *ec2.CreatePlacementGroupInput) ret := _m.Called(_a0) var r0 *ec2.CreatePlacementGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreatePlacementGroupInput) (*ec2.CreatePlacementGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreatePlacementGroupInput) *ec2.CreatePlacementGroupOutput); ok { r0 = rf(_a0) } else { @@ -5567,7 +7428,6 @@ func (_m *MockFakeEC2) CreatePlacementGroup(_a0 *ec2.CreatePlacementGroupInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreatePlacementGroupInput) error); ok { r1 = rf(_a0) } else { @@ -5582,6 +7442,10 @@ func (_m *MockFakeEC2) CreatePlacementGroupRequest(_a0 *ec2.CreatePlacementGroup ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreatePlacementGroupOutput + if rf, ok := ret.Get(0).(func(*ec2.CreatePlacementGroupInput) (*request.Request, *ec2.CreatePlacementGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreatePlacementGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5590,7 +7454,6 @@ func (_m *MockFakeEC2) CreatePlacementGroupRequest(_a0 *ec2.CreatePlacementGroup } } - var r1 *ec2.CreatePlacementGroupOutput if rf, ok := ret.Get(1).(func(*ec2.CreatePlacementGroupInput) *ec2.CreatePlacementGroupOutput); ok { r1 = rf(_a0) } else { @@ -5614,6 +7477,10 @@ func (_m *MockFakeEC2) CreatePlacementGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreatePlacementGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePlacementGroupInput, ...request.Option) (*ec2.CreatePlacementGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePlacementGroupInput, ...request.Option) *ec2.CreatePlacementGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5622,7 +7489,6 @@ func (_m *MockFakeEC2) CreatePlacementGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreatePlacementGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5632,11 +7498,102 @@ func (_m *MockFakeEC2) CreatePlacementGroupWithContext(_a0 context.Context, _a1 return r0, r1 } +// CreatePublicIpv4Pool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreatePublicIpv4Pool(_a0 *ec2.CreatePublicIpv4PoolInput) (*ec2.CreatePublicIpv4PoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreatePublicIpv4PoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreatePublicIpv4PoolInput) (*ec2.CreatePublicIpv4PoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreatePublicIpv4PoolInput) *ec2.CreatePublicIpv4PoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreatePublicIpv4PoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreatePublicIpv4PoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreatePublicIpv4PoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreatePublicIpv4PoolRequest(_a0 *ec2.CreatePublicIpv4PoolInput) (*request.Request, *ec2.CreatePublicIpv4PoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreatePublicIpv4PoolOutput + if rf, ok := ret.Get(0).(func(*ec2.CreatePublicIpv4PoolInput) (*request.Request, *ec2.CreatePublicIpv4PoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreatePublicIpv4PoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreatePublicIpv4PoolInput) *ec2.CreatePublicIpv4PoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreatePublicIpv4PoolOutput) + } + } + + return r0, r1 +} + +// CreatePublicIpv4PoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreatePublicIpv4PoolWithContext(_a0 context.Context, _a1 *ec2.CreatePublicIpv4PoolInput, _a2 ...request.Option) (*ec2.CreatePublicIpv4PoolOutput, error) { + _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 *ec2.CreatePublicIpv4PoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePublicIpv4PoolInput, ...request.Option) (*ec2.CreatePublicIpv4PoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePublicIpv4PoolInput, ...request.Option) *ec2.CreatePublicIpv4PoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreatePublicIpv4PoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreatePublicIpv4PoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateReplaceRootVolumeTask provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateReplaceRootVolumeTask(_a0 *ec2.CreateReplaceRootVolumeTaskInput) (*ec2.CreateReplaceRootVolumeTaskOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateReplaceRootVolumeTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateReplaceRootVolumeTaskInput) (*ec2.CreateReplaceRootVolumeTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateReplaceRootVolumeTaskInput) *ec2.CreateReplaceRootVolumeTaskOutput); ok { r0 = rf(_a0) } else { @@ -5645,7 +7602,6 @@ func (_m *MockFakeEC2) CreateReplaceRootVolumeTask(_a0 *ec2.CreateReplaceRootVol } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateReplaceRootVolumeTaskInput) error); ok { r1 = rf(_a0) } else { @@ -5660,6 +7616,10 @@ func (_m *MockFakeEC2) CreateReplaceRootVolumeTaskRequest(_a0 *ec2.CreateReplace ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateReplaceRootVolumeTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateReplaceRootVolumeTaskInput) (*request.Request, *ec2.CreateReplaceRootVolumeTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateReplaceRootVolumeTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5668,7 +7628,6 @@ func (_m *MockFakeEC2) CreateReplaceRootVolumeTaskRequest(_a0 *ec2.CreateReplace } } - var r1 *ec2.CreateReplaceRootVolumeTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CreateReplaceRootVolumeTaskInput) *ec2.CreateReplaceRootVolumeTaskOutput); ok { r1 = rf(_a0) } else { @@ -5692,6 +7651,10 @@ func (_m *MockFakeEC2) CreateReplaceRootVolumeTaskWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.CreateReplaceRootVolumeTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReplaceRootVolumeTaskInput, ...request.Option) (*ec2.CreateReplaceRootVolumeTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReplaceRootVolumeTaskInput, ...request.Option) *ec2.CreateReplaceRootVolumeTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5700,7 +7663,6 @@ func (_m *MockFakeEC2) CreateReplaceRootVolumeTaskWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateReplaceRootVolumeTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5715,6 +7677,10 @@ func (_m *MockFakeEC2) CreateReservedInstancesListing(_a0 *ec2.CreateReservedIns ret := _m.Called(_a0) var r0 *ec2.CreateReservedInstancesListingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateReservedInstancesListingInput) (*ec2.CreateReservedInstancesListingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateReservedInstancesListingInput) *ec2.CreateReservedInstancesListingOutput); ok { r0 = rf(_a0) } else { @@ -5723,7 +7689,6 @@ func (_m *MockFakeEC2) CreateReservedInstancesListing(_a0 *ec2.CreateReservedIns } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateReservedInstancesListingInput) error); ok { r1 = rf(_a0) } else { @@ -5738,6 +7703,10 @@ func (_m *MockFakeEC2) CreateReservedInstancesListingRequest(_a0 *ec2.CreateRese ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateReservedInstancesListingOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateReservedInstancesListingInput) (*request.Request, *ec2.CreateReservedInstancesListingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateReservedInstancesListingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5746,7 +7715,6 @@ func (_m *MockFakeEC2) CreateReservedInstancesListingRequest(_a0 *ec2.CreateRese } } - var r1 *ec2.CreateReservedInstancesListingOutput if rf, ok := ret.Get(1).(func(*ec2.CreateReservedInstancesListingInput) *ec2.CreateReservedInstancesListingOutput); ok { r1 = rf(_a0) } else { @@ -5770,6 +7738,10 @@ func (_m *MockFakeEC2) CreateReservedInstancesListingWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.CreateReservedInstancesListingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReservedInstancesListingInput, ...request.Option) (*ec2.CreateReservedInstancesListingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReservedInstancesListingInput, ...request.Option) *ec2.CreateReservedInstancesListingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5778,7 +7750,6 @@ func (_m *MockFakeEC2) CreateReservedInstancesListingWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateReservedInstancesListingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5793,6 +7764,10 @@ func (_m *MockFakeEC2) CreateRestoreImageTask(_a0 *ec2.CreateRestoreImageTaskInp ret := _m.Called(_a0) var r0 *ec2.CreateRestoreImageTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateRestoreImageTaskInput) (*ec2.CreateRestoreImageTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRestoreImageTaskInput) *ec2.CreateRestoreImageTaskOutput); ok { r0 = rf(_a0) } else { @@ -5801,7 +7776,6 @@ func (_m *MockFakeEC2) CreateRestoreImageTask(_a0 *ec2.CreateRestoreImageTaskInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateRestoreImageTaskInput) error); ok { r1 = rf(_a0) } else { @@ -5816,6 +7790,10 @@ func (_m *MockFakeEC2) CreateRestoreImageTaskRequest(_a0 *ec2.CreateRestoreImage ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateRestoreImageTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateRestoreImageTaskInput) (*request.Request, *ec2.CreateRestoreImageTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRestoreImageTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5824,7 +7802,6 @@ func (_m *MockFakeEC2) CreateRestoreImageTaskRequest(_a0 *ec2.CreateRestoreImage } } - var r1 *ec2.CreateRestoreImageTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CreateRestoreImageTaskInput) *ec2.CreateRestoreImageTaskOutput); ok { r1 = rf(_a0) } else { @@ -5848,6 +7825,10 @@ func (_m *MockFakeEC2) CreateRestoreImageTaskWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.CreateRestoreImageTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRestoreImageTaskInput, ...request.Option) (*ec2.CreateRestoreImageTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRestoreImageTaskInput, ...request.Option) *ec2.CreateRestoreImageTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5856,7 +7837,6 @@ func (_m *MockFakeEC2) CreateRestoreImageTaskWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateRestoreImageTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5871,6 +7851,10 @@ func (_m *MockFakeEC2) CreateRoute(_a0 *ec2.CreateRouteInput) (*ec2.CreateRouteO ret := _m.Called(_a0) var r0 *ec2.CreateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateRouteInput) (*ec2.CreateRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRouteInput) *ec2.CreateRouteOutput); ok { r0 = rf(_a0) } else { @@ -5879,7 +7863,6 @@ func (_m *MockFakeEC2) CreateRoute(_a0 *ec2.CreateRouteInput) (*ec2.CreateRouteO } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateRouteInput) error); ok { r1 = rf(_a0) } else { @@ -5894,6 +7877,10 @@ func (_m *MockFakeEC2) CreateRouteRequest(_a0 *ec2.CreateRouteInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateRouteInput) (*request.Request, *ec2.CreateRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5902,7 +7889,6 @@ func (_m *MockFakeEC2) CreateRouteRequest(_a0 *ec2.CreateRouteInput) (*request.R } } - var r1 *ec2.CreateRouteOutput if rf, ok := ret.Get(1).(func(*ec2.CreateRouteInput) *ec2.CreateRouteOutput); ok { r1 = rf(_a0) } else { @@ -5919,6 +7905,10 @@ func (_m *MockFakeEC2) CreateRouteTable(_a0 *ec2.CreateRouteTableInput) (*ec2.Cr ret := _m.Called(_a0) var r0 *ec2.CreateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateRouteTableInput) (*ec2.CreateRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRouteTableInput) *ec2.CreateRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -5927,7 +7917,6 @@ func (_m *MockFakeEC2) CreateRouteTable(_a0 *ec2.CreateRouteTableInput) (*ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -5942,6 +7931,10 @@ func (_m *MockFakeEC2) CreateRouteTableRequest(_a0 *ec2.CreateRouteTableInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateRouteTableInput) (*request.Request, *ec2.CreateRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5950,7 +7943,6 @@ func (_m *MockFakeEC2) CreateRouteTableRequest(_a0 *ec2.CreateRouteTableInput) ( } } - var r1 *ec2.CreateRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.CreateRouteTableInput) *ec2.CreateRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -5974,6 +7966,10 @@ func (_m *MockFakeEC2) CreateRouteTableWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CreateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteTableInput, ...request.Option) (*ec2.CreateRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteTableInput, ...request.Option) *ec2.CreateRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5982,7 +7978,6 @@ func (_m *MockFakeEC2) CreateRouteTableWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6004,6 +7999,10 @@ func (_m *MockFakeEC2) CreateRouteWithContext(_a0 context.Context, _a1 *ec2.Crea ret := _m.Called(_ca...) var r0 *ec2.CreateRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteInput, ...request.Option) (*ec2.CreateRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteInput, ...request.Option) *ec2.CreateRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6012,7 +8011,6 @@ func (_m *MockFakeEC2) CreateRouteWithContext(_a0 context.Context, _a1 *ec2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6027,6 +8025,10 @@ func (_m *MockFakeEC2) CreateSecurityGroup(_a0 *ec2.CreateSecurityGroupInput) (* ret := _m.Called(_a0) var r0 *ec2.CreateSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSecurityGroupInput) (*ec2.CreateSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSecurityGroupInput) *ec2.CreateSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -6035,7 +8037,6 @@ func (_m *MockFakeEC2) CreateSecurityGroup(_a0 *ec2.CreateSecurityGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -6050,6 +8051,10 @@ func (_m *MockFakeEC2) CreateSecurityGroupRequest(_a0 *ec2.CreateSecurityGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateSecurityGroupInput) (*request.Request, *ec2.CreateSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6058,7 +8063,6 @@ func (_m *MockFakeEC2) CreateSecurityGroupRequest(_a0 *ec2.CreateSecurityGroupIn } } - var r1 *ec2.CreateSecurityGroupOutput if rf, ok := ret.Get(1).(func(*ec2.CreateSecurityGroupInput) *ec2.CreateSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -6082,6 +8086,10 @@ func (_m *MockFakeEC2) CreateSecurityGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.CreateSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSecurityGroupInput, ...request.Option) (*ec2.CreateSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSecurityGroupInput, ...request.Option) *ec2.CreateSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6090,7 +8098,6 @@ func (_m *MockFakeEC2) CreateSecurityGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6105,6 +8112,10 @@ func (_m *MockFakeEC2) CreateSnapshot(_a0 *ec2.CreateSnapshotInput) (*ec2.Snapsh ret := _m.Called(_a0) var r0 *ec2.Snapshot + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotInput) (*ec2.Snapshot, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotInput) *ec2.Snapshot); ok { r0 = rf(_a0) } else { @@ -6113,7 +8124,6 @@ func (_m *MockFakeEC2) CreateSnapshot(_a0 *ec2.CreateSnapshotInput) (*ec2.Snapsh } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -6128,6 +8138,10 @@ func (_m *MockFakeEC2) CreateSnapshotRequest(_a0 *ec2.CreateSnapshotInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.Snapshot + if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotInput) (*request.Request, *ec2.Snapshot)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6136,7 +8150,6 @@ func (_m *MockFakeEC2) CreateSnapshotRequest(_a0 *ec2.CreateSnapshotInput) (*req } } - var r1 *ec2.Snapshot if rf, ok := ret.Get(1).(func(*ec2.CreateSnapshotInput) *ec2.Snapshot); ok { r1 = rf(_a0) } else { @@ -6160,6 +8173,10 @@ func (_m *MockFakeEC2) CreateSnapshotWithContext(_a0 context.Context, _a1 *ec2.C ret := _m.Called(_ca...) var r0 *ec2.Snapshot + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotInput, ...request.Option) (*ec2.Snapshot, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotInput, ...request.Option) *ec2.Snapshot); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6168,7 +8185,6 @@ func (_m *MockFakeEC2) CreateSnapshotWithContext(_a0 context.Context, _a1 *ec2.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6183,6 +8199,10 @@ func (_m *MockFakeEC2) CreateSnapshots(_a0 *ec2.CreateSnapshotsInput) (*ec2.Crea ret := _m.Called(_a0) var r0 *ec2.CreateSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotsInput) (*ec2.CreateSnapshotsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotsInput) *ec2.CreateSnapshotsOutput); ok { r0 = rf(_a0) } else { @@ -6191,7 +8211,6 @@ func (_m *MockFakeEC2) CreateSnapshots(_a0 *ec2.CreateSnapshotsInput) (*ec2.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateSnapshotsInput) error); ok { r1 = rf(_a0) } else { @@ -6206,6 +8225,10 @@ func (_m *MockFakeEC2) CreateSnapshotsRequest(_a0 *ec2.CreateSnapshotsInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateSnapshotsOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotsInput) (*request.Request, *ec2.CreateSnapshotsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSnapshotsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6214,7 +8237,6 @@ func (_m *MockFakeEC2) CreateSnapshotsRequest(_a0 *ec2.CreateSnapshotsInput) (*r } } - var r1 *ec2.CreateSnapshotsOutput if rf, ok := ret.Get(1).(func(*ec2.CreateSnapshotsInput) *ec2.CreateSnapshotsOutput); ok { r1 = rf(_a0) } else { @@ -6238,6 +8260,10 @@ func (_m *MockFakeEC2) CreateSnapshotsWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.CreateSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotsInput, ...request.Option) (*ec2.CreateSnapshotsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotsInput, ...request.Option) *ec2.CreateSnapshotsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6246,7 +8272,6 @@ func (_m *MockFakeEC2) CreateSnapshotsWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSnapshotsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6261,6 +8286,10 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscription(_a0 *ec2.CreateSpotDatafee ret := _m.Called(_a0) var r0 *ec2.CreateSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSpotDatafeedSubscriptionInput) (*ec2.CreateSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSpotDatafeedSubscriptionInput) *ec2.CreateSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -6269,7 +8298,6 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscription(_a0 *ec2.CreateSpotDatafee } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateSpotDatafeedSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -6284,6 +8312,10 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscriptionRequest(_a0 *ec2.CreateSpot ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateSpotDatafeedSubscriptionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateSpotDatafeedSubscriptionInput) (*request.Request, *ec2.CreateSpotDatafeedSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSpotDatafeedSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6292,7 +8324,6 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscriptionRequest(_a0 *ec2.CreateSpot } } - var r1 *ec2.CreateSpotDatafeedSubscriptionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateSpotDatafeedSubscriptionInput) *ec2.CreateSpotDatafeedSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -6316,6 +8347,10 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscriptionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.CreateSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSpotDatafeedSubscriptionInput, ...request.Option) (*ec2.CreateSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSpotDatafeedSubscriptionInput, ...request.Option) *ec2.CreateSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6324,7 +8359,6 @@ func (_m *MockFakeEC2) CreateSpotDatafeedSubscriptionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSpotDatafeedSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6339,6 +8373,10 @@ func (_m *MockFakeEC2) CreateStoreImageTask(_a0 *ec2.CreateStoreImageTaskInput) ret := _m.Called(_a0) var r0 *ec2.CreateStoreImageTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateStoreImageTaskInput) (*ec2.CreateStoreImageTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateStoreImageTaskInput) *ec2.CreateStoreImageTaskOutput); ok { r0 = rf(_a0) } else { @@ -6347,7 +8385,6 @@ func (_m *MockFakeEC2) CreateStoreImageTask(_a0 *ec2.CreateStoreImageTaskInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateStoreImageTaskInput) error); ok { r1 = rf(_a0) } else { @@ -6362,6 +8399,10 @@ func (_m *MockFakeEC2) CreateStoreImageTaskRequest(_a0 *ec2.CreateStoreImageTask ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateStoreImageTaskOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateStoreImageTaskInput) (*request.Request, *ec2.CreateStoreImageTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateStoreImageTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6370,7 +8411,6 @@ func (_m *MockFakeEC2) CreateStoreImageTaskRequest(_a0 *ec2.CreateStoreImageTask } } - var r1 *ec2.CreateStoreImageTaskOutput if rf, ok := ret.Get(1).(func(*ec2.CreateStoreImageTaskInput) *ec2.CreateStoreImageTaskOutput); ok { r1 = rf(_a0) } else { @@ -6394,6 +8434,10 @@ func (_m *MockFakeEC2) CreateStoreImageTaskWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateStoreImageTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateStoreImageTaskInput, ...request.Option) (*ec2.CreateStoreImageTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateStoreImageTaskInput, ...request.Option) *ec2.CreateStoreImageTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6402,7 +8446,6 @@ func (_m *MockFakeEC2) CreateStoreImageTaskWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateStoreImageTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6417,6 +8460,10 @@ func (_m *MockFakeEC2) CreateSubnet(_a0 *ec2.CreateSubnetInput) (*ec2.CreateSubn ret := _m.Called(_a0) var r0 *ec2.CreateSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetInput) (*ec2.CreateSubnetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetInput) *ec2.CreateSubnetOutput); ok { r0 = rf(_a0) } else { @@ -6425,7 +8472,6 @@ func (_m *MockFakeEC2) CreateSubnet(_a0 *ec2.CreateSubnetInput) (*ec2.CreateSubn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateSubnetInput) error); ok { r1 = rf(_a0) } else { @@ -6435,11 +8481,102 @@ func (_m *MockFakeEC2) CreateSubnet(_a0 *ec2.CreateSubnetInput) (*ec2.CreateSubn return r0, r1 } +// CreateSubnetCidrReservation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateSubnetCidrReservation(_a0 *ec2.CreateSubnetCidrReservationInput) (*ec2.CreateSubnetCidrReservationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateSubnetCidrReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetCidrReservationInput) (*ec2.CreateSubnetCidrReservationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetCidrReservationInput) *ec2.CreateSubnetCidrReservationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateSubnetCidrReservationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateSubnetCidrReservationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateSubnetCidrReservationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateSubnetCidrReservationRequest(_a0 *ec2.CreateSubnetCidrReservationInput) (*request.Request, *ec2.CreateSubnetCidrReservationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateSubnetCidrReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetCidrReservationInput) (*request.Request, *ec2.CreateSubnetCidrReservationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetCidrReservationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateSubnetCidrReservationInput) *ec2.CreateSubnetCidrReservationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateSubnetCidrReservationOutput) + } + } + + return r0, r1 +} + +// CreateSubnetCidrReservationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateSubnetCidrReservationWithContext(_a0 context.Context, _a1 *ec2.CreateSubnetCidrReservationInput, _a2 ...request.Option) (*ec2.CreateSubnetCidrReservationOutput, error) { + _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 *ec2.CreateSubnetCidrReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetCidrReservationInput, ...request.Option) (*ec2.CreateSubnetCidrReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetCidrReservationInput, ...request.Option) *ec2.CreateSubnetCidrReservationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateSubnetCidrReservationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSubnetCidrReservationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateSubnetRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateSubnetRequest(_a0 *ec2.CreateSubnetInput) (*request.Request, *ec2.CreateSubnetOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateSubnetOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetInput) (*request.Request, *ec2.CreateSubnetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateSubnetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6448,7 +8585,6 @@ func (_m *MockFakeEC2) CreateSubnetRequest(_a0 *ec2.CreateSubnetInput) (*request } } - var r1 *ec2.CreateSubnetOutput if rf, ok := ret.Get(1).(func(*ec2.CreateSubnetInput) *ec2.CreateSubnetOutput); ok { r1 = rf(_a0) } else { @@ -6472,6 +8608,10 @@ func (_m *MockFakeEC2) CreateSubnetWithContext(_a0 context.Context, _a1 *ec2.Cre ret := _m.Called(_ca...) var r0 *ec2.CreateSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetInput, ...request.Option) (*ec2.CreateSubnetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetInput, ...request.Option) *ec2.CreateSubnetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6480,7 +8620,6 @@ func (_m *MockFakeEC2) CreateSubnetWithContext(_a0 context.Context, _a1 *ec2.Cre } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateSubnetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6495,6 +8634,10 @@ func (_m *MockFakeEC2) CreateTags(_a0 *ec2.CreateTagsInput) (*ec2.CreateTagsOutp ret := _m.Called(_a0) var r0 *ec2.CreateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTagsInput) *ec2.CreateTagsOutput); ok { r0 = rf(_a0) } else { @@ -6503,7 +8646,6 @@ func (_m *MockFakeEC2) CreateTags(_a0 *ec2.CreateTagsInput) (*ec2.CreateTagsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTagsInput) error); ok { r1 = rf(_a0) } else { @@ -6518,6 +8660,10 @@ func (_m *MockFakeEC2) CreateTagsRequest(_a0 *ec2.CreateTagsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTagsOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTagsInput) (*request.Request, *ec2.CreateTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6526,7 +8672,6 @@ func (_m *MockFakeEC2) CreateTagsRequest(_a0 *ec2.CreateTagsInput) (*request.Req } } - var r1 *ec2.CreateTagsOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTagsInput) *ec2.CreateTagsOutput); ok { r1 = rf(_a0) } else { @@ -6550,6 +8695,10 @@ func (_m *MockFakeEC2) CreateTagsWithContext(_a0 context.Context, _a1 *ec2.Creat ret := _m.Called(_ca...) var r0 *ec2.CreateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTagsInput, ...request.Option) (*ec2.CreateTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTagsInput, ...request.Option) *ec2.CreateTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6558,7 +8707,6 @@ func (_m *MockFakeEC2) CreateTagsWithContext(_a0 context.Context, _a1 *ec2.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6573,6 +8721,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilter(_a0 *ec2.CreateTrafficMirrorFil ret := _m.Called(_a0) var r0 *ec2.CreateTrafficMirrorFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterInput) (*ec2.CreateTrafficMirrorFilterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterInput) *ec2.CreateTrafficMirrorFilterOutput); ok { r0 = rf(_a0) } else { @@ -6581,7 +8733,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilter(_a0 *ec2.CreateTrafficMirrorFil } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorFilterInput) error); ok { r1 = rf(_a0) } else { @@ -6596,6 +8747,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRequest(_a0 *ec2.CreateTrafficMi ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTrafficMirrorFilterOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterInput) (*request.Request, *ec2.CreateTrafficMirrorFilterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6604,7 +8759,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRequest(_a0 *ec2.CreateTrafficMi } } - var r1 *ec2.CreateTrafficMirrorFilterOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorFilterInput) *ec2.CreateTrafficMirrorFilterOutput); ok { r1 = rf(_a0) } else { @@ -6621,6 +8775,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRule(_a0 *ec2.CreateTrafficMirro ret := _m.Called(_a0) var r0 *ec2.CreateTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterRuleInput) (*ec2.CreateTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterRuleInput) *ec2.CreateTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0) } else { @@ -6629,7 +8787,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRule(_a0 *ec2.CreateTrafficMirro } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorFilterRuleInput) error); ok { r1 = rf(_a0) } else { @@ -6644,6 +8801,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRuleRequest(_a0 *ec2.CreateTraff ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTrafficMirrorFilterRuleOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterRuleInput) (*request.Request, *ec2.CreateTrafficMirrorFilterRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorFilterRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6652,7 +8813,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRuleRequest(_a0 *ec2.CreateTraff } } - var r1 *ec2.CreateTrafficMirrorFilterRuleOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorFilterRuleInput) *ec2.CreateTrafficMirrorFilterRuleOutput); ok { r1 = rf(_a0) } else { @@ -6676,6 +8836,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRuleWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.CreateTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterRuleInput, ...request.Option) (*ec2.CreateTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterRuleInput, ...request.Option) *ec2.CreateTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6684,7 +8848,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterRuleWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTrafficMirrorFilterRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6706,6 +8869,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateTrafficMirrorFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterInput, ...request.Option) (*ec2.CreateTrafficMirrorFilterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterInput, ...request.Option) *ec2.CreateTrafficMirrorFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6714,7 +8881,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorFilterWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTrafficMirrorFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6729,6 +8895,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSession(_a0 *ec2.CreateTrafficMirrorSe ret := _m.Called(_a0) var r0 *ec2.CreateTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorSessionInput) (*ec2.CreateTrafficMirrorSessionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorSessionInput) *ec2.CreateTrafficMirrorSessionOutput); ok { r0 = rf(_a0) } else { @@ -6737,7 +8907,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSession(_a0 *ec2.CreateTrafficMirrorSe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorSessionInput) error); ok { r1 = rf(_a0) } else { @@ -6752,6 +8921,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSessionRequest(_a0 *ec2.CreateTrafficM ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTrafficMirrorSessionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorSessionInput) (*request.Request, *ec2.CreateTrafficMirrorSessionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorSessionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6760,7 +8933,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSessionRequest(_a0 *ec2.CreateTrafficM } } - var r1 *ec2.CreateTrafficMirrorSessionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorSessionInput) *ec2.CreateTrafficMirrorSessionOutput); ok { r1 = rf(_a0) } else { @@ -6784,6 +8956,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSessionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.CreateTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorSessionInput, ...request.Option) (*ec2.CreateTrafficMirrorSessionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorSessionInput, ...request.Option) *ec2.CreateTrafficMirrorSessionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6792,7 +8968,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorSessionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTrafficMirrorSessionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6807,6 +8982,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTarget(_a0 *ec2.CreateTrafficMirrorTar ret := _m.Called(_a0) var r0 *ec2.CreateTrafficMirrorTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorTargetInput) (*ec2.CreateTrafficMirrorTargetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorTargetInput) *ec2.CreateTrafficMirrorTargetOutput); ok { r0 = rf(_a0) } else { @@ -6815,7 +8994,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTarget(_a0 *ec2.CreateTrafficMirrorTar } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorTargetInput) error); ok { r1 = rf(_a0) } else { @@ -6830,6 +9008,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTargetRequest(_a0 *ec2.CreateTrafficMi ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTrafficMirrorTargetOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorTargetInput) (*request.Request, *ec2.CreateTrafficMirrorTargetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTrafficMirrorTargetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6838,7 +9020,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTargetRequest(_a0 *ec2.CreateTrafficMi } } - var r1 *ec2.CreateTrafficMirrorTargetOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTrafficMirrorTargetInput) *ec2.CreateTrafficMirrorTargetOutput); ok { r1 = rf(_a0) } else { @@ -6862,6 +9043,10 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTargetWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateTrafficMirrorTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorTargetInput, ...request.Option) (*ec2.CreateTrafficMirrorTargetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorTargetInput, ...request.Option) *ec2.CreateTrafficMirrorTargetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6870,7 +9055,6 @@ func (_m *MockFakeEC2) CreateTrafficMirrorTargetWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTrafficMirrorTargetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6885,6 +9069,10 @@ func (_m *MockFakeEC2) CreateTransitGateway(_a0 *ec2.CreateTransitGatewayInput) ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayInput) (*ec2.CreateTransitGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayInput) *ec2.CreateTransitGatewayOutput); ok { r0 = rf(_a0) } else { @@ -6893,7 +9081,6 @@ func (_m *MockFakeEC2) CreateTransitGateway(_a0 *ec2.CreateTransitGatewayInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -6908,6 +9095,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnect(_a0 *ec2.CreateTransitGateway ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayConnectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectInput) (*ec2.CreateTransitGatewayConnectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectInput) *ec2.CreateTransitGatewayConnectOutput); ok { r0 = rf(_a0) } else { @@ -6916,7 +9107,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnect(_a0 *ec2.CreateTransitGateway } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayConnectInput) error); ok { r1 = rf(_a0) } else { @@ -6931,6 +9121,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeer(_a0 *ec2.CreateTransitGat ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayConnectPeerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectPeerInput) (*ec2.CreateTransitGatewayConnectPeerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectPeerInput) *ec2.CreateTransitGatewayConnectPeerOutput); ok { r0 = rf(_a0) } else { @@ -6939,7 +9133,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeer(_a0 *ec2.CreateTransitGat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayConnectPeerInput) error); ok { r1 = rf(_a0) } else { @@ -6954,6 +9147,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeerRequest(_a0 *ec2.CreateTra ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayConnectPeerOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectPeerInput) (*request.Request, *ec2.CreateTransitGatewayConnectPeerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectPeerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6962,7 +9159,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeerRequest(_a0 *ec2.CreateTra } } - var r1 *ec2.CreateTransitGatewayConnectPeerOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayConnectPeerInput) *ec2.CreateTransitGatewayConnectPeerOutput); ok { r1 = rf(_a0) } else { @@ -6986,6 +9182,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeerWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayConnectPeerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectPeerInput, ...request.Option) (*ec2.CreateTransitGatewayConnectPeerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectPeerInput, ...request.Option) *ec2.CreateTransitGatewayConnectPeerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6994,7 +9194,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectPeerWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayConnectPeerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7009,6 +9208,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectRequest(_a0 *ec2.CreateTransit ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayConnectOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectInput) (*request.Request, *ec2.CreateTransitGatewayConnectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayConnectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7017,7 +9220,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectRequest(_a0 *ec2.CreateTransit } } - var r1 *ec2.CreateTransitGatewayConnectOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayConnectInput) *ec2.CreateTransitGatewayConnectOutput); ok { r1 = rf(_a0) } else { @@ -7041,6 +9243,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayConnectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectInput, ...request.Option) (*ec2.CreateTransitGatewayConnectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectInput, ...request.Option) *ec2.CreateTransitGatewayConnectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7049,7 +9255,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayConnectWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayConnectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7064,6 +9269,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomain(_a0 *ec2.CreateTransi ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayMulticastDomainInput) (*ec2.CreateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayMulticastDomainInput) *ec2.CreateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0) } else { @@ -7072,7 +9281,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomain(_a0 *ec2.CreateTransi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayMulticastDomainInput) error); ok { r1 = rf(_a0) } else { @@ -7087,6 +9295,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomainRequest(_a0 *ec2.Creat ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayMulticastDomainOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayMulticastDomainInput) (*request.Request, *ec2.CreateTransitGatewayMulticastDomainOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayMulticastDomainInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7095,7 +9307,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomainRequest(_a0 *ec2.Creat } } - var r1 *ec2.CreateTransitGatewayMulticastDomainOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayMulticastDomainInput) *ec2.CreateTransitGatewayMulticastDomainOutput); ok { r1 = rf(_a0) } else { @@ -7119,6 +9330,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomainWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.CreateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayMulticastDomainInput, ...request.Option) *ec2.CreateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7127,7 +9342,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayMulticastDomainWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayMulticastDomainInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7142,6 +9356,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachment(_a0 *ec2.CreateTran ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) (*ec2.CreateTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) *ec2.CreateTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -7150,7 +9368,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachment(_a0 *ec2.CreateTran } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -7165,6 +9382,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayPeeringAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.CreateTransitGatewayPeeringAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7173,7 +9394,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Cre } } - var r1 *ec2.CreateTransitGatewayPeeringAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPeeringAttachmentInput) *ec2.CreateTransitGatewayPeeringAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -7197,6 +9417,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachmentWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.CreateTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPeeringAttachmentInput, ...request.Option) *ec2.CreateTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7205,7 +9429,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachmentWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayPeeringAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7215,11 +9438,102 @@ func (_m *MockFakeEC2) CreateTransitGatewayPeeringAttachmentWithContext(_a0 cont return r0, r1 } +// CreateTransitGatewayPolicyTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateTransitGatewayPolicyTable(_a0 *ec2.CreateTransitGatewayPolicyTableInput) (*ec2.CreateTransitGatewayPolicyTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPolicyTableInput) (*ec2.CreateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPolicyTableInput) *ec2.CreateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPolicyTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateTransitGatewayPolicyTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateTransitGatewayPolicyTableRequest(_a0 *ec2.CreateTransitGatewayPolicyTableInput) (*request.Request, *ec2.CreateTransitGatewayPolicyTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateTransitGatewayPolicyTableOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPolicyTableInput) (*request.Request, *ec2.CreateTransitGatewayPolicyTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPolicyTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPolicyTableInput) *ec2.CreateTransitGatewayPolicyTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateTransitGatewayPolicyTableOutput) + } + } + + return r0, r1 +} + +// CreateTransitGatewayPolicyTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateTransitGatewayPolicyTableWithContext(_a0 context.Context, _a1 *ec2.CreateTransitGatewayPolicyTableInput, _a2 ...request.Option) (*ec2.CreateTransitGatewayPolicyTableOutput, error) { + _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 *ec2.CreateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPolicyTableInput, ...request.Option) (*ec2.CreateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPolicyTableInput, ...request.Option) *ec2.CreateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayPolicyTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateTransitGatewayPrefixListReference provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReference(_a0 *ec2.CreateTransitGatewayPrefixListReferenceInput) (*ec2.CreateTransitGatewayPrefixListReferenceOutput, error) { ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) (*ec2.CreateTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) *ec2.CreateTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0) } else { @@ -7228,7 +9542,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReference(_a0 *ec2.CreateTr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) error); ok { r1 = rf(_a0) } else { @@ -7243,6 +9556,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReferenceRequest(_a0 *ec2.C ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayPrefixListReferenceOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) (*request.Request, *ec2.CreateTransitGatewayPrefixListReferenceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7251,7 +9568,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReferenceRequest(_a0 *ec2.C } } - var r1 *ec2.CreateTransitGatewayPrefixListReferenceOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayPrefixListReferenceInput) *ec2.CreateTransitGatewayPrefixListReferenceOutput); ok { r1 = rf(_a0) } else { @@ -7275,6 +9591,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReferenceWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPrefixListReferenceInput, ...request.Option) (*ec2.CreateTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPrefixListReferenceInput, ...request.Option) *ec2.CreateTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7283,7 +9603,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayPrefixListReferenceWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayPrefixListReferenceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7298,6 +9617,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRequest(_a0 *ec2.CreateTransitGateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayInput) (*request.Request, *ec2.CreateTransitGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7306,7 +9629,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRequest(_a0 *ec2.CreateTransitGateway } } - var r1 *ec2.CreateTransitGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayInput) *ec2.CreateTransitGatewayOutput); ok { r1 = rf(_a0) } else { @@ -7323,6 +9645,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRoute(_a0 *ec2.CreateTransitGatewayRo ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteInput) (*ec2.CreateTransitGatewayRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteInput) *ec2.CreateTransitGatewayRouteOutput); ok { r0 = rf(_a0) } else { @@ -7331,7 +9657,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRoute(_a0 *ec2.CreateTransitGatewayRo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteInput) error); ok { r1 = rf(_a0) } else { @@ -7346,6 +9671,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteRequest(_a0 *ec2.CreateTransitGa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteInput) (*request.Request, *ec2.CreateTransitGatewayRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7354,7 +9683,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteRequest(_a0 *ec2.CreateTransitGa } } - var r1 *ec2.CreateTransitGatewayRouteOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteInput) *ec2.CreateTransitGatewayRouteOutput); ok { r1 = rf(_a0) } else { @@ -7371,6 +9699,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTable(_a0 *ec2.CreateTransitGate ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableInput) (*ec2.CreateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableInput) *ec2.CreateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -7379,7 +9711,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTable(_a0 *ec2.CreateTransitGate } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -7389,11 +9720,102 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTable(_a0 *ec2.CreateTransitGate return r0, r1 } +// CreateTransitGatewayRouteTableAnnouncement provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateTransitGatewayRouteTableAnnouncement(_a0 *ec2.CreateTransitGatewayRouteTableAnnouncementInput) (*ec2.CreateTransitGatewayRouteTableAnnouncementOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.CreateTransitGatewayRouteTableAnnouncementOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) (*ec2.CreateTransitGatewayRouteTableAnnouncementOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) *ec2.CreateTransitGatewayRouteTableAnnouncementOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateTransitGatewayRouteTableAnnouncementOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateTransitGatewayRouteTableAnnouncementRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) CreateTransitGatewayRouteTableAnnouncementRequest(_a0 *ec2.CreateTransitGatewayRouteTableAnnouncementInput) (*request.Request, *ec2.CreateTransitGatewayRouteTableAnnouncementOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.CreateTransitGatewayRouteTableAnnouncementOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) (*request.Request, *ec2.CreateTransitGatewayRouteTableAnnouncementOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteTableAnnouncementInput) *ec2.CreateTransitGatewayRouteTableAnnouncementOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.CreateTransitGatewayRouteTableAnnouncementOutput) + } + } + + return r0, r1 +} + +// CreateTransitGatewayRouteTableAnnouncementWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) CreateTransitGatewayRouteTableAnnouncementWithContext(_a0 context.Context, _a1 *ec2.CreateTransitGatewayRouteTableAnnouncementInput, _a2 ...request.Option) (*ec2.CreateTransitGatewayRouteTableAnnouncementOutput, error) { + _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 *ec2.CreateTransitGatewayRouteTableAnnouncementOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteTableAnnouncementInput, ...request.Option) (*ec2.CreateTransitGatewayRouteTableAnnouncementOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteTableAnnouncementInput, ...request.Option) *ec2.CreateTransitGatewayRouteTableAnnouncementOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.CreateTransitGatewayRouteTableAnnouncementOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayRouteTableAnnouncementInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateTransitGatewayRouteTableRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) CreateTransitGatewayRouteTableRequest(_a0 *ec2.CreateTransitGatewayRouteTableInput) (*request.Request, *ec2.CreateTransitGatewayRouteTableOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableInput) (*request.Request, *ec2.CreateTransitGatewayRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7402,7 +9824,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTableRequest(_a0 *ec2.CreateTran } } - var r1 *ec2.CreateTransitGatewayRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayRouteTableInput) *ec2.CreateTransitGatewayRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -7426,6 +9847,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTableWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteTableInput, ...request.Option) (*ec2.CreateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteTableInput, ...request.Option) *ec2.CreateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7434,7 +9859,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteTableWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7456,6 +9880,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteInput, ...request.Option) (*ec2.CreateTransitGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteInput, ...request.Option) *ec2.CreateTransitGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7464,7 +9892,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayRouteWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7479,6 +9906,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachment(_a0 *ec2.CreateTransitG ret := _m.Called(_a0) var r0 *ec2.CreateTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) *ec2.CreateTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -7487,7 +9918,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachment(_a0 *ec2.CreateTransitG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -7502,6 +9932,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachmentRequest(_a0 *ec2.CreateT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateTransitGatewayVpcAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.CreateTransitGatewayVpcAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7510,7 +9944,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachmentRequest(_a0 *ec2.CreateT } } - var r1 *ec2.CreateTransitGatewayVpcAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.CreateTransitGatewayVpcAttachmentInput) *ec2.CreateTransitGatewayVpcAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -7534,6 +9967,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachmentWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayVpcAttachmentInput, ...request.Option) *ec2.CreateTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7542,7 +9979,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayVpcAttachmentWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayVpcAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7564,6 +10000,10 @@ func (_m *MockFakeEC2) CreateTransitGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.CreateTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayInput, ...request.Option) (*ec2.CreateTransitGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayInput, ...request.Option) *ec2.CreateTransitGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7572,7 +10012,6 @@ func (_m *MockFakeEC2) CreateTransitGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateTransitGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7587,6 +10026,10 @@ func (_m *MockFakeEC2) CreateVolume(_a0 *ec2.CreateVolumeInput) (*ec2.Volume, er ret := _m.Called(_a0) var r0 *ec2.Volume + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVolumeInput) (*ec2.Volume, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVolumeInput) *ec2.Volume); ok { r0 = rf(_a0) } else { @@ -7595,7 +10038,6 @@ func (_m *MockFakeEC2) CreateVolume(_a0 *ec2.CreateVolumeInput) (*ec2.Volume, er } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVolumeInput) error); ok { r1 = rf(_a0) } else { @@ -7610,6 +10052,10 @@ func (_m *MockFakeEC2) CreateVolumeRequest(_a0 *ec2.CreateVolumeInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.Volume + if rf, ok := ret.Get(0).(func(*ec2.CreateVolumeInput) (*request.Request, *ec2.Volume)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVolumeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7618,7 +10064,6 @@ func (_m *MockFakeEC2) CreateVolumeRequest(_a0 *ec2.CreateVolumeInput) (*request } } - var r1 *ec2.Volume if rf, ok := ret.Get(1).(func(*ec2.CreateVolumeInput) *ec2.Volume); ok { r1 = rf(_a0) } else { @@ -7642,6 +10087,10 @@ func (_m *MockFakeEC2) CreateVolumeWithContext(_a0 context.Context, _a1 *ec2.Cre ret := _m.Called(_ca...) var r0 *ec2.Volume + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVolumeInput, ...request.Option) (*ec2.Volume, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVolumeInput, ...request.Option) *ec2.Volume); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7650,7 +10099,6 @@ func (_m *MockFakeEC2) CreateVolumeWithContext(_a0 context.Context, _a1 *ec2.Cre } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVolumeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7665,6 +10113,10 @@ func (_m *MockFakeEC2) CreateVpc(_a0 *ec2.CreateVpcInput) (*ec2.CreateVpcOutput, ret := _m.Called(_a0) var r0 *ec2.CreateVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcInput) (*ec2.CreateVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcInput) *ec2.CreateVpcOutput); ok { r0 = rf(_a0) } else { @@ -7673,7 +10125,6 @@ func (_m *MockFakeEC2) CreateVpc(_a0 *ec2.CreateVpcInput) (*ec2.CreateVpcOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpcInput) error); ok { r1 = rf(_a0) } else { @@ -7688,6 +10139,10 @@ func (_m *MockFakeEC2) CreateVpcEndpoint(_a0 *ec2.CreateVpcEndpointInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.CreateVpcEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointInput) (*ec2.CreateVpcEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointInput) *ec2.CreateVpcEndpointOutput); ok { r0 = rf(_a0) } else { @@ -7696,7 +10151,6 @@ func (_m *MockFakeEC2) CreateVpcEndpoint(_a0 *ec2.CreateVpcEndpointInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -7711,6 +10165,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotification(_a0 *ec2.CreateVp ret := _m.Called(_a0) var r0 *ec2.CreateVpcEndpointConnectionNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) (*ec2.CreateVpcEndpointConnectionNotificationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) *ec2.CreateVpcEndpointConnectionNotificationOutput); ok { r0 = rf(_a0) } else { @@ -7719,7 +10177,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotification(_a0 *ec2.CreateVp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) error); ok { r1 = rf(_a0) } else { @@ -7734,6 +10191,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotificationRequest(_a0 *ec2.C ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpcEndpointConnectionNotificationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) (*request.Request, *ec2.CreateVpcEndpointConnectionNotificationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7742,7 +10203,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotificationRequest(_a0 *ec2.C } } - var r1 *ec2.CreateVpcEndpointConnectionNotificationOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointConnectionNotificationInput) *ec2.CreateVpcEndpointConnectionNotificationOutput); ok { r1 = rf(_a0) } else { @@ -7766,6 +10226,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotificationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.CreateVpcEndpointConnectionNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointConnectionNotificationInput, ...request.Option) (*ec2.CreateVpcEndpointConnectionNotificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointConnectionNotificationInput, ...request.Option) *ec2.CreateVpcEndpointConnectionNotificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7774,7 +10238,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointConnectionNotificationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpcEndpointConnectionNotificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7789,6 +10252,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointRequest(_a0 *ec2.CreateVpcEndpointInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpcEndpointOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointInput) (*request.Request, *ec2.CreateVpcEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7797,7 +10264,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointRequest(_a0 *ec2.CreateVpcEndpointInput) } } - var r1 *ec2.CreateVpcEndpointOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointInput) *ec2.CreateVpcEndpointOutput); ok { r1 = rf(_a0) } else { @@ -7814,6 +10280,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfiguration(_a0 *ec2.CreateVpcE ret := _m.Called(_a0) var r0 *ec2.CreateVpcEndpointServiceConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) (*ec2.CreateVpcEndpointServiceConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) *ec2.CreateVpcEndpointServiceConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -7822,7 +10292,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfiguration(_a0 *ec2.CreateVpcE } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -7837,6 +10306,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfigurationRequest(_a0 *ec2.Cre ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpcEndpointServiceConfigurationOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) (*request.Request, *ec2.CreateVpcEndpointServiceConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7845,7 +10318,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfigurationRequest(_a0 *ec2.Cre } } - var r1 *ec2.CreateVpcEndpointServiceConfigurationOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpcEndpointServiceConfigurationInput) *ec2.CreateVpcEndpointServiceConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -7869,6 +10341,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfigurationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.CreateVpcEndpointServiceConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointServiceConfigurationInput, ...request.Option) (*ec2.CreateVpcEndpointServiceConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointServiceConfigurationInput, ...request.Option) *ec2.CreateVpcEndpointServiceConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7877,7 +10353,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointServiceConfigurationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpcEndpointServiceConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7899,6 +10374,10 @@ func (_m *MockFakeEC2) CreateVpcEndpointWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.CreateVpcEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointInput, ...request.Option) (*ec2.CreateVpcEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointInput, ...request.Option) *ec2.CreateVpcEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7907,7 +10386,6 @@ func (_m *MockFakeEC2) CreateVpcEndpointWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpcEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7922,6 +10400,10 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnection(_a0 *ec2.CreateVpcPeeringConne ret := _m.Called(_a0) var r0 *ec2.CreateVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcPeeringConnectionInput) (*ec2.CreateVpcPeeringConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcPeeringConnectionInput) *ec2.CreateVpcPeeringConnectionOutput); ok { r0 = rf(_a0) } else { @@ -7930,7 +10412,6 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnection(_a0 *ec2.CreateVpcPeeringConne } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpcPeeringConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -7945,6 +10426,10 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnectionRequest(_a0 *ec2.CreateVpcPeeri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpcPeeringConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcPeeringConnectionInput) (*request.Request, *ec2.CreateVpcPeeringConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcPeeringConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7953,7 +10438,6 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnectionRequest(_a0 *ec2.CreateVpcPeeri } } - var r1 *ec2.CreateVpcPeeringConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpcPeeringConnectionInput) *ec2.CreateVpcPeeringConnectionOutput); ok { r1 = rf(_a0) } else { @@ -7977,6 +10461,10 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnectionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.CreateVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcPeeringConnectionInput, ...request.Option) (*ec2.CreateVpcPeeringConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcPeeringConnectionInput, ...request.Option) *ec2.CreateVpcPeeringConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7985,7 +10473,6 @@ func (_m *MockFakeEC2) CreateVpcPeeringConnectionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpcPeeringConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8000,6 +10487,10 @@ func (_m *MockFakeEC2) CreateVpcRequest(_a0 *ec2.CreateVpcInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpcInput) (*request.Request, *ec2.CreateVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8008,7 +10499,6 @@ func (_m *MockFakeEC2) CreateVpcRequest(_a0 *ec2.CreateVpcInput) (*request.Reque } } - var r1 *ec2.CreateVpcOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpcInput) *ec2.CreateVpcOutput); ok { r1 = rf(_a0) } else { @@ -8032,6 +10522,10 @@ func (_m *MockFakeEC2) CreateVpcWithContext(_a0 context.Context, _a1 *ec2.Create ret := _m.Called(_ca...) var r0 *ec2.CreateVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcInput, ...request.Option) (*ec2.CreateVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcInput, ...request.Option) *ec2.CreateVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8040,7 +10534,6 @@ func (_m *MockFakeEC2) CreateVpcWithContext(_a0 context.Context, _a1 *ec2.Create } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8055,6 +10548,10 @@ func (_m *MockFakeEC2) CreateVpnConnection(_a0 *ec2.CreateVpnConnectionInput) (* ret := _m.Called(_a0) var r0 *ec2.CreateVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionInput) (*ec2.CreateVpnConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionInput) *ec2.CreateVpnConnectionOutput); ok { r0 = rf(_a0) } else { @@ -8063,7 +10560,6 @@ func (_m *MockFakeEC2) CreateVpnConnection(_a0 *ec2.CreateVpnConnectionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpnConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -8078,6 +10574,10 @@ func (_m *MockFakeEC2) CreateVpnConnectionRequest(_a0 *ec2.CreateVpnConnectionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpnConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionInput) (*request.Request, *ec2.CreateVpnConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8086,7 +10586,6 @@ func (_m *MockFakeEC2) CreateVpnConnectionRequest(_a0 *ec2.CreateVpnConnectionIn } } - var r1 *ec2.CreateVpnConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpnConnectionInput) *ec2.CreateVpnConnectionOutput); ok { r1 = rf(_a0) } else { @@ -8103,6 +10602,10 @@ func (_m *MockFakeEC2) CreateVpnConnectionRoute(_a0 *ec2.CreateVpnConnectionRout ret := _m.Called(_a0) var r0 *ec2.CreateVpnConnectionRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionRouteInput) (*ec2.CreateVpnConnectionRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionRouteInput) *ec2.CreateVpnConnectionRouteOutput); ok { r0 = rf(_a0) } else { @@ -8111,7 +10614,6 @@ func (_m *MockFakeEC2) CreateVpnConnectionRoute(_a0 *ec2.CreateVpnConnectionRout } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpnConnectionRouteInput) error); ok { r1 = rf(_a0) } else { @@ -8126,6 +10628,10 @@ func (_m *MockFakeEC2) CreateVpnConnectionRouteRequest(_a0 *ec2.CreateVpnConnect ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpnConnectionRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionRouteInput) (*request.Request, *ec2.CreateVpnConnectionRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnConnectionRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8134,7 +10640,6 @@ func (_m *MockFakeEC2) CreateVpnConnectionRouteRequest(_a0 *ec2.CreateVpnConnect } } - var r1 *ec2.CreateVpnConnectionRouteOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpnConnectionRouteInput) *ec2.CreateVpnConnectionRouteOutput); ok { r1 = rf(_a0) } else { @@ -8158,6 +10663,10 @@ func (_m *MockFakeEC2) CreateVpnConnectionRouteWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.CreateVpnConnectionRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionRouteInput, ...request.Option) (*ec2.CreateVpnConnectionRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionRouteInput, ...request.Option) *ec2.CreateVpnConnectionRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8166,7 +10675,6 @@ func (_m *MockFakeEC2) CreateVpnConnectionRouteWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpnConnectionRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8188,6 +10696,10 @@ func (_m *MockFakeEC2) CreateVpnConnectionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.CreateVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionInput, ...request.Option) (*ec2.CreateVpnConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionInput, ...request.Option) *ec2.CreateVpnConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8196,7 +10708,6 @@ func (_m *MockFakeEC2) CreateVpnConnectionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpnConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8211,6 +10722,10 @@ func (_m *MockFakeEC2) CreateVpnGateway(_a0 *ec2.CreateVpnGatewayInput) (*ec2.Cr ret := _m.Called(_a0) var r0 *ec2.CreateVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnGatewayInput) (*ec2.CreateVpnGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnGatewayInput) *ec2.CreateVpnGatewayOutput); ok { r0 = rf(_a0) } else { @@ -8219,7 +10734,6 @@ func (_m *MockFakeEC2) CreateVpnGateway(_a0 *ec2.CreateVpnGatewayInput) (*ec2.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.CreateVpnGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -8234,6 +10748,10 @@ func (_m *MockFakeEC2) CreateVpnGatewayRequest(_a0 *ec2.CreateVpnGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.CreateVpnGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.CreateVpnGatewayInput) (*request.Request, *ec2.CreateVpnGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.CreateVpnGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8242,7 +10760,6 @@ func (_m *MockFakeEC2) CreateVpnGatewayRequest(_a0 *ec2.CreateVpnGatewayInput) ( } } - var r1 *ec2.CreateVpnGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.CreateVpnGatewayInput) *ec2.CreateVpnGatewayOutput); ok { r1 = rf(_a0) } else { @@ -8266,6 +10783,10 @@ func (_m *MockFakeEC2) CreateVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.CreateVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnGatewayInput, ...request.Option) (*ec2.CreateVpnGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnGatewayInput, ...request.Option) *ec2.CreateVpnGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8274,7 +10795,6 @@ func (_m *MockFakeEC2) CreateVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.CreateVpnGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8289,6 +10809,10 @@ func (_m *MockFakeEC2) DeleteCarrierGateway(_a0 *ec2.DeleteCarrierGatewayInput) ret := _m.Called(_a0) var r0 *ec2.DeleteCarrierGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteCarrierGatewayInput) (*ec2.DeleteCarrierGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteCarrierGatewayInput) *ec2.DeleteCarrierGatewayOutput); ok { r0 = rf(_a0) } else { @@ -8297,7 +10821,6 @@ func (_m *MockFakeEC2) DeleteCarrierGateway(_a0 *ec2.DeleteCarrierGatewayInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteCarrierGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -8312,6 +10835,10 @@ func (_m *MockFakeEC2) DeleteCarrierGatewayRequest(_a0 *ec2.DeleteCarrierGateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteCarrierGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteCarrierGatewayInput) (*request.Request, *ec2.DeleteCarrierGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteCarrierGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8320,7 +10847,6 @@ func (_m *MockFakeEC2) DeleteCarrierGatewayRequest(_a0 *ec2.DeleteCarrierGateway } } - var r1 *ec2.DeleteCarrierGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteCarrierGatewayInput) *ec2.DeleteCarrierGatewayOutput); ok { r1 = rf(_a0) } else { @@ -8344,6 +10870,10 @@ func (_m *MockFakeEC2) DeleteCarrierGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteCarrierGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCarrierGatewayInput, ...request.Option) (*ec2.DeleteCarrierGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCarrierGatewayInput, ...request.Option) *ec2.DeleteCarrierGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8352,7 +10882,6 @@ func (_m *MockFakeEC2) DeleteCarrierGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteCarrierGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8367,6 +10896,10 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpoint(_a0 *ec2.DeleteClientVpnEndpointI ret := _m.Called(_a0) var r0 *ec2.DeleteClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnEndpointInput) (*ec2.DeleteClientVpnEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnEndpointInput) *ec2.DeleteClientVpnEndpointOutput); ok { r0 = rf(_a0) } else { @@ -8375,7 +10908,6 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpoint(_a0 *ec2.DeleteClientVpnEndpointI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteClientVpnEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -8390,6 +10922,10 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpointRequest(_a0 *ec2.DeleteClientVpnEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteClientVpnEndpointOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnEndpointInput) (*request.Request, *ec2.DeleteClientVpnEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8398,7 +10934,6 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpointRequest(_a0 *ec2.DeleteClientVpnEn } } - var r1 *ec2.DeleteClientVpnEndpointOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteClientVpnEndpointInput) *ec2.DeleteClientVpnEndpointOutput); ok { r1 = rf(_a0) } else { @@ -8422,6 +10957,10 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DeleteClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnEndpointInput, ...request.Option) (*ec2.DeleteClientVpnEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnEndpointInput, ...request.Option) *ec2.DeleteClientVpnEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8430,7 +10969,6 @@ func (_m *MockFakeEC2) DeleteClientVpnEndpointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteClientVpnEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8445,6 +10983,10 @@ func (_m *MockFakeEC2) DeleteClientVpnRoute(_a0 *ec2.DeleteClientVpnRouteInput) ret := _m.Called(_a0) var r0 *ec2.DeleteClientVpnRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnRouteInput) (*ec2.DeleteClientVpnRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnRouteInput) *ec2.DeleteClientVpnRouteOutput); ok { r0 = rf(_a0) } else { @@ -8453,7 +10995,6 @@ func (_m *MockFakeEC2) DeleteClientVpnRoute(_a0 *ec2.DeleteClientVpnRouteInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteClientVpnRouteInput) error); ok { r1 = rf(_a0) } else { @@ -8468,6 +11009,10 @@ func (_m *MockFakeEC2) DeleteClientVpnRouteRequest(_a0 *ec2.DeleteClientVpnRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteClientVpnRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnRouteInput) (*request.Request, *ec2.DeleteClientVpnRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteClientVpnRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8476,7 +11021,6 @@ func (_m *MockFakeEC2) DeleteClientVpnRouteRequest(_a0 *ec2.DeleteClientVpnRoute } } - var r1 *ec2.DeleteClientVpnRouteOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteClientVpnRouteInput) *ec2.DeleteClientVpnRouteOutput); ok { r1 = rf(_a0) } else { @@ -8500,6 +11044,10 @@ func (_m *MockFakeEC2) DeleteClientVpnRouteWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteClientVpnRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnRouteInput, ...request.Option) (*ec2.DeleteClientVpnRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnRouteInput, ...request.Option) *ec2.DeleteClientVpnRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8508,7 +11056,6 @@ func (_m *MockFakeEC2) DeleteClientVpnRouteWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteClientVpnRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8518,11 +11065,189 @@ func (_m *MockFakeEC2) DeleteClientVpnRouteWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeleteCoipCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteCoipCidr(_a0 *ec2.DeleteCoipCidrInput) (*ec2.DeleteCoipCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteCoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipCidrInput) (*ec2.DeleteCoipCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipCidrInput) *ec2.DeleteCoipCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteCoipCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteCoipCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteCoipCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteCoipCidrRequest(_a0 *ec2.DeleteCoipCidrInput) (*request.Request, *ec2.DeleteCoipCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteCoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipCidrInput) (*request.Request, *ec2.DeleteCoipCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteCoipCidrInput) *ec2.DeleteCoipCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteCoipCidrOutput) + } + } + + return r0, r1 +} + +// DeleteCoipCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteCoipCidrWithContext(_a0 context.Context, _a1 *ec2.DeleteCoipCidrInput, _a2 ...request.Option) (*ec2.DeleteCoipCidrOutput, error) { + _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 *ec2.DeleteCoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCoipCidrInput, ...request.Option) (*ec2.DeleteCoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCoipCidrInput, ...request.Option) *ec2.DeleteCoipCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteCoipCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteCoipCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteCoipPool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteCoipPool(_a0 *ec2.DeleteCoipPoolInput) (*ec2.DeleteCoipPoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteCoipPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipPoolInput) (*ec2.DeleteCoipPoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipPoolInput) *ec2.DeleteCoipPoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteCoipPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteCoipPoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteCoipPoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteCoipPoolRequest(_a0 *ec2.DeleteCoipPoolInput) (*request.Request, *ec2.DeleteCoipPoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteCoipPoolOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipPoolInput) (*request.Request, *ec2.DeleteCoipPoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteCoipPoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteCoipPoolInput) *ec2.DeleteCoipPoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteCoipPoolOutput) + } + } + + return r0, r1 +} + +// DeleteCoipPoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteCoipPoolWithContext(_a0 context.Context, _a1 *ec2.DeleteCoipPoolInput, _a2 ...request.Option) (*ec2.DeleteCoipPoolOutput, error) { + _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 *ec2.DeleteCoipPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCoipPoolInput, ...request.Option) (*ec2.DeleteCoipPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCoipPoolInput, ...request.Option) *ec2.DeleteCoipPoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteCoipPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteCoipPoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteCustomerGateway provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteCustomerGateway(_a0 *ec2.DeleteCustomerGatewayInput) (*ec2.DeleteCustomerGatewayOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteCustomerGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteCustomerGatewayInput) (*ec2.DeleteCustomerGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteCustomerGatewayInput) *ec2.DeleteCustomerGatewayOutput); ok { r0 = rf(_a0) } else { @@ -8531,7 +11256,6 @@ func (_m *MockFakeEC2) DeleteCustomerGateway(_a0 *ec2.DeleteCustomerGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteCustomerGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -8546,6 +11270,10 @@ func (_m *MockFakeEC2) DeleteCustomerGatewayRequest(_a0 *ec2.DeleteCustomerGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteCustomerGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteCustomerGatewayInput) (*request.Request, *ec2.DeleteCustomerGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteCustomerGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8554,7 +11282,6 @@ func (_m *MockFakeEC2) DeleteCustomerGatewayRequest(_a0 *ec2.DeleteCustomerGatew } } - var r1 *ec2.DeleteCustomerGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteCustomerGatewayInput) *ec2.DeleteCustomerGatewayOutput); ok { r1 = rf(_a0) } else { @@ -8578,6 +11305,10 @@ func (_m *MockFakeEC2) DeleteCustomerGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteCustomerGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCustomerGatewayInput, ...request.Option) (*ec2.DeleteCustomerGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCustomerGatewayInput, ...request.Option) *ec2.DeleteCustomerGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8586,7 +11317,6 @@ func (_m *MockFakeEC2) DeleteCustomerGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteCustomerGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8601,6 +11331,10 @@ func (_m *MockFakeEC2) DeleteDhcpOptions(_a0 *ec2.DeleteDhcpOptionsInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.DeleteDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteDhcpOptionsInput) (*ec2.DeleteDhcpOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteDhcpOptionsInput) *ec2.DeleteDhcpOptionsOutput); ok { r0 = rf(_a0) } else { @@ -8609,7 +11343,6 @@ func (_m *MockFakeEC2) DeleteDhcpOptions(_a0 *ec2.DeleteDhcpOptionsInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteDhcpOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -8624,6 +11357,10 @@ func (_m *MockFakeEC2) DeleteDhcpOptionsRequest(_a0 *ec2.DeleteDhcpOptionsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteDhcpOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteDhcpOptionsInput) (*request.Request, *ec2.DeleteDhcpOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteDhcpOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8632,7 +11369,6 @@ func (_m *MockFakeEC2) DeleteDhcpOptionsRequest(_a0 *ec2.DeleteDhcpOptionsInput) } } - var r1 *ec2.DeleteDhcpOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteDhcpOptionsInput) *ec2.DeleteDhcpOptionsOutput); ok { r1 = rf(_a0) } else { @@ -8656,6 +11392,10 @@ func (_m *MockFakeEC2) DeleteDhcpOptionsWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DeleteDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteDhcpOptionsInput, ...request.Option) (*ec2.DeleteDhcpOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteDhcpOptionsInput, ...request.Option) *ec2.DeleteDhcpOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8664,7 +11404,6 @@ func (_m *MockFakeEC2) DeleteDhcpOptionsWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteDhcpOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8679,6 +11418,10 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGateway(_a0 *ec2.DeleteEgressOnly ret := _m.Called(_a0) var r0 *ec2.DeleteEgressOnlyInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) (*ec2.DeleteEgressOnlyInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) *ec2.DeleteEgressOnlyInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -8687,7 +11430,6 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGateway(_a0 *ec2.DeleteEgressOnly } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -8702,6 +11444,10 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGatewayRequest(_a0 *ec2.DeleteEgr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteEgressOnlyInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) (*request.Request, *ec2.DeleteEgressOnlyInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8710,7 +11456,6 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGatewayRequest(_a0 *ec2.DeleteEgr } } - var r1 *ec2.DeleteEgressOnlyInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteEgressOnlyInternetGatewayInput) *ec2.DeleteEgressOnlyInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -8734,6 +11479,10 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGatewayWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DeleteEgressOnlyInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteEgressOnlyInternetGatewayInput, ...request.Option) (*ec2.DeleteEgressOnlyInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteEgressOnlyInternetGatewayInput, ...request.Option) *ec2.DeleteEgressOnlyInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8742,7 +11491,6 @@ func (_m *MockFakeEC2) DeleteEgressOnlyInternetGatewayWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteEgressOnlyInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8757,6 +11505,10 @@ func (_m *MockFakeEC2) DeleteFleets(_a0 *ec2.DeleteFleetsInput) (*ec2.DeleteFlee ret := _m.Called(_a0) var r0 *ec2.DeleteFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteFleetsInput) (*ec2.DeleteFleetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFleetsInput) *ec2.DeleteFleetsOutput); ok { r0 = rf(_a0) } else { @@ -8765,7 +11517,6 @@ func (_m *MockFakeEC2) DeleteFleets(_a0 *ec2.DeleteFleetsInput) (*ec2.DeleteFlee } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteFleetsInput) error); ok { r1 = rf(_a0) } else { @@ -8780,6 +11531,10 @@ func (_m *MockFakeEC2) DeleteFleetsRequest(_a0 *ec2.DeleteFleetsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteFleetsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteFleetsInput) (*request.Request, *ec2.DeleteFleetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFleetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8788,7 +11543,6 @@ func (_m *MockFakeEC2) DeleteFleetsRequest(_a0 *ec2.DeleteFleetsInput) (*request } } - var r1 *ec2.DeleteFleetsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteFleetsInput) *ec2.DeleteFleetsOutput); ok { r1 = rf(_a0) } else { @@ -8812,6 +11566,10 @@ func (_m *MockFakeEC2) DeleteFleetsWithContext(_a0 context.Context, _a1 *ec2.Del ret := _m.Called(_ca...) var r0 *ec2.DeleteFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFleetsInput, ...request.Option) (*ec2.DeleteFleetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFleetsInput, ...request.Option) *ec2.DeleteFleetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8820,7 +11578,6 @@ func (_m *MockFakeEC2) DeleteFleetsWithContext(_a0 context.Context, _a1 *ec2.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteFleetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8835,6 +11592,10 @@ func (_m *MockFakeEC2) DeleteFlowLogs(_a0 *ec2.DeleteFlowLogsInput) (*ec2.Delete ret := _m.Called(_a0) var r0 *ec2.DeleteFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteFlowLogsInput) (*ec2.DeleteFlowLogsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFlowLogsInput) *ec2.DeleteFlowLogsOutput); ok { r0 = rf(_a0) } else { @@ -8843,7 +11604,6 @@ func (_m *MockFakeEC2) DeleteFlowLogs(_a0 *ec2.DeleteFlowLogsInput) (*ec2.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteFlowLogsInput) error); ok { r1 = rf(_a0) } else { @@ -8858,6 +11618,10 @@ func (_m *MockFakeEC2) DeleteFlowLogsRequest(_a0 *ec2.DeleteFlowLogsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteFlowLogsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteFlowLogsInput) (*request.Request, *ec2.DeleteFlowLogsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFlowLogsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8866,7 +11630,6 @@ func (_m *MockFakeEC2) DeleteFlowLogsRequest(_a0 *ec2.DeleteFlowLogsInput) (*req } } - var r1 *ec2.DeleteFlowLogsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteFlowLogsInput) *ec2.DeleteFlowLogsOutput); ok { r1 = rf(_a0) } else { @@ -8890,6 +11653,10 @@ func (_m *MockFakeEC2) DeleteFlowLogsWithContext(_a0 context.Context, _a1 *ec2.D ret := _m.Called(_ca...) var r0 *ec2.DeleteFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFlowLogsInput, ...request.Option) (*ec2.DeleteFlowLogsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFlowLogsInput, ...request.Option) *ec2.DeleteFlowLogsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8898,7 +11665,6 @@ func (_m *MockFakeEC2) DeleteFlowLogsWithContext(_a0 context.Context, _a1 *ec2.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteFlowLogsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8913,6 +11679,10 @@ func (_m *MockFakeEC2) DeleteFpgaImage(_a0 *ec2.DeleteFpgaImageInput) (*ec2.Dele ret := _m.Called(_a0) var r0 *ec2.DeleteFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteFpgaImageInput) (*ec2.DeleteFpgaImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFpgaImageInput) *ec2.DeleteFpgaImageOutput); ok { r0 = rf(_a0) } else { @@ -8921,7 +11691,6 @@ func (_m *MockFakeEC2) DeleteFpgaImage(_a0 *ec2.DeleteFpgaImageInput) (*ec2.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteFpgaImageInput) error); ok { r1 = rf(_a0) } else { @@ -8936,6 +11705,10 @@ func (_m *MockFakeEC2) DeleteFpgaImageRequest(_a0 *ec2.DeleteFpgaImageInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteFpgaImageOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteFpgaImageInput) (*request.Request, *ec2.DeleteFpgaImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteFpgaImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8944,7 +11717,6 @@ func (_m *MockFakeEC2) DeleteFpgaImageRequest(_a0 *ec2.DeleteFpgaImageInput) (*r } } - var r1 *ec2.DeleteFpgaImageOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteFpgaImageInput) *ec2.DeleteFpgaImageOutput); ok { r1 = rf(_a0) } else { @@ -8968,6 +11740,10 @@ func (_m *MockFakeEC2) DeleteFpgaImageWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.DeleteFpgaImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFpgaImageInput, ...request.Option) (*ec2.DeleteFpgaImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFpgaImageInput, ...request.Option) *ec2.DeleteFpgaImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8976,7 +11752,6 @@ func (_m *MockFakeEC2) DeleteFpgaImageWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteFpgaImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8986,11 +11761,102 @@ func (_m *MockFakeEC2) DeleteFpgaImageWithContext(_a0 context.Context, _a1 *ec2. return r0, r1 } +// DeleteInstanceEventWindow provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteInstanceEventWindow(_a0 *ec2.DeleteInstanceEventWindowInput) (*ec2.DeleteInstanceEventWindowOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteInstanceEventWindowInput) (*ec2.DeleteInstanceEventWindowOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteInstanceEventWindowInput) *ec2.DeleteInstanceEventWindowOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteInstanceEventWindowInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteInstanceEventWindowRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteInstanceEventWindowRequest(_a0 *ec2.DeleteInstanceEventWindowInput) (*request.Request, *ec2.DeleteInstanceEventWindowOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteInstanceEventWindowOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteInstanceEventWindowInput) (*request.Request, *ec2.DeleteInstanceEventWindowOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteInstanceEventWindowInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteInstanceEventWindowInput) *ec2.DeleteInstanceEventWindowOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteInstanceEventWindowOutput) + } + } + + return r0, r1 +} + +// DeleteInstanceEventWindowWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteInstanceEventWindowWithContext(_a0 context.Context, _a1 *ec2.DeleteInstanceEventWindowInput, _a2 ...request.Option) (*ec2.DeleteInstanceEventWindowOutput, error) { + _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 *ec2.DeleteInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInstanceEventWindowInput, ...request.Option) (*ec2.DeleteInstanceEventWindowOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInstanceEventWindowInput, ...request.Option) *ec2.DeleteInstanceEventWindowOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteInstanceEventWindowInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteInternetGateway provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteInternetGateway(_a0 *ec2.DeleteInternetGatewayInput) (*ec2.DeleteInternetGatewayOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteInternetGatewayInput) (*ec2.DeleteInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteInternetGatewayInput) *ec2.DeleteInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -8999,7 +11865,6 @@ func (_m *MockFakeEC2) DeleteInternetGateway(_a0 *ec2.DeleteInternetGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -9014,6 +11879,10 @@ func (_m *MockFakeEC2) DeleteInternetGatewayRequest(_a0 *ec2.DeleteInternetGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteInternetGatewayInput) (*request.Request, *ec2.DeleteInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9022,7 +11891,6 @@ func (_m *MockFakeEC2) DeleteInternetGatewayRequest(_a0 *ec2.DeleteInternetGatew } } - var r1 *ec2.DeleteInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteInternetGatewayInput) *ec2.DeleteInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -9046,6 +11914,10 @@ func (_m *MockFakeEC2) DeleteInternetGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInternetGatewayInput, ...request.Option) (*ec2.DeleteInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInternetGatewayInput, ...request.Option) *ec2.DeleteInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9054,7 +11926,6 @@ func (_m *MockFakeEC2) DeleteInternetGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9064,11 +11935,276 @@ func (_m *MockFakeEC2) DeleteInternetGatewayWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeleteIpam provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpam(_a0 *ec2.DeleteIpamInput) (*ec2.DeleteIpamOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamInput) (*ec2.DeleteIpamOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamInput) *ec2.DeleteIpamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteIpamPool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpamPool(_a0 *ec2.DeleteIpamPoolInput) (*ec2.DeleteIpamPoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteIpamPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamPoolInput) (*ec2.DeleteIpamPoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamPoolInput) *ec2.DeleteIpamPoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamPoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteIpamPoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpamPoolRequest(_a0 *ec2.DeleteIpamPoolInput) (*request.Request, *ec2.DeleteIpamPoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteIpamPoolOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamPoolInput) (*request.Request, *ec2.DeleteIpamPoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamPoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamPoolInput) *ec2.DeleteIpamPoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteIpamPoolOutput) + } + } + + return r0, r1 +} + +// DeleteIpamPoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteIpamPoolWithContext(_a0 context.Context, _a1 *ec2.DeleteIpamPoolInput, _a2 ...request.Option) (*ec2.DeleteIpamPoolOutput, error) { + _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 *ec2.DeleteIpamPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamPoolInput, ...request.Option) (*ec2.DeleteIpamPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamPoolInput, ...request.Option) *ec2.DeleteIpamPoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteIpamPoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteIpamRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpamRequest(_a0 *ec2.DeleteIpamInput) (*request.Request, *ec2.DeleteIpamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteIpamOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamInput) (*request.Request, *ec2.DeleteIpamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamInput) *ec2.DeleteIpamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteIpamOutput) + } + } + + return r0, r1 +} + +// DeleteIpamScope provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpamScope(_a0 *ec2.DeleteIpamScopeInput) (*ec2.DeleteIpamScopeOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamScopeInput) (*ec2.DeleteIpamScopeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamScopeInput) *ec2.DeleteIpamScopeOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamScopeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteIpamScopeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteIpamScopeRequest(_a0 *ec2.DeleteIpamScopeInput) (*request.Request, *ec2.DeleteIpamScopeOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteIpamScopeOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamScopeInput) (*request.Request, *ec2.DeleteIpamScopeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteIpamScopeInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteIpamScopeInput) *ec2.DeleteIpamScopeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteIpamScopeOutput) + } + } + + return r0, r1 +} + +// DeleteIpamScopeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteIpamScopeWithContext(_a0 context.Context, _a1 *ec2.DeleteIpamScopeInput, _a2 ...request.Option) (*ec2.DeleteIpamScopeOutput, error) { + _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 *ec2.DeleteIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamScopeInput, ...request.Option) (*ec2.DeleteIpamScopeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamScopeInput, ...request.Option) *ec2.DeleteIpamScopeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteIpamScopeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteIpamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteIpamWithContext(_a0 context.Context, _a1 *ec2.DeleteIpamInput, _a2 ...request.Option) (*ec2.DeleteIpamOutput, error) { + _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 *ec2.DeleteIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamInput, ...request.Option) (*ec2.DeleteIpamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamInput, ...request.Option) *ec2.DeleteIpamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteIpamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteKeyPair provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteKeyPair(_a0 *ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteKeyPairInput) *ec2.DeleteKeyPairOutput); ok { r0 = rf(_a0) } else { @@ -9077,7 +12213,6 @@ func (_m *MockFakeEC2) DeleteKeyPair(_a0 *ec2.DeleteKeyPairInput) (*ec2.DeleteKe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteKeyPairInput) error); ok { r1 = rf(_a0) } else { @@ -9092,6 +12227,10 @@ func (_m *MockFakeEC2) DeleteKeyPairRequest(_a0 *ec2.DeleteKeyPairInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteKeyPairOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteKeyPairInput) (*request.Request, *ec2.DeleteKeyPairOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteKeyPairInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9100,7 +12239,6 @@ func (_m *MockFakeEC2) DeleteKeyPairRequest(_a0 *ec2.DeleteKeyPairInput) (*reque } } - var r1 *ec2.DeleteKeyPairOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteKeyPairInput) *ec2.DeleteKeyPairOutput); ok { r1 = rf(_a0) } else { @@ -9124,6 +12262,10 @@ func (_m *MockFakeEC2) DeleteKeyPairWithContext(_a0 context.Context, _a1 *ec2.De ret := _m.Called(_ca...) var r0 *ec2.DeleteKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteKeyPairInput, ...request.Option) (*ec2.DeleteKeyPairOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteKeyPairInput, ...request.Option) *ec2.DeleteKeyPairOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9132,7 +12274,6 @@ func (_m *MockFakeEC2) DeleteKeyPairWithContext(_a0 context.Context, _a1 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteKeyPairInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9147,6 +12288,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplate(_a0 *ec2.DeleteLaunchTemplateInput) ret := _m.Called(_a0) var r0 *ec2.DeleteLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateInput) (*ec2.DeleteLaunchTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateInput) *ec2.DeleteLaunchTemplateOutput); ok { r0 = rf(_a0) } else { @@ -9155,7 +12300,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplate(_a0 *ec2.DeleteLaunchTemplateInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteLaunchTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -9170,6 +12314,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateRequest(_a0 *ec2.DeleteLaunchTemplate ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteLaunchTemplateOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateInput) (*request.Request, *ec2.DeleteLaunchTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9178,7 +12326,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateRequest(_a0 *ec2.DeleteLaunchTemplate } } - var r1 *ec2.DeleteLaunchTemplateOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteLaunchTemplateInput) *ec2.DeleteLaunchTemplateOutput); ok { r1 = rf(_a0) } else { @@ -9195,6 +12342,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersions(_a0 *ec2.DeleteLaunchTemplat ret := _m.Called(_a0) var r0 *ec2.DeleteLaunchTemplateVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateVersionsInput) (*ec2.DeleteLaunchTemplateVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateVersionsInput) *ec2.DeleteLaunchTemplateVersionsOutput); ok { r0 = rf(_a0) } else { @@ -9203,7 +12354,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersions(_a0 *ec2.DeleteLaunchTemplat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteLaunchTemplateVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -9218,6 +12368,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersionsRequest(_a0 *ec2.DeleteLaunch ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteLaunchTemplateVersionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateVersionsInput) (*request.Request, *ec2.DeleteLaunchTemplateVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLaunchTemplateVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9226,7 +12380,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersionsRequest(_a0 *ec2.DeleteLaunch } } - var r1 *ec2.DeleteLaunchTemplateVersionsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteLaunchTemplateVersionsInput) *ec2.DeleteLaunchTemplateVersionsOutput); ok { r1 = rf(_a0) } else { @@ -9250,6 +12403,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersionsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DeleteLaunchTemplateVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateVersionsInput, ...request.Option) (*ec2.DeleteLaunchTemplateVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateVersionsInput, ...request.Option) *ec2.DeleteLaunchTemplateVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9258,7 +12415,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateVersionsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLaunchTemplateVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9280,6 +12436,10 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateInput, ...request.Option) (*ec2.DeleteLaunchTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateInput, ...request.Option) *ec2.DeleteLaunchTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9288,7 +12448,6 @@ func (_m *MockFakeEC2) DeleteLaunchTemplateWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLaunchTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9303,6 +12462,10 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRoute(_a0 *ec2.DeleteLocalGatewayRouteI ret := _m.Called(_a0) var r0 *ec2.DeleteLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteInput) (*ec2.DeleteLocalGatewayRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteInput) *ec2.DeleteLocalGatewayRouteOutput); ok { r0 = rf(_a0) } else { @@ -9311,7 +12474,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRoute(_a0 *ec2.DeleteLocalGatewayRouteI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteInput) error); ok { r1 = rf(_a0) } else { @@ -9326,6 +12488,10 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteRequest(_a0 *ec2.DeleteLocalGatewa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteLocalGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteInput) (*request.Request, *ec2.DeleteLocalGatewayRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9334,7 +12500,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteRequest(_a0 *ec2.DeleteLocalGatewa } } - var r1 *ec2.DeleteLocalGatewayRouteOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteInput) *ec2.DeleteLocalGatewayRouteOutput); ok { r1 = rf(_a0) } else { @@ -9346,11 +12511,156 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteRequest(_a0 *ec2.DeleteLocalGatewa return r0, r1 } +// DeleteLocalGatewayRouteTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTable(_a0 *ec2.DeleteLocalGatewayRouteTableInput) (*ec2.DeleteLocalGatewayRouteTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteLocalGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableInput) (*ec2.DeleteLocalGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableInput) *ec2.DeleteLocalGatewayRouteTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteLocalGatewayRouteTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteLocalGatewayRouteTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableRequest(_a0 *ec2.DeleteLocalGatewayRouteTableInput) (*request.Request, *ec2.DeleteLocalGatewayRouteTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteLocalGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableInput) (*request.Request, *ec2.DeleteLocalGatewayRouteTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableInput) *ec2.DeleteLocalGatewayRouteTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteLocalGatewayRouteTableOutput) + } + } + + return r0, r1 +} + +// DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation(_a0 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(_a0 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*request.Request, *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) (*request.Request, *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput) *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + return r0, r1 +} + +// DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationWithContext(_a0 context.Context, _a1 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, _a2 ...request.Option) (*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error) { + _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 *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) (*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteLocalGatewayRouteTableVpcAssociation provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociation(_a0 *ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) (*ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) (*ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput); ok { r0 = rf(_a0) } else { @@ -9359,7 +12669,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociation(_a0 *ec2.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) error); ok { r1 = rf(_a0) } else { @@ -9374,6 +12683,10 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociationRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) (*request.Request, *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9382,7 +12695,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociationRequest(_a0 *ec } } - var r1 *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteLocalGatewayRouteTableVpcAssociationInput) *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput); ok { r1 = rf(_a0) } else { @@ -9406,6 +12718,10 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociationWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVpcAssociationInput, ...request.Option) (*ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVpcAssociationInput, ...request.Option) *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9414,7 +12730,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVpcAssociationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9424,6 +12739,39 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableVpcAssociationWithContext(_a0 return r0, r1 } +// DeleteLocalGatewayRouteTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteLocalGatewayRouteTableWithContext(_a0 context.Context, _a1 *ec2.DeleteLocalGatewayRouteTableInput, _a2 ...request.Option) (*ec2.DeleteLocalGatewayRouteTableOutput, error) { + _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 *ec2.DeleteLocalGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableInput, ...request.Option) (*ec2.DeleteLocalGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableInput, ...request.Option) *ec2.DeleteLocalGatewayRouteTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteLocalGatewayRouteTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteLocalGatewayRouteWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeEC2) DeleteLocalGatewayRouteWithContext(_a0 context.Context, _a1 *ec2.DeleteLocalGatewayRouteInput, _a2 ...request.Option) (*ec2.DeleteLocalGatewayRouteOutput, error) { _va := make([]interface{}, len(_a2)) @@ -9436,6 +12784,10 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DeleteLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteInput, ...request.Option) (*ec2.DeleteLocalGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteInput, ...request.Option) *ec2.DeleteLocalGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9444,7 +12796,6 @@ func (_m *MockFakeEC2) DeleteLocalGatewayRouteWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteLocalGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9459,6 +12810,10 @@ func (_m *MockFakeEC2) DeleteManagedPrefixList(_a0 *ec2.DeleteManagedPrefixListI ret := _m.Called(_a0) var r0 *ec2.DeleteManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteManagedPrefixListInput) (*ec2.DeleteManagedPrefixListOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteManagedPrefixListInput) *ec2.DeleteManagedPrefixListOutput); ok { r0 = rf(_a0) } else { @@ -9467,7 +12822,6 @@ func (_m *MockFakeEC2) DeleteManagedPrefixList(_a0 *ec2.DeleteManagedPrefixListI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteManagedPrefixListInput) error); ok { r1 = rf(_a0) } else { @@ -9482,6 +12836,10 @@ func (_m *MockFakeEC2) DeleteManagedPrefixListRequest(_a0 *ec2.DeleteManagedPref ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteManagedPrefixListOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteManagedPrefixListInput) (*request.Request, *ec2.DeleteManagedPrefixListOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteManagedPrefixListInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9490,7 +12848,6 @@ func (_m *MockFakeEC2) DeleteManagedPrefixListRequest(_a0 *ec2.DeleteManagedPref } } - var r1 *ec2.DeleteManagedPrefixListOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteManagedPrefixListInput) *ec2.DeleteManagedPrefixListOutput); ok { r1 = rf(_a0) } else { @@ -9514,6 +12871,10 @@ func (_m *MockFakeEC2) DeleteManagedPrefixListWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DeleteManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteManagedPrefixListInput, ...request.Option) (*ec2.DeleteManagedPrefixListOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteManagedPrefixListInput, ...request.Option) *ec2.DeleteManagedPrefixListOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9522,7 +12883,6 @@ func (_m *MockFakeEC2) DeleteManagedPrefixListWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteManagedPrefixListInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9537,6 +12897,10 @@ func (_m *MockFakeEC2) DeleteNatGateway(_a0 *ec2.DeleteNatGatewayInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DeleteNatGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNatGatewayInput) (*ec2.DeleteNatGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNatGatewayInput) *ec2.DeleteNatGatewayOutput); ok { r0 = rf(_a0) } else { @@ -9545,7 +12909,6 @@ func (_m *MockFakeEC2) DeleteNatGateway(_a0 *ec2.DeleteNatGatewayInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNatGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -9560,6 +12923,10 @@ func (_m *MockFakeEC2) DeleteNatGatewayRequest(_a0 *ec2.DeleteNatGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNatGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNatGatewayInput) (*request.Request, *ec2.DeleteNatGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNatGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9568,7 +12935,6 @@ func (_m *MockFakeEC2) DeleteNatGatewayRequest(_a0 *ec2.DeleteNatGatewayInput) ( } } - var r1 *ec2.DeleteNatGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNatGatewayInput) *ec2.DeleteNatGatewayOutput); ok { r1 = rf(_a0) } else { @@ -9592,6 +12958,10 @@ func (_m *MockFakeEC2) DeleteNatGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DeleteNatGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNatGatewayInput, ...request.Option) (*ec2.DeleteNatGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNatGatewayInput, ...request.Option) *ec2.DeleteNatGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9600,7 +12970,6 @@ func (_m *MockFakeEC2) DeleteNatGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNatGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9615,6 +12984,10 @@ func (_m *MockFakeEC2) DeleteNetworkAcl(_a0 *ec2.DeleteNetworkAclInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DeleteNetworkAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclInput) (*ec2.DeleteNetworkAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclInput) *ec2.DeleteNetworkAclOutput); ok { r0 = rf(_a0) } else { @@ -9623,7 +12996,6 @@ func (_m *MockFakeEC2) DeleteNetworkAcl(_a0 *ec2.DeleteNetworkAclInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkAclInput) error); ok { r1 = rf(_a0) } else { @@ -9638,6 +13010,10 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntry(_a0 *ec2.DeleteNetworkAclEntryInput ret := _m.Called(_a0) var r0 *ec2.DeleteNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclEntryInput) (*ec2.DeleteNetworkAclEntryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclEntryInput) *ec2.DeleteNetworkAclEntryOutput); ok { r0 = rf(_a0) } else { @@ -9646,7 +13022,6 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntry(_a0 *ec2.DeleteNetworkAclEntryInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkAclEntryInput) error); ok { r1 = rf(_a0) } else { @@ -9661,6 +13036,10 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntryRequest(_a0 *ec2.DeleteNetworkAclEnt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNetworkAclEntryOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclEntryInput) (*request.Request, *ec2.DeleteNetworkAclEntryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclEntryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9669,7 +13048,6 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntryRequest(_a0 *ec2.DeleteNetworkAclEnt } } - var r1 *ec2.DeleteNetworkAclEntryOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkAclEntryInput) *ec2.DeleteNetworkAclEntryOutput); ok { r1 = rf(_a0) } else { @@ -9693,6 +13071,10 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntryWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclEntryInput, ...request.Option) (*ec2.DeleteNetworkAclEntryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclEntryInput, ...request.Option) *ec2.DeleteNetworkAclEntryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9701,7 +13083,6 @@ func (_m *MockFakeEC2) DeleteNetworkAclEntryWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkAclEntryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9716,6 +13097,10 @@ func (_m *MockFakeEC2) DeleteNetworkAclRequest(_a0 *ec2.DeleteNetworkAclInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNetworkAclOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclInput) (*request.Request, *ec2.DeleteNetworkAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9724,7 +13109,6 @@ func (_m *MockFakeEC2) DeleteNetworkAclRequest(_a0 *ec2.DeleteNetworkAclInput) ( } } - var r1 *ec2.DeleteNetworkAclOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkAclInput) *ec2.DeleteNetworkAclOutput); ok { r1 = rf(_a0) } else { @@ -9748,6 +13132,10 @@ func (_m *MockFakeEC2) DeleteNetworkAclWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DeleteNetworkAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclInput, ...request.Option) (*ec2.DeleteNetworkAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclInput, ...request.Option) *ec2.DeleteNetworkAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9756,7 +13144,6 @@ func (_m *MockFakeEC2) DeleteNetworkAclWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9766,21 +13153,50 @@ func (_m *MockFakeEC2) DeleteNetworkAclWithContext(_a0 context.Context, _a1 *ec2 return r0, r1 } -// DeleteNetworkInsightsAnalysis provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysis(_a0 *ec2.DeleteNetworkInsightsAnalysisInput) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) { +// DeleteNetworkInsightsAccessScope provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScope(_a0 *ec2.DeleteNetworkInsightsAccessScopeInput) (*ec2.DeleteNetworkInsightsAccessScopeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.DeleteNetworkInsightsAnalysisOutput - if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + var r0 *ec2.DeleteNetworkInsightsAccessScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) (*ec2.DeleteNetworkInsightsAccessScopeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) *ec2.DeleteNetworkInsightsAccessScopeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAnalysisOutput) + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAccessScopeOutput) } } + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteNetworkInsightsAccessScopeAnalysis provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScopeAnalysis(_a0 *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) (*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput var r1 error - if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAnalysisInput) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) (*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9789,12 +13205,16 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysis(_a0 *ec2.DeleteNetworkInsig return r0, r1 } -// DeleteNetworkInsightsAnalysisRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisRequest(_a0 *ec2.DeleteNetworkInsightsAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAnalysisOutput) { +// DeleteNetworkInsightsAccessScopeAnalysisRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScopeAnalysisRequest(_a0 *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *request.Request); ok { + var r1 *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9802,20 +13222,19 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisRequest(_a0 *ec2.DeleteNetwo } } - var r1 *ec2.DeleteNetworkInsightsAnalysisOutput - if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAccessScopeAnalysisInput) *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.DeleteNetworkInsightsAnalysisOutput) + r1 = ret.Get(1).(*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput) } } return r0, r1 } -// DeleteNetworkInsightsAnalysisWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisWithContext(_a0 context.Context, _a1 *ec2.DeleteNetworkInsightsAnalysisInput, _a2 ...request.Option) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) { +// DeleteNetworkInsightsAccessScopeAnalysisWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScopeAnalysisWithContext(_a0 context.Context, _a1 *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput, _a2 ...request.Option) (*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9825,17 +13244,168 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.DeleteNetworkInsightsAnalysisOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + var r0 *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput, ...request.Option) (*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput, ...request.Option) *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAnalysisOutput) + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteNetworkInsightsAccessScopeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScopeRequest(_a0 *ec2.DeleteNetworkInsightsAccessScopeInput) (*request.Request, *ec2.DeleteNetworkInsightsAccessScopeOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteNetworkInsightsAccessScopeOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) (*request.Request, *ec2.DeleteNetworkInsightsAccessScopeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAccessScopeInput) *ec2.DeleteNetworkInsightsAccessScopeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteNetworkInsightsAccessScopeOutput) + } + } + + return r0, r1 +} + +// DeleteNetworkInsightsAccessScopeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteNetworkInsightsAccessScopeWithContext(_a0 context.Context, _a1 *ec2.DeleteNetworkInsightsAccessScopeInput, _a2 ...request.Option) (*ec2.DeleteNetworkInsightsAccessScopeOutput, error) { + _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 *ec2.DeleteNetworkInsightsAccessScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeInput, ...request.Option) (*ec2.DeleteNetworkInsightsAccessScopeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeInput, ...request.Option) *ec2.DeleteNetworkInsightsAccessScopeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAccessScopeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteNetworkInsightsAnalysis provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysis(_a0 *ec2.DeleteNetworkInsightsAnalysisInput) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteNetworkInsightsAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) (*ec2.DeleteNetworkInsightsAnalysisOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAnalysisOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAnalysisInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteNetworkInsightsAnalysisRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisRequest(_a0 *ec2.DeleteNetworkInsightsAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAnalysisOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteNetworkInsightsAnalysisOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAnalysisOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsAnalysisInput) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteNetworkInsightsAnalysisOutput) + } + } + + return r0, r1 +} + +// DeleteNetworkInsightsAnalysisWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteNetworkInsightsAnalysisWithContext(_a0 context.Context, _a1 *ec2.DeleteNetworkInsightsAnalysisInput, _a2 ...request.Option) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) { + _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 *ec2.DeleteNetworkInsightsAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) (*ec2.DeleteNetworkInsightsAnalysisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) *ec2.DeleteNetworkInsightsAnalysisOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteNetworkInsightsAnalysisOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9849,6 +13419,10 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPath(_a0 *ec2.DeleteNetworkInsightsP ret := _m.Called(_a0) var r0 *ec2.DeleteNetworkInsightsPathOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsPathInput) (*ec2.DeleteNetworkInsightsPathOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsPathInput) *ec2.DeleteNetworkInsightsPathOutput); ok { r0 = rf(_a0) } else { @@ -9857,7 +13431,6 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPath(_a0 *ec2.DeleteNetworkInsightsP } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsPathInput) error); ok { r1 = rf(_a0) } else { @@ -9872,6 +13445,10 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPathRequest(_a0 *ec2.DeleteNetworkIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNetworkInsightsPathOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsPathInput) (*request.Request, *ec2.DeleteNetworkInsightsPathOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInsightsPathInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9880,7 +13457,6 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPathRequest(_a0 *ec2.DeleteNetworkIn } } - var r1 *ec2.DeleteNetworkInsightsPathOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInsightsPathInput) *ec2.DeleteNetworkInsightsPathOutput); ok { r1 = rf(_a0) } else { @@ -9904,6 +13480,10 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPathWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DeleteNetworkInsightsPathOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsPathInput, ...request.Option) (*ec2.DeleteNetworkInsightsPathOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsPathInput, ...request.Option) *ec2.DeleteNetworkInsightsPathOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9912,7 +13492,6 @@ func (_m *MockFakeEC2) DeleteNetworkInsightsPathWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInsightsPathInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9927,6 +13506,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterface(_a0 *ec2.DeleteNetworkInterfaceInp ret := _m.Called(_a0) var r0 *ec2.DeleteNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfaceInput) (*ec2.DeleteNetworkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfaceInput) *ec2.DeleteNetworkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -9935,7 +13518,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterface(_a0 *ec2.DeleteNetworkInterfaceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -9950,6 +13532,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermission(_a0 *ec2.DeleteNetworkIn ret := _m.Called(_a0) var r0 *ec2.DeleteNetworkInterfacePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfacePermissionInput) (*ec2.DeleteNetworkInterfacePermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfacePermissionInput) *ec2.DeleteNetworkInterfacePermissionOutput); ok { r0 = rf(_a0) } else { @@ -9958,7 +13544,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermission(_a0 *ec2.DeleteNetworkIn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInterfacePermissionInput) error); ok { r1 = rf(_a0) } else { @@ -9973,6 +13558,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermissionRequest(_a0 *ec2.DeleteNe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNetworkInterfacePermissionOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfacePermissionInput) (*request.Request, *ec2.DeleteNetworkInterfacePermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfacePermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9981,7 +13570,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermissionRequest(_a0 *ec2.DeleteNe } } - var r1 *ec2.DeleteNetworkInterfacePermissionOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInterfacePermissionInput) *ec2.DeleteNetworkInterfacePermissionOutput); ok { r1 = rf(_a0) } else { @@ -10005,6 +13593,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermissionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *ec2.DeleteNetworkInterfacePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfacePermissionInput, ...request.Option) (*ec2.DeleteNetworkInterfacePermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfacePermissionInput, ...request.Option) *ec2.DeleteNetworkInterfacePermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10013,7 +13605,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterfacePermissionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInterfacePermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10028,6 +13619,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterfaceRequest(_a0 *ec2.DeleteNetworkInter ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteNetworkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfaceInput) (*request.Request, *ec2.DeleteNetworkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteNetworkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10036,7 +13631,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterfaceRequest(_a0 *ec2.DeleteNetworkInter } } - var r1 *ec2.DeleteNetworkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteNetworkInterfaceInput) *ec2.DeleteNetworkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -10060,6 +13654,10 @@ func (_m *MockFakeEC2) DeleteNetworkInterfaceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DeleteNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfaceInput, ...request.Option) (*ec2.DeleteNetworkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfaceInput, ...request.Option) *ec2.DeleteNetworkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10068,7 +13666,6 @@ func (_m *MockFakeEC2) DeleteNetworkInterfaceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteNetworkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10083,6 +13680,10 @@ func (_m *MockFakeEC2) DeletePlacementGroup(_a0 *ec2.DeletePlacementGroupInput) ret := _m.Called(_a0) var r0 *ec2.DeletePlacementGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeletePlacementGroupInput) (*ec2.DeletePlacementGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeletePlacementGroupInput) *ec2.DeletePlacementGroupOutput); ok { r0 = rf(_a0) } else { @@ -10091,7 +13692,6 @@ func (_m *MockFakeEC2) DeletePlacementGroup(_a0 *ec2.DeletePlacementGroupInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeletePlacementGroupInput) error); ok { r1 = rf(_a0) } else { @@ -10106,6 +13706,10 @@ func (_m *MockFakeEC2) DeletePlacementGroupRequest(_a0 *ec2.DeletePlacementGroup ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeletePlacementGroupOutput + if rf, ok := ret.Get(0).(func(*ec2.DeletePlacementGroupInput) (*request.Request, *ec2.DeletePlacementGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeletePlacementGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10114,7 +13718,6 @@ func (_m *MockFakeEC2) DeletePlacementGroupRequest(_a0 *ec2.DeletePlacementGroup } } - var r1 *ec2.DeletePlacementGroupOutput if rf, ok := ret.Get(1).(func(*ec2.DeletePlacementGroupInput) *ec2.DeletePlacementGroupOutput); ok { r1 = rf(_a0) } else { @@ -10138,6 +13741,10 @@ func (_m *MockFakeEC2) DeletePlacementGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeletePlacementGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePlacementGroupInput, ...request.Option) (*ec2.DeletePlacementGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePlacementGroupInput, ...request.Option) *ec2.DeletePlacementGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10146,7 +13753,6 @@ func (_m *MockFakeEC2) DeletePlacementGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeletePlacementGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10156,11 +13762,102 @@ func (_m *MockFakeEC2) DeletePlacementGroupWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeletePublicIpv4Pool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeletePublicIpv4Pool(_a0 *ec2.DeletePublicIpv4PoolInput) (*ec2.DeletePublicIpv4PoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeletePublicIpv4PoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeletePublicIpv4PoolInput) (*ec2.DeletePublicIpv4PoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeletePublicIpv4PoolInput) *ec2.DeletePublicIpv4PoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeletePublicIpv4PoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeletePublicIpv4PoolInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeletePublicIpv4PoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeletePublicIpv4PoolRequest(_a0 *ec2.DeletePublicIpv4PoolInput) (*request.Request, *ec2.DeletePublicIpv4PoolOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeletePublicIpv4PoolOutput + if rf, ok := ret.Get(0).(func(*ec2.DeletePublicIpv4PoolInput) (*request.Request, *ec2.DeletePublicIpv4PoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeletePublicIpv4PoolInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeletePublicIpv4PoolInput) *ec2.DeletePublicIpv4PoolOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeletePublicIpv4PoolOutput) + } + } + + return r0, r1 +} + +// DeletePublicIpv4PoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeletePublicIpv4PoolWithContext(_a0 context.Context, _a1 *ec2.DeletePublicIpv4PoolInput, _a2 ...request.Option) (*ec2.DeletePublicIpv4PoolOutput, error) { + _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 *ec2.DeletePublicIpv4PoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePublicIpv4PoolInput, ...request.Option) (*ec2.DeletePublicIpv4PoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePublicIpv4PoolInput, ...request.Option) *ec2.DeletePublicIpv4PoolOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeletePublicIpv4PoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeletePublicIpv4PoolInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteQueuedReservedInstances provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteQueuedReservedInstances(_a0 *ec2.DeleteQueuedReservedInstancesInput) (*ec2.DeleteQueuedReservedInstancesOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteQueuedReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteQueuedReservedInstancesInput) (*ec2.DeleteQueuedReservedInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteQueuedReservedInstancesInput) *ec2.DeleteQueuedReservedInstancesOutput); ok { r0 = rf(_a0) } else { @@ -10169,7 +13866,6 @@ func (_m *MockFakeEC2) DeleteQueuedReservedInstances(_a0 *ec2.DeleteQueuedReserv } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteQueuedReservedInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -10184,6 +13880,10 @@ func (_m *MockFakeEC2) DeleteQueuedReservedInstancesRequest(_a0 *ec2.DeleteQueue ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteQueuedReservedInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteQueuedReservedInstancesInput) (*request.Request, *ec2.DeleteQueuedReservedInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteQueuedReservedInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10192,7 +13892,6 @@ func (_m *MockFakeEC2) DeleteQueuedReservedInstancesRequest(_a0 *ec2.DeleteQueue } } - var r1 *ec2.DeleteQueuedReservedInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteQueuedReservedInstancesInput) *ec2.DeleteQueuedReservedInstancesOutput); ok { r1 = rf(_a0) } else { @@ -10216,6 +13915,10 @@ func (_m *MockFakeEC2) DeleteQueuedReservedInstancesWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DeleteQueuedReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteQueuedReservedInstancesInput, ...request.Option) (*ec2.DeleteQueuedReservedInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteQueuedReservedInstancesInput, ...request.Option) *ec2.DeleteQueuedReservedInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10224,7 +13927,6 @@ func (_m *MockFakeEC2) DeleteQueuedReservedInstancesWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteQueuedReservedInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10239,6 +13941,10 @@ func (_m *MockFakeEC2) DeleteRoute(_a0 *ec2.DeleteRouteInput) (*ec2.DeleteRouteO ret := _m.Called(_a0) var r0 *ec2.DeleteRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteInput) (*ec2.DeleteRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteInput) *ec2.DeleteRouteOutput); ok { r0 = rf(_a0) } else { @@ -10247,7 +13953,6 @@ func (_m *MockFakeEC2) DeleteRoute(_a0 *ec2.DeleteRouteInput) (*ec2.DeleteRouteO } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteRouteInput) error); ok { r1 = rf(_a0) } else { @@ -10262,6 +13967,10 @@ func (_m *MockFakeEC2) DeleteRouteRequest(_a0 *ec2.DeleteRouteInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteInput) (*request.Request, *ec2.DeleteRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10270,7 +13979,6 @@ func (_m *MockFakeEC2) DeleteRouteRequest(_a0 *ec2.DeleteRouteInput) (*request.R } } - var r1 *ec2.DeleteRouteOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteRouteInput) *ec2.DeleteRouteOutput); ok { r1 = rf(_a0) } else { @@ -10287,6 +13995,10 @@ func (_m *MockFakeEC2) DeleteRouteTable(_a0 *ec2.DeleteRouteTableInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DeleteRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteTableInput) (*ec2.DeleteRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteTableInput) *ec2.DeleteRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -10295,7 +14007,6 @@ func (_m *MockFakeEC2) DeleteRouteTable(_a0 *ec2.DeleteRouteTableInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -10310,6 +14021,10 @@ func (_m *MockFakeEC2) DeleteRouteTableRequest(_a0 *ec2.DeleteRouteTableInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteTableInput) (*request.Request, *ec2.DeleteRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10318,7 +14033,6 @@ func (_m *MockFakeEC2) DeleteRouteTableRequest(_a0 *ec2.DeleteRouteTableInput) ( } } - var r1 *ec2.DeleteRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteRouteTableInput) *ec2.DeleteRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -10342,6 +14056,10 @@ func (_m *MockFakeEC2) DeleteRouteTableWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DeleteRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteTableInput, ...request.Option) (*ec2.DeleteRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteTableInput, ...request.Option) *ec2.DeleteRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10350,7 +14068,6 @@ func (_m *MockFakeEC2) DeleteRouteTableWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10372,6 +14089,10 @@ func (_m *MockFakeEC2) DeleteRouteWithContext(_a0 context.Context, _a1 *ec2.Dele ret := _m.Called(_ca...) var r0 *ec2.DeleteRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteInput, ...request.Option) (*ec2.DeleteRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteInput, ...request.Option) *ec2.DeleteRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10380,7 +14101,6 @@ func (_m *MockFakeEC2) DeleteRouteWithContext(_a0 context.Context, _a1 *ec2.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10395,6 +14115,10 @@ func (_m *MockFakeEC2) DeleteSecurityGroup(_a0 *ec2.DeleteSecurityGroupInput) (* ret := _m.Called(_a0) var r0 *ec2.DeleteSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSecurityGroupInput) *ec2.DeleteSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -10403,7 +14127,6 @@ func (_m *MockFakeEC2) DeleteSecurityGroup(_a0 *ec2.DeleteSecurityGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -10418,6 +14141,10 @@ func (_m *MockFakeEC2) DeleteSecurityGroupRequest(_a0 *ec2.DeleteSecurityGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteSecurityGroupInput) (*request.Request, *ec2.DeleteSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10426,7 +14153,6 @@ func (_m *MockFakeEC2) DeleteSecurityGroupRequest(_a0 *ec2.DeleteSecurityGroupIn } } - var r1 *ec2.DeleteSecurityGroupOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteSecurityGroupInput) *ec2.DeleteSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -10450,6 +14176,10 @@ func (_m *MockFakeEC2) DeleteSecurityGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DeleteSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSecurityGroupInput, ...request.Option) (*ec2.DeleteSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSecurityGroupInput, ...request.Option) *ec2.DeleteSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10458,7 +14188,6 @@ func (_m *MockFakeEC2) DeleteSecurityGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10473,6 +14202,10 @@ func (_m *MockFakeEC2) DeleteSnapshot(_a0 *ec2.DeleteSnapshotInput) (*ec2.Delete ret := _m.Called(_a0) var r0 *ec2.DeleteSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteSnapshotInput) (*ec2.DeleteSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSnapshotInput) *ec2.DeleteSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -10481,7 +14214,6 @@ func (_m *MockFakeEC2) DeleteSnapshot(_a0 *ec2.DeleteSnapshotInput) (*ec2.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -10496,6 +14228,10 @@ func (_m *MockFakeEC2) DeleteSnapshotRequest(_a0 *ec2.DeleteSnapshotInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteSnapshotOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteSnapshotInput) (*request.Request, *ec2.DeleteSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10504,7 +14240,6 @@ func (_m *MockFakeEC2) DeleteSnapshotRequest(_a0 *ec2.DeleteSnapshotInput) (*req } } - var r1 *ec2.DeleteSnapshotOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteSnapshotInput) *ec2.DeleteSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -10528,6 +14263,10 @@ func (_m *MockFakeEC2) DeleteSnapshotWithContext(_a0 context.Context, _a1 *ec2.D ret := _m.Called(_ca...) var r0 *ec2.DeleteSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSnapshotInput, ...request.Option) (*ec2.DeleteSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSnapshotInput, ...request.Option) *ec2.DeleteSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10536,7 +14275,6 @@ func (_m *MockFakeEC2) DeleteSnapshotWithContext(_a0 context.Context, _a1 *ec2.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10551,6 +14289,10 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscription(_a0 *ec2.DeleteSpotDatafee ret := _m.Called(_a0) var r0 *ec2.DeleteSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) (*ec2.DeleteSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) *ec2.DeleteSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -10559,7 +14301,6 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscription(_a0 *ec2.DeleteSpotDatafee } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -10574,6 +14315,10 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscriptionRequest(_a0 *ec2.DeleteSpot ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteSpotDatafeedSubscriptionOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) (*request.Request, *ec2.DeleteSpotDatafeedSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10582,7 +14327,6 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscriptionRequest(_a0 *ec2.DeleteSpot } } - var r1 *ec2.DeleteSpotDatafeedSubscriptionOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteSpotDatafeedSubscriptionInput) *ec2.DeleteSpotDatafeedSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -10606,6 +14350,10 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscriptionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DeleteSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSpotDatafeedSubscriptionInput, ...request.Option) (*ec2.DeleteSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSpotDatafeedSubscriptionInput, ...request.Option) *ec2.DeleteSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10614,7 +14362,6 @@ func (_m *MockFakeEC2) DeleteSpotDatafeedSubscriptionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteSpotDatafeedSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10629,6 +14376,10 @@ func (_m *MockFakeEC2) DeleteSubnet(_a0 *ec2.DeleteSubnetInput) (*ec2.DeleteSubn ret := _m.Called(_a0) var r0 *ec2.DeleteSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetInput) (*ec2.DeleteSubnetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetInput) *ec2.DeleteSubnetOutput); ok { r0 = rf(_a0) } else { @@ -10637,7 +14388,6 @@ func (_m *MockFakeEC2) DeleteSubnet(_a0 *ec2.DeleteSubnetInput) (*ec2.DeleteSubn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteSubnetInput) error); ok { r1 = rf(_a0) } else { @@ -10647,11 +14397,102 @@ func (_m *MockFakeEC2) DeleteSubnet(_a0 *ec2.DeleteSubnetInput) (*ec2.DeleteSubn return r0, r1 } +// DeleteSubnetCidrReservation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteSubnetCidrReservation(_a0 *ec2.DeleteSubnetCidrReservationInput) (*ec2.DeleteSubnetCidrReservationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteSubnetCidrReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetCidrReservationInput) (*ec2.DeleteSubnetCidrReservationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetCidrReservationInput) *ec2.DeleteSubnetCidrReservationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteSubnetCidrReservationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteSubnetCidrReservationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteSubnetCidrReservationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteSubnetCidrReservationRequest(_a0 *ec2.DeleteSubnetCidrReservationInput) (*request.Request, *ec2.DeleteSubnetCidrReservationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteSubnetCidrReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetCidrReservationInput) (*request.Request, *ec2.DeleteSubnetCidrReservationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetCidrReservationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteSubnetCidrReservationInput) *ec2.DeleteSubnetCidrReservationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteSubnetCidrReservationOutput) + } + } + + return r0, r1 +} + +// DeleteSubnetCidrReservationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteSubnetCidrReservationWithContext(_a0 context.Context, _a1 *ec2.DeleteSubnetCidrReservationInput, _a2 ...request.Option) (*ec2.DeleteSubnetCidrReservationOutput, error) { + _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 *ec2.DeleteSubnetCidrReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetCidrReservationInput, ...request.Option) (*ec2.DeleteSubnetCidrReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetCidrReservationInput, ...request.Option) *ec2.DeleteSubnetCidrReservationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteSubnetCidrReservationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteSubnetCidrReservationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteSubnetRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteSubnetRequest(_a0 *ec2.DeleteSubnetInput) (*request.Request, *ec2.DeleteSubnetOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteSubnetOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetInput) (*request.Request, *ec2.DeleteSubnetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteSubnetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10660,7 +14501,6 @@ func (_m *MockFakeEC2) DeleteSubnetRequest(_a0 *ec2.DeleteSubnetInput) (*request } } - var r1 *ec2.DeleteSubnetOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteSubnetInput) *ec2.DeleteSubnetOutput); ok { r1 = rf(_a0) } else { @@ -10684,6 +14524,10 @@ func (_m *MockFakeEC2) DeleteSubnetWithContext(_a0 context.Context, _a1 *ec2.Del ret := _m.Called(_ca...) var r0 *ec2.DeleteSubnetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetInput, ...request.Option) (*ec2.DeleteSubnetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetInput, ...request.Option) *ec2.DeleteSubnetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10692,7 +14536,6 @@ func (_m *MockFakeEC2) DeleteSubnetWithContext(_a0 context.Context, _a1 *ec2.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteSubnetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10707,6 +14550,10 @@ func (_m *MockFakeEC2) DeleteTags(_a0 *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutp ret := _m.Called(_a0) var r0 *ec2.DeleteTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTagsInput) (*ec2.DeleteTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTagsInput) *ec2.DeleteTagsOutput); ok { r0 = rf(_a0) } else { @@ -10715,7 +14562,6 @@ func (_m *MockFakeEC2) DeleteTags(_a0 *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTagsInput) error); ok { r1 = rf(_a0) } else { @@ -10730,6 +14576,10 @@ func (_m *MockFakeEC2) DeleteTagsRequest(_a0 *ec2.DeleteTagsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTagsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTagsInput) (*request.Request, *ec2.DeleteTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10738,7 +14588,6 @@ func (_m *MockFakeEC2) DeleteTagsRequest(_a0 *ec2.DeleteTagsInput) (*request.Req } } - var r1 *ec2.DeleteTagsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTagsInput) *ec2.DeleteTagsOutput); ok { r1 = rf(_a0) } else { @@ -10762,6 +14611,10 @@ func (_m *MockFakeEC2) DeleteTagsWithContext(_a0 context.Context, _a1 *ec2.Delet ret := _m.Called(_ca...) var r0 *ec2.DeleteTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTagsInput, ...request.Option) (*ec2.DeleteTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTagsInput, ...request.Option) *ec2.DeleteTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10770,7 +14623,6 @@ func (_m *MockFakeEC2) DeleteTagsWithContext(_a0 context.Context, _a1 *ec2.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10785,6 +14637,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilter(_a0 *ec2.DeleteTrafficMirrorFil ret := _m.Called(_a0) var r0 *ec2.DeleteTrafficMirrorFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterInput) (*ec2.DeleteTrafficMirrorFilterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterInput) *ec2.DeleteTrafficMirrorFilterOutput); ok { r0 = rf(_a0) } else { @@ -10793,7 +14649,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilter(_a0 *ec2.DeleteTrafficMirrorFil } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorFilterInput) error); ok { r1 = rf(_a0) } else { @@ -10808,6 +14663,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRequest(_a0 *ec2.DeleteTrafficMi ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTrafficMirrorFilterOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterInput) (*request.Request, *ec2.DeleteTrafficMirrorFilterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10816,7 +14675,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRequest(_a0 *ec2.DeleteTrafficMi } } - var r1 *ec2.DeleteTrafficMirrorFilterOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorFilterInput) *ec2.DeleteTrafficMirrorFilterOutput); ok { r1 = rf(_a0) } else { @@ -10833,6 +14691,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRule(_a0 *ec2.DeleteTrafficMirro ret := _m.Called(_a0) var r0 *ec2.DeleteTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) (*ec2.DeleteTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) *ec2.DeleteTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0) } else { @@ -10841,7 +14703,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRule(_a0 *ec2.DeleteTrafficMirro } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) error); ok { r1 = rf(_a0) } else { @@ -10856,6 +14717,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRuleRequest(_a0 *ec2.DeleteTraff ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTrafficMirrorFilterRuleOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) (*request.Request, *ec2.DeleteTrafficMirrorFilterRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10864,7 +14729,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRuleRequest(_a0 *ec2.DeleteTraff } } - var r1 *ec2.DeleteTrafficMirrorFilterRuleOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorFilterRuleInput) *ec2.DeleteTrafficMirrorFilterRuleOutput); ok { r1 = rf(_a0) } else { @@ -10888,6 +14752,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRuleWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DeleteTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterRuleInput, ...request.Option) (*ec2.DeleteTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterRuleInput, ...request.Option) *ec2.DeleteTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10896,7 +14764,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterRuleWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTrafficMirrorFilterRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10918,6 +14785,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DeleteTrafficMirrorFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterInput, ...request.Option) (*ec2.DeleteTrafficMirrorFilterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterInput, ...request.Option) *ec2.DeleteTrafficMirrorFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10926,7 +14797,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorFilterWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTrafficMirrorFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10941,6 +14811,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSession(_a0 *ec2.DeleteTrafficMirrorSe ret := _m.Called(_a0) var r0 *ec2.DeleteTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorSessionInput) (*ec2.DeleteTrafficMirrorSessionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorSessionInput) *ec2.DeleteTrafficMirrorSessionOutput); ok { r0 = rf(_a0) } else { @@ -10949,7 +14823,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSession(_a0 *ec2.DeleteTrafficMirrorSe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorSessionInput) error); ok { r1 = rf(_a0) } else { @@ -10964,6 +14837,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSessionRequest(_a0 *ec2.DeleteTrafficM ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTrafficMirrorSessionOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorSessionInput) (*request.Request, *ec2.DeleteTrafficMirrorSessionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorSessionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10972,7 +14849,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSessionRequest(_a0 *ec2.DeleteTrafficM } } - var r1 *ec2.DeleteTrafficMirrorSessionOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorSessionInput) *ec2.DeleteTrafficMirrorSessionOutput); ok { r1 = rf(_a0) } else { @@ -10996,6 +14872,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSessionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DeleteTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorSessionInput, ...request.Option) (*ec2.DeleteTrafficMirrorSessionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorSessionInput, ...request.Option) *ec2.DeleteTrafficMirrorSessionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11004,7 +14884,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorSessionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTrafficMirrorSessionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11019,6 +14898,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTarget(_a0 *ec2.DeleteTrafficMirrorTar ret := _m.Called(_a0) var r0 *ec2.DeleteTrafficMirrorTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorTargetInput) (*ec2.DeleteTrafficMirrorTargetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorTargetInput) *ec2.DeleteTrafficMirrorTargetOutput); ok { r0 = rf(_a0) } else { @@ -11027,7 +14910,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTarget(_a0 *ec2.DeleteTrafficMirrorTar } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorTargetInput) error); ok { r1 = rf(_a0) } else { @@ -11042,6 +14924,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTargetRequest(_a0 *ec2.DeleteTrafficMi ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTrafficMirrorTargetOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorTargetInput) (*request.Request, *ec2.DeleteTrafficMirrorTargetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTrafficMirrorTargetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11050,7 +14936,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTargetRequest(_a0 *ec2.DeleteTrafficMi } } - var r1 *ec2.DeleteTrafficMirrorTargetOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTrafficMirrorTargetInput) *ec2.DeleteTrafficMirrorTargetOutput); ok { r1 = rf(_a0) } else { @@ -11074,6 +14959,10 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTargetWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DeleteTrafficMirrorTargetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorTargetInput, ...request.Option) (*ec2.DeleteTrafficMirrorTargetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorTargetInput, ...request.Option) *ec2.DeleteTrafficMirrorTargetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11082,7 +14971,6 @@ func (_m *MockFakeEC2) DeleteTrafficMirrorTargetWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTrafficMirrorTargetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11097,6 +14985,10 @@ func (_m *MockFakeEC2) DeleteTransitGateway(_a0 *ec2.DeleteTransitGatewayInput) ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayInput) (*ec2.DeleteTransitGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayInput) *ec2.DeleteTransitGatewayOutput); ok { r0 = rf(_a0) } else { @@ -11105,7 +14997,6 @@ func (_m *MockFakeEC2) DeleteTransitGateway(_a0 *ec2.DeleteTransitGatewayInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -11120,6 +15011,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnect(_a0 *ec2.DeleteTransitGateway ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayConnectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectInput) (*ec2.DeleteTransitGatewayConnectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectInput) *ec2.DeleteTransitGatewayConnectOutput); ok { r0 = rf(_a0) } else { @@ -11128,7 +15023,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnect(_a0 *ec2.DeleteTransitGateway } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayConnectInput) error); ok { r1 = rf(_a0) } else { @@ -11143,6 +15037,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeer(_a0 *ec2.DeleteTransitGat ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayConnectPeerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectPeerInput) (*ec2.DeleteTransitGatewayConnectPeerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectPeerInput) *ec2.DeleteTransitGatewayConnectPeerOutput); ok { r0 = rf(_a0) } else { @@ -11151,7 +15049,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeer(_a0 *ec2.DeleteTransitGat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayConnectPeerInput) error); ok { r1 = rf(_a0) } else { @@ -11166,6 +15063,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeerRequest(_a0 *ec2.DeleteTra ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayConnectPeerOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectPeerInput) (*request.Request, *ec2.DeleteTransitGatewayConnectPeerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectPeerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11174,7 +15075,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeerRequest(_a0 *ec2.DeleteTra } } - var r1 *ec2.DeleteTransitGatewayConnectPeerOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayConnectPeerInput) *ec2.DeleteTransitGatewayConnectPeerOutput); ok { r1 = rf(_a0) } else { @@ -11198,6 +15098,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeerWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayConnectPeerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectPeerInput, ...request.Option) (*ec2.DeleteTransitGatewayConnectPeerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectPeerInput, ...request.Option) *ec2.DeleteTransitGatewayConnectPeerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11206,7 +15110,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectPeerWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayConnectPeerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11221,6 +15124,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectRequest(_a0 *ec2.DeleteTransit ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayConnectOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectInput) (*request.Request, *ec2.DeleteTransitGatewayConnectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayConnectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11229,7 +15136,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectRequest(_a0 *ec2.DeleteTransit } } - var r1 *ec2.DeleteTransitGatewayConnectOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayConnectInput) *ec2.DeleteTransitGatewayConnectOutput); ok { r1 = rf(_a0) } else { @@ -11253,6 +15159,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayConnectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectInput, ...request.Option) (*ec2.DeleteTransitGatewayConnectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectInput, ...request.Option) *ec2.DeleteTransitGatewayConnectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11261,7 +15171,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayConnectWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayConnectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11276,6 +15185,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomain(_a0 *ec2.DeleteTransi ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) (*ec2.DeleteTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) *ec2.DeleteTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0) } else { @@ -11284,7 +15197,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomain(_a0 *ec2.DeleteTransi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) error); ok { r1 = rf(_a0) } else { @@ -11299,6 +15211,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomainRequest(_a0 *ec2.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayMulticastDomainOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) (*request.Request, *ec2.DeleteTransitGatewayMulticastDomainOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11307,7 +15223,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomainRequest(_a0 *ec2.Delet } } - var r1 *ec2.DeleteTransitGatewayMulticastDomainOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayMulticastDomainInput) *ec2.DeleteTransitGatewayMulticastDomainOutput); ok { r1 = rf(_a0) } else { @@ -11331,6 +15246,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomainWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.DeleteTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayMulticastDomainInput, ...request.Option) *ec2.DeleteTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11339,7 +15258,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayMulticastDomainWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayMulticastDomainInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11354,6 +15272,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachment(_a0 *ec2.DeleteTran ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) (*ec2.DeleteTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) *ec2.DeleteTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -11362,7 +15284,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachment(_a0 *ec2.DeleteTran } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -11377,6 +15298,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayPeeringAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.DeleteTransitGatewayPeeringAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11385,7 +15310,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Del } } - var r1 *ec2.DeleteTransitGatewayPeeringAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPeeringAttachmentInput) *ec2.DeleteTransitGatewayPeeringAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -11409,6 +15333,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachmentWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.DeleteTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPeeringAttachmentInput, ...request.Option) *ec2.DeleteTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11417,7 +15345,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachmentWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayPeeringAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11427,11 +15354,102 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPeeringAttachmentWithContext(_a0 cont return r0, r1 } +// DeleteTransitGatewayPolicyTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteTransitGatewayPolicyTable(_a0 *ec2.DeleteTransitGatewayPolicyTableInput) (*ec2.DeleteTransitGatewayPolicyTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPolicyTableInput) (*ec2.DeleteTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPolicyTableInput) *ec2.DeleteTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPolicyTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteTransitGatewayPolicyTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteTransitGatewayPolicyTableRequest(_a0 *ec2.DeleteTransitGatewayPolicyTableInput) (*request.Request, *ec2.DeleteTransitGatewayPolicyTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayPolicyTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPolicyTableInput) (*request.Request, *ec2.DeleteTransitGatewayPolicyTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPolicyTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPolicyTableInput) *ec2.DeleteTransitGatewayPolicyTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteTransitGatewayPolicyTableOutput) + } + } + + return r0, r1 +} + +// DeleteTransitGatewayPolicyTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteTransitGatewayPolicyTableWithContext(_a0 context.Context, _a1 *ec2.DeleteTransitGatewayPolicyTableInput, _a2 ...request.Option) (*ec2.DeleteTransitGatewayPolicyTableOutput, error) { + _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 *ec2.DeleteTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPolicyTableInput, ...request.Option) (*ec2.DeleteTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPolicyTableInput, ...request.Option) *ec2.DeleteTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayPolicyTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteTransitGatewayPrefixListReference provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReference(_a0 *ec2.DeleteTransitGatewayPrefixListReferenceInput) (*ec2.DeleteTransitGatewayPrefixListReferenceOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) (*ec2.DeleteTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) *ec2.DeleteTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0) } else { @@ -11440,7 +15458,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReference(_a0 *ec2.DeleteTr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) error); ok { r1 = rf(_a0) } else { @@ -11455,6 +15472,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReferenceRequest(_a0 *ec2.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayPrefixListReferenceOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) (*request.Request, *ec2.DeleteTransitGatewayPrefixListReferenceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11463,7 +15484,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReferenceRequest(_a0 *ec2.D } } - var r1 *ec2.DeleteTransitGatewayPrefixListReferenceOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayPrefixListReferenceInput) *ec2.DeleteTransitGatewayPrefixListReferenceOutput); ok { r1 = rf(_a0) } else { @@ -11487,6 +15507,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReferenceWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPrefixListReferenceInput, ...request.Option) (*ec2.DeleteTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPrefixListReferenceInput, ...request.Option) *ec2.DeleteTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11495,7 +15519,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayPrefixListReferenceWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayPrefixListReferenceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11510,6 +15533,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRequest(_a0 *ec2.DeleteTransitGateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayInput) (*request.Request, *ec2.DeleteTransitGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11518,7 +15545,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRequest(_a0 *ec2.DeleteTransitGateway } } - var r1 *ec2.DeleteTransitGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayInput) *ec2.DeleteTransitGatewayOutput); ok { r1 = rf(_a0) } else { @@ -11535,6 +15561,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRoute(_a0 *ec2.DeleteTransitGatewayRo ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteInput) (*ec2.DeleteTransitGatewayRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteInput) *ec2.DeleteTransitGatewayRouteOutput); ok { r0 = rf(_a0) } else { @@ -11543,7 +15573,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRoute(_a0 *ec2.DeleteTransitGatewayRo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteInput) error); ok { r1 = rf(_a0) } else { @@ -11558,6 +15587,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteRequest(_a0 *ec2.DeleteTransitGa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteInput) (*request.Request, *ec2.DeleteTransitGatewayRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11566,7 +15599,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteRequest(_a0 *ec2.DeleteTransitGa } } - var r1 *ec2.DeleteTransitGatewayRouteOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteInput) *ec2.DeleteTransitGatewayRouteOutput); ok { r1 = rf(_a0) } else { @@ -11583,6 +15615,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTable(_a0 *ec2.DeleteTransitGate ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableInput) (*ec2.DeleteTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableInput) *ec2.DeleteTransitGatewayRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -11591,7 +15627,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTable(_a0 *ec2.DeleteTransitGate } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -11601,11 +15636,102 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTable(_a0 *ec2.DeleteTransitGate return r0, r1 } +// DeleteTransitGatewayRouteTableAnnouncement provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableAnnouncement(_a0 *ec2.DeleteTransitGatewayRouteTableAnnouncementInput) (*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) (*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteTransitGatewayRouteTableAnnouncementRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableAnnouncementRequest(_a0 *ec2.DeleteTransitGatewayRouteTableAnnouncementInput) (*request.Request, *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) (*request.Request, *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteTableAnnouncementInput) *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput) + } + } + + return r0, r1 +} + +// DeleteTransitGatewayRouteTableAnnouncementWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableAnnouncementWithContext(_a0 context.Context, _a1 *ec2.DeleteTransitGatewayRouteTableAnnouncementInput, _a2 ...request.Option) (*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput, error) { + _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 *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableAnnouncementInput, ...request.Option) (*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableAnnouncementInput, ...request.Option) *ec2.DeleteTransitGatewayRouteTableAnnouncementOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeleteTransitGatewayRouteTableAnnouncementOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableAnnouncementInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteTransitGatewayRouteTableRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableRequest(_a0 *ec2.DeleteTransitGatewayRouteTableInput) (*request.Request, *ec2.DeleteTransitGatewayRouteTableOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableInput) (*request.Request, *ec2.DeleteTransitGatewayRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11614,7 +15740,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableRequest(_a0 *ec2.DeleteTran } } - var r1 *ec2.DeleteTransitGatewayRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayRouteTableInput) *ec2.DeleteTransitGatewayRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -11638,6 +15763,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableInput, ...request.Option) (*ec2.DeleteTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableInput, ...request.Option) *ec2.DeleteTransitGatewayRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11646,7 +15775,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteTableWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11668,6 +15796,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteInput, ...request.Option) (*ec2.DeleteTransitGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteInput, ...request.Option) *ec2.DeleteTransitGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11676,7 +15808,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayRouteWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11691,6 +15822,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachment(_a0 *ec2.DeleteTransitG ret := _m.Called(_a0) var r0 *ec2.DeleteTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) *ec2.DeleteTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -11699,7 +15834,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachment(_a0 *ec2.DeleteTransitG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -11714,6 +15848,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachmentRequest(_a0 *ec2.DeleteT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteTransitGatewayVpcAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.DeleteTransitGatewayVpcAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11722,7 +15860,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachmentRequest(_a0 *ec2.DeleteT } } - var r1 *ec2.DeleteTransitGatewayVpcAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteTransitGatewayVpcAttachmentInput) *ec2.DeleteTransitGatewayVpcAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -11746,6 +15883,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachmentWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayVpcAttachmentInput, ...request.Option) *ec2.DeleteTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11754,7 +15895,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayVpcAttachmentWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayVpcAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11776,6 +15916,10 @@ func (_m *MockFakeEC2) DeleteTransitGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeleteTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayInput, ...request.Option) (*ec2.DeleteTransitGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayInput, ...request.Option) *ec2.DeleteTransitGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11784,7 +15928,6 @@ func (_m *MockFakeEC2) DeleteTransitGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteTransitGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11799,6 +15942,10 @@ func (_m *MockFakeEC2) DeleteVolume(_a0 *ec2.DeleteVolumeInput) (*ec2.DeleteVolu ret := _m.Called(_a0) var r0 *ec2.DeleteVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVolumeInput) (*ec2.DeleteVolumeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVolumeInput) *ec2.DeleteVolumeOutput); ok { r0 = rf(_a0) } else { @@ -11807,7 +15954,6 @@ func (_m *MockFakeEC2) DeleteVolume(_a0 *ec2.DeleteVolumeInput) (*ec2.DeleteVolu } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVolumeInput) error); ok { r1 = rf(_a0) } else { @@ -11822,6 +15968,10 @@ func (_m *MockFakeEC2) DeleteVolumeRequest(_a0 *ec2.DeleteVolumeInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVolumeOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVolumeInput) (*request.Request, *ec2.DeleteVolumeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVolumeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11830,7 +15980,6 @@ func (_m *MockFakeEC2) DeleteVolumeRequest(_a0 *ec2.DeleteVolumeInput) (*request } } - var r1 *ec2.DeleteVolumeOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVolumeInput) *ec2.DeleteVolumeOutput); ok { r1 = rf(_a0) } else { @@ -11854,6 +16003,10 @@ func (_m *MockFakeEC2) DeleteVolumeWithContext(_a0 context.Context, _a1 *ec2.Del ret := _m.Called(_ca...) var r0 *ec2.DeleteVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVolumeInput, ...request.Option) (*ec2.DeleteVolumeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVolumeInput, ...request.Option) *ec2.DeleteVolumeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11862,7 +16015,6 @@ func (_m *MockFakeEC2) DeleteVolumeWithContext(_a0 context.Context, _a1 *ec2.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVolumeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11877,6 +16029,10 @@ func (_m *MockFakeEC2) DeleteVpc(_a0 *ec2.DeleteVpcInput) (*ec2.DeleteVpcOutput, ret := _m.Called(_a0) var r0 *ec2.DeleteVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcInput) (*ec2.DeleteVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcInput) *ec2.DeleteVpcOutput); ok { r0 = rf(_a0) } else { @@ -11885,7 +16041,6 @@ func (_m *MockFakeEC2) DeleteVpc(_a0 *ec2.DeleteVpcInput) (*ec2.DeleteVpcOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcInput) error); ok { r1 = rf(_a0) } else { @@ -11900,6 +16055,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotifications(_a0 *ec2.DeleteV ret := _m.Called(_a0) var r0 *ec2.DeleteVpcEndpointConnectionNotificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) (*ec2.DeleteVpcEndpointConnectionNotificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) *ec2.DeleteVpcEndpointConnectionNotificationsOutput); ok { r0 = rf(_a0) } else { @@ -11908,7 +16067,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotifications(_a0 *ec2.DeleteV } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) error); ok { r1 = rf(_a0) } else { @@ -11923,6 +16081,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotificationsRequest(_a0 *ec2. ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpcEndpointConnectionNotificationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) (*request.Request, *ec2.DeleteVpcEndpointConnectionNotificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11931,7 +16093,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotificationsRequest(_a0 *ec2. } } - var r1 *ec2.DeleteVpcEndpointConnectionNotificationsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointConnectionNotificationsInput) *ec2.DeleteVpcEndpointConnectionNotificationsOutput); ok { r1 = rf(_a0) } else { @@ -11955,6 +16116,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotificationsWithContext(_a0 c ret := _m.Called(_ca...) var r0 *ec2.DeleteVpcEndpointConnectionNotificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointConnectionNotificationsInput, ...request.Option) (*ec2.DeleteVpcEndpointConnectionNotificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointConnectionNotificationsInput, ...request.Option) *ec2.DeleteVpcEndpointConnectionNotificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11963,7 +16128,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointConnectionNotificationsWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpcEndpointConnectionNotificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11978,6 +16142,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurations(_a0 *ec2.DeleteVpc ret := _m.Called(_a0) var r0 *ec2.DeleteVpcEndpointServiceConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) (*ec2.DeleteVpcEndpointServiceConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) *ec2.DeleteVpcEndpointServiceConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -11986,7 +16154,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurations(_a0 *ec2.DeleteVpc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -12001,6 +16168,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurationsRequest(_a0 *ec2.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpcEndpointServiceConfigurationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) (*request.Request, *ec2.DeleteVpcEndpointServiceConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12009,7 +16180,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurationsRequest(_a0 *ec2.De } } - var r1 *ec2.DeleteVpcEndpointServiceConfigurationsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointServiceConfigurationsInput) *ec2.DeleteVpcEndpointServiceConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -12033,6 +16203,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurationsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *ec2.DeleteVpcEndpointServiceConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointServiceConfigurationsInput, ...request.Option) (*ec2.DeleteVpcEndpointServiceConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointServiceConfigurationsInput, ...request.Option) *ec2.DeleteVpcEndpointServiceConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12041,7 +16215,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointServiceConfigurationsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpcEndpointServiceConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12056,6 +16229,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpoints(_a0 *ec2.DeleteVpcEndpointsInput) (*ec ret := _m.Called(_a0) var r0 *ec2.DeleteVpcEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointsInput) (*ec2.DeleteVpcEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointsInput) *ec2.DeleteVpcEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -12064,7 +16241,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpoints(_a0 *ec2.DeleteVpcEndpointsInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -12079,6 +16255,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointsRequest(_a0 *ec2.DeleteVpcEndpointsInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpcEndpointsOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointsInput) (*request.Request, *ec2.DeleteVpcEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12087,7 +16267,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointsRequest(_a0 *ec2.DeleteVpcEndpointsInpu } } - var r1 *ec2.DeleteVpcEndpointsOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcEndpointsInput) *ec2.DeleteVpcEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -12111,6 +16290,10 @@ func (_m *MockFakeEC2) DeleteVpcEndpointsWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.DeleteVpcEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointsInput, ...request.Option) (*ec2.DeleteVpcEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointsInput, ...request.Option) *ec2.DeleteVpcEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12119,7 +16302,6 @@ func (_m *MockFakeEC2) DeleteVpcEndpointsWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpcEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12134,6 +16316,10 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnection(_a0 *ec2.DeleteVpcPeeringConne ret := _m.Called(_a0) var r0 *ec2.DeleteVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcPeeringConnectionInput) (*ec2.DeleteVpcPeeringConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcPeeringConnectionInput) *ec2.DeleteVpcPeeringConnectionOutput); ok { r0 = rf(_a0) } else { @@ -12142,7 +16328,6 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnection(_a0 *ec2.DeleteVpcPeeringConne } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcPeeringConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -12157,6 +16342,10 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnectionRequest(_a0 *ec2.DeleteVpcPeeri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpcPeeringConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcPeeringConnectionInput) (*request.Request, *ec2.DeleteVpcPeeringConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcPeeringConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12165,7 +16354,6 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnectionRequest(_a0 *ec2.DeleteVpcPeeri } } - var r1 *ec2.DeleteVpcPeeringConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcPeeringConnectionInput) *ec2.DeleteVpcPeeringConnectionOutput); ok { r1 = rf(_a0) } else { @@ -12189,6 +16377,10 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnectionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DeleteVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcPeeringConnectionInput, ...request.Option) (*ec2.DeleteVpcPeeringConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcPeeringConnectionInput, ...request.Option) *ec2.DeleteVpcPeeringConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12197,7 +16389,6 @@ func (_m *MockFakeEC2) DeleteVpcPeeringConnectionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpcPeeringConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12212,6 +16403,10 @@ func (_m *MockFakeEC2) DeleteVpcRequest(_a0 *ec2.DeleteVpcInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcInput) (*request.Request, *ec2.DeleteVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12220,7 +16415,6 @@ func (_m *MockFakeEC2) DeleteVpcRequest(_a0 *ec2.DeleteVpcInput) (*request.Reque } } - var r1 *ec2.DeleteVpcOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpcInput) *ec2.DeleteVpcOutput); ok { r1 = rf(_a0) } else { @@ -12244,6 +16438,10 @@ func (_m *MockFakeEC2) DeleteVpcWithContext(_a0 context.Context, _a1 *ec2.Delete ret := _m.Called(_ca...) var r0 *ec2.DeleteVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcInput, ...request.Option) (*ec2.DeleteVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcInput, ...request.Option) *ec2.DeleteVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12252,7 +16450,6 @@ func (_m *MockFakeEC2) DeleteVpcWithContext(_a0 context.Context, _a1 *ec2.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12267,6 +16464,10 @@ func (_m *MockFakeEC2) DeleteVpnConnection(_a0 *ec2.DeleteVpnConnectionInput) (* ret := _m.Called(_a0) var r0 *ec2.DeleteVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionInput) (*ec2.DeleteVpnConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionInput) *ec2.DeleteVpnConnectionOutput); ok { r0 = rf(_a0) } else { @@ -12275,7 +16476,6 @@ func (_m *MockFakeEC2) DeleteVpnConnection(_a0 *ec2.DeleteVpnConnectionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -12290,6 +16490,10 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRequest(_a0 *ec2.DeleteVpnConnectionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpnConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionInput) (*request.Request, *ec2.DeleteVpnConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12298,7 +16502,6 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRequest(_a0 *ec2.DeleteVpnConnectionIn } } - var r1 *ec2.DeleteVpnConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnConnectionInput) *ec2.DeleteVpnConnectionOutput); ok { r1 = rf(_a0) } else { @@ -12315,6 +16518,10 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRoute(_a0 *ec2.DeleteVpnConnectionRout ret := _m.Called(_a0) var r0 *ec2.DeleteVpnConnectionRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionRouteInput) (*ec2.DeleteVpnConnectionRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionRouteInput) *ec2.DeleteVpnConnectionRouteOutput); ok { r0 = rf(_a0) } else { @@ -12323,7 +16530,6 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRoute(_a0 *ec2.DeleteVpnConnectionRout } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnConnectionRouteInput) error); ok { r1 = rf(_a0) } else { @@ -12338,6 +16544,10 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRouteRequest(_a0 *ec2.DeleteVpnConnect ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpnConnectionRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionRouteInput) (*request.Request, *ec2.DeleteVpnConnectionRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnConnectionRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12346,7 +16556,6 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRouteRequest(_a0 *ec2.DeleteVpnConnect } } - var r1 *ec2.DeleteVpnConnectionRouteOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnConnectionRouteInput) *ec2.DeleteVpnConnectionRouteOutput); ok { r1 = rf(_a0) } else { @@ -12370,6 +16579,10 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRouteWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DeleteVpnConnectionRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionRouteInput, ...request.Option) (*ec2.DeleteVpnConnectionRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionRouteInput, ...request.Option) *ec2.DeleteVpnConnectionRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12378,7 +16591,6 @@ func (_m *MockFakeEC2) DeleteVpnConnectionRouteWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpnConnectionRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12400,6 +16612,10 @@ func (_m *MockFakeEC2) DeleteVpnConnectionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DeleteVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionInput, ...request.Option) (*ec2.DeleteVpnConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionInput, ...request.Option) *ec2.DeleteVpnConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12408,7 +16624,6 @@ func (_m *MockFakeEC2) DeleteVpnConnectionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpnConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12423,6 +16638,10 @@ func (_m *MockFakeEC2) DeleteVpnGateway(_a0 *ec2.DeleteVpnGatewayInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DeleteVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnGatewayInput) (*ec2.DeleteVpnGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnGatewayInput) *ec2.DeleteVpnGatewayOutput); ok { r0 = rf(_a0) } else { @@ -12431,7 +16650,6 @@ func (_m *MockFakeEC2) DeleteVpnGateway(_a0 *ec2.DeleteVpnGatewayInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -12446,6 +16664,10 @@ func (_m *MockFakeEC2) DeleteVpnGatewayRequest(_a0 *ec2.DeleteVpnGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeleteVpnGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnGatewayInput) (*request.Request, *ec2.DeleteVpnGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeleteVpnGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12454,7 +16676,6 @@ func (_m *MockFakeEC2) DeleteVpnGatewayRequest(_a0 *ec2.DeleteVpnGatewayInput) ( } } - var r1 *ec2.DeleteVpnGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DeleteVpnGatewayInput) *ec2.DeleteVpnGatewayOutput); ok { r1 = rf(_a0) } else { @@ -12478,6 +16699,10 @@ func (_m *MockFakeEC2) DeleteVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DeleteVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnGatewayInput, ...request.Option) (*ec2.DeleteVpnGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnGatewayInput, ...request.Option) *ec2.DeleteVpnGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12486,7 +16711,6 @@ func (_m *MockFakeEC2) DeleteVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeleteVpnGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12501,6 +16725,10 @@ func (_m *MockFakeEC2) DeprovisionByoipCidr(_a0 *ec2.DeprovisionByoipCidrInput) ret := _m.Called(_a0) var r0 *ec2.DeprovisionByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionByoipCidrInput) (*ec2.DeprovisionByoipCidrOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeprovisionByoipCidrInput) *ec2.DeprovisionByoipCidrOutput); ok { r0 = rf(_a0) } else { @@ -12509,7 +16737,6 @@ func (_m *MockFakeEC2) DeprovisionByoipCidr(_a0 *ec2.DeprovisionByoipCidrInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeprovisionByoipCidrInput) error); ok { r1 = rf(_a0) } else { @@ -12524,6 +16751,10 @@ func (_m *MockFakeEC2) DeprovisionByoipCidrRequest(_a0 *ec2.DeprovisionByoipCidr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeprovisionByoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionByoipCidrInput) (*request.Request, *ec2.DeprovisionByoipCidrOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeprovisionByoipCidrInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12532,7 +16763,6 @@ func (_m *MockFakeEC2) DeprovisionByoipCidrRequest(_a0 *ec2.DeprovisionByoipCidr } } - var r1 *ec2.DeprovisionByoipCidrOutput if rf, ok := ret.Get(1).(func(*ec2.DeprovisionByoipCidrInput) *ec2.DeprovisionByoipCidrOutput); ok { r1 = rf(_a0) } else { @@ -12556,6 +16786,10 @@ func (_m *MockFakeEC2) DeprovisionByoipCidrWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DeprovisionByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionByoipCidrInput, ...request.Option) (*ec2.DeprovisionByoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionByoipCidrInput, ...request.Option) *ec2.DeprovisionByoipCidrOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12564,7 +16798,6 @@ func (_m *MockFakeEC2) DeprovisionByoipCidrWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeprovisionByoipCidrInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12574,11 +16807,189 @@ func (_m *MockFakeEC2) DeprovisionByoipCidrWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeprovisionIpamPoolCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeprovisionIpamPoolCidr(_a0 *ec2.DeprovisionIpamPoolCidrInput) (*ec2.DeprovisionIpamPoolCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeprovisionIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionIpamPoolCidrInput) (*ec2.DeprovisionIpamPoolCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionIpamPoolCidrInput) *ec2.DeprovisionIpamPoolCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeprovisionIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeprovisionIpamPoolCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeprovisionIpamPoolCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeprovisionIpamPoolCidrRequest(_a0 *ec2.DeprovisionIpamPoolCidrInput) (*request.Request, *ec2.DeprovisionIpamPoolCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeprovisionIpamPoolCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionIpamPoolCidrInput) (*request.Request, *ec2.DeprovisionIpamPoolCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionIpamPoolCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeprovisionIpamPoolCidrInput) *ec2.DeprovisionIpamPoolCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeprovisionIpamPoolCidrOutput) + } + } + + return r0, r1 +} + +// DeprovisionIpamPoolCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeprovisionIpamPoolCidrWithContext(_a0 context.Context, _a1 *ec2.DeprovisionIpamPoolCidrInput, _a2 ...request.Option) (*ec2.DeprovisionIpamPoolCidrOutput, error) { + _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 *ec2.DeprovisionIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionIpamPoolCidrInput, ...request.Option) (*ec2.DeprovisionIpamPoolCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionIpamPoolCidrInput, ...request.Option) *ec2.DeprovisionIpamPoolCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeprovisionIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeprovisionIpamPoolCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeprovisionPublicIpv4PoolCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeprovisionPublicIpv4PoolCidr(_a0 *ec2.DeprovisionPublicIpv4PoolCidrInput) (*ec2.DeprovisionPublicIpv4PoolCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DeprovisionPublicIpv4PoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) (*ec2.DeprovisionPublicIpv4PoolCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) *ec2.DeprovisionPublicIpv4PoolCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeprovisionPublicIpv4PoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeprovisionPublicIpv4PoolCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DeprovisionPublicIpv4PoolCidrRequest(_a0 *ec2.DeprovisionPublicIpv4PoolCidrInput) (*request.Request, *ec2.DeprovisionPublicIpv4PoolCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DeprovisionPublicIpv4PoolCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) (*request.Request, *ec2.DeprovisionPublicIpv4PoolCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DeprovisionPublicIpv4PoolCidrInput) *ec2.DeprovisionPublicIpv4PoolCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DeprovisionPublicIpv4PoolCidrOutput) + } + } + + return r0, r1 +} + +// DeprovisionPublicIpv4PoolCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DeprovisionPublicIpv4PoolCidrWithContext(_a0 context.Context, _a1 *ec2.DeprovisionPublicIpv4PoolCidrInput, _a2 ...request.Option) (*ec2.DeprovisionPublicIpv4PoolCidrOutput, error) { + _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 *ec2.DeprovisionPublicIpv4PoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionPublicIpv4PoolCidrInput, ...request.Option) (*ec2.DeprovisionPublicIpv4PoolCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionPublicIpv4PoolCidrInput, ...request.Option) *ec2.DeprovisionPublicIpv4PoolCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DeprovisionPublicIpv4PoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeprovisionPublicIpv4PoolCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeregisterImage provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DeregisterImage(_a0 *ec2.DeregisterImageInput) (*ec2.DeregisterImageOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DeregisterImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeregisterImageInput) (*ec2.DeregisterImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterImageInput) *ec2.DeregisterImageOutput); ok { r0 = rf(_a0) } else { @@ -12587,7 +16998,6 @@ func (_m *MockFakeEC2) DeregisterImage(_a0 *ec2.DeregisterImageInput) (*ec2.Dere } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeregisterImageInput) error); ok { r1 = rf(_a0) } else { @@ -12602,6 +17012,10 @@ func (_m *MockFakeEC2) DeregisterImageRequest(_a0 *ec2.DeregisterImageInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeregisterImageOutput + if rf, ok := ret.Get(0).(func(*ec2.DeregisterImageInput) (*request.Request, *ec2.DeregisterImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12610,7 +17024,6 @@ func (_m *MockFakeEC2) DeregisterImageRequest(_a0 *ec2.DeregisterImageInput) (*r } } - var r1 *ec2.DeregisterImageOutput if rf, ok := ret.Get(1).(func(*ec2.DeregisterImageInput) *ec2.DeregisterImageOutput); ok { r1 = rf(_a0) } else { @@ -12634,6 +17047,10 @@ func (_m *MockFakeEC2) DeregisterImageWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.DeregisterImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterImageInput, ...request.Option) (*ec2.DeregisterImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterImageInput, ...request.Option) *ec2.DeregisterImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12642,7 +17059,6 @@ func (_m *MockFakeEC2) DeregisterImageWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeregisterImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12657,6 +17073,10 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributes(_a0 *ec2.De ret := _m.Called(_a0) var r0 *ec2.DeregisterInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) (*ec2.DeregisterInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) *ec2.DeregisterInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0) } else { @@ -12665,7 +17085,6 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributes(_a0 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -12680,6 +17099,10 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributesRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeregisterInstanceEventNotificationAttributesOutput + if rf, ok := ret.Get(0).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) (*request.Request, *ec2.DeregisterInstanceEventNotificationAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12688,7 +17111,6 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributesRequest(_a0 } } - var r1 *ec2.DeregisterInstanceEventNotificationAttributesOutput if rf, ok := ret.Get(1).(func(*ec2.DeregisterInstanceEventNotificationAttributesInput) *ec2.DeregisterInstanceEventNotificationAttributesOutput); ok { r1 = rf(_a0) } else { @@ -12712,6 +17134,10 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributesWithContext( ret := _m.Called(_ca...) var r0 *ec2.DeregisterInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterInstanceEventNotificationAttributesInput, ...request.Option) (*ec2.DeregisterInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterInstanceEventNotificationAttributesInput, ...request.Option) *ec2.DeregisterInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12720,7 +17146,6 @@ func (_m *MockFakeEC2) DeregisterInstanceEventNotificationAttributesWithContext( } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeregisterInstanceEventNotificationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12735,6 +17160,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembers(_a0 *ec2.De ret := _m.Called(_a0) var r0 *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) (*ec2.DeregisterTransitGatewayMulticastGroupMembersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput); ok { r0 = rf(_a0) } else { @@ -12743,7 +17172,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembers(_a0 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) error); ok { r1 = rf(_a0) } else { @@ -12758,6 +17186,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembersRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput + if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) (*request.Request, *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12766,7 +17198,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembersRequest(_a0 } } - var r1 *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput if rf, ok := ret.Get(1).(func(*ec2.DeregisterTransitGatewayMulticastGroupMembersInput) *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput); ok { r1 = rf(_a0) } else { @@ -12790,6 +17221,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembersWithContext( ret := _m.Called(_ca...) var r0 *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupMembersInput, ...request.Option) (*ec2.DeregisterTransitGatewayMulticastGroupMembersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupMembersInput, ...request.Option) *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12798,7 +17233,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupMembersWithContext( } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupMembersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12813,6 +17247,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSources(_a0 *ec2.De ret := _m.Called(_a0) var r0 *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) (*ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput); ok { r0 = rf(_a0) } else { @@ -12821,7 +17259,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSources(_a0 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) error); ok { r1 = rf(_a0) } else { @@ -12836,6 +17273,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSourcesRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput + if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) (*request.Request, *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12844,7 +17285,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSourcesRequest(_a0 } } - var r1 *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput if rf, ok := ret.Get(1).(func(*ec2.DeregisterTransitGatewayMulticastGroupSourcesInput) *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput); ok { r1 = rf(_a0) } else { @@ -12868,6 +17308,10 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSourcesWithContext( ret := _m.Called(_ca...) var r0 *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) (*ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12876,7 +17320,6 @@ func (_m *MockFakeEC2) DeregisterTransitGatewayMulticastGroupSourcesWithContext( } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12891,6 +17334,10 @@ func (_m *MockFakeEC2) DescribeAccountAttributes(_a0 *ec2.DescribeAccountAttribu ret := _m.Called(_a0) var r0 *ec2.DescribeAccountAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeAccountAttributesInput) (*ec2.DescribeAccountAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAccountAttributesInput) *ec2.DescribeAccountAttributesOutput); ok { r0 = rf(_a0) } else { @@ -12899,7 +17346,6 @@ func (_m *MockFakeEC2) DescribeAccountAttributes(_a0 *ec2.DescribeAccountAttribu } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeAccountAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -12914,6 +17360,10 @@ func (_m *MockFakeEC2) DescribeAccountAttributesRequest(_a0 *ec2.DescribeAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeAccountAttributesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeAccountAttributesInput) (*request.Request, *ec2.DescribeAccountAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAccountAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12922,7 +17372,6 @@ func (_m *MockFakeEC2) DescribeAccountAttributesRequest(_a0 *ec2.DescribeAccount } } - var r1 *ec2.DescribeAccountAttributesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeAccountAttributesInput) *ec2.DescribeAccountAttributesOutput); ok { r1 = rf(_a0) } else { @@ -12946,6 +17395,10 @@ func (_m *MockFakeEC2) DescribeAccountAttributesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeAccountAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAccountAttributesInput, ...request.Option) (*ec2.DescribeAccountAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAccountAttributesInput, ...request.Option) *ec2.DescribeAccountAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12954,7 +17407,6 @@ func (_m *MockFakeEC2) DescribeAccountAttributesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeAccountAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12969,6 +17421,10 @@ func (_m *MockFakeEC2) DescribeAddresses(_a0 *ec2.DescribeAddressesInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.DescribeAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesInput) (*ec2.DescribeAddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesInput) *ec2.DescribeAddressesOutput); ok { r0 = rf(_a0) } else { @@ -12977,7 +17433,6 @@ func (_m *MockFakeEC2) DescribeAddresses(_a0 *ec2.DescribeAddressesInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeAddressesInput) error); ok { r1 = rf(_a0) } else { @@ -12992,6 +17447,10 @@ func (_m *MockFakeEC2) DescribeAddressesAttribute(_a0 *ec2.DescribeAddressesAttr ret := _m.Called(_a0) var r0 *ec2.DescribeAddressesAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesAttributeInput) (*ec2.DescribeAddressesAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesAttributeInput) *ec2.DescribeAddressesAttributeOutput); ok { r0 = rf(_a0) } else { @@ -13000,7 +17459,6 @@ func (_m *MockFakeEC2) DescribeAddressesAttribute(_a0 *ec2.DescribeAddressesAttr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeAddressesAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -13050,6 +17508,10 @@ func (_m *MockFakeEC2) DescribeAddressesAttributeRequest(_a0 *ec2.DescribeAddres ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeAddressesAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesAttributeInput) (*request.Request, *ec2.DescribeAddressesAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13058,7 +17520,6 @@ func (_m *MockFakeEC2) DescribeAddressesAttributeRequest(_a0 *ec2.DescribeAddres } } - var r1 *ec2.DescribeAddressesAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeAddressesAttributeInput) *ec2.DescribeAddressesAttributeOutput); ok { r1 = rf(_a0) } else { @@ -13082,6 +17543,10 @@ func (_m *MockFakeEC2) DescribeAddressesAttributeWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeAddressesAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesAttributeInput, ...request.Option) (*ec2.DescribeAddressesAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesAttributeInput, ...request.Option) *ec2.DescribeAddressesAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13090,7 +17555,6 @@ func (_m *MockFakeEC2) DescribeAddressesAttributeWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeAddressesAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13105,6 +17569,10 @@ func (_m *MockFakeEC2) DescribeAddressesRequest(_a0 *ec2.DescribeAddressesInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeAddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesInput) (*request.Request, *ec2.DescribeAddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13113,7 +17581,6 @@ func (_m *MockFakeEC2) DescribeAddressesRequest(_a0 *ec2.DescribeAddressesInput) } } - var r1 *ec2.DescribeAddressesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeAddressesInput) *ec2.DescribeAddressesOutput); ok { r1 = rf(_a0) } else { @@ -13137,6 +17604,10 @@ func (_m *MockFakeEC2) DescribeAddressesWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DescribeAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesInput, ...request.Option) (*ec2.DescribeAddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesInput, ...request.Option) *ec2.DescribeAddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13145,7 +17616,6 @@ func (_m *MockFakeEC2) DescribeAddressesWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeAddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13160,6 +17630,10 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormat(_a0 *ec2.DescribeAggregateIdFor ret := _m.Called(_a0) var r0 *ec2.DescribeAggregateIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeAggregateIdFormatInput) (*ec2.DescribeAggregateIdFormatOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAggregateIdFormatInput) *ec2.DescribeAggregateIdFormatOutput); ok { r0 = rf(_a0) } else { @@ -13168,7 +17642,6 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormat(_a0 *ec2.DescribeAggregateIdFor } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeAggregateIdFormatInput) error); ok { r1 = rf(_a0) } else { @@ -13183,6 +17656,10 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormatRequest(_a0 *ec2.DescribeAggrega ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeAggregateIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeAggregateIdFormatInput) (*request.Request, *ec2.DescribeAggregateIdFormatOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAggregateIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13191,7 +17668,6 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormatRequest(_a0 *ec2.DescribeAggrega } } - var r1 *ec2.DescribeAggregateIdFormatOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeAggregateIdFormatInput) *ec2.DescribeAggregateIdFormatOutput); ok { r1 = rf(_a0) } else { @@ -13215,6 +17691,10 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormatWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeAggregateIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAggregateIdFormatInput, ...request.Option) (*ec2.DescribeAggregateIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAggregateIdFormatInput, ...request.Option) *ec2.DescribeAggregateIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13223,7 +17703,6 @@ func (_m *MockFakeEC2) DescribeAggregateIdFormatWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeAggregateIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13238,6 +17717,10 @@ func (_m *MockFakeEC2) DescribeAvailabilityZones(_a0 *ec2.DescribeAvailabilityZo ret := _m.Called(_a0) var r0 *ec2.DescribeAvailabilityZonesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAvailabilityZonesInput) *ec2.DescribeAvailabilityZonesOutput); ok { r0 = rf(_a0) } else { @@ -13246,7 +17729,6 @@ func (_m *MockFakeEC2) DescribeAvailabilityZones(_a0 *ec2.DescribeAvailabilityZo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeAvailabilityZonesInput) error); ok { r1 = rf(_a0) } else { @@ -13261,6 +17743,10 @@ func (_m *MockFakeEC2) DescribeAvailabilityZonesRequest(_a0 *ec2.DescribeAvailab ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeAvailabilityZonesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeAvailabilityZonesInput) (*request.Request, *ec2.DescribeAvailabilityZonesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeAvailabilityZonesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13269,7 +17755,6 @@ func (_m *MockFakeEC2) DescribeAvailabilityZonesRequest(_a0 *ec2.DescribeAvailab } } - var r1 *ec2.DescribeAvailabilityZonesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeAvailabilityZonesInput) *ec2.DescribeAvailabilityZonesOutput); ok { r1 = rf(_a0) } else { @@ -13293,6 +17778,10 @@ func (_m *MockFakeEC2) DescribeAvailabilityZonesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeAvailabilityZonesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAvailabilityZonesInput, ...request.Option) (*ec2.DescribeAvailabilityZonesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAvailabilityZonesInput, ...request.Option) *ec2.DescribeAvailabilityZonesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13301,7 +17790,6 @@ func (_m *MockFakeEC2) DescribeAvailabilityZonesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeAvailabilityZonesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13316,6 +17804,10 @@ func (_m *MockFakeEC2) DescribeBundleTasks(_a0 *ec2.DescribeBundleTasksInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeBundleTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeBundleTasksInput) (*ec2.DescribeBundleTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeBundleTasksInput) *ec2.DescribeBundleTasksOutput); ok { r0 = rf(_a0) } else { @@ -13324,7 +17816,6 @@ func (_m *MockFakeEC2) DescribeBundleTasks(_a0 *ec2.DescribeBundleTasksInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeBundleTasksInput) error); ok { r1 = rf(_a0) } else { @@ -13339,6 +17830,10 @@ func (_m *MockFakeEC2) DescribeBundleTasksRequest(_a0 *ec2.DescribeBundleTasksIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeBundleTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeBundleTasksInput) (*request.Request, *ec2.DescribeBundleTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeBundleTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13347,7 +17842,6 @@ func (_m *MockFakeEC2) DescribeBundleTasksRequest(_a0 *ec2.DescribeBundleTasksIn } } - var r1 *ec2.DescribeBundleTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeBundleTasksInput) *ec2.DescribeBundleTasksOutput); ok { r1 = rf(_a0) } else { @@ -13371,6 +17865,10 @@ func (_m *MockFakeEC2) DescribeBundleTasksWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeBundleTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeBundleTasksInput, ...request.Option) (*ec2.DescribeBundleTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeBundleTasksInput, ...request.Option) *ec2.DescribeBundleTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13379,7 +17877,6 @@ func (_m *MockFakeEC2) DescribeBundleTasksWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeBundleTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13394,6 +17891,10 @@ func (_m *MockFakeEC2) DescribeByoipCidrs(_a0 *ec2.DescribeByoipCidrsInput) (*ec ret := _m.Called(_a0) var r0 *ec2.DescribeByoipCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeByoipCidrsInput) (*ec2.DescribeByoipCidrsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeByoipCidrsInput) *ec2.DescribeByoipCidrsOutput); ok { r0 = rf(_a0) } else { @@ -13402,7 +17903,6 @@ func (_m *MockFakeEC2) DescribeByoipCidrs(_a0 *ec2.DescribeByoipCidrsInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeByoipCidrsInput) error); ok { r1 = rf(_a0) } else { @@ -13452,6 +17952,10 @@ func (_m *MockFakeEC2) DescribeByoipCidrsRequest(_a0 *ec2.DescribeByoipCidrsInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeByoipCidrsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeByoipCidrsInput) (*request.Request, *ec2.DescribeByoipCidrsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeByoipCidrsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13460,7 +17964,6 @@ func (_m *MockFakeEC2) DescribeByoipCidrsRequest(_a0 *ec2.DescribeByoipCidrsInpu } } - var r1 *ec2.DescribeByoipCidrsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeByoipCidrsInput) *ec2.DescribeByoipCidrsOutput); ok { r1 = rf(_a0) } else { @@ -13484,6 +17987,10 @@ func (_m *MockFakeEC2) DescribeByoipCidrsWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.DescribeByoipCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeByoipCidrsInput, ...request.Option) (*ec2.DescribeByoipCidrsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeByoipCidrsInput, ...request.Option) *ec2.DescribeByoipCidrsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13492,7 +17999,6 @@ func (_m *MockFakeEC2) DescribeByoipCidrsWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeByoipCidrsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13502,11 +18008,137 @@ func (_m *MockFakeEC2) DescribeByoipCidrsWithContext(_a0 context.Context, _a1 *e return r0, r1 } +// DescribeCapacityReservationFleets provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeCapacityReservationFleets(_a0 *ec2.DescribeCapacityReservationFleetsInput) (*ec2.DescribeCapacityReservationFleetsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeCapacityReservationFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationFleetsInput) (*ec2.DescribeCapacityReservationFleetsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationFleetsInput) *ec2.DescribeCapacityReservationFleetsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeCapacityReservationFleetsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeCapacityReservationFleetsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeCapacityReservationFleetsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeCapacityReservationFleetsPages(_a0 *ec2.DescribeCapacityReservationFleetsInput, _a1 func(*ec2.DescribeCapacityReservationFleetsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationFleetsInput, func(*ec2.DescribeCapacityReservationFleetsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeCapacityReservationFleetsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeCapacityReservationFleetsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeCapacityReservationFleetsInput, _a2 func(*ec2.DescribeCapacityReservationFleetsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeCapacityReservationFleetsInput, func(*ec2.DescribeCapacityReservationFleetsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeCapacityReservationFleetsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeCapacityReservationFleetsRequest(_a0 *ec2.DescribeCapacityReservationFleetsInput) (*request.Request, *ec2.DescribeCapacityReservationFleetsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeCapacityReservationFleetsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationFleetsInput) (*request.Request, *ec2.DescribeCapacityReservationFleetsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationFleetsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeCapacityReservationFleetsInput) *ec2.DescribeCapacityReservationFleetsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeCapacityReservationFleetsOutput) + } + } + + return r0, r1 +} + +// DescribeCapacityReservationFleetsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeCapacityReservationFleetsWithContext(_a0 context.Context, _a1 *ec2.DescribeCapacityReservationFleetsInput, _a2 ...request.Option) (*ec2.DescribeCapacityReservationFleetsOutput, error) { + _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 *ec2.DescribeCapacityReservationFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationFleetsInput, ...request.Option) (*ec2.DescribeCapacityReservationFleetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationFleetsInput, ...request.Option) *ec2.DescribeCapacityReservationFleetsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeCapacityReservationFleetsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeCapacityReservationFleetsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeCapacityReservations provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeCapacityReservations(_a0 *ec2.DescribeCapacityReservationsInput) (*ec2.DescribeCapacityReservationsOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeCapacityReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationsInput) (*ec2.DescribeCapacityReservationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationsInput) *ec2.DescribeCapacityReservationsOutput); ok { r0 = rf(_a0) } else { @@ -13515,7 +18147,6 @@ func (_m *MockFakeEC2) DescribeCapacityReservations(_a0 *ec2.DescribeCapacityRes } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeCapacityReservationsInput) error); ok { r1 = rf(_a0) } else { @@ -13565,6 +18196,10 @@ func (_m *MockFakeEC2) DescribeCapacityReservationsRequest(_a0 *ec2.DescribeCapa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeCapacityReservationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationsInput) (*request.Request, *ec2.DescribeCapacityReservationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCapacityReservationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13573,7 +18208,6 @@ func (_m *MockFakeEC2) DescribeCapacityReservationsRequest(_a0 *ec2.DescribeCapa } } - var r1 *ec2.DescribeCapacityReservationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeCapacityReservationsInput) *ec2.DescribeCapacityReservationsOutput); ok { r1 = rf(_a0) } else { @@ -13597,6 +18231,10 @@ func (_m *MockFakeEC2) DescribeCapacityReservationsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeCapacityReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationsInput, ...request.Option) (*ec2.DescribeCapacityReservationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationsInput, ...request.Option) *ec2.DescribeCapacityReservationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13605,7 +18243,6 @@ func (_m *MockFakeEC2) DescribeCapacityReservationsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeCapacityReservationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13620,6 +18257,10 @@ func (_m *MockFakeEC2) DescribeCarrierGateways(_a0 *ec2.DescribeCarrierGatewaysI ret := _m.Called(_a0) var r0 *ec2.DescribeCarrierGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCarrierGatewaysInput) (*ec2.DescribeCarrierGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCarrierGatewaysInput) *ec2.DescribeCarrierGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -13628,7 +18269,6 @@ func (_m *MockFakeEC2) DescribeCarrierGateways(_a0 *ec2.DescribeCarrierGatewaysI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeCarrierGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -13678,6 +18318,10 @@ func (_m *MockFakeEC2) DescribeCarrierGatewaysRequest(_a0 *ec2.DescribeCarrierGa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeCarrierGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeCarrierGatewaysInput) (*request.Request, *ec2.DescribeCarrierGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCarrierGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13686,7 +18330,6 @@ func (_m *MockFakeEC2) DescribeCarrierGatewaysRequest(_a0 *ec2.DescribeCarrierGa } } - var r1 *ec2.DescribeCarrierGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeCarrierGatewaysInput) *ec2.DescribeCarrierGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -13710,6 +18353,10 @@ func (_m *MockFakeEC2) DescribeCarrierGatewaysWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeCarrierGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCarrierGatewaysInput, ...request.Option) (*ec2.DescribeCarrierGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCarrierGatewaysInput, ...request.Option) *ec2.DescribeCarrierGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13718,7 +18365,6 @@ func (_m *MockFakeEC2) DescribeCarrierGatewaysWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeCarrierGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13733,6 +18379,10 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstances(_a0 *ec2.DescribeClassicLink ret := _m.Called(_a0) var r0 *ec2.DescribeClassicLinkInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClassicLinkInstancesInput) (*ec2.DescribeClassicLinkInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClassicLinkInstancesInput) *ec2.DescribeClassicLinkInstancesOutput); ok { r0 = rf(_a0) } else { @@ -13741,7 +18391,6 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstances(_a0 *ec2.DescribeClassicLink } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClassicLinkInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -13791,6 +18440,10 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstancesRequest(_a0 *ec2.DescribeClas ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClassicLinkInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClassicLinkInstancesInput) (*request.Request, *ec2.DescribeClassicLinkInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClassicLinkInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13799,7 +18452,6 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstancesRequest(_a0 *ec2.DescribeClas } } - var r1 *ec2.DescribeClassicLinkInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClassicLinkInstancesInput) *ec2.DescribeClassicLinkInstancesOutput); ok { r1 = rf(_a0) } else { @@ -13823,6 +18475,10 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstancesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeClassicLinkInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClassicLinkInstancesInput, ...request.Option) (*ec2.DescribeClassicLinkInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClassicLinkInstancesInput, ...request.Option) *ec2.DescribeClassicLinkInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13831,7 +18487,6 @@ func (_m *MockFakeEC2) DescribeClassicLinkInstancesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClassicLinkInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13846,6 +18501,10 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRules(_a0 *ec2.DescribeClie ret := _m.Called(_a0) var r0 *ec2.DescribeClientVpnAuthorizationRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) (*ec2.DescribeClientVpnAuthorizationRulesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) *ec2.DescribeClientVpnAuthorizationRulesOutput); ok { r0 = rf(_a0) } else { @@ -13854,7 +18513,6 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRules(_a0 *ec2.DescribeClie } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) error); ok { r1 = rf(_a0) } else { @@ -13904,6 +18562,10 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRulesRequest(_a0 *ec2.Descr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClientVpnAuthorizationRulesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) (*request.Request, *ec2.DescribeClientVpnAuthorizationRulesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13912,7 +18574,6 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRulesRequest(_a0 *ec2.Descr } } - var r1 *ec2.DescribeClientVpnAuthorizationRulesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnAuthorizationRulesInput) *ec2.DescribeClientVpnAuthorizationRulesOutput); ok { r1 = rf(_a0) } else { @@ -13936,6 +18597,10 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRulesWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.DescribeClientVpnAuthorizationRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnAuthorizationRulesInput, ...request.Option) (*ec2.DescribeClientVpnAuthorizationRulesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnAuthorizationRulesInput, ...request.Option) *ec2.DescribeClientVpnAuthorizationRulesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13944,7 +18609,6 @@ func (_m *MockFakeEC2) DescribeClientVpnAuthorizationRulesWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClientVpnAuthorizationRulesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13959,6 +18623,10 @@ func (_m *MockFakeEC2) DescribeClientVpnConnections(_a0 *ec2.DescribeClientVpnCo ret := _m.Called(_a0) var r0 *ec2.DescribeClientVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnConnectionsInput) (*ec2.DescribeClientVpnConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnConnectionsInput) *ec2.DescribeClientVpnConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -13967,7 +18635,6 @@ func (_m *MockFakeEC2) DescribeClientVpnConnections(_a0 *ec2.DescribeClientVpnCo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -14017,6 +18684,10 @@ func (_m *MockFakeEC2) DescribeClientVpnConnectionsRequest(_a0 *ec2.DescribeClie ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClientVpnConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnConnectionsInput) (*request.Request, *ec2.DescribeClientVpnConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14025,7 +18696,6 @@ func (_m *MockFakeEC2) DescribeClientVpnConnectionsRequest(_a0 *ec2.DescribeClie } } - var r1 *ec2.DescribeClientVpnConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnConnectionsInput) *ec2.DescribeClientVpnConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -14049,6 +18719,10 @@ func (_m *MockFakeEC2) DescribeClientVpnConnectionsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeClientVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnConnectionsInput, ...request.Option) (*ec2.DescribeClientVpnConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnConnectionsInput, ...request.Option) *ec2.DescribeClientVpnConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14057,7 +18731,6 @@ func (_m *MockFakeEC2) DescribeClientVpnConnectionsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClientVpnConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14072,6 +18745,10 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpoints(_a0 *ec2.DescribeClientVpnEndp ret := _m.Called(_a0) var r0 *ec2.DescribeClientVpnEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnEndpointsInput) (*ec2.DescribeClientVpnEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnEndpointsInput) *ec2.DescribeClientVpnEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -14080,7 +18757,6 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpoints(_a0 *ec2.DescribeClientVpnEndp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -14130,6 +18806,10 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpointsRequest(_a0 *ec2.DescribeClient ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClientVpnEndpointsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnEndpointsInput) (*request.Request, *ec2.DescribeClientVpnEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14138,7 +18818,6 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpointsRequest(_a0 *ec2.DescribeClient } } - var r1 *ec2.DescribeClientVpnEndpointsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnEndpointsInput) *ec2.DescribeClientVpnEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -14162,6 +18841,10 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpointsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeClientVpnEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnEndpointsInput, ...request.Option) (*ec2.DescribeClientVpnEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnEndpointsInput, ...request.Option) *ec2.DescribeClientVpnEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14170,7 +18853,6 @@ func (_m *MockFakeEC2) DescribeClientVpnEndpointsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClientVpnEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14185,6 +18867,10 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutes(_a0 *ec2.DescribeClientVpnRoutesI ret := _m.Called(_a0) var r0 *ec2.DescribeClientVpnRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnRoutesInput) (*ec2.DescribeClientVpnRoutesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnRoutesInput) *ec2.DescribeClientVpnRoutesOutput); ok { r0 = rf(_a0) } else { @@ -14193,7 +18879,6 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutes(_a0 *ec2.DescribeClientVpnRoutesI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnRoutesInput) error); ok { r1 = rf(_a0) } else { @@ -14243,6 +18928,10 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutesRequest(_a0 *ec2.DescribeClientVpn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClientVpnRoutesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnRoutesInput) (*request.Request, *ec2.DescribeClientVpnRoutesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnRoutesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14251,7 +18940,6 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutesRequest(_a0 *ec2.DescribeClientVpn } } - var r1 *ec2.DescribeClientVpnRoutesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnRoutesInput) *ec2.DescribeClientVpnRoutesOutput); ok { r1 = rf(_a0) } else { @@ -14275,6 +18963,10 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeClientVpnRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnRoutesInput, ...request.Option) (*ec2.DescribeClientVpnRoutesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnRoutesInput, ...request.Option) *ec2.DescribeClientVpnRoutesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14283,7 +18975,6 @@ func (_m *MockFakeEC2) DescribeClientVpnRoutesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClientVpnRoutesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14298,6 +18989,10 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworks(_a0 *ec2.DescribeClientVp ret := _m.Called(_a0) var r0 *ec2.DescribeClientVpnTargetNetworksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnTargetNetworksInput) (*ec2.DescribeClientVpnTargetNetworksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnTargetNetworksInput) *ec2.DescribeClientVpnTargetNetworksOutput); ok { r0 = rf(_a0) } else { @@ -14306,7 +19001,6 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworks(_a0 *ec2.DescribeClientVp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnTargetNetworksInput) error); ok { r1 = rf(_a0) } else { @@ -14356,6 +19050,10 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworksRequest(_a0 *ec2.DescribeC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeClientVpnTargetNetworksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnTargetNetworksInput) (*request.Request, *ec2.DescribeClientVpnTargetNetworksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeClientVpnTargetNetworksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14364,7 +19062,6 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworksRequest(_a0 *ec2.DescribeC } } - var r1 *ec2.DescribeClientVpnTargetNetworksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeClientVpnTargetNetworksInput) *ec2.DescribeClientVpnTargetNetworksOutput); ok { r1 = rf(_a0) } else { @@ -14388,6 +19085,10 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworksWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DescribeClientVpnTargetNetworksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnTargetNetworksInput, ...request.Option) (*ec2.DescribeClientVpnTargetNetworksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnTargetNetworksInput, ...request.Option) *ec2.DescribeClientVpnTargetNetworksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14396,7 +19097,6 @@ func (_m *MockFakeEC2) DescribeClientVpnTargetNetworksWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeClientVpnTargetNetworksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14411,6 +19111,10 @@ func (_m *MockFakeEC2) DescribeCoipPools(_a0 *ec2.DescribeCoipPoolsInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.DescribeCoipPoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCoipPoolsInput) (*ec2.DescribeCoipPoolsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCoipPoolsInput) *ec2.DescribeCoipPoolsOutput); ok { r0 = rf(_a0) } else { @@ -14419,7 +19123,6 @@ func (_m *MockFakeEC2) DescribeCoipPools(_a0 *ec2.DescribeCoipPoolsInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeCoipPoolsInput) error); ok { r1 = rf(_a0) } else { @@ -14469,6 +19172,10 @@ func (_m *MockFakeEC2) DescribeCoipPoolsRequest(_a0 *ec2.DescribeCoipPoolsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeCoipPoolsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeCoipPoolsInput) (*request.Request, *ec2.DescribeCoipPoolsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCoipPoolsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14477,7 +19184,6 @@ func (_m *MockFakeEC2) DescribeCoipPoolsRequest(_a0 *ec2.DescribeCoipPoolsInput) } } - var r1 *ec2.DescribeCoipPoolsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeCoipPoolsInput) *ec2.DescribeCoipPoolsOutput); ok { r1 = rf(_a0) } else { @@ -14501,6 +19207,10 @@ func (_m *MockFakeEC2) DescribeCoipPoolsWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DescribeCoipPoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCoipPoolsInput, ...request.Option) (*ec2.DescribeCoipPoolsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCoipPoolsInput, ...request.Option) *ec2.DescribeCoipPoolsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14509,7 +19219,6 @@ func (_m *MockFakeEC2) DescribeCoipPoolsWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeCoipPoolsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14524,6 +19233,10 @@ func (_m *MockFakeEC2) DescribeConversionTasks(_a0 *ec2.DescribeConversionTasksI ret := _m.Called(_a0) var r0 *ec2.DescribeConversionTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeConversionTasksInput) (*ec2.DescribeConversionTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeConversionTasksInput) *ec2.DescribeConversionTasksOutput); ok { r0 = rf(_a0) } else { @@ -14532,7 +19245,6 @@ func (_m *MockFakeEC2) DescribeConversionTasks(_a0 *ec2.DescribeConversionTasksI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeConversionTasksInput) error); ok { r1 = rf(_a0) } else { @@ -14547,6 +19259,10 @@ func (_m *MockFakeEC2) DescribeConversionTasksRequest(_a0 *ec2.DescribeConversio ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeConversionTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeConversionTasksInput) (*request.Request, *ec2.DescribeConversionTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeConversionTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14555,7 +19271,6 @@ func (_m *MockFakeEC2) DescribeConversionTasksRequest(_a0 *ec2.DescribeConversio } } - var r1 *ec2.DescribeConversionTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeConversionTasksInput) *ec2.DescribeConversionTasksOutput); ok { r1 = rf(_a0) } else { @@ -14579,6 +19294,10 @@ func (_m *MockFakeEC2) DescribeConversionTasksWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeConversionTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeConversionTasksInput, ...request.Option) (*ec2.DescribeConversionTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeConversionTasksInput, ...request.Option) *ec2.DescribeConversionTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14587,7 +19306,6 @@ func (_m *MockFakeEC2) DescribeConversionTasksWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeConversionTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14602,6 +19320,10 @@ func (_m *MockFakeEC2) DescribeCustomerGateways(_a0 *ec2.DescribeCustomerGateway ret := _m.Called(_a0) var r0 *ec2.DescribeCustomerGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeCustomerGatewaysInput) (*ec2.DescribeCustomerGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCustomerGatewaysInput) *ec2.DescribeCustomerGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -14610,7 +19332,6 @@ func (_m *MockFakeEC2) DescribeCustomerGateways(_a0 *ec2.DescribeCustomerGateway } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeCustomerGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -14625,6 +19346,10 @@ func (_m *MockFakeEC2) DescribeCustomerGatewaysRequest(_a0 *ec2.DescribeCustomer ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeCustomerGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeCustomerGatewaysInput) (*request.Request, *ec2.DescribeCustomerGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeCustomerGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14633,7 +19358,6 @@ func (_m *MockFakeEC2) DescribeCustomerGatewaysRequest(_a0 *ec2.DescribeCustomer } } - var r1 *ec2.DescribeCustomerGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeCustomerGatewaysInput) *ec2.DescribeCustomerGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -14657,6 +19381,10 @@ func (_m *MockFakeEC2) DescribeCustomerGatewaysWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeCustomerGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCustomerGatewaysInput, ...request.Option) (*ec2.DescribeCustomerGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCustomerGatewaysInput, ...request.Option) *ec2.DescribeCustomerGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14665,7 +19393,6 @@ func (_m *MockFakeEC2) DescribeCustomerGatewaysWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeCustomerGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14680,6 +19407,10 @@ func (_m *MockFakeEC2) DescribeDhcpOptions(_a0 *ec2.DescribeDhcpOptionsInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeDhcpOptionsInput) (*ec2.DescribeDhcpOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeDhcpOptionsInput) *ec2.DescribeDhcpOptionsOutput); ok { r0 = rf(_a0) } else { @@ -14688,7 +19419,6 @@ func (_m *MockFakeEC2) DescribeDhcpOptions(_a0 *ec2.DescribeDhcpOptionsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeDhcpOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -14738,6 +19468,10 @@ func (_m *MockFakeEC2) DescribeDhcpOptionsRequest(_a0 *ec2.DescribeDhcpOptionsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeDhcpOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeDhcpOptionsInput) (*request.Request, *ec2.DescribeDhcpOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeDhcpOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14746,7 +19480,6 @@ func (_m *MockFakeEC2) DescribeDhcpOptionsRequest(_a0 *ec2.DescribeDhcpOptionsIn } } - var r1 *ec2.DescribeDhcpOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeDhcpOptionsInput) *ec2.DescribeDhcpOptionsOutput); ok { r1 = rf(_a0) } else { @@ -14770,6 +19503,10 @@ func (_m *MockFakeEC2) DescribeDhcpOptionsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeDhcpOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeDhcpOptionsInput, ...request.Option) (*ec2.DescribeDhcpOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeDhcpOptionsInput, ...request.Option) *ec2.DescribeDhcpOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14778,7 +19515,6 @@ func (_m *MockFakeEC2) DescribeDhcpOptionsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeDhcpOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14793,6 +19529,10 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGateways(_a0 *ec2.DescribeEgres ret := _m.Called(_a0) var r0 *ec2.DescribeEgressOnlyInternetGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) (*ec2.DescribeEgressOnlyInternetGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) *ec2.DescribeEgressOnlyInternetGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -14801,7 +19541,6 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGateways(_a0 *ec2.DescribeEgres } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -14851,6 +19590,10 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGatewaysRequest(_a0 *ec2.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeEgressOnlyInternetGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) (*request.Request, *ec2.DescribeEgressOnlyInternetGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14859,7 +19602,6 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGatewaysRequest(_a0 *ec2.Descri } } - var r1 *ec2.DescribeEgressOnlyInternetGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeEgressOnlyInternetGatewaysInput) *ec2.DescribeEgressOnlyInternetGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -14883,6 +19625,10 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGatewaysWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.DescribeEgressOnlyInternetGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeEgressOnlyInternetGatewaysInput, ...request.Option) (*ec2.DescribeEgressOnlyInternetGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeEgressOnlyInternetGatewaysInput, ...request.Option) *ec2.DescribeEgressOnlyInternetGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14891,7 +19637,6 @@ func (_m *MockFakeEC2) DescribeEgressOnlyInternetGatewaysWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeEgressOnlyInternetGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14906,6 +19651,10 @@ func (_m *MockFakeEC2) DescribeElasticGpus(_a0 *ec2.DescribeElasticGpusInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeElasticGpusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeElasticGpusInput) (*ec2.DescribeElasticGpusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeElasticGpusInput) *ec2.DescribeElasticGpusOutput); ok { r0 = rf(_a0) } else { @@ -14914,7 +19663,6 @@ func (_m *MockFakeEC2) DescribeElasticGpus(_a0 *ec2.DescribeElasticGpusInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeElasticGpusInput) error); ok { r1 = rf(_a0) } else { @@ -14929,6 +19677,10 @@ func (_m *MockFakeEC2) DescribeElasticGpusRequest(_a0 *ec2.DescribeElasticGpusIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeElasticGpusOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeElasticGpusInput) (*request.Request, *ec2.DescribeElasticGpusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeElasticGpusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -14937,7 +19689,6 @@ func (_m *MockFakeEC2) DescribeElasticGpusRequest(_a0 *ec2.DescribeElasticGpusIn } } - var r1 *ec2.DescribeElasticGpusOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeElasticGpusInput) *ec2.DescribeElasticGpusOutput); ok { r1 = rf(_a0) } else { @@ -14961,6 +19712,10 @@ func (_m *MockFakeEC2) DescribeElasticGpusWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeElasticGpusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeElasticGpusInput, ...request.Option) (*ec2.DescribeElasticGpusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeElasticGpusInput, ...request.Option) *ec2.DescribeElasticGpusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -14969,7 +19724,6 @@ func (_m *MockFakeEC2) DescribeElasticGpusWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeElasticGpusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -14984,6 +19738,10 @@ func (_m *MockFakeEC2) DescribeExportImageTasks(_a0 *ec2.DescribeExportImageTask ret := _m.Called(_a0) var r0 *ec2.DescribeExportImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeExportImageTasksInput) (*ec2.DescribeExportImageTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeExportImageTasksInput) *ec2.DescribeExportImageTasksOutput); ok { r0 = rf(_a0) } else { @@ -14992,7 +19750,6 @@ func (_m *MockFakeEC2) DescribeExportImageTasks(_a0 *ec2.DescribeExportImageTask } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeExportImageTasksInput) error); ok { r1 = rf(_a0) } else { @@ -15042,6 +19799,10 @@ func (_m *MockFakeEC2) DescribeExportImageTasksRequest(_a0 *ec2.DescribeExportIm ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeExportImageTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeExportImageTasksInput) (*request.Request, *ec2.DescribeExportImageTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeExportImageTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15050,7 +19811,6 @@ func (_m *MockFakeEC2) DescribeExportImageTasksRequest(_a0 *ec2.DescribeExportIm } } - var r1 *ec2.DescribeExportImageTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeExportImageTasksInput) *ec2.DescribeExportImageTasksOutput); ok { r1 = rf(_a0) } else { @@ -15074,6 +19834,10 @@ func (_m *MockFakeEC2) DescribeExportImageTasksWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeExportImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportImageTasksInput, ...request.Option) (*ec2.DescribeExportImageTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportImageTasksInput, ...request.Option) *ec2.DescribeExportImageTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15082,7 +19846,6 @@ func (_m *MockFakeEC2) DescribeExportImageTasksWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeExportImageTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15097,6 +19860,10 @@ func (_m *MockFakeEC2) DescribeExportTasks(_a0 *ec2.DescribeExportTasksInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeExportTasksInput) (*ec2.DescribeExportTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeExportTasksInput) *ec2.DescribeExportTasksOutput); ok { r0 = rf(_a0) } else { @@ -15105,7 +19872,6 @@ func (_m *MockFakeEC2) DescribeExportTasks(_a0 *ec2.DescribeExportTasksInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeExportTasksInput) error); ok { r1 = rf(_a0) } else { @@ -15120,6 +19886,10 @@ func (_m *MockFakeEC2) DescribeExportTasksRequest(_a0 *ec2.DescribeExportTasksIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeExportTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeExportTasksInput) (*request.Request, *ec2.DescribeExportTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeExportTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15128,7 +19898,6 @@ func (_m *MockFakeEC2) DescribeExportTasksRequest(_a0 *ec2.DescribeExportTasksIn } } - var r1 *ec2.DescribeExportTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeExportTasksInput) *ec2.DescribeExportTasksOutput); ok { r1 = rf(_a0) } else { @@ -15152,6 +19921,10 @@ func (_m *MockFakeEC2) DescribeExportTasksWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportTasksInput, ...request.Option) (*ec2.DescribeExportTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportTasksInput, ...request.Option) *ec2.DescribeExportTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15160,7 +19933,6 @@ func (_m *MockFakeEC2) DescribeExportTasksWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeExportTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15170,11 +19942,137 @@ func (_m *MockFakeEC2) DescribeExportTasksWithContext(_a0 context.Context, _a1 * return r0, r1 } +// DescribeFastLaunchImages provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeFastLaunchImages(_a0 *ec2.DescribeFastLaunchImagesInput) (*ec2.DescribeFastLaunchImagesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeFastLaunchImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastLaunchImagesInput) (*ec2.DescribeFastLaunchImagesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastLaunchImagesInput) *ec2.DescribeFastLaunchImagesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeFastLaunchImagesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeFastLaunchImagesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeFastLaunchImagesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeFastLaunchImagesPages(_a0 *ec2.DescribeFastLaunchImagesInput, _a1 func(*ec2.DescribeFastLaunchImagesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastLaunchImagesInput, func(*ec2.DescribeFastLaunchImagesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeFastLaunchImagesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeFastLaunchImagesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeFastLaunchImagesInput, _a2 func(*ec2.DescribeFastLaunchImagesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeFastLaunchImagesInput, func(*ec2.DescribeFastLaunchImagesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeFastLaunchImagesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeFastLaunchImagesRequest(_a0 *ec2.DescribeFastLaunchImagesInput) (*request.Request, *ec2.DescribeFastLaunchImagesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeFastLaunchImagesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastLaunchImagesInput) (*request.Request, *ec2.DescribeFastLaunchImagesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastLaunchImagesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeFastLaunchImagesInput) *ec2.DescribeFastLaunchImagesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeFastLaunchImagesOutput) + } + } + + return r0, r1 +} + +// DescribeFastLaunchImagesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeFastLaunchImagesWithContext(_a0 context.Context, _a1 *ec2.DescribeFastLaunchImagesInput, _a2 ...request.Option) (*ec2.DescribeFastLaunchImagesOutput, error) { + _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 *ec2.DescribeFastLaunchImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastLaunchImagesInput, ...request.Option) (*ec2.DescribeFastLaunchImagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastLaunchImagesInput, ...request.Option) *ec2.DescribeFastLaunchImagesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeFastLaunchImagesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFastLaunchImagesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeFastSnapshotRestores provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeFastSnapshotRestores(_a0 *ec2.DescribeFastSnapshotRestoresInput) (*ec2.DescribeFastSnapshotRestoresOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastSnapshotRestoresInput) (*ec2.DescribeFastSnapshotRestoresOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFastSnapshotRestoresInput) *ec2.DescribeFastSnapshotRestoresOutput); ok { r0 = rf(_a0) } else { @@ -15183,7 +20081,6 @@ func (_m *MockFakeEC2) DescribeFastSnapshotRestores(_a0 *ec2.DescribeFastSnapsho } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFastSnapshotRestoresInput) error); ok { r1 = rf(_a0) } else { @@ -15233,6 +20130,10 @@ func (_m *MockFakeEC2) DescribeFastSnapshotRestoresRequest(_a0 *ec2.DescribeFast ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFastSnapshotRestoresOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFastSnapshotRestoresInput) (*request.Request, *ec2.DescribeFastSnapshotRestoresOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFastSnapshotRestoresInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15241,7 +20142,6 @@ func (_m *MockFakeEC2) DescribeFastSnapshotRestoresRequest(_a0 *ec2.DescribeFast } } - var r1 *ec2.DescribeFastSnapshotRestoresOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFastSnapshotRestoresInput) *ec2.DescribeFastSnapshotRestoresOutput); ok { r1 = rf(_a0) } else { @@ -15265,6 +20165,10 @@ func (_m *MockFakeEC2) DescribeFastSnapshotRestoresWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastSnapshotRestoresInput, ...request.Option) (*ec2.DescribeFastSnapshotRestoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastSnapshotRestoresInput, ...request.Option) *ec2.DescribeFastSnapshotRestoresOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15273,7 +20177,6 @@ func (_m *MockFakeEC2) DescribeFastSnapshotRestoresWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFastSnapshotRestoresInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15288,6 +20191,10 @@ func (_m *MockFakeEC2) DescribeFleetHistory(_a0 *ec2.DescribeFleetHistoryInput) ret := _m.Called(_a0) var r0 *ec2.DescribeFleetHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetHistoryInput) (*ec2.DescribeFleetHistoryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetHistoryInput) *ec2.DescribeFleetHistoryOutput); ok { r0 = rf(_a0) } else { @@ -15296,7 +20203,6 @@ func (_m *MockFakeEC2) DescribeFleetHistory(_a0 *ec2.DescribeFleetHistoryInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetHistoryInput) error); ok { r1 = rf(_a0) } else { @@ -15311,6 +20217,10 @@ func (_m *MockFakeEC2) DescribeFleetHistoryRequest(_a0 *ec2.DescribeFleetHistory ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFleetHistoryOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetHistoryInput) (*request.Request, *ec2.DescribeFleetHistoryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetHistoryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15319,7 +20229,6 @@ func (_m *MockFakeEC2) DescribeFleetHistoryRequest(_a0 *ec2.DescribeFleetHistory } } - var r1 *ec2.DescribeFleetHistoryOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetHistoryInput) *ec2.DescribeFleetHistoryOutput); ok { r1 = rf(_a0) } else { @@ -15343,6 +20252,10 @@ func (_m *MockFakeEC2) DescribeFleetHistoryWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeFleetHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetHistoryInput, ...request.Option) (*ec2.DescribeFleetHistoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetHistoryInput, ...request.Option) *ec2.DescribeFleetHistoryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15351,7 +20264,6 @@ func (_m *MockFakeEC2) DescribeFleetHistoryWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFleetHistoryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15366,6 +20278,10 @@ func (_m *MockFakeEC2) DescribeFleetInstances(_a0 *ec2.DescribeFleetInstancesInp ret := _m.Called(_a0) var r0 *ec2.DescribeFleetInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetInstancesInput) (*ec2.DescribeFleetInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetInstancesInput) *ec2.DescribeFleetInstancesOutput); ok { r0 = rf(_a0) } else { @@ -15374,7 +20290,6 @@ func (_m *MockFakeEC2) DescribeFleetInstances(_a0 *ec2.DescribeFleetInstancesInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -15389,6 +20304,10 @@ func (_m *MockFakeEC2) DescribeFleetInstancesRequest(_a0 *ec2.DescribeFleetInsta ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFleetInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetInstancesInput) (*request.Request, *ec2.DescribeFleetInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15397,7 +20316,6 @@ func (_m *MockFakeEC2) DescribeFleetInstancesRequest(_a0 *ec2.DescribeFleetInsta } } - var r1 *ec2.DescribeFleetInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetInstancesInput) *ec2.DescribeFleetInstancesOutput); ok { r1 = rf(_a0) } else { @@ -15421,6 +20339,10 @@ func (_m *MockFakeEC2) DescribeFleetInstancesWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeFleetInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetInstancesInput, ...request.Option) (*ec2.DescribeFleetInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetInstancesInput, ...request.Option) *ec2.DescribeFleetInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15429,7 +20351,6 @@ func (_m *MockFakeEC2) DescribeFleetInstancesWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFleetInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15444,6 +20365,10 @@ func (_m *MockFakeEC2) DescribeFleets(_a0 *ec2.DescribeFleetsInput) (*ec2.Descri ret := _m.Called(_a0) var r0 *ec2.DescribeFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetsInput) (*ec2.DescribeFleetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetsInput) *ec2.DescribeFleetsOutput); ok { r0 = rf(_a0) } else { @@ -15452,7 +20377,6 @@ func (_m *MockFakeEC2) DescribeFleets(_a0 *ec2.DescribeFleetsInput) (*ec2.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetsInput) error); ok { r1 = rf(_a0) } else { @@ -15502,6 +20426,10 @@ func (_m *MockFakeEC2) DescribeFleetsRequest(_a0 *ec2.DescribeFleetsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFleetsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetsInput) (*request.Request, *ec2.DescribeFleetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFleetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15510,7 +20438,6 @@ func (_m *MockFakeEC2) DescribeFleetsRequest(_a0 *ec2.DescribeFleetsInput) (*req } } - var r1 *ec2.DescribeFleetsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFleetsInput) *ec2.DescribeFleetsOutput); ok { r1 = rf(_a0) } else { @@ -15534,6 +20461,10 @@ func (_m *MockFakeEC2) DescribeFleetsWithContext(_a0 context.Context, _a1 *ec2.D ret := _m.Called(_ca...) var r0 *ec2.DescribeFleetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetsInput, ...request.Option) (*ec2.DescribeFleetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetsInput, ...request.Option) *ec2.DescribeFleetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15542,7 +20473,6 @@ func (_m *MockFakeEC2) DescribeFleetsWithContext(_a0 context.Context, _a1 *ec2.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFleetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15557,6 +20487,10 @@ func (_m *MockFakeEC2) DescribeFlowLogs(_a0 *ec2.DescribeFlowLogsInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DescribeFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFlowLogsInput) (*ec2.DescribeFlowLogsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFlowLogsInput) *ec2.DescribeFlowLogsOutput); ok { r0 = rf(_a0) } else { @@ -15565,7 +20499,6 @@ func (_m *MockFakeEC2) DescribeFlowLogs(_a0 *ec2.DescribeFlowLogsInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFlowLogsInput) error); ok { r1 = rf(_a0) } else { @@ -15615,6 +20548,10 @@ func (_m *MockFakeEC2) DescribeFlowLogsRequest(_a0 *ec2.DescribeFlowLogsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFlowLogsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFlowLogsInput) (*request.Request, *ec2.DescribeFlowLogsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFlowLogsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15623,7 +20560,6 @@ func (_m *MockFakeEC2) DescribeFlowLogsRequest(_a0 *ec2.DescribeFlowLogsInput) ( } } - var r1 *ec2.DescribeFlowLogsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFlowLogsInput) *ec2.DescribeFlowLogsOutput); ok { r1 = rf(_a0) } else { @@ -15647,6 +20583,10 @@ func (_m *MockFakeEC2) DescribeFlowLogsWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DescribeFlowLogsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFlowLogsInput, ...request.Option) (*ec2.DescribeFlowLogsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFlowLogsInput, ...request.Option) *ec2.DescribeFlowLogsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15655,7 +20595,6 @@ func (_m *MockFakeEC2) DescribeFlowLogsWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFlowLogsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15670,6 +20609,10 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttribute(_a0 *ec2.DescribeFpgaImageAttr ret := _m.Called(_a0) var r0 *ec2.DescribeFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImageAttributeInput) (*ec2.DescribeFpgaImageAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImageAttributeInput) *ec2.DescribeFpgaImageAttributeOutput); ok { r0 = rf(_a0) } else { @@ -15678,7 +20621,6 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttribute(_a0 *ec2.DescribeFpgaImageAttr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFpgaImageAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -15693,6 +20635,10 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttributeRequest(_a0 *ec2.DescribeFpgaIm ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFpgaImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImageAttributeInput) (*request.Request, *ec2.DescribeFpgaImageAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15701,7 +20647,6 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttributeRequest(_a0 *ec2.DescribeFpgaIm } } - var r1 *ec2.DescribeFpgaImageAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFpgaImageAttributeInput) *ec2.DescribeFpgaImageAttributeOutput); ok { r1 = rf(_a0) } else { @@ -15725,6 +20670,10 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttributeWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImageAttributeInput, ...request.Option) (*ec2.DescribeFpgaImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImageAttributeInput, ...request.Option) *ec2.DescribeFpgaImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15733,7 +20682,6 @@ func (_m *MockFakeEC2) DescribeFpgaImageAttributeWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFpgaImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15748,6 +20696,10 @@ func (_m *MockFakeEC2) DescribeFpgaImages(_a0 *ec2.DescribeFpgaImagesInput) (*ec ret := _m.Called(_a0) var r0 *ec2.DescribeFpgaImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImagesInput) (*ec2.DescribeFpgaImagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImagesInput) *ec2.DescribeFpgaImagesOutput); ok { r0 = rf(_a0) } else { @@ -15756,7 +20708,6 @@ func (_m *MockFakeEC2) DescribeFpgaImages(_a0 *ec2.DescribeFpgaImagesInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeFpgaImagesInput) error); ok { r1 = rf(_a0) } else { @@ -15806,6 +20757,10 @@ func (_m *MockFakeEC2) DescribeFpgaImagesRequest(_a0 *ec2.DescribeFpgaImagesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeFpgaImagesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImagesInput) (*request.Request, *ec2.DescribeFpgaImagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeFpgaImagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15814,7 +20769,6 @@ func (_m *MockFakeEC2) DescribeFpgaImagesRequest(_a0 *ec2.DescribeFpgaImagesInpu } } - var r1 *ec2.DescribeFpgaImagesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeFpgaImagesInput) *ec2.DescribeFpgaImagesOutput); ok { r1 = rf(_a0) } else { @@ -15838,6 +20792,10 @@ func (_m *MockFakeEC2) DescribeFpgaImagesWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.DescribeFpgaImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImagesInput, ...request.Option) (*ec2.DescribeFpgaImagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImagesInput, ...request.Option) *ec2.DescribeFpgaImagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15846,7 +20804,6 @@ func (_m *MockFakeEC2) DescribeFpgaImagesWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeFpgaImagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15861,6 +20818,10 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferings(_a0 *ec2.DescribeHostRes ret := _m.Called(_a0) var r0 *ec2.DescribeHostReservationOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationOfferingsInput) (*ec2.DescribeHostReservationOfferingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationOfferingsInput) *ec2.DescribeHostReservationOfferingsOutput); ok { r0 = rf(_a0) } else { @@ -15869,7 +20830,6 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferings(_a0 *ec2.DescribeHostRes } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeHostReservationOfferingsInput) error); ok { r1 = rf(_a0) } else { @@ -15919,6 +20879,10 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferingsRequest(_a0 *ec2.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeHostReservationOfferingsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationOfferingsInput) (*request.Request, *ec2.DescribeHostReservationOfferingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationOfferingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -15927,7 +20891,6 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferingsRequest(_a0 *ec2.Describe } } - var r1 *ec2.DescribeHostReservationOfferingsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeHostReservationOfferingsInput) *ec2.DescribeHostReservationOfferingsOutput); ok { r1 = rf(_a0) } else { @@ -15951,6 +20914,10 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferingsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *ec2.DescribeHostReservationOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationOfferingsInput, ...request.Option) (*ec2.DescribeHostReservationOfferingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationOfferingsInput, ...request.Option) *ec2.DescribeHostReservationOfferingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -15959,7 +20926,6 @@ func (_m *MockFakeEC2) DescribeHostReservationOfferingsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeHostReservationOfferingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -15974,6 +20940,10 @@ func (_m *MockFakeEC2) DescribeHostReservations(_a0 *ec2.DescribeHostReservation ret := _m.Called(_a0) var r0 *ec2.DescribeHostReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationsInput) (*ec2.DescribeHostReservationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationsInput) *ec2.DescribeHostReservationsOutput); ok { r0 = rf(_a0) } else { @@ -15982,7 +20952,6 @@ func (_m *MockFakeEC2) DescribeHostReservations(_a0 *ec2.DescribeHostReservation } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeHostReservationsInput) error); ok { r1 = rf(_a0) } else { @@ -16032,6 +21001,10 @@ func (_m *MockFakeEC2) DescribeHostReservationsRequest(_a0 *ec2.DescribeHostRese ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeHostReservationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationsInput) (*request.Request, *ec2.DescribeHostReservationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostReservationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16040,7 +21013,6 @@ func (_m *MockFakeEC2) DescribeHostReservationsRequest(_a0 *ec2.DescribeHostRese } } - var r1 *ec2.DescribeHostReservationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeHostReservationsInput) *ec2.DescribeHostReservationsOutput); ok { r1 = rf(_a0) } else { @@ -16064,6 +21036,10 @@ func (_m *MockFakeEC2) DescribeHostReservationsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeHostReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationsInput, ...request.Option) (*ec2.DescribeHostReservationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationsInput, ...request.Option) *ec2.DescribeHostReservationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16072,7 +21048,6 @@ func (_m *MockFakeEC2) DescribeHostReservationsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeHostReservationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16087,6 +21062,10 @@ func (_m *MockFakeEC2) DescribeHosts(_a0 *ec2.DescribeHostsInput) (*ec2.Describe ret := _m.Called(_a0) var r0 *ec2.DescribeHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostsInput) (*ec2.DescribeHostsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostsInput) *ec2.DescribeHostsOutput); ok { r0 = rf(_a0) } else { @@ -16095,7 +21074,6 @@ func (_m *MockFakeEC2) DescribeHosts(_a0 *ec2.DescribeHostsInput) (*ec2.Describe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeHostsInput) error); ok { r1 = rf(_a0) } else { @@ -16145,6 +21123,10 @@ func (_m *MockFakeEC2) DescribeHostsRequest(_a0 *ec2.DescribeHostsInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeHostsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeHostsInput) (*request.Request, *ec2.DescribeHostsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeHostsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16153,7 +21135,6 @@ func (_m *MockFakeEC2) DescribeHostsRequest(_a0 *ec2.DescribeHostsInput) (*reque } } - var r1 *ec2.DescribeHostsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeHostsInput) *ec2.DescribeHostsOutput); ok { r1 = rf(_a0) } else { @@ -16177,6 +21158,10 @@ func (_m *MockFakeEC2) DescribeHostsWithContext(_a0 context.Context, _a1 *ec2.De ret := _m.Called(_ca...) var r0 *ec2.DescribeHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostsInput, ...request.Option) (*ec2.DescribeHostsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostsInput, ...request.Option) *ec2.DescribeHostsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16185,7 +21170,6 @@ func (_m *MockFakeEC2) DescribeHostsWithContext(_a0 context.Context, _a1 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeHostsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16200,6 +21184,10 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociations(_a0 *ec2.DescribeI ret := _m.Called(_a0) var r0 *ec2.DescribeIamInstanceProfileAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) (*ec2.DescribeIamInstanceProfileAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) *ec2.DescribeIamInstanceProfileAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -16208,7 +21196,6 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociations(_a0 *ec2.DescribeI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -16258,6 +21245,10 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociationsRequest(_a0 *ec2.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeIamInstanceProfileAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) (*request.Request, *ec2.DescribeIamInstanceProfileAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16266,7 +21257,6 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociationsRequest(_a0 *ec2.De } } - var r1 *ec2.DescribeIamInstanceProfileAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeIamInstanceProfileAssociationsInput) *ec2.DescribeIamInstanceProfileAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -16290,6 +21280,10 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociationsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *ec2.DescribeIamInstanceProfileAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIamInstanceProfileAssociationsInput, ...request.Option) (*ec2.DescribeIamInstanceProfileAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIamInstanceProfileAssociationsInput, ...request.Option) *ec2.DescribeIamInstanceProfileAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16298,7 +21292,6 @@ func (_m *MockFakeEC2) DescribeIamInstanceProfileAssociationsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIamInstanceProfileAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16313,6 +21306,10 @@ func (_m *MockFakeEC2) DescribeIdFormat(_a0 *ec2.DescribeIdFormatInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DescribeIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIdFormatInput) (*ec2.DescribeIdFormatOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIdFormatInput) *ec2.DescribeIdFormatOutput); ok { r0 = rf(_a0) } else { @@ -16321,7 +21318,6 @@ func (_m *MockFakeEC2) DescribeIdFormat(_a0 *ec2.DescribeIdFormatInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeIdFormatInput) error); ok { r1 = rf(_a0) } else { @@ -16336,6 +21332,10 @@ func (_m *MockFakeEC2) DescribeIdFormatRequest(_a0 *ec2.DescribeIdFormatInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIdFormatInput) (*request.Request, *ec2.DescribeIdFormatOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16344,7 +21344,6 @@ func (_m *MockFakeEC2) DescribeIdFormatRequest(_a0 *ec2.DescribeIdFormatInput) ( } } - var r1 *ec2.DescribeIdFormatOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeIdFormatInput) *ec2.DescribeIdFormatOutput); ok { r1 = rf(_a0) } else { @@ -16368,6 +21367,10 @@ func (_m *MockFakeEC2) DescribeIdFormatWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DescribeIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdFormatInput, ...request.Option) (*ec2.DescribeIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdFormatInput, ...request.Option) *ec2.DescribeIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16376,7 +21379,6 @@ func (_m *MockFakeEC2) DescribeIdFormatWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16391,6 +21393,10 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormat(_a0 *ec2.DescribeIdentityIdForma ret := _m.Called(_a0) var r0 *ec2.DescribeIdentityIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIdentityIdFormatInput) (*ec2.DescribeIdentityIdFormatOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIdentityIdFormatInput) *ec2.DescribeIdentityIdFormatOutput); ok { r0 = rf(_a0) } else { @@ -16399,7 +21405,6 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormat(_a0 *ec2.DescribeIdentityIdForma } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeIdentityIdFormatInput) error); ok { r1 = rf(_a0) } else { @@ -16414,6 +21419,10 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormatRequest(_a0 *ec2.DescribeIdentity ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeIdentityIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIdentityIdFormatInput) (*request.Request, *ec2.DescribeIdentityIdFormatOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIdentityIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16422,7 +21431,6 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormatRequest(_a0 *ec2.DescribeIdentity } } - var r1 *ec2.DescribeIdentityIdFormatOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeIdentityIdFormatInput) *ec2.DescribeIdentityIdFormatOutput); ok { r1 = rf(_a0) } else { @@ -16446,6 +21454,10 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormatWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeIdentityIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdentityIdFormatInput, ...request.Option) (*ec2.DescribeIdentityIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdentityIdFormatInput, ...request.Option) *ec2.DescribeIdentityIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16454,7 +21466,6 @@ func (_m *MockFakeEC2) DescribeIdentityIdFormatWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIdentityIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16469,6 +21480,10 @@ func (_m *MockFakeEC2) DescribeImageAttribute(_a0 *ec2.DescribeImageAttributeInp ret := _m.Called(_a0) var r0 *ec2.DescribeImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeImageAttributeInput) (*ec2.DescribeImageAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImageAttributeInput) *ec2.DescribeImageAttributeOutput); ok { r0 = rf(_a0) } else { @@ -16477,7 +21492,6 @@ func (_m *MockFakeEC2) DescribeImageAttribute(_a0 *ec2.DescribeImageAttributeInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeImageAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -16492,6 +21506,10 @@ func (_m *MockFakeEC2) DescribeImageAttributeRequest(_a0 *ec2.DescribeImageAttri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeImageAttributeInput) (*request.Request, *ec2.DescribeImageAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16500,7 +21518,6 @@ func (_m *MockFakeEC2) DescribeImageAttributeRequest(_a0 *ec2.DescribeImageAttri } } - var r1 *ec2.DescribeImageAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeImageAttributeInput) *ec2.DescribeImageAttributeOutput); ok { r1 = rf(_a0) } else { @@ -16524,6 +21541,10 @@ func (_m *MockFakeEC2) DescribeImageAttributeWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImageAttributeInput, ...request.Option) (*ec2.DescribeImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImageAttributeInput, ...request.Option) *ec2.DescribeImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16532,7 +21553,6 @@ func (_m *MockFakeEC2) DescribeImageAttributeWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16547,6 +21567,10 @@ func (_m *MockFakeEC2) DescribeImages(_a0 *ec2.DescribeImagesInput) (*ec2.Descri ret := _m.Called(_a0) var r0 *ec2.DescribeImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImagesInput) *ec2.DescribeImagesOutput); ok { r0 = rf(_a0) } else { @@ -16555,7 +21579,6 @@ func (_m *MockFakeEC2) DescribeImages(_a0 *ec2.DescribeImagesInput) (*ec2.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeImagesInput) error); ok { r1 = rf(_a0) } else { @@ -16570,6 +21593,10 @@ func (_m *MockFakeEC2) DescribeImagesRequest(_a0 *ec2.DescribeImagesInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeImagesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeImagesInput) (*request.Request, *ec2.DescribeImagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16578,7 +21605,6 @@ func (_m *MockFakeEC2) DescribeImagesRequest(_a0 *ec2.DescribeImagesInput) (*req } } - var r1 *ec2.DescribeImagesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeImagesInput) *ec2.DescribeImagesOutput); ok { r1 = rf(_a0) } else { @@ -16602,6 +21628,10 @@ func (_m *MockFakeEC2) DescribeImagesWithContext(_a0 context.Context, _a1 *ec2.D ret := _m.Called(_ca...) var r0 *ec2.DescribeImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImagesInput, ...request.Option) (*ec2.DescribeImagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImagesInput, ...request.Option) *ec2.DescribeImagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16610,7 +21640,6 @@ func (_m *MockFakeEC2) DescribeImagesWithContext(_a0 context.Context, _a1 *ec2.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeImagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16625,6 +21654,10 @@ func (_m *MockFakeEC2) DescribeImportImageTasks(_a0 *ec2.DescribeImportImageTask ret := _m.Called(_a0) var r0 *ec2.DescribeImportImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeImportImageTasksInput) (*ec2.DescribeImportImageTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImportImageTasksInput) *ec2.DescribeImportImageTasksOutput); ok { r0 = rf(_a0) } else { @@ -16633,7 +21666,6 @@ func (_m *MockFakeEC2) DescribeImportImageTasks(_a0 *ec2.DescribeImportImageTask } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeImportImageTasksInput) error); ok { r1 = rf(_a0) } else { @@ -16683,6 +21715,10 @@ func (_m *MockFakeEC2) DescribeImportImageTasksRequest(_a0 *ec2.DescribeImportIm ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeImportImageTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeImportImageTasksInput) (*request.Request, *ec2.DescribeImportImageTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImportImageTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16691,7 +21727,6 @@ func (_m *MockFakeEC2) DescribeImportImageTasksRequest(_a0 *ec2.DescribeImportIm } } - var r1 *ec2.DescribeImportImageTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeImportImageTasksInput) *ec2.DescribeImportImageTasksOutput); ok { r1 = rf(_a0) } else { @@ -16715,6 +21750,10 @@ func (_m *MockFakeEC2) DescribeImportImageTasksWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeImportImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportImageTasksInput, ...request.Option) (*ec2.DescribeImportImageTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportImageTasksInput, ...request.Option) *ec2.DescribeImportImageTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16723,7 +21762,6 @@ func (_m *MockFakeEC2) DescribeImportImageTasksWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeImportImageTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16738,6 +21776,10 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasks(_a0 *ec2.DescribeImportSnapsh ret := _m.Called(_a0) var r0 *ec2.DescribeImportSnapshotTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeImportSnapshotTasksInput) (*ec2.DescribeImportSnapshotTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImportSnapshotTasksInput) *ec2.DescribeImportSnapshotTasksOutput); ok { r0 = rf(_a0) } else { @@ -16746,7 +21788,6 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasks(_a0 *ec2.DescribeImportSnapsh } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeImportSnapshotTasksInput) error); ok { r1 = rf(_a0) } else { @@ -16796,6 +21837,10 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasksRequest(_a0 *ec2.DescribeImpor ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeImportSnapshotTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeImportSnapshotTasksInput) (*request.Request, *ec2.DescribeImportSnapshotTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeImportSnapshotTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16804,7 +21849,6 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasksRequest(_a0 *ec2.DescribeImpor } } - var r1 *ec2.DescribeImportSnapshotTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeImportSnapshotTasksInput) *ec2.DescribeImportSnapshotTasksOutput); ok { r1 = rf(_a0) } else { @@ -16828,6 +21872,10 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasksWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DescribeImportSnapshotTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportSnapshotTasksInput, ...request.Option) (*ec2.DescribeImportSnapshotTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportSnapshotTasksInput, ...request.Option) *ec2.DescribeImportSnapshotTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16836,7 +21884,6 @@ func (_m *MockFakeEC2) DescribeImportSnapshotTasksWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeImportSnapshotTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16851,6 +21898,10 @@ func (_m *MockFakeEC2) DescribeInstanceAttribute(_a0 *ec2.DescribeInstanceAttrib ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceAttributeInput) (*ec2.DescribeInstanceAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceAttributeInput) *ec2.DescribeInstanceAttributeOutput); ok { r0 = rf(_a0) } else { @@ -16859,7 +21910,6 @@ func (_m *MockFakeEC2) DescribeInstanceAttribute(_a0 *ec2.DescribeInstanceAttrib } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -16874,6 +21924,10 @@ func (_m *MockFakeEC2) DescribeInstanceAttributeRequest(_a0 *ec2.DescribeInstanc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceAttributeInput) (*request.Request, *ec2.DescribeInstanceAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16882,7 +21936,6 @@ func (_m *MockFakeEC2) DescribeInstanceAttributeRequest(_a0 *ec2.DescribeInstanc } } - var r1 *ec2.DescribeInstanceAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceAttributeInput) *ec2.DescribeInstanceAttributeOutput); ok { r1 = rf(_a0) } else { @@ -16906,6 +21959,10 @@ func (_m *MockFakeEC2) DescribeInstanceAttributeWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceAttributeInput, ...request.Option) (*ec2.DescribeInstanceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceAttributeInput, ...request.Option) *ec2.DescribeInstanceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -16914,7 +21971,6 @@ func (_m *MockFakeEC2) DescribeInstanceAttributeWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -16929,6 +21985,10 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecifications(_a0 *ec2.DescribeIns ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceCreditSpecificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceCreditSpecificationsInput) (*ec2.DescribeInstanceCreditSpecificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceCreditSpecificationsInput) *ec2.DescribeInstanceCreditSpecificationsOutput); ok { r0 = rf(_a0) } else { @@ -16937,7 +21997,6 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecifications(_a0 *ec2.DescribeIns } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceCreditSpecificationsInput) error); ok { r1 = rf(_a0) } else { @@ -16987,6 +22046,10 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecificationsRequest(_a0 *ec2.Desc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceCreditSpecificationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceCreditSpecificationsInput) (*request.Request, *ec2.DescribeInstanceCreditSpecificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceCreditSpecificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -16995,7 +22058,6 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecificationsRequest(_a0 *ec2.Desc } } - var r1 *ec2.DescribeInstanceCreditSpecificationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceCreditSpecificationsInput) *ec2.DescribeInstanceCreditSpecificationsOutput); ok { r1 = rf(_a0) } else { @@ -17019,6 +22081,10 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecificationsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceCreditSpecificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceCreditSpecificationsInput, ...request.Option) (*ec2.DescribeInstanceCreditSpecificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceCreditSpecificationsInput, ...request.Option) *ec2.DescribeInstanceCreditSpecificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17027,7 +22093,6 @@ func (_m *MockFakeEC2) DescribeInstanceCreditSpecificationsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceCreditSpecificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17042,6 +22107,10 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributes(_a0 *ec2.Desc ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) (*ec2.DescribeInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) *ec2.DescribeInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0) } else { @@ -17050,7 +22119,6 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributes(_a0 *ec2.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -17065,6 +22133,10 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributesRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceEventNotificationAttributesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) (*request.Request, *ec2.DescribeInstanceEventNotificationAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17073,7 +22145,6 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributesRequest(_a0 *e } } - var r1 *ec2.DescribeInstanceEventNotificationAttributesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceEventNotificationAttributesInput) *ec2.DescribeInstanceEventNotificationAttributesOutput); ok { r1 = rf(_a0) } else { @@ -17097,6 +22168,10 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributesWithContext(_a ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventNotificationAttributesInput, ...request.Option) (*ec2.DescribeInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventNotificationAttributesInput, ...request.Option) *ec2.DescribeInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17105,7 +22180,6 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributesWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceEventNotificationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17115,11 +22189,137 @@ func (_m *MockFakeEC2) DescribeInstanceEventNotificationAttributesWithContext(_a return r0, r1 } +// DescribeInstanceEventWindows provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeInstanceEventWindows(_a0 *ec2.DescribeInstanceEventWindowsInput) (*ec2.DescribeInstanceEventWindowsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeInstanceEventWindowsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventWindowsInput) (*ec2.DescribeInstanceEventWindowsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventWindowsInput) *ec2.DescribeInstanceEventWindowsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeInstanceEventWindowsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceEventWindowsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeInstanceEventWindowsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeInstanceEventWindowsPages(_a0 *ec2.DescribeInstanceEventWindowsInput, _a1 func(*ec2.DescribeInstanceEventWindowsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventWindowsInput, func(*ec2.DescribeInstanceEventWindowsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeInstanceEventWindowsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeInstanceEventWindowsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeInstanceEventWindowsInput, _a2 func(*ec2.DescribeInstanceEventWindowsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeInstanceEventWindowsInput, func(*ec2.DescribeInstanceEventWindowsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeInstanceEventWindowsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeInstanceEventWindowsRequest(_a0 *ec2.DescribeInstanceEventWindowsInput) (*request.Request, *ec2.DescribeInstanceEventWindowsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeInstanceEventWindowsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventWindowsInput) (*request.Request, *ec2.DescribeInstanceEventWindowsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceEventWindowsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceEventWindowsInput) *ec2.DescribeInstanceEventWindowsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeInstanceEventWindowsOutput) + } + } + + return r0, r1 +} + +// DescribeInstanceEventWindowsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeInstanceEventWindowsWithContext(_a0 context.Context, _a1 *ec2.DescribeInstanceEventWindowsInput, _a2 ...request.Option) (*ec2.DescribeInstanceEventWindowsOutput, error) { + _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 *ec2.DescribeInstanceEventWindowsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventWindowsInput, ...request.Option) (*ec2.DescribeInstanceEventWindowsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventWindowsInput, ...request.Option) *ec2.DescribeInstanceEventWindowsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeInstanceEventWindowsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceEventWindowsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeInstanceStatus provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeInstanceStatus(_a0 *ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceStatusInput) *ec2.DescribeInstanceStatusOutput); ok { r0 = rf(_a0) } else { @@ -17128,7 +22328,6 @@ func (_m *MockFakeEC2) DescribeInstanceStatus(_a0 *ec2.DescribeInstanceStatusInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceStatusInput) error); ok { r1 = rf(_a0) } else { @@ -17178,6 +22377,10 @@ func (_m *MockFakeEC2) DescribeInstanceStatusRequest(_a0 *ec2.DescribeInstanceSt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceStatusOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceStatusInput) (*request.Request, *ec2.DescribeInstanceStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17186,7 +22389,6 @@ func (_m *MockFakeEC2) DescribeInstanceStatusRequest(_a0 *ec2.DescribeInstanceSt } } - var r1 *ec2.DescribeInstanceStatusOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceStatusInput) *ec2.DescribeInstanceStatusOutput); ok { r1 = rf(_a0) } else { @@ -17210,6 +22412,10 @@ func (_m *MockFakeEC2) DescribeInstanceStatusWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceStatusInput, ...request.Option) (*ec2.DescribeInstanceStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceStatusInput, ...request.Option) *ec2.DescribeInstanceStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17218,7 +22424,6 @@ func (_m *MockFakeEC2) DescribeInstanceStatusWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17233,6 +22438,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferings(_a0 *ec2.DescribeInstanceTy ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceTypeOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypeOfferingsInput) (*ec2.DescribeInstanceTypeOfferingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypeOfferingsInput) *ec2.DescribeInstanceTypeOfferingsOutput); ok { r0 = rf(_a0) } else { @@ -17241,7 +22450,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferings(_a0 *ec2.DescribeInstanceTy } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceTypeOfferingsInput) error); ok { r1 = rf(_a0) } else { @@ -17291,6 +22499,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferingsRequest(_a0 *ec2.DescribeIns ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceTypeOfferingsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypeOfferingsInput) (*request.Request, *ec2.DescribeInstanceTypeOfferingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypeOfferingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17299,7 +22511,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferingsRequest(_a0 *ec2.DescribeIns } } - var r1 *ec2.DescribeInstanceTypeOfferingsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceTypeOfferingsInput) *ec2.DescribeInstanceTypeOfferingsOutput); ok { r1 = rf(_a0) } else { @@ -17323,6 +22534,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferingsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceTypeOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypeOfferingsInput, ...request.Option) (*ec2.DescribeInstanceTypeOfferingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypeOfferingsInput, ...request.Option) *ec2.DescribeInstanceTypeOfferingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17331,7 +22546,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypeOfferingsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceTypeOfferingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17346,6 +22560,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypes(_a0 *ec2.DescribeInstanceTypesInput ret := _m.Called(_a0) var r0 *ec2.DescribeInstanceTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypesInput) (*ec2.DescribeInstanceTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypesInput) *ec2.DescribeInstanceTypesOutput); ok { r0 = rf(_a0) } else { @@ -17354,7 +22572,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypes(_a0 *ec2.DescribeInstanceTypesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceTypesInput) error); ok { r1 = rf(_a0) } else { @@ -17404,6 +22621,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypesRequest(_a0 *ec2.DescribeInstanceTyp ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstanceTypesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypesInput) (*request.Request, *ec2.DescribeInstanceTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstanceTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17412,7 +22633,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypesRequest(_a0 *ec2.DescribeInstanceTyp } } - var r1 *ec2.DescribeInstanceTypesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstanceTypesInput) *ec2.DescribeInstanceTypesOutput); ok { r1 = rf(_a0) } else { @@ -17436,6 +22656,10 @@ func (_m *MockFakeEC2) DescribeInstanceTypesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeInstanceTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypesInput, ...request.Option) (*ec2.DescribeInstanceTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypesInput, ...request.Option) *ec2.DescribeInstanceTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17444,7 +22668,6 @@ func (_m *MockFakeEC2) DescribeInstanceTypesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstanceTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17459,6 +22682,10 @@ func (_m *MockFakeEC2) DescribeInstances(_a0 *ec2.DescribeInstancesInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.DescribeInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstancesInput) *ec2.DescribeInstancesOutput); ok { r0 = rf(_a0) } else { @@ -17467,7 +22694,6 @@ func (_m *MockFakeEC2) DescribeInstances(_a0 *ec2.DescribeInstancesInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -17517,6 +22743,10 @@ func (_m *MockFakeEC2) DescribeInstancesRequest(_a0 *ec2.DescribeInstancesInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInstancesInput) (*request.Request, *ec2.DescribeInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17525,7 +22755,6 @@ func (_m *MockFakeEC2) DescribeInstancesRequest(_a0 *ec2.DescribeInstancesInput) } } - var r1 *ec2.DescribeInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInstancesInput) *ec2.DescribeInstancesOutput); ok { r1 = rf(_a0) } else { @@ -17549,6 +22778,10 @@ func (_m *MockFakeEC2) DescribeInstancesWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DescribeInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstancesInput, ...request.Option) (*ec2.DescribeInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstancesInput, ...request.Option) *ec2.DescribeInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17557,7 +22790,6 @@ func (_m *MockFakeEC2) DescribeInstancesWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17572,6 +22804,10 @@ func (_m *MockFakeEC2) DescribeInternetGateways(_a0 *ec2.DescribeInternetGateway ret := _m.Called(_a0) var r0 *ec2.DescribeInternetGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInternetGatewaysInput) *ec2.DescribeInternetGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -17580,7 +22816,6 @@ func (_m *MockFakeEC2) DescribeInternetGateways(_a0 *ec2.DescribeInternetGateway } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeInternetGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -17630,6 +22865,10 @@ func (_m *MockFakeEC2) DescribeInternetGatewaysRequest(_a0 *ec2.DescribeInternet ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeInternetGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeInternetGatewaysInput) (*request.Request, *ec2.DescribeInternetGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeInternetGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17638,7 +22877,6 @@ func (_m *MockFakeEC2) DescribeInternetGatewaysRequest(_a0 *ec2.DescribeInternet } } - var r1 *ec2.DescribeInternetGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeInternetGatewaysInput) *ec2.DescribeInternetGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -17662,6 +22900,10 @@ func (_m *MockFakeEC2) DescribeInternetGatewaysWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeInternetGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInternetGatewaysInput, ...request.Option) (*ec2.DescribeInternetGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInternetGatewaysInput, ...request.Option) *ec2.DescribeInternetGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17670,7 +22912,6 @@ func (_m *MockFakeEC2) DescribeInternetGatewaysWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeInternetGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17680,11 +22921,381 @@ func (_m *MockFakeEC2) DescribeInternetGatewaysWithContext(_a0 context.Context, return r0, r1 } +// DescribeIpamPools provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpamPools(_a0 *ec2.DescribeIpamPoolsInput) (*ec2.DescribeIpamPoolsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeIpamPoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamPoolsInput) (*ec2.DescribeIpamPoolsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamPoolsInput) *ec2.DescribeIpamPoolsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamPoolsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamPoolsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeIpamPoolsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeIpamPoolsPages(_a0 *ec2.DescribeIpamPoolsInput, _a1 func(*ec2.DescribeIpamPoolsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamPoolsInput, func(*ec2.DescribeIpamPoolsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamPoolsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeIpamPoolsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamPoolsInput, _a2 func(*ec2.DescribeIpamPoolsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeIpamPoolsInput, func(*ec2.DescribeIpamPoolsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamPoolsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpamPoolsRequest(_a0 *ec2.DescribeIpamPoolsInput) (*request.Request, *ec2.DescribeIpamPoolsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeIpamPoolsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamPoolsInput) (*request.Request, *ec2.DescribeIpamPoolsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamPoolsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamPoolsInput) *ec2.DescribeIpamPoolsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeIpamPoolsOutput) + } + } + + return r0, r1 +} + +// DescribeIpamPoolsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeIpamPoolsWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamPoolsInput, _a2 ...request.Option) (*ec2.DescribeIpamPoolsOutput, error) { + _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 *ec2.DescribeIpamPoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamPoolsInput, ...request.Option) (*ec2.DescribeIpamPoolsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamPoolsInput, ...request.Option) *ec2.DescribeIpamPoolsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamPoolsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIpamPoolsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeIpamScopes provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpamScopes(_a0 *ec2.DescribeIpamScopesInput) (*ec2.DescribeIpamScopesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeIpamScopesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamScopesInput) (*ec2.DescribeIpamScopesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamScopesInput) *ec2.DescribeIpamScopesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamScopesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamScopesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeIpamScopesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeIpamScopesPages(_a0 *ec2.DescribeIpamScopesInput, _a1 func(*ec2.DescribeIpamScopesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamScopesInput, func(*ec2.DescribeIpamScopesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamScopesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeIpamScopesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamScopesInput, _a2 func(*ec2.DescribeIpamScopesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeIpamScopesInput, func(*ec2.DescribeIpamScopesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamScopesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpamScopesRequest(_a0 *ec2.DescribeIpamScopesInput) (*request.Request, *ec2.DescribeIpamScopesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeIpamScopesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamScopesInput) (*request.Request, *ec2.DescribeIpamScopesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamScopesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamScopesInput) *ec2.DescribeIpamScopesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeIpamScopesOutput) + } + } + + return r0, r1 +} + +// DescribeIpamScopesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeIpamScopesWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamScopesInput, _a2 ...request.Option) (*ec2.DescribeIpamScopesOutput, error) { + _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 *ec2.DescribeIpamScopesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamScopesInput, ...request.Option) (*ec2.DescribeIpamScopesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamScopesInput, ...request.Option) *ec2.DescribeIpamScopesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamScopesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIpamScopesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeIpams provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpams(_a0 *ec2.DescribeIpamsInput) (*ec2.DescribeIpamsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeIpamsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamsInput) (*ec2.DescribeIpamsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamsInput) *ec2.DescribeIpamsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeIpamsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeIpamsPages(_a0 *ec2.DescribeIpamsInput, _a1 func(*ec2.DescribeIpamsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamsInput, func(*ec2.DescribeIpamsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeIpamsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamsInput, _a2 func(*ec2.DescribeIpamsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeIpamsInput, func(*ec2.DescribeIpamsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeIpamsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeIpamsRequest(_a0 *ec2.DescribeIpamsInput) (*request.Request, *ec2.DescribeIpamsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeIpamsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamsInput) (*request.Request, *ec2.DescribeIpamsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpamsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeIpamsInput) *ec2.DescribeIpamsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeIpamsOutput) + } + } + + return r0, r1 +} + +// DescribeIpamsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeIpamsWithContext(_a0 context.Context, _a1 *ec2.DescribeIpamsInput, _a2 ...request.Option) (*ec2.DescribeIpamsOutput, error) { + _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 *ec2.DescribeIpamsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamsInput, ...request.Option) (*ec2.DescribeIpamsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamsInput, ...request.Option) *ec2.DescribeIpamsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeIpamsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIpamsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeIpv6Pools provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeIpv6Pools(_a0 *ec2.DescribeIpv6PoolsInput) (*ec2.DescribeIpv6PoolsOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeIpv6PoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpv6PoolsInput) (*ec2.DescribeIpv6PoolsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIpv6PoolsInput) *ec2.DescribeIpv6PoolsOutput); ok { r0 = rf(_a0) } else { @@ -17693,7 +23304,6 @@ func (_m *MockFakeEC2) DescribeIpv6Pools(_a0 *ec2.DescribeIpv6PoolsInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeIpv6PoolsInput) error); ok { r1 = rf(_a0) } else { @@ -17743,6 +23353,10 @@ func (_m *MockFakeEC2) DescribeIpv6PoolsRequest(_a0 *ec2.DescribeIpv6PoolsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeIpv6PoolsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeIpv6PoolsInput) (*request.Request, *ec2.DescribeIpv6PoolsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeIpv6PoolsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17751,7 +23365,6 @@ func (_m *MockFakeEC2) DescribeIpv6PoolsRequest(_a0 *ec2.DescribeIpv6PoolsInput) } } - var r1 *ec2.DescribeIpv6PoolsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeIpv6PoolsInput) *ec2.DescribeIpv6PoolsOutput); ok { r1 = rf(_a0) } else { @@ -17775,6 +23388,10 @@ func (_m *MockFakeEC2) DescribeIpv6PoolsWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DescribeIpv6PoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpv6PoolsInput, ...request.Option) (*ec2.DescribeIpv6PoolsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpv6PoolsInput, ...request.Option) *ec2.DescribeIpv6PoolsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17783,7 +23400,6 @@ func (_m *MockFakeEC2) DescribeIpv6PoolsWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeIpv6PoolsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17798,6 +23414,10 @@ func (_m *MockFakeEC2) DescribeKeyPairs(_a0 *ec2.DescribeKeyPairsInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DescribeKeyPairsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeKeyPairsInput) *ec2.DescribeKeyPairsOutput); ok { r0 = rf(_a0) } else { @@ -17806,7 +23426,6 @@ func (_m *MockFakeEC2) DescribeKeyPairs(_a0 *ec2.DescribeKeyPairsInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeKeyPairsInput) error); ok { r1 = rf(_a0) } else { @@ -17821,6 +23440,10 @@ func (_m *MockFakeEC2) DescribeKeyPairsRequest(_a0 *ec2.DescribeKeyPairsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeKeyPairsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeKeyPairsInput) (*request.Request, *ec2.DescribeKeyPairsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeKeyPairsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17829,7 +23452,6 @@ func (_m *MockFakeEC2) DescribeKeyPairsRequest(_a0 *ec2.DescribeKeyPairsInput) ( } } - var r1 *ec2.DescribeKeyPairsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeKeyPairsInput) *ec2.DescribeKeyPairsOutput); ok { r1 = rf(_a0) } else { @@ -17853,6 +23475,10 @@ func (_m *MockFakeEC2) DescribeKeyPairsWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DescribeKeyPairsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeKeyPairsInput, ...request.Option) (*ec2.DescribeKeyPairsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeKeyPairsInput, ...request.Option) *ec2.DescribeKeyPairsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17861,7 +23487,6 @@ func (_m *MockFakeEC2) DescribeKeyPairsWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeKeyPairsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17876,6 +23501,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersions(_a0 *ec2.DescribeLaunchTem ret := _m.Called(_a0) var r0 *ec2.DescribeLaunchTemplateVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplateVersionsInput) (*ec2.DescribeLaunchTemplateVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplateVersionsInput) *ec2.DescribeLaunchTemplateVersionsOutput); ok { r0 = rf(_a0) } else { @@ -17884,7 +23513,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersions(_a0 *ec2.DescribeLaunchTem } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLaunchTemplateVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -17934,6 +23562,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersionsRequest(_a0 *ec2.DescribeLa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLaunchTemplateVersionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplateVersionsInput) (*request.Request, *ec2.DescribeLaunchTemplateVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplateVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -17942,7 +23574,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersionsRequest(_a0 *ec2.DescribeLa } } - var r1 *ec2.DescribeLaunchTemplateVersionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLaunchTemplateVersionsInput) *ec2.DescribeLaunchTemplateVersionsOutput); ok { r1 = rf(_a0) } else { @@ -17966,6 +23597,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersionsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DescribeLaunchTemplateVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplateVersionsInput, ...request.Option) (*ec2.DescribeLaunchTemplateVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplateVersionsInput, ...request.Option) *ec2.DescribeLaunchTemplateVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -17974,7 +23609,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplateVersionsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLaunchTemplateVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -17989,6 +23623,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplates(_a0 *ec2.DescribeLaunchTemplatesI ret := _m.Called(_a0) var r0 *ec2.DescribeLaunchTemplatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplatesInput) (*ec2.DescribeLaunchTemplatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplatesInput) *ec2.DescribeLaunchTemplatesOutput); ok { r0 = rf(_a0) } else { @@ -17997,7 +23635,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplates(_a0 *ec2.DescribeLaunchTemplatesI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLaunchTemplatesInput) error); ok { r1 = rf(_a0) } else { @@ -18047,6 +23684,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplatesRequest(_a0 *ec2.DescribeLaunchTem ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLaunchTemplatesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplatesInput) (*request.Request, *ec2.DescribeLaunchTemplatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLaunchTemplatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18055,7 +23696,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplatesRequest(_a0 *ec2.DescribeLaunchTem } } - var r1 *ec2.DescribeLaunchTemplatesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLaunchTemplatesInput) *ec2.DescribeLaunchTemplatesOutput); ok { r1 = rf(_a0) } else { @@ -18079,6 +23719,10 @@ func (_m *MockFakeEC2) DescribeLaunchTemplatesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeLaunchTemplatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplatesInput, ...request.Option) (*ec2.DescribeLaunchTemplatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplatesInput, ...request.Option) *ec2.DescribeLaunchTemplatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18087,7 +23731,6 @@ func (_m *MockFakeEC2) DescribeLaunchTemplatesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLaunchTemplatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18102,6 +23745,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) (*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -18110,7 +23757,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -18160,6 +23806,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) (*request.Request, *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18168,7 +23818,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci } } - var r1 *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -18192,6 +23841,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, ...request.Option) (*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, ...request.Option) *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18200,7 +23853,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssoci } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18215,6 +23867,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociations(_a0 *ec2.De ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) (*ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -18223,7 +23879,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociations(_a0 *ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -18273,6 +23928,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociationsRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) (*request.Request, *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18281,7 +23940,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociationsRequest(_a0 } } - var r1 *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput) *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -18305,6 +23963,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociationsWithContext( ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput, ...request.Option) (*ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput, ...request.Option) *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18313,7 +23975,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTableVpcAssociationsWithContext( } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18328,6 +23989,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTables(_a0 *ec2.DescribeLocalGat ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewayRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTablesInput) (*ec2.DescribeLocalGatewayRouteTablesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTablesInput) *ec2.DescribeLocalGatewayRouteTablesOutput); ok { r0 = rf(_a0) } else { @@ -18336,7 +24001,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTables(_a0 *ec2.DescribeLocalGat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTablesInput) error); ok { r1 = rf(_a0) } else { @@ -18386,6 +24050,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTablesRequest(_a0 *ec2.DescribeL ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewayRouteTablesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTablesInput) (*request.Request, *ec2.DescribeLocalGatewayRouteTablesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayRouteTablesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18394,7 +24062,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTablesRequest(_a0 *ec2.DescribeL } } - var r1 *ec2.DescribeLocalGatewayRouteTablesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayRouteTablesInput) *ec2.DescribeLocalGatewayRouteTablesOutput); ok { r1 = rf(_a0) } else { @@ -18418,6 +24085,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTablesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewayRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTablesInput, ...request.Option) (*ec2.DescribeLocalGatewayRouteTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTablesInput, ...request.Option) *ec2.DescribeLocalGatewayRouteTablesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18426,7 +24097,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayRouteTablesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewayRouteTablesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18441,6 +24111,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroups(_a0 *ec2.Descr ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) (*ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput); ok { r0 = rf(_a0) } else { @@ -18449,7 +24123,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroups(_a0 *ec2.Descr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -18499,6 +24172,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroupsRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) (*request.Request, *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18507,7 +24184,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroupsRequest(_a0 *ec } } - var r1 *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput) *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput); ok { r1 = rf(_a0) } else { @@ -18531,6 +24207,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroupsWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput, ...request.Option) (*ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput, ...request.Option) *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18539,7 +24219,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaceGroupsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18554,6 +24233,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaces(_a0 *ec2.DescribeLo ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewayVirtualInterfacesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) (*ec2.DescribeLocalGatewayVirtualInterfacesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) *ec2.DescribeLocalGatewayVirtualInterfacesOutput); ok { r0 = rf(_a0) } else { @@ -18562,7 +24245,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfaces(_a0 *ec2.DescribeLo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) error); ok { r1 = rf(_a0) } else { @@ -18612,6 +24294,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfacesRequest(_a0 *ec2.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewayVirtualInterfacesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) (*request.Request, *ec2.DescribeLocalGatewayVirtualInterfacesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18620,7 +24306,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfacesRequest(_a0 *ec2.Des } } - var r1 *ec2.DescribeLocalGatewayVirtualInterfacesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewayVirtualInterfacesInput) *ec2.DescribeLocalGatewayVirtualInterfacesOutput); ok { r1 = rf(_a0) } else { @@ -18644,6 +24329,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfacesWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewayVirtualInterfacesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfacesInput, ...request.Option) (*ec2.DescribeLocalGatewayVirtualInterfacesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfacesInput, ...request.Option) *ec2.DescribeLocalGatewayVirtualInterfacesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18652,7 +24341,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewayVirtualInterfacesWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfacesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18667,6 +24355,10 @@ func (_m *MockFakeEC2) DescribeLocalGateways(_a0 *ec2.DescribeLocalGatewaysInput ret := _m.Called(_a0) var r0 *ec2.DescribeLocalGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewaysInput) (*ec2.DescribeLocalGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewaysInput) *ec2.DescribeLocalGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -18675,7 +24367,6 @@ func (_m *MockFakeEC2) DescribeLocalGateways(_a0 *ec2.DescribeLocalGatewaysInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -18725,6 +24416,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewaysRequest(_a0 *ec2.DescribeLocalGatewa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeLocalGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewaysInput) (*request.Request, *ec2.DescribeLocalGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeLocalGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18733,7 +24428,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewaysRequest(_a0 *ec2.DescribeLocalGatewa } } - var r1 *ec2.DescribeLocalGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeLocalGatewaysInput) *ec2.DescribeLocalGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -18757,6 +24451,10 @@ func (_m *MockFakeEC2) DescribeLocalGatewaysWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeLocalGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewaysInput, ...request.Option) (*ec2.DescribeLocalGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewaysInput, ...request.Option) *ec2.DescribeLocalGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18765,7 +24463,6 @@ func (_m *MockFakeEC2) DescribeLocalGatewaysWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeLocalGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18780,6 +24477,10 @@ func (_m *MockFakeEC2) DescribeManagedPrefixLists(_a0 *ec2.DescribeManagedPrefix ret := _m.Called(_a0) var r0 *ec2.DescribeManagedPrefixListsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeManagedPrefixListsInput) (*ec2.DescribeManagedPrefixListsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeManagedPrefixListsInput) *ec2.DescribeManagedPrefixListsOutput); ok { r0 = rf(_a0) } else { @@ -18788,7 +24489,6 @@ func (_m *MockFakeEC2) DescribeManagedPrefixLists(_a0 *ec2.DescribeManagedPrefix } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeManagedPrefixListsInput) error); ok { r1 = rf(_a0) } else { @@ -18838,6 +24538,10 @@ func (_m *MockFakeEC2) DescribeManagedPrefixListsRequest(_a0 *ec2.DescribeManage ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeManagedPrefixListsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeManagedPrefixListsInput) (*request.Request, *ec2.DescribeManagedPrefixListsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeManagedPrefixListsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18846,7 +24550,6 @@ func (_m *MockFakeEC2) DescribeManagedPrefixListsRequest(_a0 *ec2.DescribeManage } } - var r1 *ec2.DescribeManagedPrefixListsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeManagedPrefixListsInput) *ec2.DescribeManagedPrefixListsOutput); ok { r1 = rf(_a0) } else { @@ -18870,6 +24573,10 @@ func (_m *MockFakeEC2) DescribeManagedPrefixListsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeManagedPrefixListsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeManagedPrefixListsInput, ...request.Option) (*ec2.DescribeManagedPrefixListsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeManagedPrefixListsInput, ...request.Option) *ec2.DescribeManagedPrefixListsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18878,7 +24585,6 @@ func (_m *MockFakeEC2) DescribeManagedPrefixListsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeManagedPrefixListsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -18893,6 +24599,10 @@ func (_m *MockFakeEC2) DescribeMovingAddresses(_a0 *ec2.DescribeMovingAddressesI ret := _m.Called(_a0) var r0 *ec2.DescribeMovingAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeMovingAddressesInput) (*ec2.DescribeMovingAddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeMovingAddressesInput) *ec2.DescribeMovingAddressesOutput); ok { r0 = rf(_a0) } else { @@ -18901,7 +24611,6 @@ func (_m *MockFakeEC2) DescribeMovingAddresses(_a0 *ec2.DescribeMovingAddressesI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeMovingAddressesInput) error); ok { r1 = rf(_a0) } else { @@ -18951,6 +24660,10 @@ func (_m *MockFakeEC2) DescribeMovingAddressesRequest(_a0 *ec2.DescribeMovingAdd ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeMovingAddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeMovingAddressesInput) (*request.Request, *ec2.DescribeMovingAddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeMovingAddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -18959,7 +24672,6 @@ func (_m *MockFakeEC2) DescribeMovingAddressesRequest(_a0 *ec2.DescribeMovingAdd } } - var r1 *ec2.DescribeMovingAddressesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeMovingAddressesInput) *ec2.DescribeMovingAddressesOutput); ok { r1 = rf(_a0) } else { @@ -18983,6 +24695,10 @@ func (_m *MockFakeEC2) DescribeMovingAddressesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeMovingAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeMovingAddressesInput, ...request.Option) (*ec2.DescribeMovingAddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeMovingAddressesInput, ...request.Option) *ec2.DescribeMovingAddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -18991,7 +24707,6 @@ func (_m *MockFakeEC2) DescribeMovingAddressesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeMovingAddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19006,6 +24721,10 @@ func (_m *MockFakeEC2) DescribeNatGateways(_a0 *ec2.DescribeNatGatewaysInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeNatGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNatGatewaysInput) (*ec2.DescribeNatGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNatGatewaysInput) *ec2.DescribeNatGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -19014,7 +24733,6 @@ func (_m *MockFakeEC2) DescribeNatGateways(_a0 *ec2.DescribeNatGatewaysInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNatGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -19064,6 +24782,10 @@ func (_m *MockFakeEC2) DescribeNatGatewaysRequest(_a0 *ec2.DescribeNatGatewaysIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNatGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNatGatewaysInput) (*request.Request, *ec2.DescribeNatGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNatGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19072,7 +24794,6 @@ func (_m *MockFakeEC2) DescribeNatGatewaysRequest(_a0 *ec2.DescribeNatGatewaysIn } } - var r1 *ec2.DescribeNatGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNatGatewaysInput) *ec2.DescribeNatGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -19096,6 +24817,10 @@ func (_m *MockFakeEC2) DescribeNatGatewaysWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeNatGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNatGatewaysInput, ...request.Option) (*ec2.DescribeNatGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNatGatewaysInput, ...request.Option) *ec2.DescribeNatGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19104,7 +24829,6 @@ func (_m *MockFakeEC2) DescribeNatGatewaysWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNatGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19119,6 +24843,10 @@ func (_m *MockFakeEC2) DescribeNetworkAcls(_a0 *ec2.DescribeNetworkAclsInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkAclsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkAclsInput) (*ec2.DescribeNetworkAclsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkAclsInput) *ec2.DescribeNetworkAclsOutput); ok { r0 = rf(_a0) } else { @@ -19127,7 +24855,6 @@ func (_m *MockFakeEC2) DescribeNetworkAcls(_a0 *ec2.DescribeNetworkAclsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkAclsInput) error); ok { r1 = rf(_a0) } else { @@ -19177,6 +24904,10 @@ func (_m *MockFakeEC2) DescribeNetworkAclsRequest(_a0 *ec2.DescribeNetworkAclsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkAclsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkAclsInput) (*request.Request, *ec2.DescribeNetworkAclsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkAclsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19185,7 +24916,6 @@ func (_m *MockFakeEC2) DescribeNetworkAclsRequest(_a0 *ec2.DescribeNetworkAclsIn } } - var r1 *ec2.DescribeNetworkAclsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkAclsInput) *ec2.DescribeNetworkAclsOutput); ok { r1 = rf(_a0) } else { @@ -19209,6 +24939,10 @@ func (_m *MockFakeEC2) DescribeNetworkAclsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkAclsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkAclsInput, ...request.Option) (*ec2.DescribeNetworkAclsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkAclsInput, ...request.Option) *ec2.DescribeNetworkAclsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19217,7 +24951,6 @@ func (_m *MockFakeEC2) DescribeNetworkAclsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkAclsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19227,11 +24960,259 @@ func (_m *MockFakeEC2) DescribeNetworkAclsWithContext(_a0 context.Context, _a1 * return r0, r1 } +// DescribeNetworkInsightsAccessScopeAnalyses provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopeAnalyses(_a0 *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) (*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) (*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeNetworkInsightsAccessScopeAnalysesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopeAnalysesPages(_a0 *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, _a1 func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeNetworkInsightsAccessScopeAnalysesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopeAnalysesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, _a2 func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeNetworkInsightsAccessScopeAnalysesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopeAnalysesRequest(_a0 *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) (*request.Request, *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) (*request.Request, *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAccessScopeAnalysesInput) *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput) + } + } + + return r0, r1 +} + +// DescribeNetworkInsightsAccessScopeAnalysesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopeAnalysesWithContext(_a0 context.Context, _a1 *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, _a2 ...request.Option) (*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, error) { + _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 *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, ...request.Option) (*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, ...request.Option) *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeNetworkInsightsAccessScopes provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopes(_a0 *ec2.DescribeNetworkInsightsAccessScopesInput) (*ec2.DescribeNetworkInsightsAccessScopesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeNetworkInsightsAccessScopesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) (*ec2.DescribeNetworkInsightsAccessScopesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) *ec2.DescribeNetworkInsightsAccessScopesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeNetworkInsightsAccessScopesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeNetworkInsightsAccessScopesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopesPages(_a0 *ec2.DescribeNetworkInsightsAccessScopesInput, _a1 func(*ec2.DescribeNetworkInsightsAccessScopesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopesInput, func(*ec2.DescribeNetworkInsightsAccessScopesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeNetworkInsightsAccessScopesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeNetworkInsightsAccessScopesInput, _a2 func(*ec2.DescribeNetworkInsightsAccessScopesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeNetworkInsightsAccessScopesInput, func(*ec2.DescribeNetworkInsightsAccessScopesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeNetworkInsightsAccessScopesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopesRequest(_a0 *ec2.DescribeNetworkInsightsAccessScopesInput) (*request.Request, *ec2.DescribeNetworkInsightsAccessScopesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeNetworkInsightsAccessScopesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) (*request.Request, *ec2.DescribeNetworkInsightsAccessScopesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAccessScopesInput) *ec2.DescribeNetworkInsightsAccessScopesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeNetworkInsightsAccessScopesOutput) + } + } + + return r0, r1 +} + +// DescribeNetworkInsightsAccessScopesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeNetworkInsightsAccessScopesWithContext(_a0 context.Context, _a1 *ec2.DescribeNetworkInsightsAccessScopesInput, _a2 ...request.Option) (*ec2.DescribeNetworkInsightsAccessScopesOutput, error) { + _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 *ec2.DescribeNetworkInsightsAccessScopesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopesInput, ...request.Option) (*ec2.DescribeNetworkInsightsAccessScopesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopesInput, ...request.Option) *ec2.DescribeNetworkInsightsAccessScopesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeNetworkInsightsAccessScopesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeNetworkInsightsAnalyses provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeNetworkInsightsAnalyses(_a0 *ec2.DescribeNetworkInsightsAnalysesInput) (*ec2.DescribeNetworkInsightsAnalysesOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkInsightsAnalysesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAnalysesInput) (*ec2.DescribeNetworkInsightsAnalysesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAnalysesInput) *ec2.DescribeNetworkInsightsAnalysesOutput); ok { r0 = rf(_a0) } else { @@ -19240,7 +25221,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsAnalyses(_a0 *ec2.DescribeNetworkI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAnalysesInput) error); ok { r1 = rf(_a0) } else { @@ -19290,6 +25270,10 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsAnalysesRequest(_a0 *ec2.DescribeN ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkInsightsAnalysesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAnalysesInput) (*request.Request, *ec2.DescribeNetworkInsightsAnalysesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsAnalysesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19298,7 +25282,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsAnalysesRequest(_a0 *ec2.DescribeN } } - var r1 *ec2.DescribeNetworkInsightsAnalysesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsAnalysesInput) *ec2.DescribeNetworkInsightsAnalysesOutput); ok { r1 = rf(_a0) } else { @@ -19322,6 +25305,10 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsAnalysesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkInsightsAnalysesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAnalysesInput, ...request.Option) (*ec2.DescribeNetworkInsightsAnalysesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAnalysesInput, ...request.Option) *ec2.DescribeNetworkInsightsAnalysesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19330,7 +25317,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsAnalysesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInsightsAnalysesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19345,6 +25331,10 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPaths(_a0 *ec2.DescribeNetworkInsi ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkInsightsPathsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsPathsInput) (*ec2.DescribeNetworkInsightsPathsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsPathsInput) *ec2.DescribeNetworkInsightsPathsOutput); ok { r0 = rf(_a0) } else { @@ -19353,7 +25343,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPaths(_a0 *ec2.DescribeNetworkInsi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsPathsInput) error); ok { r1 = rf(_a0) } else { @@ -19403,6 +25392,10 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPathsRequest(_a0 *ec2.DescribeNetw ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkInsightsPathsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsPathsInput) (*request.Request, *ec2.DescribeNetworkInsightsPathsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInsightsPathsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19411,7 +25404,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPathsRequest(_a0 *ec2.DescribeNetw } } - var r1 *ec2.DescribeNetworkInsightsPathsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInsightsPathsInput) *ec2.DescribeNetworkInsightsPathsOutput); ok { r1 = rf(_a0) } else { @@ -19435,6 +25427,10 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPathsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkInsightsPathsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsPathsInput, ...request.Option) (*ec2.DescribeNetworkInsightsPathsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsPathsInput, ...request.Option) *ec2.DescribeNetworkInsightsPathsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19443,7 +25439,6 @@ func (_m *MockFakeEC2) DescribeNetworkInsightsPathsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInsightsPathsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19458,6 +25453,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttribute(_a0 *ec2.DescribeNetwor ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfaceAttributeInput) (*ec2.DescribeNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfaceAttributeInput) *ec2.DescribeNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0) } else { @@ -19466,7 +25465,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttribute(_a0 *ec2.DescribeNetwor } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfaceAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -19481,6 +25479,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttributeRequest(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkInterfaceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfaceAttributeInput) (*request.Request, *ec2.DescribeNetworkInterfaceAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfaceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19489,7 +25491,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttributeRequest(_a0 *ec2.Describ } } - var r1 *ec2.DescribeNetworkInterfaceAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfaceAttributeInput) *ec2.DescribeNetworkInterfaceAttributeOutput); ok { r1 = rf(_a0) } else { @@ -19513,6 +25514,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttributeWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfaceAttributeInput, ...request.Option) (*ec2.DescribeNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfaceAttributeInput, ...request.Option) *ec2.DescribeNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19521,7 +25526,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaceAttributeWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInterfaceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19536,6 +25540,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissions(_a0 *ec2.DescribeNetw ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkInterfacePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacePermissionsInput) (*ec2.DescribeNetworkInterfacePermissionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacePermissionsInput) *ec2.DescribeNetworkInterfacePermissionsOutput); ok { r0 = rf(_a0) } else { @@ -19544,7 +25552,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissions(_a0 *ec2.DescribeNetw } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfacePermissionsInput) error); ok { r1 = rf(_a0) } else { @@ -19594,6 +25601,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissionsRequest(_a0 *ec2.Descr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkInterfacePermissionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacePermissionsInput) (*request.Request, *ec2.DescribeNetworkInterfacePermissionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacePermissionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19602,7 +25613,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissionsRequest(_a0 *ec2.Descr } } - var r1 *ec2.DescribeNetworkInterfacePermissionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfacePermissionsInput) *ec2.DescribeNetworkInterfacePermissionsOutput); ok { r1 = rf(_a0) } else { @@ -19626,6 +25636,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissionsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkInterfacePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacePermissionsInput, ...request.Option) (*ec2.DescribeNetworkInterfacePermissionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacePermissionsInput, ...request.Option) *ec2.DescribeNetworkInterfacePermissionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19634,7 +25648,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacePermissionsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInterfacePermissionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19649,6 +25662,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaces(_a0 *ec2.DescribeNetworkInterfa ret := _m.Called(_a0) var r0 *ec2.DescribeNetworkInterfacesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacesInput) (*ec2.DescribeNetworkInterfacesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacesInput) *ec2.DescribeNetworkInterfacesOutput); ok { r0 = rf(_a0) } else { @@ -19657,7 +25674,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfaces(_a0 *ec2.DescribeNetworkInterfa } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfacesInput) error); ok { r1 = rf(_a0) } else { @@ -19707,6 +25723,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacesRequest(_a0 *ec2.DescribeNetwork ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeNetworkInterfacesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacesInput) (*request.Request, *ec2.DescribeNetworkInterfacesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeNetworkInterfacesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19715,7 +25735,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacesRequest(_a0 *ec2.DescribeNetwork } } - var r1 *ec2.DescribeNetworkInterfacesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeNetworkInterfacesInput) *ec2.DescribeNetworkInterfacesOutput); ok { r1 = rf(_a0) } else { @@ -19739,6 +25758,10 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeNetworkInterfacesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacesInput, ...request.Option) (*ec2.DescribeNetworkInterfacesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacesInput, ...request.Option) *ec2.DescribeNetworkInterfacesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19747,7 +25770,6 @@ func (_m *MockFakeEC2) DescribeNetworkInterfacesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeNetworkInterfacesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19762,6 +25784,10 @@ func (_m *MockFakeEC2) DescribePlacementGroups(_a0 *ec2.DescribePlacementGroupsI ret := _m.Called(_a0) var r0 *ec2.DescribePlacementGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribePlacementGroupsInput) (*ec2.DescribePlacementGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePlacementGroupsInput) *ec2.DescribePlacementGroupsOutput); ok { r0 = rf(_a0) } else { @@ -19770,7 +25796,6 @@ func (_m *MockFakeEC2) DescribePlacementGroups(_a0 *ec2.DescribePlacementGroupsI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribePlacementGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -19785,6 +25810,10 @@ func (_m *MockFakeEC2) DescribePlacementGroupsRequest(_a0 *ec2.DescribePlacement ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribePlacementGroupsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribePlacementGroupsInput) (*request.Request, *ec2.DescribePlacementGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePlacementGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19793,7 +25822,6 @@ func (_m *MockFakeEC2) DescribePlacementGroupsRequest(_a0 *ec2.DescribePlacement } } - var r1 *ec2.DescribePlacementGroupsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribePlacementGroupsInput) *ec2.DescribePlacementGroupsOutput); ok { r1 = rf(_a0) } else { @@ -19817,6 +25845,10 @@ func (_m *MockFakeEC2) DescribePlacementGroupsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribePlacementGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePlacementGroupsInput, ...request.Option) (*ec2.DescribePlacementGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePlacementGroupsInput, ...request.Option) *ec2.DescribePlacementGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19825,7 +25857,6 @@ func (_m *MockFakeEC2) DescribePlacementGroupsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribePlacementGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19840,6 +25871,10 @@ func (_m *MockFakeEC2) DescribePrefixLists(_a0 *ec2.DescribePrefixListsInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribePrefixListsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribePrefixListsInput) (*ec2.DescribePrefixListsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePrefixListsInput) *ec2.DescribePrefixListsOutput); ok { r0 = rf(_a0) } else { @@ -19848,7 +25883,6 @@ func (_m *MockFakeEC2) DescribePrefixLists(_a0 *ec2.DescribePrefixListsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribePrefixListsInput) error); ok { r1 = rf(_a0) } else { @@ -19898,6 +25932,10 @@ func (_m *MockFakeEC2) DescribePrefixListsRequest(_a0 *ec2.DescribePrefixListsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribePrefixListsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribePrefixListsInput) (*request.Request, *ec2.DescribePrefixListsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePrefixListsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -19906,7 +25944,6 @@ func (_m *MockFakeEC2) DescribePrefixListsRequest(_a0 *ec2.DescribePrefixListsIn } } - var r1 *ec2.DescribePrefixListsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribePrefixListsInput) *ec2.DescribePrefixListsOutput); ok { r1 = rf(_a0) } else { @@ -19930,6 +25967,10 @@ func (_m *MockFakeEC2) DescribePrefixListsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribePrefixListsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrefixListsInput, ...request.Option) (*ec2.DescribePrefixListsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrefixListsInput, ...request.Option) *ec2.DescribePrefixListsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -19938,7 +25979,6 @@ func (_m *MockFakeEC2) DescribePrefixListsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribePrefixListsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -19953,6 +25993,10 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormat(_a0 *ec2.DescribePrincipalIdFor ret := _m.Called(_a0) var r0 *ec2.DescribePrincipalIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribePrincipalIdFormatInput) (*ec2.DescribePrincipalIdFormatOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePrincipalIdFormatInput) *ec2.DescribePrincipalIdFormatOutput); ok { r0 = rf(_a0) } else { @@ -19961,7 +26005,6 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormat(_a0 *ec2.DescribePrincipalIdFor } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribePrincipalIdFormatInput) error); ok { r1 = rf(_a0) } else { @@ -20011,6 +26054,10 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormatRequest(_a0 *ec2.DescribePrincip ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribePrincipalIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribePrincipalIdFormatInput) (*request.Request, *ec2.DescribePrincipalIdFormatOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePrincipalIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20019,7 +26066,6 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormatRequest(_a0 *ec2.DescribePrincip } } - var r1 *ec2.DescribePrincipalIdFormatOutput if rf, ok := ret.Get(1).(func(*ec2.DescribePrincipalIdFormatInput) *ec2.DescribePrincipalIdFormatOutput); ok { r1 = rf(_a0) } else { @@ -20043,6 +26089,10 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormatWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribePrincipalIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrincipalIdFormatInput, ...request.Option) (*ec2.DescribePrincipalIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrincipalIdFormatInput, ...request.Option) *ec2.DescribePrincipalIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20051,7 +26101,6 @@ func (_m *MockFakeEC2) DescribePrincipalIdFormatWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribePrincipalIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20066,6 +26115,10 @@ func (_m *MockFakeEC2) DescribePublicIpv4Pools(_a0 *ec2.DescribePublicIpv4PoolsI ret := _m.Called(_a0) var r0 *ec2.DescribePublicIpv4PoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribePublicIpv4PoolsInput) (*ec2.DescribePublicIpv4PoolsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePublicIpv4PoolsInput) *ec2.DescribePublicIpv4PoolsOutput); ok { r0 = rf(_a0) } else { @@ -20074,7 +26127,6 @@ func (_m *MockFakeEC2) DescribePublicIpv4Pools(_a0 *ec2.DescribePublicIpv4PoolsI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribePublicIpv4PoolsInput) error); ok { r1 = rf(_a0) } else { @@ -20124,6 +26176,10 @@ func (_m *MockFakeEC2) DescribePublicIpv4PoolsRequest(_a0 *ec2.DescribePublicIpv ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribePublicIpv4PoolsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribePublicIpv4PoolsInput) (*request.Request, *ec2.DescribePublicIpv4PoolsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribePublicIpv4PoolsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20132,7 +26188,6 @@ func (_m *MockFakeEC2) DescribePublicIpv4PoolsRequest(_a0 *ec2.DescribePublicIpv } } - var r1 *ec2.DescribePublicIpv4PoolsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribePublicIpv4PoolsInput) *ec2.DescribePublicIpv4PoolsOutput); ok { r1 = rf(_a0) } else { @@ -20156,6 +26211,10 @@ func (_m *MockFakeEC2) DescribePublicIpv4PoolsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribePublicIpv4PoolsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePublicIpv4PoolsInput, ...request.Option) (*ec2.DescribePublicIpv4PoolsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePublicIpv4PoolsInput, ...request.Option) *ec2.DescribePublicIpv4PoolsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20164,7 +26223,6 @@ func (_m *MockFakeEC2) DescribePublicIpv4PoolsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribePublicIpv4PoolsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20179,6 +26237,10 @@ func (_m *MockFakeEC2) DescribeRegions(_a0 *ec2.DescribeRegionsInput) (*ec2.Desc ret := _m.Called(_a0) var r0 *ec2.DescribeRegionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeRegionsInput) (*ec2.DescribeRegionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeRegionsInput) *ec2.DescribeRegionsOutput); ok { r0 = rf(_a0) } else { @@ -20187,7 +26249,6 @@ func (_m *MockFakeEC2) DescribeRegions(_a0 *ec2.DescribeRegionsInput) (*ec2.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeRegionsInput) error); ok { r1 = rf(_a0) } else { @@ -20202,6 +26263,10 @@ func (_m *MockFakeEC2) DescribeRegionsRequest(_a0 *ec2.DescribeRegionsInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeRegionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeRegionsInput) (*request.Request, *ec2.DescribeRegionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeRegionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20210,7 +26275,6 @@ func (_m *MockFakeEC2) DescribeRegionsRequest(_a0 *ec2.DescribeRegionsInput) (*r } } - var r1 *ec2.DescribeRegionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeRegionsInput) *ec2.DescribeRegionsOutput); ok { r1 = rf(_a0) } else { @@ -20234,6 +26298,10 @@ func (_m *MockFakeEC2) DescribeRegionsWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.DescribeRegionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRegionsInput, ...request.Option) (*ec2.DescribeRegionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRegionsInput, ...request.Option) *ec2.DescribeRegionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20242,7 +26310,6 @@ func (_m *MockFakeEC2) DescribeRegionsWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeRegionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20257,6 +26324,10 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasks(_a0 *ec2.DescribeReplaceRo ret := _m.Called(_a0) var r0 *ec2.DescribeReplaceRootVolumeTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeReplaceRootVolumeTasksInput) (*ec2.DescribeReplaceRootVolumeTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReplaceRootVolumeTasksInput) *ec2.DescribeReplaceRootVolumeTasksOutput); ok { r0 = rf(_a0) } else { @@ -20265,7 +26336,6 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasks(_a0 *ec2.DescribeReplaceRo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeReplaceRootVolumeTasksInput) error); ok { r1 = rf(_a0) } else { @@ -20315,6 +26385,10 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasksRequest(_a0 *ec2.DescribeRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeReplaceRootVolumeTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeReplaceRootVolumeTasksInput) (*request.Request, *ec2.DescribeReplaceRootVolumeTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReplaceRootVolumeTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20323,7 +26397,6 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasksRequest(_a0 *ec2.DescribeRe } } - var r1 *ec2.DescribeReplaceRootVolumeTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeReplaceRootVolumeTasksInput) *ec2.DescribeReplaceRootVolumeTasksOutput); ok { r1 = rf(_a0) } else { @@ -20347,6 +26420,10 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasksWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DescribeReplaceRootVolumeTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReplaceRootVolumeTasksInput, ...request.Option) (*ec2.DescribeReplaceRootVolumeTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReplaceRootVolumeTasksInput, ...request.Option) *ec2.DescribeReplaceRootVolumeTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20355,7 +26432,6 @@ func (_m *MockFakeEC2) DescribeReplaceRootVolumeTasksWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeReplaceRootVolumeTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20370,6 +26446,10 @@ func (_m *MockFakeEC2) DescribeReservedInstances(_a0 *ec2.DescribeReservedInstan ret := _m.Called(_a0) var r0 *ec2.DescribeReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesInput) (*ec2.DescribeReservedInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesInput) *ec2.DescribeReservedInstancesOutput); ok { r0 = rf(_a0) } else { @@ -20378,7 +26458,6 @@ func (_m *MockFakeEC2) DescribeReservedInstances(_a0 *ec2.DescribeReservedInstan } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -20393,6 +26472,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListings(_a0 *ec2.DescribeReserv ret := _m.Called(_a0) var r0 *ec2.DescribeReservedInstancesListingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesListingsInput) (*ec2.DescribeReservedInstancesListingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesListingsInput) *ec2.DescribeReservedInstancesListingsOutput); ok { r0 = rf(_a0) } else { @@ -20401,7 +26484,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListings(_a0 *ec2.DescribeReserv } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesListingsInput) error); ok { r1 = rf(_a0) } else { @@ -20416,6 +26498,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListingsRequest(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeReservedInstancesListingsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesListingsInput) (*request.Request, *ec2.DescribeReservedInstancesListingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesListingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20424,7 +26510,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListingsRequest(_a0 *ec2.Describ } } - var r1 *ec2.DescribeReservedInstancesListingsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesListingsInput) *ec2.DescribeReservedInstancesListingsOutput); ok { r1 = rf(_a0) } else { @@ -20448,6 +26533,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListingsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.DescribeReservedInstancesListingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesListingsInput, ...request.Option) (*ec2.DescribeReservedInstancesListingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesListingsInput, ...request.Option) *ec2.DescribeReservedInstancesListingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20456,7 +26545,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesListingsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeReservedInstancesListingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20471,6 +26559,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModifications(_a0 *ec2.DescribeR ret := _m.Called(_a0) var r0 *ec2.DescribeReservedInstancesModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesModificationsInput) (*ec2.DescribeReservedInstancesModificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesModificationsInput) *ec2.DescribeReservedInstancesModificationsOutput); ok { r0 = rf(_a0) } else { @@ -20479,7 +26571,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModifications(_a0 *ec2.DescribeR } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesModificationsInput) error); ok { r1 = rf(_a0) } else { @@ -20529,6 +26620,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModificationsRequest(_a0 *ec2.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeReservedInstancesModificationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesModificationsInput) (*request.Request, *ec2.DescribeReservedInstancesModificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesModificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20537,7 +26632,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModificationsRequest(_a0 *ec2.De } } - var r1 *ec2.DescribeReservedInstancesModificationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesModificationsInput) *ec2.DescribeReservedInstancesModificationsOutput); ok { r1 = rf(_a0) } else { @@ -20561,6 +26655,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModificationsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *ec2.DescribeReservedInstancesModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesModificationsInput, ...request.Option) (*ec2.DescribeReservedInstancesModificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesModificationsInput, ...request.Option) *ec2.DescribeReservedInstancesModificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20569,7 +26667,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesModificationsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeReservedInstancesModificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20584,6 +26681,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferings(_a0 *ec2.DescribeReser ret := _m.Called(_a0) var r0 *ec2.DescribeReservedInstancesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesOfferingsInput) (*ec2.DescribeReservedInstancesOfferingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesOfferingsInput) *ec2.DescribeReservedInstancesOfferingsOutput); ok { r0 = rf(_a0) } else { @@ -20592,7 +26693,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferings(_a0 *ec2.DescribeReser } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesOfferingsInput) error); ok { r1 = rf(_a0) } else { @@ -20642,6 +26742,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferingsRequest(_a0 *ec2.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeReservedInstancesOfferingsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesOfferingsInput) (*request.Request, *ec2.DescribeReservedInstancesOfferingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesOfferingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20650,7 +26754,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferingsRequest(_a0 *ec2.Descri } } - var r1 *ec2.DescribeReservedInstancesOfferingsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesOfferingsInput) *ec2.DescribeReservedInstancesOfferingsOutput); ok { r1 = rf(_a0) } else { @@ -20674,6 +26777,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferingsWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.DescribeReservedInstancesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesOfferingsInput, ...request.Option) (*ec2.DescribeReservedInstancesOfferingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesOfferingsInput, ...request.Option) *ec2.DescribeReservedInstancesOfferingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20682,7 +26789,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesOfferingsWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeReservedInstancesOfferingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20697,6 +26803,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesRequest(_a0 *ec2.DescribeReserve ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeReservedInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesInput) (*request.Request, *ec2.DescribeReservedInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeReservedInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20705,7 +26815,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesRequest(_a0 *ec2.DescribeReserve } } - var r1 *ec2.DescribeReservedInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeReservedInstancesInput) *ec2.DescribeReservedInstancesOutput); ok { r1 = rf(_a0) } else { @@ -20729,6 +26838,10 @@ func (_m *MockFakeEC2) DescribeReservedInstancesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesInput, ...request.Option) (*ec2.DescribeReservedInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesInput, ...request.Option) *ec2.DescribeReservedInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20737,7 +26850,6 @@ func (_m *MockFakeEC2) DescribeReservedInstancesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeReservedInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20752,6 +26864,10 @@ func (_m *MockFakeEC2) DescribeRouteTables(_a0 *ec2.DescribeRouteTablesInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeRouteTablesInput) (*ec2.DescribeRouteTablesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeRouteTablesInput) *ec2.DescribeRouteTablesOutput); ok { r0 = rf(_a0) } else { @@ -20760,7 +26876,6 @@ func (_m *MockFakeEC2) DescribeRouteTables(_a0 *ec2.DescribeRouteTablesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeRouteTablesInput) error); ok { r1 = rf(_a0) } else { @@ -20810,6 +26925,10 @@ func (_m *MockFakeEC2) DescribeRouteTablesRequest(_a0 *ec2.DescribeRouteTablesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeRouteTablesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeRouteTablesInput) (*request.Request, *ec2.DescribeRouteTablesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeRouteTablesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20818,7 +26937,6 @@ func (_m *MockFakeEC2) DescribeRouteTablesRequest(_a0 *ec2.DescribeRouteTablesIn } } - var r1 *ec2.DescribeRouteTablesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeRouteTablesInput) *ec2.DescribeRouteTablesOutput); ok { r1 = rf(_a0) } else { @@ -20842,6 +26960,10 @@ func (_m *MockFakeEC2) DescribeRouteTablesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRouteTablesInput, ...request.Option) (*ec2.DescribeRouteTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRouteTablesInput, ...request.Option) *ec2.DescribeRouteTablesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20850,7 +26972,6 @@ func (_m *MockFakeEC2) DescribeRouteTablesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeRouteTablesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20865,6 +26986,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailability(_a0 *ec2.DescribeSc ret := _m.Called(_a0) var r0 *ec2.DescribeScheduledInstanceAvailabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) (*ec2.DescribeScheduledInstanceAvailabilityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) *ec2.DescribeScheduledInstanceAvailabilityOutput); ok { r0 = rf(_a0) } else { @@ -20873,7 +26998,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailability(_a0 *ec2.DescribeSc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) error); ok { r1 = rf(_a0) } else { @@ -20923,6 +27047,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailabilityRequest(_a0 *ec2.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeScheduledInstanceAvailabilityOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) (*request.Request, *ec2.DescribeScheduledInstanceAvailabilityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -20931,7 +27059,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailabilityRequest(_a0 *ec2.Des } } - var r1 *ec2.DescribeScheduledInstanceAvailabilityOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeScheduledInstanceAvailabilityInput) *ec2.DescribeScheduledInstanceAvailabilityOutput); ok { r1 = rf(_a0) } else { @@ -20955,6 +27082,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailabilityWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.DescribeScheduledInstanceAvailabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstanceAvailabilityInput, ...request.Option) (*ec2.DescribeScheduledInstanceAvailabilityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstanceAvailabilityInput, ...request.Option) *ec2.DescribeScheduledInstanceAvailabilityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -20963,7 +27094,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstanceAvailabilityWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeScheduledInstanceAvailabilityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -20978,6 +27108,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstances(_a0 *ec2.DescribeScheduledInst ret := _m.Called(_a0) var r0 *ec2.DescribeScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstancesInput) (*ec2.DescribeScheduledInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstancesInput) *ec2.DescribeScheduledInstancesOutput); ok { r0 = rf(_a0) } else { @@ -20986,7 +27120,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstances(_a0 *ec2.DescribeScheduledInst } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeScheduledInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -21036,6 +27169,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstancesRequest(_a0 *ec2.DescribeSchedu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeScheduledInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstancesInput) (*request.Request, *ec2.DescribeScheduledInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeScheduledInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21044,7 +27181,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstancesRequest(_a0 *ec2.DescribeSchedu } } - var r1 *ec2.DescribeScheduledInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeScheduledInstancesInput) *ec2.DescribeScheduledInstancesOutput); ok { r1 = rf(_a0) } else { @@ -21068,6 +27204,10 @@ func (_m *MockFakeEC2) DescribeScheduledInstancesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstancesInput, ...request.Option) (*ec2.DescribeScheduledInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstancesInput, ...request.Option) *ec2.DescribeScheduledInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21076,7 +27216,6 @@ func (_m *MockFakeEC2) DescribeScheduledInstancesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeScheduledInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21091,6 +27230,10 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferences(_a0 *ec2.DescribeSecurity ret := _m.Called(_a0) var r0 *ec2.DescribeSecurityGroupReferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupReferencesInput) (*ec2.DescribeSecurityGroupReferencesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupReferencesInput) *ec2.DescribeSecurityGroupReferencesOutput); ok { r0 = rf(_a0) } else { @@ -21099,7 +27242,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferences(_a0 *ec2.DescribeSecurity } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupReferencesInput) error); ok { r1 = rf(_a0) } else { @@ -21114,6 +27256,10 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferencesRequest(_a0 *ec2.DescribeS ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSecurityGroupReferencesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupReferencesInput) (*request.Request, *ec2.DescribeSecurityGroupReferencesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupReferencesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21122,7 +27268,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferencesRequest(_a0 *ec2.DescribeS } } - var r1 *ec2.DescribeSecurityGroupReferencesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupReferencesInput) *ec2.DescribeSecurityGroupReferencesOutput); ok { r1 = rf(_a0) } else { @@ -21146,6 +27291,10 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferencesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DescribeSecurityGroupReferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupReferencesInput, ...request.Option) (*ec2.DescribeSecurityGroupReferencesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupReferencesInput, ...request.Option) *ec2.DescribeSecurityGroupReferencesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21154,7 +27303,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferencesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSecurityGroupReferencesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21164,11 +27312,137 @@ func (_m *MockFakeEC2) DescribeSecurityGroupReferencesWithContext(_a0 context.Co return r0, r1 } +// DescribeSecurityGroupRules provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeSecurityGroupRules(_a0 *ec2.DescribeSecurityGroupRulesInput) (*ec2.DescribeSecurityGroupRulesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeSecurityGroupRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupRulesInput) (*ec2.DescribeSecurityGroupRulesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupRulesInput) *ec2.DescribeSecurityGroupRulesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeSecurityGroupRulesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupRulesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeSecurityGroupRulesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeSecurityGroupRulesPages(_a0 *ec2.DescribeSecurityGroupRulesInput, _a1 func(*ec2.DescribeSecurityGroupRulesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupRulesInput, func(*ec2.DescribeSecurityGroupRulesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeSecurityGroupRulesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeSecurityGroupRulesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeSecurityGroupRulesInput, _a2 func(*ec2.DescribeSecurityGroupRulesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeSecurityGroupRulesInput, func(*ec2.DescribeSecurityGroupRulesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeSecurityGroupRulesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeSecurityGroupRulesRequest(_a0 *ec2.DescribeSecurityGroupRulesInput) (*request.Request, *ec2.DescribeSecurityGroupRulesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeSecurityGroupRulesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupRulesInput) (*request.Request, *ec2.DescribeSecurityGroupRulesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupRulesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupRulesInput) *ec2.DescribeSecurityGroupRulesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeSecurityGroupRulesOutput) + } + } + + return r0, r1 +} + +// DescribeSecurityGroupRulesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeSecurityGroupRulesWithContext(_a0 context.Context, _a1 *ec2.DescribeSecurityGroupRulesInput, _a2 ...request.Option) (*ec2.DescribeSecurityGroupRulesOutput, error) { + _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 *ec2.DescribeSecurityGroupRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupRulesInput, ...request.Option) (*ec2.DescribeSecurityGroupRulesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupRulesInput, ...request.Option) *ec2.DescribeSecurityGroupRulesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeSecurityGroupRulesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSecurityGroupRulesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeSecurityGroups provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeSecurityGroups(_a0 *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupsInput) *ec2.DescribeSecurityGroupsOutput); ok { r0 = rf(_a0) } else { @@ -21177,7 +27451,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroups(_a0 *ec2.DescribeSecurityGroupsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -21227,6 +27500,10 @@ func (_m *MockFakeEC2) DescribeSecurityGroupsRequest(_a0 *ec2.DescribeSecurityGr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSecurityGroupsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupsInput) (*request.Request, *ec2.DescribeSecurityGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSecurityGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21235,7 +27512,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroupsRequest(_a0 *ec2.DescribeSecurityGr } } - var r1 *ec2.DescribeSecurityGroupsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSecurityGroupsInput) *ec2.DescribeSecurityGroupsOutput); ok { r1 = rf(_a0) } else { @@ -21259,6 +27535,10 @@ func (_m *MockFakeEC2) DescribeSecurityGroupsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupsInput, ...request.Option) (*ec2.DescribeSecurityGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupsInput, ...request.Option) *ec2.DescribeSecurityGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21267,7 +27547,6 @@ func (_m *MockFakeEC2) DescribeSecurityGroupsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSecurityGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21282,6 +27561,10 @@ func (_m *MockFakeEC2) DescribeSnapshotAttribute(_a0 *ec2.DescribeSnapshotAttrib ret := _m.Called(_a0) var r0 *ec2.DescribeSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotAttributeInput) (*ec2.DescribeSnapshotAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotAttributeInput) *ec2.DescribeSnapshotAttributeOutput); ok { r0 = rf(_a0) } else { @@ -21290,7 +27573,6 @@ func (_m *MockFakeEC2) DescribeSnapshotAttribute(_a0 *ec2.DescribeSnapshotAttrib } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -21305,6 +27587,10 @@ func (_m *MockFakeEC2) DescribeSnapshotAttributeRequest(_a0 *ec2.DescribeSnapsho ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSnapshotAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotAttributeInput) (*request.Request, *ec2.DescribeSnapshotAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21313,7 +27599,6 @@ func (_m *MockFakeEC2) DescribeSnapshotAttributeRequest(_a0 *ec2.DescribeSnapsho } } - var r1 *ec2.DescribeSnapshotAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotAttributeInput) *ec2.DescribeSnapshotAttributeOutput); ok { r1 = rf(_a0) } else { @@ -21337,6 +27622,10 @@ func (_m *MockFakeEC2) DescribeSnapshotAttributeWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotAttributeInput, ...request.Option) (*ec2.DescribeSnapshotAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotAttributeInput, ...request.Option) *ec2.DescribeSnapshotAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21345,7 +27634,6 @@ func (_m *MockFakeEC2) DescribeSnapshotAttributeWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSnapshotAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21355,11 +27643,137 @@ func (_m *MockFakeEC2) DescribeSnapshotAttributeWithContext(_a0 context.Context, return r0, r1 } +// DescribeSnapshotTierStatus provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeSnapshotTierStatus(_a0 *ec2.DescribeSnapshotTierStatusInput) (*ec2.DescribeSnapshotTierStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeSnapshotTierStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotTierStatusInput) (*ec2.DescribeSnapshotTierStatusOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotTierStatusInput) *ec2.DescribeSnapshotTierStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeSnapshotTierStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotTierStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeSnapshotTierStatusPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeSnapshotTierStatusPages(_a0 *ec2.DescribeSnapshotTierStatusInput, _a1 func(*ec2.DescribeSnapshotTierStatusOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotTierStatusInput, func(*ec2.DescribeSnapshotTierStatusOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeSnapshotTierStatusPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeSnapshotTierStatusPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeSnapshotTierStatusInput, _a2 func(*ec2.DescribeSnapshotTierStatusOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeSnapshotTierStatusInput, func(*ec2.DescribeSnapshotTierStatusOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeSnapshotTierStatusRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeSnapshotTierStatusRequest(_a0 *ec2.DescribeSnapshotTierStatusInput) (*request.Request, *ec2.DescribeSnapshotTierStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeSnapshotTierStatusOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotTierStatusInput) (*request.Request, *ec2.DescribeSnapshotTierStatusOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotTierStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotTierStatusInput) *ec2.DescribeSnapshotTierStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeSnapshotTierStatusOutput) + } + } + + return r0, r1 +} + +// DescribeSnapshotTierStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeSnapshotTierStatusWithContext(_a0 context.Context, _a1 *ec2.DescribeSnapshotTierStatusInput, _a2 ...request.Option) (*ec2.DescribeSnapshotTierStatusOutput, error) { + _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 *ec2.DescribeSnapshotTierStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotTierStatusInput, ...request.Option) (*ec2.DescribeSnapshotTierStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotTierStatusInput, ...request.Option) *ec2.DescribeSnapshotTierStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeSnapshotTierStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSnapshotTierStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeSnapshots provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeSnapshots(_a0 *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotsInput) *ec2.DescribeSnapshotsOutput); ok { r0 = rf(_a0) } else { @@ -21368,7 +27782,6 @@ func (_m *MockFakeEC2) DescribeSnapshots(_a0 *ec2.DescribeSnapshotsInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotsInput) error); ok { r1 = rf(_a0) } else { @@ -21418,6 +27831,10 @@ func (_m *MockFakeEC2) DescribeSnapshotsRequest(_a0 *ec2.DescribeSnapshotsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSnapshotsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotsInput) (*request.Request, *ec2.DescribeSnapshotsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSnapshotsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21426,7 +27843,6 @@ func (_m *MockFakeEC2) DescribeSnapshotsRequest(_a0 *ec2.DescribeSnapshotsInput) } } - var r1 *ec2.DescribeSnapshotsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSnapshotsInput) *ec2.DescribeSnapshotsOutput); ok { r1 = rf(_a0) } else { @@ -21450,6 +27866,10 @@ func (_m *MockFakeEC2) DescribeSnapshotsWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.DescribeSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotsInput, ...request.Option) (*ec2.DescribeSnapshotsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotsInput, ...request.Option) *ec2.DescribeSnapshotsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21458,7 +27878,6 @@ func (_m *MockFakeEC2) DescribeSnapshotsWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSnapshotsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21473,6 +27892,10 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscription(_a0 *ec2.DescribeSpotDat ret := _m.Called(_a0) var r0 *ec2.DescribeSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) (*ec2.DescribeSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) *ec2.DescribeSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -21481,7 +27904,6 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscription(_a0 *ec2.DescribeSpotDat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -21496,6 +27918,10 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscriptionRequest(_a0 *ec2.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotDatafeedSubscriptionOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) (*request.Request, *ec2.DescribeSpotDatafeedSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21504,7 +27930,6 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscriptionRequest(_a0 *ec2.Describe } } - var r1 *ec2.DescribeSpotDatafeedSubscriptionOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotDatafeedSubscriptionInput) *ec2.DescribeSpotDatafeedSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -21528,6 +27953,10 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscriptionWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotDatafeedSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotDatafeedSubscriptionInput, ...request.Option) (*ec2.DescribeSpotDatafeedSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotDatafeedSubscriptionInput, ...request.Option) *ec2.DescribeSpotDatafeedSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21536,7 +27965,6 @@ func (_m *MockFakeEC2) DescribeSpotDatafeedSubscriptionWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotDatafeedSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21551,6 +27979,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstances(_a0 *ec2.DescribeSpotFleetInst ret := _m.Called(_a0) var r0 *ec2.DescribeSpotFleetInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetInstancesInput) (*ec2.DescribeSpotFleetInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetInstancesInput) *ec2.DescribeSpotFleetInstancesOutput); ok { r0 = rf(_a0) } else { @@ -21559,7 +27991,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstances(_a0 *ec2.DescribeSpotFleetInst } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -21574,6 +28005,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstancesRequest(_a0 *ec2.DescribeSpotFl ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotFleetInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetInstancesInput) (*request.Request, *ec2.DescribeSpotFleetInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21582,7 +28017,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstancesRequest(_a0 *ec2.DescribeSpotFl } } - var r1 *ec2.DescribeSpotFleetInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetInstancesInput) *ec2.DescribeSpotFleetInstancesOutput); ok { r1 = rf(_a0) } else { @@ -21606,6 +28040,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstancesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotFleetInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetInstancesInput, ...request.Option) (*ec2.DescribeSpotFleetInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetInstancesInput, ...request.Option) *ec2.DescribeSpotFleetInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21614,7 +28052,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetInstancesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotFleetInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21629,6 +28066,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistory(_a0 *ec2.DescribeSpotFlee ret := _m.Called(_a0) var r0 *ec2.DescribeSpotFleetRequestHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestHistoryInput) (*ec2.DescribeSpotFleetRequestHistoryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestHistoryInput) *ec2.DescribeSpotFleetRequestHistoryOutput); ok { r0 = rf(_a0) } else { @@ -21637,7 +28078,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistory(_a0 *ec2.DescribeSpotFlee } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetRequestHistoryInput) error); ok { r1 = rf(_a0) } else { @@ -21652,6 +28092,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistoryRequest(_a0 *ec2.DescribeS ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotFleetRequestHistoryOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestHistoryInput) (*request.Request, *ec2.DescribeSpotFleetRequestHistoryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestHistoryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21660,7 +28104,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistoryRequest(_a0 *ec2.DescribeS } } - var r1 *ec2.DescribeSpotFleetRequestHistoryOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetRequestHistoryInput) *ec2.DescribeSpotFleetRequestHistoryOutput); ok { r1 = rf(_a0) } else { @@ -21684,6 +28127,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistoryWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotFleetRequestHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestHistoryInput, ...request.Option) (*ec2.DescribeSpotFleetRequestHistoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestHistoryInput, ...request.Option) *ec2.DescribeSpotFleetRequestHistoryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21692,7 +28139,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestHistoryWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotFleetRequestHistoryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21707,6 +28153,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequests(_a0 *ec2.DescribeSpotFleetReque ret := _m.Called(_a0) var r0 *ec2.DescribeSpotFleetRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestsInput) (*ec2.DescribeSpotFleetRequestsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestsInput) *ec2.DescribeSpotFleetRequestsOutput); ok { r0 = rf(_a0) } else { @@ -21715,7 +28165,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequests(_a0 *ec2.DescribeSpotFleetReque } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetRequestsInput) error); ok { r1 = rf(_a0) } else { @@ -21765,6 +28214,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestsRequest(_a0 *ec2.DescribeSpotFle ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotFleetRequestsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestsInput) (*request.Request, *ec2.DescribeSpotFleetRequestsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotFleetRequestsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21773,7 +28226,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestsRequest(_a0 *ec2.DescribeSpotFle } } - var r1 *ec2.DescribeSpotFleetRequestsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotFleetRequestsInput) *ec2.DescribeSpotFleetRequestsOutput); ok { r1 = rf(_a0) } else { @@ -21797,6 +28249,10 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotFleetRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestsInput, ...request.Option) (*ec2.DescribeSpotFleetRequestsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestsInput, ...request.Option) *ec2.DescribeSpotFleetRequestsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21805,7 +28261,6 @@ func (_m *MockFakeEC2) DescribeSpotFleetRequestsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotFleetRequestsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21820,6 +28275,10 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequests(_a0 *ec2.DescribeSpotInstanc ret := _m.Called(_a0) var r0 *ec2.DescribeSpotInstanceRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotInstanceRequestsInput) (*ec2.DescribeSpotInstanceRequestsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotInstanceRequestsInput) *ec2.DescribeSpotInstanceRequestsOutput); ok { r0 = rf(_a0) } else { @@ -21828,7 +28287,6 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequests(_a0 *ec2.DescribeSpotInstanc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotInstanceRequestsInput) error); ok { r1 = rf(_a0) } else { @@ -21878,6 +28336,10 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequestsRequest(_a0 *ec2.DescribeSpot ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotInstanceRequestsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotInstanceRequestsInput) (*request.Request, *ec2.DescribeSpotInstanceRequestsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotInstanceRequestsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21886,7 +28348,6 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequestsRequest(_a0 *ec2.DescribeSpot } } - var r1 *ec2.DescribeSpotInstanceRequestsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotInstanceRequestsInput) *ec2.DescribeSpotInstanceRequestsOutput); ok { r1 = rf(_a0) } else { @@ -21910,6 +28371,10 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequestsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotInstanceRequestsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotInstanceRequestsInput, ...request.Option) (*ec2.DescribeSpotInstanceRequestsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotInstanceRequestsInput, ...request.Option) *ec2.DescribeSpotInstanceRequestsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -21918,7 +28383,6 @@ func (_m *MockFakeEC2) DescribeSpotInstanceRequestsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotInstanceRequestsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -21933,6 +28397,10 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistory(_a0 *ec2.DescribeSpotPriceHistor ret := _m.Called(_a0) var r0 *ec2.DescribeSpotPriceHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotPriceHistoryInput) (*ec2.DescribeSpotPriceHistoryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotPriceHistoryInput) *ec2.DescribeSpotPriceHistoryOutput); ok { r0 = rf(_a0) } else { @@ -21941,7 +28409,6 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistory(_a0 *ec2.DescribeSpotPriceHistor } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotPriceHistoryInput) error); ok { r1 = rf(_a0) } else { @@ -21991,6 +28458,10 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistoryRequest(_a0 *ec2.DescribeSpotPric ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSpotPriceHistoryOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotPriceHistoryInput) (*request.Request, *ec2.DescribeSpotPriceHistoryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSpotPriceHistoryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -21999,7 +28470,6 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistoryRequest(_a0 *ec2.DescribeSpotPric } } - var r1 *ec2.DescribeSpotPriceHistoryOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSpotPriceHistoryInput) *ec2.DescribeSpotPriceHistoryOutput); ok { r1 = rf(_a0) } else { @@ -22023,6 +28493,10 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistoryWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DescribeSpotPriceHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotPriceHistoryInput, ...request.Option) (*ec2.DescribeSpotPriceHistoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotPriceHistoryInput, ...request.Option) *ec2.DescribeSpotPriceHistoryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22031,7 +28505,6 @@ func (_m *MockFakeEC2) DescribeSpotPriceHistoryWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSpotPriceHistoryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22046,6 +28519,10 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroups(_a0 *ec2.DescribeStaleSecurit ret := _m.Called(_a0) var r0 *ec2.DescribeStaleSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeStaleSecurityGroupsInput) (*ec2.DescribeStaleSecurityGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeStaleSecurityGroupsInput) *ec2.DescribeStaleSecurityGroupsOutput); ok { r0 = rf(_a0) } else { @@ -22054,7 +28531,6 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroups(_a0 *ec2.DescribeStaleSecurit } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeStaleSecurityGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -22104,6 +28580,10 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroupsRequest(_a0 *ec2.DescribeStale ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeStaleSecurityGroupsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeStaleSecurityGroupsInput) (*request.Request, *ec2.DescribeStaleSecurityGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeStaleSecurityGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22112,7 +28592,6 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroupsRequest(_a0 *ec2.DescribeStale } } - var r1 *ec2.DescribeStaleSecurityGroupsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeStaleSecurityGroupsInput) *ec2.DescribeStaleSecurityGroupsOutput); ok { r1 = rf(_a0) } else { @@ -22136,6 +28615,10 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroupsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DescribeStaleSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStaleSecurityGroupsInput, ...request.Option) (*ec2.DescribeStaleSecurityGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStaleSecurityGroupsInput, ...request.Option) *ec2.DescribeStaleSecurityGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22144,7 +28627,6 @@ func (_m *MockFakeEC2) DescribeStaleSecurityGroupsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeStaleSecurityGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22159,6 +28641,10 @@ func (_m *MockFakeEC2) DescribeStoreImageTasks(_a0 *ec2.DescribeStoreImageTasksI ret := _m.Called(_a0) var r0 *ec2.DescribeStoreImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeStoreImageTasksInput) (*ec2.DescribeStoreImageTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeStoreImageTasksInput) *ec2.DescribeStoreImageTasksOutput); ok { r0 = rf(_a0) } else { @@ -22167,7 +28653,6 @@ func (_m *MockFakeEC2) DescribeStoreImageTasks(_a0 *ec2.DescribeStoreImageTasksI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeStoreImageTasksInput) error); ok { r1 = rf(_a0) } else { @@ -22217,6 +28702,10 @@ func (_m *MockFakeEC2) DescribeStoreImageTasksRequest(_a0 *ec2.DescribeStoreImag ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeStoreImageTasksOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeStoreImageTasksInput) (*request.Request, *ec2.DescribeStoreImageTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeStoreImageTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22225,7 +28714,6 @@ func (_m *MockFakeEC2) DescribeStoreImageTasksRequest(_a0 *ec2.DescribeStoreImag } } - var r1 *ec2.DescribeStoreImageTasksOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeStoreImageTasksInput) *ec2.DescribeStoreImageTasksOutput); ok { r1 = rf(_a0) } else { @@ -22249,6 +28737,10 @@ func (_m *MockFakeEC2) DescribeStoreImageTasksWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeStoreImageTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStoreImageTasksInput, ...request.Option) (*ec2.DescribeStoreImageTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStoreImageTasksInput, ...request.Option) *ec2.DescribeStoreImageTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22257,7 +28749,6 @@ func (_m *MockFakeEC2) DescribeStoreImageTasksWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeStoreImageTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22272,6 +28763,10 @@ func (_m *MockFakeEC2) DescribeSubnets(_a0 *ec2.DescribeSubnetsInput) (*ec2.Desc ret := _m.Called(_a0) var r0 *ec2.DescribeSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSubnetsInput) *ec2.DescribeSubnetsOutput); ok { r0 = rf(_a0) } else { @@ -22280,7 +28775,6 @@ func (_m *MockFakeEC2) DescribeSubnets(_a0 *ec2.DescribeSubnetsInput) (*ec2.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeSubnetsInput) error); ok { r1 = rf(_a0) } else { @@ -22330,6 +28824,10 @@ func (_m *MockFakeEC2) DescribeSubnetsRequest(_a0 *ec2.DescribeSubnetsInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeSubnetsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeSubnetsInput) (*request.Request, *ec2.DescribeSubnetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeSubnetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22338,7 +28836,6 @@ func (_m *MockFakeEC2) DescribeSubnetsRequest(_a0 *ec2.DescribeSubnetsInput) (*r } } - var r1 *ec2.DescribeSubnetsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeSubnetsInput) *ec2.DescribeSubnetsOutput); ok { r1 = rf(_a0) } else { @@ -22362,6 +28859,10 @@ func (_m *MockFakeEC2) DescribeSubnetsWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.DescribeSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSubnetsInput, ...request.Option) (*ec2.DescribeSubnetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSubnetsInput, ...request.Option) *ec2.DescribeSubnetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22370,7 +28871,6 @@ func (_m *MockFakeEC2) DescribeSubnetsWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeSubnetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22385,6 +28885,10 @@ func (_m *MockFakeEC2) DescribeTags(_a0 *ec2.DescribeTagsInput) (*ec2.DescribeTa ret := _m.Called(_a0) var r0 *ec2.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTagsInput) (*ec2.DescribeTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTagsInput) *ec2.DescribeTagsOutput); ok { r0 = rf(_a0) } else { @@ -22393,7 +28897,6 @@ func (_m *MockFakeEC2) DescribeTags(_a0 *ec2.DescribeTagsInput) (*ec2.DescribeTa } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTagsInput) error); ok { r1 = rf(_a0) } else { @@ -22443,6 +28946,10 @@ func (_m *MockFakeEC2) DescribeTagsRequest(_a0 *ec2.DescribeTagsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTagsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTagsInput) (*request.Request, *ec2.DescribeTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22451,7 +28958,6 @@ func (_m *MockFakeEC2) DescribeTagsRequest(_a0 *ec2.DescribeTagsInput) (*request } } - var r1 *ec2.DescribeTagsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTagsInput) *ec2.DescribeTagsOutput); ok { r1 = rf(_a0) } else { @@ -22475,6 +28981,10 @@ func (_m *MockFakeEC2) DescribeTagsWithContext(_a0 context.Context, _a1 *ec2.Des ret := _m.Called(_ca...) var r0 *ec2.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTagsInput, ...request.Option) (*ec2.DescribeTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTagsInput, ...request.Option) *ec2.DescribeTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22483,7 +28993,6 @@ func (_m *MockFakeEC2) DescribeTagsWithContext(_a0 context.Context, _a1 *ec2.Des } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22498,6 +29007,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFilters(_a0 *ec2.DescribeTrafficMirr ret := _m.Called(_a0) var r0 *ec2.DescribeTrafficMirrorFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorFiltersInput) (*ec2.DescribeTrafficMirrorFiltersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorFiltersInput) *ec2.DescribeTrafficMirrorFiltersOutput); ok { r0 = rf(_a0) } else { @@ -22506,7 +29019,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFilters(_a0 *ec2.DescribeTrafficMirr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorFiltersInput) error); ok { r1 = rf(_a0) } else { @@ -22556,6 +29068,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFiltersRequest(_a0 *ec2.DescribeTraf ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTrafficMirrorFiltersOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorFiltersInput) (*request.Request, *ec2.DescribeTrafficMirrorFiltersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorFiltersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22564,7 +29080,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFiltersRequest(_a0 *ec2.DescribeTraf } } - var r1 *ec2.DescribeTrafficMirrorFiltersOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorFiltersInput) *ec2.DescribeTrafficMirrorFiltersOutput); ok { r1 = rf(_a0) } else { @@ -22588,6 +29103,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFiltersWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeTrafficMirrorFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorFiltersInput, ...request.Option) (*ec2.DescribeTrafficMirrorFiltersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorFiltersInput, ...request.Option) *ec2.DescribeTrafficMirrorFiltersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22596,7 +29115,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorFiltersWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTrafficMirrorFiltersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22611,6 +29129,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessions(_a0 *ec2.DescribeTrafficMir ret := _m.Called(_a0) var r0 *ec2.DescribeTrafficMirrorSessionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorSessionsInput) (*ec2.DescribeTrafficMirrorSessionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorSessionsInput) *ec2.DescribeTrafficMirrorSessionsOutput); ok { r0 = rf(_a0) } else { @@ -22619,7 +29141,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessions(_a0 *ec2.DescribeTrafficMir } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorSessionsInput) error); ok { r1 = rf(_a0) } else { @@ -22669,6 +29190,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessionsRequest(_a0 *ec2.DescribeTra ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTrafficMirrorSessionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorSessionsInput) (*request.Request, *ec2.DescribeTrafficMirrorSessionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorSessionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22677,7 +29202,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessionsRequest(_a0 *ec2.DescribeTra } } - var r1 *ec2.DescribeTrafficMirrorSessionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorSessionsInput) *ec2.DescribeTrafficMirrorSessionsOutput); ok { r1 = rf(_a0) } else { @@ -22701,6 +29225,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessionsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DescribeTrafficMirrorSessionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorSessionsInput, ...request.Option) (*ec2.DescribeTrafficMirrorSessionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorSessionsInput, ...request.Option) *ec2.DescribeTrafficMirrorSessionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22709,7 +29237,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorSessionsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTrafficMirrorSessionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22724,6 +29251,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargets(_a0 *ec2.DescribeTrafficMirr ret := _m.Called(_a0) var r0 *ec2.DescribeTrafficMirrorTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorTargetsInput) (*ec2.DescribeTrafficMirrorTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorTargetsInput) *ec2.DescribeTrafficMirrorTargetsOutput); ok { r0 = rf(_a0) } else { @@ -22732,7 +29263,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargets(_a0 *ec2.DescribeTrafficMirr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -22782,6 +29312,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargetsRequest(_a0 *ec2.DescribeTraf ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTrafficMirrorTargetsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorTargetsInput) (*request.Request, *ec2.DescribeTrafficMirrorTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrafficMirrorTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22790,7 +29324,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargetsRequest(_a0 *ec2.DescribeTraf } } - var r1 *ec2.DescribeTrafficMirrorTargetsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTrafficMirrorTargetsInput) *ec2.DescribeTrafficMirrorTargetsOutput); ok { r1 = rf(_a0) } else { @@ -22814,6 +29347,10 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargetsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeTrafficMirrorTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorTargetsInput, ...request.Option) (*ec2.DescribeTrafficMirrorTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorTargetsInput, ...request.Option) *ec2.DescribeTrafficMirrorTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22822,7 +29359,6 @@ func (_m *MockFakeEC2) DescribeTrafficMirrorTargetsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTrafficMirrorTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22837,6 +29373,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachments(_a0 *ec2.DescribeTransi ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayAttachmentsInput) (*ec2.DescribeTransitGatewayAttachmentsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayAttachmentsInput) *ec2.DescribeTransitGatewayAttachmentsOutput); ok { r0 = rf(_a0) } else { @@ -22845,7 +29385,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachments(_a0 *ec2.DescribeTransi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayAttachmentsInput) error); ok { r1 = rf(_a0) } else { @@ -22895,6 +29434,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachmentsRequest(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayAttachmentsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayAttachmentsInput) (*request.Request, *ec2.DescribeTransitGatewayAttachmentsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayAttachmentsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -22903,7 +29446,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachmentsRequest(_a0 *ec2.Describ } } - var r1 *ec2.DescribeTransitGatewayAttachmentsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayAttachmentsInput) *ec2.DescribeTransitGatewayAttachmentsOutput); ok { r1 = rf(_a0) } else { @@ -22927,6 +29469,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachmentsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayAttachmentsInput, ...request.Option) (*ec2.DescribeTransitGatewayAttachmentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayAttachmentsInput, ...request.Option) *ec2.DescribeTransitGatewayAttachmentsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -22935,7 +29481,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayAttachmentsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayAttachmentsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -22950,6 +29495,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeers(_a0 *ec2.DescribeTrans ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayConnectPeersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectPeersInput) (*ec2.DescribeTransitGatewayConnectPeersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectPeersInput) *ec2.DescribeTransitGatewayConnectPeersOutput); ok { r0 = rf(_a0) } else { @@ -22958,7 +29507,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeers(_a0 *ec2.DescribeTrans } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayConnectPeersInput) error); ok { r1 = rf(_a0) } else { @@ -23008,6 +29556,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeersRequest(_a0 *ec2.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayConnectPeersOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectPeersInput) (*request.Request, *ec2.DescribeTransitGatewayConnectPeersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectPeersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23016,7 +29568,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeersRequest(_a0 *ec2.Descri } } - var r1 *ec2.DescribeTransitGatewayConnectPeersOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayConnectPeersInput) *ec2.DescribeTransitGatewayConnectPeersOutput); ok { r1 = rf(_a0) } else { @@ -23040,6 +29591,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeersWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayConnectPeersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectPeersInput, ...request.Option) (*ec2.DescribeTransitGatewayConnectPeersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectPeersInput, ...request.Option) *ec2.DescribeTransitGatewayConnectPeersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23048,7 +29603,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectPeersWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayConnectPeersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23063,6 +29617,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnects(_a0 *ec2.DescribeTransitGa ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayConnectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectsInput) (*ec2.DescribeTransitGatewayConnectsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectsInput) *ec2.DescribeTransitGatewayConnectsOutput); ok { r0 = rf(_a0) } else { @@ -23071,7 +29629,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnects(_a0 *ec2.DescribeTransitGa } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayConnectsInput) error); ok { r1 = rf(_a0) } else { @@ -23121,6 +29678,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectsRequest(_a0 *ec2.DescribeTr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayConnectsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectsInput) (*request.Request, *ec2.DescribeTransitGatewayConnectsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayConnectsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23129,7 +29690,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectsRequest(_a0 *ec2.DescribeTr } } - var r1 *ec2.DescribeTransitGatewayConnectsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayConnectsInput) *ec2.DescribeTransitGatewayConnectsOutput); ok { r1 = rf(_a0) } else { @@ -23153,6 +29713,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayConnectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectsInput, ...request.Option) (*ec2.DescribeTransitGatewayConnectsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectsInput, ...request.Option) *ec2.DescribeTransitGatewayConnectsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23161,7 +29725,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayConnectsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayConnectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23176,6 +29739,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomains(_a0 *ec2.DescribeT ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayMulticastDomainsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) (*ec2.DescribeTransitGatewayMulticastDomainsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) *ec2.DescribeTransitGatewayMulticastDomainsOutput); ok { r0 = rf(_a0) } else { @@ -23184,7 +29751,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomains(_a0 *ec2.DescribeT } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) error); ok { r1 = rf(_a0) } else { @@ -23234,6 +29800,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomainsRequest(_a0 *ec2.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayMulticastDomainsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) (*request.Request, *ec2.DescribeTransitGatewayMulticastDomainsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23242,7 +29812,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomainsRequest(_a0 *ec2.De } } - var r1 *ec2.DescribeTransitGatewayMulticastDomainsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayMulticastDomainsInput) *ec2.DescribeTransitGatewayMulticastDomainsOutput); ok { r1 = rf(_a0) } else { @@ -23266,6 +29835,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomainsWithContext(_a0 con ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayMulticastDomainsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayMulticastDomainsInput, ...request.Option) (*ec2.DescribeTransitGatewayMulticastDomainsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayMulticastDomainsInput, ...request.Option) *ec2.DescribeTransitGatewayMulticastDomainsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23274,7 +29847,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayMulticastDomainsWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayMulticastDomainsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23289,6 +29861,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachments(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayPeeringAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) (*ec2.DescribeTransitGatewayPeeringAttachmentsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) *ec2.DescribeTransitGatewayPeeringAttachmentsOutput); ok { r0 = rf(_a0) } else { @@ -23297,7 +29873,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachments(_a0 *ec2.Describ } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) error); ok { r1 = rf(_a0) } else { @@ -23347,6 +29922,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachmentsRequest(_a0 *ec2. ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayPeeringAttachmentsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) (*request.Request, *ec2.DescribeTransitGatewayPeeringAttachmentsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23355,7 +29934,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachmentsRequest(_a0 *ec2. } } - var r1 *ec2.DescribeTransitGatewayPeeringAttachmentsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayPeeringAttachmentsInput) *ec2.DescribeTransitGatewayPeeringAttachmentsOutput); ok { r1 = rf(_a0) } else { @@ -23379,6 +29957,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachmentsWithContext(_a0 c ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayPeeringAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayPeeringAttachmentsInput, ...request.Option) (*ec2.DescribeTransitGatewayPeeringAttachmentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayPeeringAttachmentsInput, ...request.Option) *ec2.DescribeTransitGatewayPeeringAttachmentsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23387,7 +29969,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachmentsWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayPeeringAttachmentsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23397,11 +29978,259 @@ func (_m *MockFakeEC2) DescribeTransitGatewayPeeringAttachmentsWithContext(_a0 c return r0, r1 } +// DescribeTransitGatewayPolicyTables provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeTransitGatewayPolicyTables(_a0 *ec2.DescribeTransitGatewayPolicyTablesInput) (*ec2.DescribeTransitGatewayPolicyTablesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeTransitGatewayPolicyTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) (*ec2.DescribeTransitGatewayPolicyTablesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) *ec2.DescribeTransitGatewayPolicyTablesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeTransitGatewayPolicyTablesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeTransitGatewayPolicyTablesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeTransitGatewayPolicyTablesPages(_a0 *ec2.DescribeTransitGatewayPolicyTablesInput, _a1 func(*ec2.DescribeTransitGatewayPolicyTablesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPolicyTablesInput, func(*ec2.DescribeTransitGatewayPolicyTablesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeTransitGatewayPolicyTablesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeTransitGatewayPolicyTablesPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeTransitGatewayPolicyTablesInput, _a2 func(*ec2.DescribeTransitGatewayPolicyTablesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeTransitGatewayPolicyTablesInput, func(*ec2.DescribeTransitGatewayPolicyTablesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeTransitGatewayPolicyTablesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeTransitGatewayPolicyTablesRequest(_a0 *ec2.DescribeTransitGatewayPolicyTablesInput) (*request.Request, *ec2.DescribeTransitGatewayPolicyTablesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayPolicyTablesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) (*request.Request, *ec2.DescribeTransitGatewayPolicyTablesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayPolicyTablesInput) *ec2.DescribeTransitGatewayPolicyTablesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeTransitGatewayPolicyTablesOutput) + } + } + + return r0, r1 +} + +// DescribeTransitGatewayPolicyTablesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeTransitGatewayPolicyTablesWithContext(_a0 context.Context, _a1 *ec2.DescribeTransitGatewayPolicyTablesInput, _a2 ...request.Option) (*ec2.DescribeTransitGatewayPolicyTablesOutput, error) { + _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 *ec2.DescribeTransitGatewayPolicyTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayPolicyTablesInput, ...request.Option) (*ec2.DescribeTransitGatewayPolicyTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayPolicyTablesInput, ...request.Option) *ec2.DescribeTransitGatewayPolicyTablesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeTransitGatewayPolicyTablesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayPolicyTablesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeTransitGatewayRouteTableAnnouncements provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeTransitGatewayRouteTableAnnouncements(_a0 *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) (*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) (*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeTransitGatewayRouteTableAnnouncementsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeTransitGatewayRouteTableAnnouncementsPages(_a0 *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, _a1 func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeTransitGatewayRouteTableAnnouncementsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeTransitGatewayRouteTableAnnouncementsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, _a2 func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeTransitGatewayRouteTableAnnouncementsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DescribeTransitGatewayRouteTableAnnouncementsRequest(_a0 *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) (*request.Request, *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) (*request.Request, *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayRouteTableAnnouncementsInput) *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput) + } + } + + return r0, r1 +} + +// DescribeTransitGatewayRouteTableAnnouncementsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DescribeTransitGatewayRouteTableAnnouncementsWithContext(_a0 context.Context, _a1 *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, _a2 ...request.Option) (*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, error) { + _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 *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, ...request.Option) (*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, ...request.Option) *ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DescribeTransitGatewayRouteTableAnnouncementsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayRouteTableAnnouncementsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeTransitGatewayRouteTables provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeTransitGatewayRouteTables(_a0 *ec2.DescribeTransitGatewayRouteTablesInput) (*ec2.DescribeTransitGatewayRouteTablesOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTablesInput) (*ec2.DescribeTransitGatewayRouteTablesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTablesInput) *ec2.DescribeTransitGatewayRouteTablesOutput); ok { r0 = rf(_a0) } else { @@ -23410,7 +30239,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayRouteTables(_a0 *ec2.DescribeTransi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayRouteTablesInput) error); ok { r1 = rf(_a0) } else { @@ -23460,6 +30288,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayRouteTablesRequest(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayRouteTablesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTablesInput) (*request.Request, *ec2.DescribeTransitGatewayRouteTablesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayRouteTablesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23468,7 +30300,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayRouteTablesRequest(_a0 *ec2.Describ } } - var r1 *ec2.DescribeTransitGatewayRouteTablesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayRouteTablesInput) *ec2.DescribeTransitGatewayRouteTablesOutput); ok { r1 = rf(_a0) } else { @@ -23492,6 +30323,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayRouteTablesWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayRouteTablesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayRouteTablesInput, ...request.Option) (*ec2.DescribeTransitGatewayRouteTablesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayRouteTablesInput, ...request.Option) *ec2.DescribeTransitGatewayRouteTablesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23500,7 +30335,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayRouteTablesWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayRouteTablesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23515,6 +30349,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachments(_a0 *ec2.DescribeTra ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewayVpcAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) *ec2.DescribeTransitGatewayVpcAttachmentsOutput); ok { r0 = rf(_a0) } else { @@ -23523,7 +30361,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachments(_a0 *ec2.DescribeTra } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) error); ok { r1 = rf(_a0) } else { @@ -23573,6 +30410,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachmentsRequest(_a0 *ec2.Desc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewayVpcAttachmentsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) (*request.Request, *ec2.DescribeTransitGatewayVpcAttachmentsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23581,7 +30422,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachmentsRequest(_a0 *ec2.Desc } } - var r1 *ec2.DescribeTransitGatewayVpcAttachmentsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewayVpcAttachmentsInput) *ec2.DescribeTransitGatewayVpcAttachmentsOutput); ok { r1 = rf(_a0) } else { @@ -23605,6 +30445,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachmentsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewayVpcAttachmentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...request.Option) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...request.Option) *ec2.DescribeTransitGatewayVpcAttachmentsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23613,7 +30457,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewayVpcAttachmentsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23628,6 +30471,10 @@ func (_m *MockFakeEC2) DescribeTransitGateways(_a0 *ec2.DescribeTransitGatewaysI ret := _m.Called(_a0) var r0 *ec2.DescribeTransitGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewaysInput) (*ec2.DescribeTransitGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewaysInput) *ec2.DescribeTransitGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -23636,7 +30483,6 @@ func (_m *MockFakeEC2) DescribeTransitGateways(_a0 *ec2.DescribeTransitGatewaysI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -23686,6 +30532,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewaysRequest(_a0 *ec2.DescribeTransitGa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTransitGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewaysInput) (*request.Request, *ec2.DescribeTransitGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTransitGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23694,7 +30544,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewaysRequest(_a0 *ec2.DescribeTransitGa } } - var r1 *ec2.DescribeTransitGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTransitGatewaysInput) *ec2.DescribeTransitGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -23718,6 +30567,10 @@ func (_m *MockFakeEC2) DescribeTransitGatewaysWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeTransitGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewaysInput, ...request.Option) (*ec2.DescribeTransitGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewaysInput, ...request.Option) *ec2.DescribeTransitGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23726,7 +30579,6 @@ func (_m *MockFakeEC2) DescribeTransitGatewaysWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTransitGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23741,6 +30593,10 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociations(_a0 *ec2.DescribeTrunk ret := _m.Called(_a0) var r0 *ec2.DescribeTrunkInterfaceAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) (*ec2.DescribeTrunkInterfaceAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) *ec2.DescribeTrunkInterfaceAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -23749,7 +30605,6 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociations(_a0 *ec2.DescribeTrunk } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -23759,11 +30614,50 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociations(_a0 *ec2.DescribeTrunk return r0, r1 } +// DescribeTrunkInterfaceAssociationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsPages(_a0 *ec2.DescribeTrunkInterfaceAssociationsInput, _a1 func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrunkInterfaceAssociationsInput, func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeTrunkInterfaceAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.DescribeTrunkInterfaceAssociationsInput, _a2 func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.DescribeTrunkInterfaceAssociationsInput, func(*ec2.DescribeTrunkInterfaceAssociationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // DescribeTrunkInterfaceAssociationsRequest provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsRequest(_a0 *ec2.DescribeTrunkInterfaceAssociationsInput) (*request.Request, *ec2.DescribeTrunkInterfaceAssociationsOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeTrunkInterfaceAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) (*request.Request, *ec2.DescribeTrunkInterfaceAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23772,7 +30666,6 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsRequest(_a0 *ec2.Descri } } - var r1 *ec2.DescribeTrunkInterfaceAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeTrunkInterfaceAssociationsInput) *ec2.DescribeTrunkInterfaceAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -23796,6 +30689,10 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.DescribeTrunkInterfaceAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrunkInterfaceAssociationsInput, ...request.Option) (*ec2.DescribeTrunkInterfaceAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrunkInterfaceAssociationsInput, ...request.Option) *ec2.DescribeTrunkInterfaceAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23804,7 +30701,6 @@ func (_m *MockFakeEC2) DescribeTrunkInterfaceAssociationsWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeTrunkInterfaceAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23819,6 +30715,10 @@ func (_m *MockFakeEC2) DescribeVolumeAttribute(_a0 *ec2.DescribeVolumeAttributeI ret := _m.Called(_a0) var r0 *ec2.DescribeVolumeAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeAttributeInput) (*ec2.DescribeVolumeAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeAttributeInput) *ec2.DescribeVolumeAttributeOutput); ok { r0 = rf(_a0) } else { @@ -23827,7 +30727,6 @@ func (_m *MockFakeEC2) DescribeVolumeAttribute(_a0 *ec2.DescribeVolumeAttributeI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumeAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -23842,6 +30741,10 @@ func (_m *MockFakeEC2) DescribeVolumeAttributeRequest(_a0 *ec2.DescribeVolumeAtt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVolumeAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeAttributeInput) (*request.Request, *ec2.DescribeVolumeAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23850,7 +30753,6 @@ func (_m *MockFakeEC2) DescribeVolumeAttributeRequest(_a0 *ec2.DescribeVolumeAtt } } - var r1 *ec2.DescribeVolumeAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumeAttributeInput) *ec2.DescribeVolumeAttributeOutput); ok { r1 = rf(_a0) } else { @@ -23874,6 +30776,10 @@ func (_m *MockFakeEC2) DescribeVolumeAttributeWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DescribeVolumeAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeAttributeInput, ...request.Option) (*ec2.DescribeVolumeAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeAttributeInput, ...request.Option) *ec2.DescribeVolumeAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23882,7 +30788,6 @@ func (_m *MockFakeEC2) DescribeVolumeAttributeWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVolumeAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -23897,6 +30802,10 @@ func (_m *MockFakeEC2) DescribeVolumeStatus(_a0 *ec2.DescribeVolumeStatusInput) ret := _m.Called(_a0) var r0 *ec2.DescribeVolumeStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeStatusInput) (*ec2.DescribeVolumeStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeStatusInput) *ec2.DescribeVolumeStatusOutput); ok { r0 = rf(_a0) } else { @@ -23905,7 +30814,6 @@ func (_m *MockFakeEC2) DescribeVolumeStatus(_a0 *ec2.DescribeVolumeStatusInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumeStatusInput) error); ok { r1 = rf(_a0) } else { @@ -23955,6 +30863,10 @@ func (_m *MockFakeEC2) DescribeVolumeStatusRequest(_a0 *ec2.DescribeVolumeStatus ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVolumeStatusOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeStatusInput) (*request.Request, *ec2.DescribeVolumeStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumeStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -23963,7 +30875,6 @@ func (_m *MockFakeEC2) DescribeVolumeStatusRequest(_a0 *ec2.DescribeVolumeStatus } } - var r1 *ec2.DescribeVolumeStatusOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumeStatusInput) *ec2.DescribeVolumeStatusOutput); ok { r1 = rf(_a0) } else { @@ -23987,6 +30898,10 @@ func (_m *MockFakeEC2) DescribeVolumeStatusWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeVolumeStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeStatusInput, ...request.Option) (*ec2.DescribeVolumeStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeStatusInput, ...request.Option) *ec2.DescribeVolumeStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -23995,7 +30910,6 @@ func (_m *MockFakeEC2) DescribeVolumeStatusWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVolumeStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24010,6 +30924,10 @@ func (_m *MockFakeEC2) DescribeVolumes(_a0 *ec2.DescribeVolumesInput) (*ec2.Desc ret := _m.Called(_a0) var r0 *ec2.DescribeVolumesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesInput) *ec2.DescribeVolumesOutput); ok { r0 = rf(_a0) } else { @@ -24018,7 +30936,6 @@ func (_m *MockFakeEC2) DescribeVolumes(_a0 *ec2.DescribeVolumesInput) (*ec2.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumesInput) error); ok { r1 = rf(_a0) } else { @@ -24033,6 +30950,10 @@ func (_m *MockFakeEC2) DescribeVolumesModifications(_a0 *ec2.DescribeVolumesModi ret := _m.Called(_a0) var r0 *ec2.DescribeVolumesModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesModificationsInput) (*ec2.DescribeVolumesModificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesModificationsInput) *ec2.DescribeVolumesModificationsOutput); ok { r0 = rf(_a0) } else { @@ -24041,7 +30962,6 @@ func (_m *MockFakeEC2) DescribeVolumesModifications(_a0 *ec2.DescribeVolumesModi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumesModificationsInput) error); ok { r1 = rf(_a0) } else { @@ -24091,6 +31011,10 @@ func (_m *MockFakeEC2) DescribeVolumesModificationsRequest(_a0 *ec2.DescribeVolu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVolumesModificationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesModificationsInput) (*request.Request, *ec2.DescribeVolumesModificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesModificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24099,7 +31023,6 @@ func (_m *MockFakeEC2) DescribeVolumesModificationsRequest(_a0 *ec2.DescribeVolu } } - var r1 *ec2.DescribeVolumesModificationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumesModificationsInput) *ec2.DescribeVolumesModificationsOutput); ok { r1 = rf(_a0) } else { @@ -24123,6 +31046,10 @@ func (_m *MockFakeEC2) DescribeVolumesModificationsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.DescribeVolumesModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesModificationsInput, ...request.Option) (*ec2.DescribeVolumesModificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesModificationsInput, ...request.Option) *ec2.DescribeVolumesModificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24131,7 +31058,6 @@ func (_m *MockFakeEC2) DescribeVolumesModificationsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVolumesModificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24181,6 +31107,10 @@ func (_m *MockFakeEC2) DescribeVolumesRequest(_a0 *ec2.DescribeVolumesInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVolumesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesInput) (*request.Request, *ec2.DescribeVolumesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVolumesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24189,7 +31119,6 @@ func (_m *MockFakeEC2) DescribeVolumesRequest(_a0 *ec2.DescribeVolumesInput) (*r } } - var r1 *ec2.DescribeVolumesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVolumesInput) *ec2.DescribeVolumesOutput); ok { r1 = rf(_a0) } else { @@ -24213,6 +31142,10 @@ func (_m *MockFakeEC2) DescribeVolumesWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.DescribeVolumesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesInput, ...request.Option) (*ec2.DescribeVolumesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesInput, ...request.Option) *ec2.DescribeVolumesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24221,7 +31154,6 @@ func (_m *MockFakeEC2) DescribeVolumesWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVolumesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24236,6 +31168,10 @@ func (_m *MockFakeEC2) DescribeVpcAttribute(_a0 *ec2.DescribeVpcAttributeInput) ret := _m.Called(_a0) var r0 *ec2.DescribeVpcAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcAttributeInput) (*ec2.DescribeVpcAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcAttributeInput) *ec2.DescribeVpcAttributeOutput); ok { r0 = rf(_a0) } else { @@ -24244,7 +31180,6 @@ func (_m *MockFakeEC2) DescribeVpcAttribute(_a0 *ec2.DescribeVpcAttributeInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -24259,6 +31194,10 @@ func (_m *MockFakeEC2) DescribeVpcAttributeRequest(_a0 *ec2.DescribeVpcAttribute ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcAttributeInput) (*request.Request, *ec2.DescribeVpcAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24267,7 +31206,6 @@ func (_m *MockFakeEC2) DescribeVpcAttributeRequest(_a0 *ec2.DescribeVpcAttribute } } - var r1 *ec2.DescribeVpcAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcAttributeInput) *ec2.DescribeVpcAttributeOutput); ok { r1 = rf(_a0) } else { @@ -24291,6 +31229,10 @@ func (_m *MockFakeEC2) DescribeVpcAttributeWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcAttributeInput, ...request.Option) (*ec2.DescribeVpcAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcAttributeInput, ...request.Option) *ec2.DescribeVpcAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24299,7 +31241,6 @@ func (_m *MockFakeEC2) DescribeVpcAttributeWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24314,6 +31255,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLink(_a0 *ec2.DescribeVpcClassicLinkInp ret := _m.Called(_a0) var r0 *ec2.DescribeVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkInput) (*ec2.DescribeVpcClassicLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkInput) *ec2.DescribeVpcClassicLinkOutput); ok { r0 = rf(_a0) } else { @@ -24322,7 +31267,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLink(_a0 *ec2.DescribeVpcClassicLinkInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcClassicLinkInput) error); ok { r1 = rf(_a0) } else { @@ -24337,6 +31281,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupport(_a0 *ec2.DescribeVpcClas ret := _m.Called(_a0) var r0 *ec2.DescribeVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) (*ec2.DescribeVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) *ec2.DescribeVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0) } else { @@ -24345,7 +31293,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupport(_a0 *ec2.DescribeVpcClas } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) error); ok { r1 = rf(_a0) } else { @@ -24395,6 +31342,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupportRequest(_a0 *ec2.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcClassicLinkDnsSupportOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) (*request.Request, *ec2.DescribeVpcClassicLinkDnsSupportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24403,7 +31354,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupportRequest(_a0 *ec2.Describe } } - var r1 *ec2.DescribeVpcClassicLinkDnsSupportOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcClassicLinkDnsSupportInput) *ec2.DescribeVpcClassicLinkDnsSupportOutput); ok { r1 = rf(_a0) } else { @@ -24427,6 +31377,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupportWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkDnsSupportInput, ...request.Option) (*ec2.DescribeVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkDnsSupportInput, ...request.Option) *ec2.DescribeVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24435,7 +31389,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkDnsSupportWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcClassicLinkDnsSupportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24450,6 +31403,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkRequest(_a0 *ec2.DescribeVpcClassic ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcClassicLinkOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkInput) (*request.Request, *ec2.DescribeVpcClassicLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcClassicLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24458,7 +31415,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkRequest(_a0 *ec2.DescribeVpcClassic } } - var r1 *ec2.DescribeVpcClassicLinkOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcClassicLinkInput) *ec2.DescribeVpcClassicLinkOutput); ok { r1 = rf(_a0) } else { @@ -24482,6 +31438,10 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkInput, ...request.Option) (*ec2.DescribeVpcClassicLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkInput, ...request.Option) *ec2.DescribeVpcClassicLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24490,7 +31450,6 @@ func (_m *MockFakeEC2) DescribeVpcClassicLinkWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcClassicLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24505,6 +31464,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotifications(_a0 *ec2.Descr ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointConnectionNotificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) (*ec2.DescribeVpcEndpointConnectionNotificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) *ec2.DescribeVpcEndpointConnectionNotificationsOutput); ok { r0 = rf(_a0) } else { @@ -24513,7 +31476,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotifications(_a0 *ec2.Descr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) error); ok { r1 = rf(_a0) } else { @@ -24563,6 +31525,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotificationsRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointConnectionNotificationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) (*request.Request, *ec2.DescribeVpcEndpointConnectionNotificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24571,7 +31537,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotificationsRequest(_a0 *ec } } - var r1 *ec2.DescribeVpcEndpointConnectionNotificationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointConnectionNotificationsInput) *ec2.DescribeVpcEndpointConnectionNotificationsOutput); ok { r1 = rf(_a0) } else { @@ -24595,6 +31560,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotificationsWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointConnectionNotificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionNotificationsInput, ...request.Option) (*ec2.DescribeVpcEndpointConnectionNotificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionNotificationsInput, ...request.Option) *ec2.DescribeVpcEndpointConnectionNotificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24603,7 +31572,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionNotificationsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointConnectionNotificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24618,6 +31586,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnections(_a0 *ec2.DescribeVpcEndpoi ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionsInput) (*ec2.DescribeVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionsInput) *ec2.DescribeVpcEndpointConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -24626,7 +31598,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnections(_a0 *ec2.DescribeVpcEndpoi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -24676,6 +31647,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionsRequest(_a0 *ec2.DescribeVp ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionsInput) (*request.Request, *ec2.DescribeVpcEndpointConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24684,7 +31659,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionsRequest(_a0 *ec2.DescribeVp } } - var r1 *ec2.DescribeVpcEndpointConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointConnectionsInput) *ec2.DescribeVpcEndpointConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -24708,6 +31682,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionsInput, ...request.Option) (*ec2.DescribeVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionsInput, ...request.Option) *ec2.DescribeVpcEndpointConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24716,7 +31694,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointConnectionsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24731,6 +31708,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurations(_a0 *ec2.Describ ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointServiceConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) (*ec2.DescribeVpcEndpointServiceConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) *ec2.DescribeVpcEndpointServiceConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -24739,7 +31720,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurations(_a0 *ec2.Describ } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -24789,6 +31769,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurationsRequest(_a0 *ec2. ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointServiceConfigurationsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) (*request.Request, *ec2.DescribeVpcEndpointServiceConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24797,7 +31781,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurationsRequest(_a0 *ec2. } } - var r1 *ec2.DescribeVpcEndpointServiceConfigurationsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServiceConfigurationsInput) *ec2.DescribeVpcEndpointServiceConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -24821,6 +31804,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurationsWithContext(_a0 c ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointServiceConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServiceConfigurationsInput, ...request.Option) (*ec2.DescribeVpcEndpointServiceConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServiceConfigurationsInput, ...request.Option) *ec2.DescribeVpcEndpointServiceConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24829,7 +31816,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServiceConfigurationsWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointServiceConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24844,6 +31830,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissions(_a0 *ec2.DescribeVp ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointServicePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) (*ec2.DescribeVpcEndpointServicePermissionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) *ec2.DescribeVpcEndpointServicePermissionsOutput); ok { r0 = rf(_a0) } else { @@ -24852,7 +31842,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissions(_a0 *ec2.DescribeVp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) error); ok { r1 = rf(_a0) } else { @@ -24902,6 +31891,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissionsRequest(_a0 *ec2.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointServicePermissionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) (*request.Request, *ec2.DescribeVpcEndpointServicePermissionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24910,7 +31903,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissionsRequest(_a0 *ec2.Des } } - var r1 *ec2.DescribeVpcEndpointServicePermissionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServicePermissionsInput) *ec2.DescribeVpcEndpointServicePermissionsOutput); ok { r1 = rf(_a0) } else { @@ -24934,6 +31926,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissionsWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointServicePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicePermissionsInput, ...request.Option) (*ec2.DescribeVpcEndpointServicePermissionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicePermissionsInput, ...request.Option) *ec2.DescribeVpcEndpointServicePermissionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -24942,7 +31938,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicePermissionsWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointServicePermissionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -24957,6 +31952,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServices(_a0 *ec2.DescribeVpcEndpointS ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointServicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicesInput) (*ec2.DescribeVpcEndpointServicesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicesInput) *ec2.DescribeVpcEndpointServicesOutput); ok { r0 = rf(_a0) } else { @@ -24965,7 +31964,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServices(_a0 *ec2.DescribeVpcEndpointS } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServicesInput) error); ok { r1 = rf(_a0) } else { @@ -24980,6 +31978,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicesRequest(_a0 *ec2.DescribeVpcEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointServicesOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicesInput) (*request.Request, *ec2.DescribeVpcEndpointServicesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointServicesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -24988,7 +31990,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicesRequest(_a0 *ec2.DescribeVpcEn } } - var r1 *ec2.DescribeVpcEndpointServicesOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointServicesInput) *ec2.DescribeVpcEndpointServicesOutput); ok { r1 = rf(_a0) } else { @@ -25012,6 +32013,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicesWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointServicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicesInput, ...request.Option) (*ec2.DescribeVpcEndpointServicesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicesInput, ...request.Option) *ec2.DescribeVpcEndpointServicesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25020,7 +32025,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointServicesWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointServicesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25035,6 +32039,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpoints(_a0 *ec2.DescribeVpcEndpointsInput) ret := _m.Called(_a0) var r0 *ec2.DescribeVpcEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointsInput) (*ec2.DescribeVpcEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointsInput) *ec2.DescribeVpcEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -25043,7 +32051,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpoints(_a0 *ec2.DescribeVpcEndpointsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -25093,6 +32100,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointsRequest(_a0 *ec2.DescribeVpcEndpoints ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcEndpointsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointsInput) (*request.Request, *ec2.DescribeVpcEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25101,7 +32112,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointsRequest(_a0 *ec2.DescribeVpcEndpoints } } - var r1 *ec2.DescribeVpcEndpointsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcEndpointsInput) *ec2.DescribeVpcEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -25125,6 +32135,10 @@ func (_m *MockFakeEC2) DescribeVpcEndpointsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointsInput, ...request.Option) (*ec2.DescribeVpcEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointsInput, ...request.Option) *ec2.DescribeVpcEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25133,7 +32147,6 @@ func (_m *MockFakeEC2) DescribeVpcEndpointsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25148,6 +32161,10 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnections(_a0 *ec2.DescribeVpcPeering ret := _m.Called(_a0) var r0 *ec2.DescribeVpcPeeringConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcPeeringConnectionsInput) (*ec2.DescribeVpcPeeringConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcPeeringConnectionsInput) *ec2.DescribeVpcPeeringConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -25156,7 +32173,6 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnections(_a0 *ec2.DescribeVpcPeering } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcPeeringConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -25206,6 +32222,10 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnectionsRequest(_a0 *ec2.DescribeVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcPeeringConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcPeeringConnectionsInput) (*request.Request, *ec2.DescribeVpcPeeringConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcPeeringConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25214,7 +32234,6 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnectionsRequest(_a0 *ec2.DescribeVpc } } - var r1 *ec2.DescribeVpcPeeringConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcPeeringConnectionsInput) *ec2.DescribeVpcPeeringConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -25238,6 +32257,10 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnectionsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcPeeringConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcPeeringConnectionsInput, ...request.Option) (*ec2.DescribeVpcPeeringConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcPeeringConnectionsInput, ...request.Option) *ec2.DescribeVpcPeeringConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25246,7 +32269,6 @@ func (_m *MockFakeEC2) DescribeVpcPeeringConnectionsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcPeeringConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25261,6 +32283,10 @@ func (_m *MockFakeEC2) DescribeVpcs(_a0 *ec2.DescribeVpcsInput) (*ec2.DescribeVp ret := _m.Called(_a0) var r0 *ec2.DescribeVpcsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcsInput) *ec2.DescribeVpcsOutput); ok { r0 = rf(_a0) } else { @@ -25269,7 +32295,6 @@ func (_m *MockFakeEC2) DescribeVpcs(_a0 *ec2.DescribeVpcsInput) (*ec2.DescribeVp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcsInput) error); ok { r1 = rf(_a0) } else { @@ -25319,6 +32344,10 @@ func (_m *MockFakeEC2) DescribeVpcsRequest(_a0 *ec2.DescribeVpcsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpcsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcsInput) (*request.Request, *ec2.DescribeVpcsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpcsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25327,7 +32356,6 @@ func (_m *MockFakeEC2) DescribeVpcsRequest(_a0 *ec2.DescribeVpcsInput) (*request } } - var r1 *ec2.DescribeVpcsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpcsInput) *ec2.DescribeVpcsOutput); ok { r1 = rf(_a0) } else { @@ -25351,6 +32379,10 @@ func (_m *MockFakeEC2) DescribeVpcsWithContext(_a0 context.Context, _a1 *ec2.Des ret := _m.Called(_ca...) var r0 *ec2.DescribeVpcsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcsInput, ...request.Option) (*ec2.DescribeVpcsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcsInput, ...request.Option) *ec2.DescribeVpcsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25359,7 +32391,6 @@ func (_m *MockFakeEC2) DescribeVpcsWithContext(_a0 context.Context, _a1 *ec2.Des } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpcsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25374,6 +32405,10 @@ func (_m *MockFakeEC2) DescribeVpnConnections(_a0 *ec2.DescribeVpnConnectionsInp ret := _m.Called(_a0) var r0 *ec2.DescribeVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnConnectionsInput) (*ec2.DescribeVpnConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnConnectionsInput) *ec2.DescribeVpnConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -25382,7 +32417,6 @@ func (_m *MockFakeEC2) DescribeVpnConnections(_a0 *ec2.DescribeVpnConnectionsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpnConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -25397,6 +32431,10 @@ func (_m *MockFakeEC2) DescribeVpnConnectionsRequest(_a0 *ec2.DescribeVpnConnect ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpnConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnConnectionsInput) (*request.Request, *ec2.DescribeVpnConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25405,7 +32443,6 @@ func (_m *MockFakeEC2) DescribeVpnConnectionsRequest(_a0 *ec2.DescribeVpnConnect } } - var r1 *ec2.DescribeVpnConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpnConnectionsInput) *ec2.DescribeVpnConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -25429,6 +32466,10 @@ func (_m *MockFakeEC2) DescribeVpnConnectionsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DescribeVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnConnectionsInput, ...request.Option) (*ec2.DescribeVpnConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnConnectionsInput, ...request.Option) *ec2.DescribeVpnConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25437,7 +32478,6 @@ func (_m *MockFakeEC2) DescribeVpnConnectionsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpnConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25452,6 +32492,10 @@ func (_m *MockFakeEC2) DescribeVpnGateways(_a0 *ec2.DescribeVpnGatewaysInput) (* ret := _m.Called(_a0) var r0 *ec2.DescribeVpnGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnGatewaysInput) (*ec2.DescribeVpnGatewaysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnGatewaysInput) *ec2.DescribeVpnGatewaysOutput); ok { r0 = rf(_a0) } else { @@ -25460,7 +32504,6 @@ func (_m *MockFakeEC2) DescribeVpnGateways(_a0 *ec2.DescribeVpnGatewaysInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DescribeVpnGatewaysInput) error); ok { r1 = rf(_a0) } else { @@ -25475,6 +32518,10 @@ func (_m *MockFakeEC2) DescribeVpnGatewaysRequest(_a0 *ec2.DescribeVpnGatewaysIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DescribeVpnGatewaysOutput + if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnGatewaysInput) (*request.Request, *ec2.DescribeVpnGatewaysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DescribeVpnGatewaysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25483,7 +32530,6 @@ func (_m *MockFakeEC2) DescribeVpnGatewaysRequest(_a0 *ec2.DescribeVpnGatewaysIn } } - var r1 *ec2.DescribeVpnGatewaysOutput if rf, ok := ret.Get(1).(func(*ec2.DescribeVpnGatewaysInput) *ec2.DescribeVpnGatewaysOutput); ok { r1 = rf(_a0) } else { @@ -25507,6 +32553,10 @@ func (_m *MockFakeEC2) DescribeVpnGatewaysWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DescribeVpnGatewaysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnGatewaysInput, ...request.Option) (*ec2.DescribeVpnGatewaysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnGatewaysInput, ...request.Option) *ec2.DescribeVpnGatewaysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25515,7 +32565,6 @@ func (_m *MockFakeEC2) DescribeVpnGatewaysWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DescribeVpnGatewaysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25530,6 +32579,10 @@ func (_m *MockFakeEC2) DetachClassicLinkVpc(_a0 *ec2.DetachClassicLinkVpcInput) ret := _m.Called(_a0) var r0 *ec2.DetachClassicLinkVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DetachClassicLinkVpcInput) (*ec2.DetachClassicLinkVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachClassicLinkVpcInput) *ec2.DetachClassicLinkVpcOutput); ok { r0 = rf(_a0) } else { @@ -25538,7 +32591,6 @@ func (_m *MockFakeEC2) DetachClassicLinkVpc(_a0 *ec2.DetachClassicLinkVpcInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DetachClassicLinkVpcInput) error); ok { r1 = rf(_a0) } else { @@ -25553,6 +32605,10 @@ func (_m *MockFakeEC2) DetachClassicLinkVpcRequest(_a0 *ec2.DetachClassicLinkVpc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DetachClassicLinkVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.DetachClassicLinkVpcInput) (*request.Request, *ec2.DetachClassicLinkVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachClassicLinkVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25561,7 +32617,6 @@ func (_m *MockFakeEC2) DetachClassicLinkVpcRequest(_a0 *ec2.DetachClassicLinkVpc } } - var r1 *ec2.DetachClassicLinkVpcOutput if rf, ok := ret.Get(1).(func(*ec2.DetachClassicLinkVpcInput) *ec2.DetachClassicLinkVpcOutput); ok { r1 = rf(_a0) } else { @@ -25585,6 +32640,10 @@ func (_m *MockFakeEC2) DetachClassicLinkVpcWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DetachClassicLinkVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachClassicLinkVpcInput, ...request.Option) (*ec2.DetachClassicLinkVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachClassicLinkVpcInput, ...request.Option) *ec2.DetachClassicLinkVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25593,7 +32652,6 @@ func (_m *MockFakeEC2) DetachClassicLinkVpcWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DetachClassicLinkVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25608,6 +32666,10 @@ func (_m *MockFakeEC2) DetachInternetGateway(_a0 *ec2.DetachInternetGatewayInput ret := _m.Called(_a0) var r0 *ec2.DetachInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DetachInternetGatewayInput) (*ec2.DetachInternetGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachInternetGatewayInput) *ec2.DetachInternetGatewayOutput); ok { r0 = rf(_a0) } else { @@ -25616,7 +32678,6 @@ func (_m *MockFakeEC2) DetachInternetGateway(_a0 *ec2.DetachInternetGatewayInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DetachInternetGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -25631,6 +32692,10 @@ func (_m *MockFakeEC2) DetachInternetGatewayRequest(_a0 *ec2.DetachInternetGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DetachInternetGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DetachInternetGatewayInput) (*request.Request, *ec2.DetachInternetGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachInternetGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25639,7 +32704,6 @@ func (_m *MockFakeEC2) DetachInternetGatewayRequest(_a0 *ec2.DetachInternetGatew } } - var r1 *ec2.DetachInternetGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DetachInternetGatewayInput) *ec2.DetachInternetGatewayOutput); ok { r1 = rf(_a0) } else { @@ -25663,6 +32727,10 @@ func (_m *MockFakeEC2) DetachInternetGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DetachInternetGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachInternetGatewayInput, ...request.Option) (*ec2.DetachInternetGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachInternetGatewayInput, ...request.Option) *ec2.DetachInternetGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25671,7 +32739,6 @@ func (_m *MockFakeEC2) DetachInternetGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DetachInternetGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25686,6 +32753,10 @@ func (_m *MockFakeEC2) DetachNetworkInterface(_a0 *ec2.DetachNetworkInterfaceInp ret := _m.Called(_a0) var r0 *ec2.DetachNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DetachNetworkInterfaceInput) (*ec2.DetachNetworkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachNetworkInterfaceInput) *ec2.DetachNetworkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -25694,7 +32765,6 @@ func (_m *MockFakeEC2) DetachNetworkInterface(_a0 *ec2.DetachNetworkInterfaceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DetachNetworkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -25709,6 +32779,10 @@ func (_m *MockFakeEC2) DetachNetworkInterfaceRequest(_a0 *ec2.DetachNetworkInter ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DetachNetworkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.DetachNetworkInterfaceInput) (*request.Request, *ec2.DetachNetworkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachNetworkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25717,7 +32791,6 @@ func (_m *MockFakeEC2) DetachNetworkInterfaceRequest(_a0 *ec2.DetachNetworkInter } } - var r1 *ec2.DetachNetworkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.DetachNetworkInterfaceInput) *ec2.DetachNetworkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -25741,6 +32814,10 @@ func (_m *MockFakeEC2) DetachNetworkInterfaceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DetachNetworkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachNetworkInterfaceInput, ...request.Option) (*ec2.DetachNetworkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachNetworkInterfaceInput, ...request.Option) *ec2.DetachNetworkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25749,7 +32826,6 @@ func (_m *MockFakeEC2) DetachNetworkInterfaceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DetachNetworkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25764,6 +32840,10 @@ func (_m *MockFakeEC2) DetachVolume(_a0 *ec2.DetachVolumeInput) (*ec2.VolumeAtta ret := _m.Called(_a0) var r0 *ec2.VolumeAttachment + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DetachVolumeInput) (*ec2.VolumeAttachment, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachVolumeInput) *ec2.VolumeAttachment); ok { r0 = rf(_a0) } else { @@ -25772,7 +32852,6 @@ func (_m *MockFakeEC2) DetachVolume(_a0 *ec2.DetachVolumeInput) (*ec2.VolumeAtta } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DetachVolumeInput) error); ok { r1 = rf(_a0) } else { @@ -25787,6 +32866,10 @@ func (_m *MockFakeEC2) DetachVolumeRequest(_a0 *ec2.DetachVolumeInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.VolumeAttachment + if rf, ok := ret.Get(0).(func(*ec2.DetachVolumeInput) (*request.Request, *ec2.VolumeAttachment)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachVolumeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25795,7 +32878,6 @@ func (_m *MockFakeEC2) DetachVolumeRequest(_a0 *ec2.DetachVolumeInput) (*request } } - var r1 *ec2.VolumeAttachment if rf, ok := ret.Get(1).(func(*ec2.DetachVolumeInput) *ec2.VolumeAttachment); ok { r1 = rf(_a0) } else { @@ -25819,6 +32901,10 @@ func (_m *MockFakeEC2) DetachVolumeWithContext(_a0 context.Context, _a1 *ec2.Det ret := _m.Called(_ca...) var r0 *ec2.VolumeAttachment + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVolumeInput, ...request.Option) (*ec2.VolumeAttachment, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVolumeInput, ...request.Option) *ec2.VolumeAttachment); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25827,7 +32913,6 @@ func (_m *MockFakeEC2) DetachVolumeWithContext(_a0 context.Context, _a1 *ec2.Det } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DetachVolumeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25842,6 +32927,10 @@ func (_m *MockFakeEC2) DetachVpnGateway(_a0 *ec2.DetachVpnGatewayInput) (*ec2.De ret := _m.Called(_a0) var r0 *ec2.DetachVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DetachVpnGatewayInput) (*ec2.DetachVpnGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachVpnGatewayInput) *ec2.DetachVpnGatewayOutput); ok { r0 = rf(_a0) } else { @@ -25850,7 +32939,6 @@ func (_m *MockFakeEC2) DetachVpnGateway(_a0 *ec2.DetachVpnGatewayInput) (*ec2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DetachVpnGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -25865,6 +32953,10 @@ func (_m *MockFakeEC2) DetachVpnGatewayRequest(_a0 *ec2.DetachVpnGatewayInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DetachVpnGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.DetachVpnGatewayInput) (*request.Request, *ec2.DetachVpnGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DetachVpnGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25873,7 +32965,6 @@ func (_m *MockFakeEC2) DetachVpnGatewayRequest(_a0 *ec2.DetachVpnGatewayInput) ( } } - var r1 *ec2.DetachVpnGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.DetachVpnGatewayInput) *ec2.DetachVpnGatewayOutput); ok { r1 = rf(_a0) } else { @@ -25897,6 +32988,10 @@ func (_m *MockFakeEC2) DetachVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.DetachVpnGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVpnGatewayInput, ...request.Option) (*ec2.DetachVpnGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVpnGatewayInput, ...request.Option) *ec2.DetachVpnGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25905,7 +33000,6 @@ func (_m *MockFakeEC2) DetachVpnGatewayWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DetachVpnGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25920,6 +33014,10 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefault(_a0 *ec2.DisableEbsEncrypti ret := _m.Called(_a0) var r0 *ec2.DisableEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableEbsEncryptionByDefaultInput) (*ec2.DisableEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableEbsEncryptionByDefaultInput) *ec2.DisableEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0) } else { @@ -25928,7 +33026,6 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefault(_a0 *ec2.DisableEbsEncrypti } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableEbsEncryptionByDefaultInput) error); ok { r1 = rf(_a0) } else { @@ -25943,6 +33040,10 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefaultRequest(_a0 *ec2.DisableEbsE ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableEbsEncryptionByDefaultOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableEbsEncryptionByDefaultInput) (*request.Request, *ec2.DisableEbsEncryptionByDefaultOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableEbsEncryptionByDefaultInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -25951,7 +33052,6 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefaultRequest(_a0 *ec2.DisableEbsE } } - var r1 *ec2.DisableEbsEncryptionByDefaultOutput if rf, ok := ret.Get(1).(func(*ec2.DisableEbsEncryptionByDefaultInput) *ec2.DisableEbsEncryptionByDefaultOutput); ok { r1 = rf(_a0) } else { @@ -25975,6 +33075,10 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefaultWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.DisableEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.DisableEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) *ec2.DisableEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -25983,7 +33087,6 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefaultWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -25993,11 +33096,102 @@ func (_m *MockFakeEC2) DisableEbsEncryptionByDefaultWithContext(_a0 context.Cont return r0, r1 } +// DisableFastLaunch provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisableFastLaunch(_a0 *ec2.DisableFastLaunchInput) (*ec2.DisableFastLaunchOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DisableFastLaunchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableFastLaunchInput) (*ec2.DisableFastLaunchOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisableFastLaunchInput) *ec2.DisableFastLaunchOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisableFastLaunchOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisableFastLaunchInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DisableFastLaunchRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisableFastLaunchRequest(_a0 *ec2.DisableFastLaunchInput) (*request.Request, *ec2.DisableFastLaunchOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DisableFastLaunchOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableFastLaunchInput) (*request.Request, *ec2.DisableFastLaunchOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisableFastLaunchInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisableFastLaunchInput) *ec2.DisableFastLaunchOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DisableFastLaunchOutput) + } + } + + return r0, r1 +} + +// DisableFastLaunchWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DisableFastLaunchWithContext(_a0 context.Context, _a1 *ec2.DisableFastLaunchInput, _a2 ...request.Option) (*ec2.DisableFastLaunchOutput, error) { + _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 *ec2.DisableFastLaunchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastLaunchInput, ...request.Option) (*ec2.DisableFastLaunchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastLaunchInput, ...request.Option) *ec2.DisableFastLaunchOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisableFastLaunchOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableFastLaunchInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DisableFastSnapshotRestores provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DisableFastSnapshotRestores(_a0 *ec2.DisableFastSnapshotRestoresInput) (*ec2.DisableFastSnapshotRestoresOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DisableFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableFastSnapshotRestoresInput) (*ec2.DisableFastSnapshotRestoresOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableFastSnapshotRestoresInput) *ec2.DisableFastSnapshotRestoresOutput); ok { r0 = rf(_a0) } else { @@ -26006,7 +33200,6 @@ func (_m *MockFakeEC2) DisableFastSnapshotRestores(_a0 *ec2.DisableFastSnapshotR } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableFastSnapshotRestoresInput) error); ok { r1 = rf(_a0) } else { @@ -26021,6 +33214,10 @@ func (_m *MockFakeEC2) DisableFastSnapshotRestoresRequest(_a0 *ec2.DisableFastSn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableFastSnapshotRestoresOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableFastSnapshotRestoresInput) (*request.Request, *ec2.DisableFastSnapshotRestoresOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableFastSnapshotRestoresInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26029,7 +33226,6 @@ func (_m *MockFakeEC2) DisableFastSnapshotRestoresRequest(_a0 *ec2.DisableFastSn } } - var r1 *ec2.DisableFastSnapshotRestoresOutput if rf, ok := ret.Get(1).(func(*ec2.DisableFastSnapshotRestoresInput) *ec2.DisableFastSnapshotRestoresOutput); ok { r1 = rf(_a0) } else { @@ -26053,6 +33249,10 @@ func (_m *MockFakeEC2) DisableFastSnapshotRestoresWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DisableFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastSnapshotRestoresInput, ...request.Option) (*ec2.DisableFastSnapshotRestoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastSnapshotRestoresInput, ...request.Option) *ec2.DisableFastSnapshotRestoresOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26061,7 +33261,6 @@ func (_m *MockFakeEC2) DisableFastSnapshotRestoresWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableFastSnapshotRestoresInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26076,6 +33275,10 @@ func (_m *MockFakeEC2) DisableImageDeprecation(_a0 *ec2.DisableImageDeprecationI ret := _m.Called(_a0) var r0 *ec2.DisableImageDeprecationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableImageDeprecationInput) (*ec2.DisableImageDeprecationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableImageDeprecationInput) *ec2.DisableImageDeprecationOutput); ok { r0 = rf(_a0) } else { @@ -26084,7 +33287,6 @@ func (_m *MockFakeEC2) DisableImageDeprecation(_a0 *ec2.DisableImageDeprecationI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableImageDeprecationInput) error); ok { r1 = rf(_a0) } else { @@ -26099,6 +33301,10 @@ func (_m *MockFakeEC2) DisableImageDeprecationRequest(_a0 *ec2.DisableImageDepre ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableImageDeprecationOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableImageDeprecationInput) (*request.Request, *ec2.DisableImageDeprecationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableImageDeprecationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26107,7 +33313,6 @@ func (_m *MockFakeEC2) DisableImageDeprecationRequest(_a0 *ec2.DisableImageDepre } } - var r1 *ec2.DisableImageDeprecationOutput if rf, ok := ret.Get(1).(func(*ec2.DisableImageDeprecationInput) *ec2.DisableImageDeprecationOutput); ok { r1 = rf(_a0) } else { @@ -26131,6 +33336,10 @@ func (_m *MockFakeEC2) DisableImageDeprecationWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.DisableImageDeprecationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableImageDeprecationInput, ...request.Option) (*ec2.DisableImageDeprecationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableImageDeprecationInput, ...request.Option) *ec2.DisableImageDeprecationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26139,7 +33348,6 @@ func (_m *MockFakeEC2) DisableImageDeprecationWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableImageDeprecationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26149,11 +33357,102 @@ func (_m *MockFakeEC2) DisableImageDeprecationWithContext(_a0 context.Context, _ return r0, r1 } +// DisableIpamOrganizationAdminAccount provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisableIpamOrganizationAdminAccount(_a0 *ec2.DisableIpamOrganizationAdminAccountInput) (*ec2.DisableIpamOrganizationAdminAccountOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DisableIpamOrganizationAdminAccountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableIpamOrganizationAdminAccountInput) (*ec2.DisableIpamOrganizationAdminAccountOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisableIpamOrganizationAdminAccountInput) *ec2.DisableIpamOrganizationAdminAccountOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisableIpamOrganizationAdminAccountOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisableIpamOrganizationAdminAccountInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DisableIpamOrganizationAdminAccountRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisableIpamOrganizationAdminAccountRequest(_a0 *ec2.DisableIpamOrganizationAdminAccountInput) (*request.Request, *ec2.DisableIpamOrganizationAdminAccountOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DisableIpamOrganizationAdminAccountOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableIpamOrganizationAdminAccountInput) (*request.Request, *ec2.DisableIpamOrganizationAdminAccountOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisableIpamOrganizationAdminAccountInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisableIpamOrganizationAdminAccountInput) *ec2.DisableIpamOrganizationAdminAccountOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DisableIpamOrganizationAdminAccountOutput) + } + } + + return r0, r1 +} + +// DisableIpamOrganizationAdminAccountWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DisableIpamOrganizationAdminAccountWithContext(_a0 context.Context, _a1 *ec2.DisableIpamOrganizationAdminAccountInput, _a2 ...request.Option) (*ec2.DisableIpamOrganizationAdminAccountOutput, error) { + _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 *ec2.DisableIpamOrganizationAdminAccountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableIpamOrganizationAdminAccountInput, ...request.Option) (*ec2.DisableIpamOrganizationAdminAccountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableIpamOrganizationAdminAccountInput, ...request.Option) *ec2.DisableIpamOrganizationAdminAccountOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisableIpamOrganizationAdminAccountOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableIpamOrganizationAdminAccountInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DisableSerialConsoleAccess provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DisableSerialConsoleAccess(_a0 *ec2.DisableSerialConsoleAccessInput) (*ec2.DisableSerialConsoleAccessOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DisableSerialConsoleAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableSerialConsoleAccessInput) (*ec2.DisableSerialConsoleAccessOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableSerialConsoleAccessInput) *ec2.DisableSerialConsoleAccessOutput); ok { r0 = rf(_a0) } else { @@ -26162,7 +33461,6 @@ func (_m *MockFakeEC2) DisableSerialConsoleAccess(_a0 *ec2.DisableSerialConsoleA } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableSerialConsoleAccessInput) error); ok { r1 = rf(_a0) } else { @@ -26177,6 +33475,10 @@ func (_m *MockFakeEC2) DisableSerialConsoleAccessRequest(_a0 *ec2.DisableSerialC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableSerialConsoleAccessOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableSerialConsoleAccessInput) (*request.Request, *ec2.DisableSerialConsoleAccessOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableSerialConsoleAccessInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26185,7 +33487,6 @@ func (_m *MockFakeEC2) DisableSerialConsoleAccessRequest(_a0 *ec2.DisableSerialC } } - var r1 *ec2.DisableSerialConsoleAccessOutput if rf, ok := ret.Get(1).(func(*ec2.DisableSerialConsoleAccessInput) *ec2.DisableSerialConsoleAccessOutput); ok { r1 = rf(_a0) } else { @@ -26209,6 +33510,10 @@ func (_m *MockFakeEC2) DisableSerialConsoleAccessWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DisableSerialConsoleAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableSerialConsoleAccessInput, ...request.Option) (*ec2.DisableSerialConsoleAccessOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableSerialConsoleAccessInput, ...request.Option) *ec2.DisableSerialConsoleAccessOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26217,7 +33522,6 @@ func (_m *MockFakeEC2) DisableSerialConsoleAccessWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableSerialConsoleAccessInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26232,6 +33536,10 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagation(_a0 *ec2.Disab ret := _m.Called(_a0) var r0 *ec2.DisableTransitGatewayRouteTablePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) (*ec2.DisableTransitGatewayRouteTablePropagationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) *ec2.DisableTransitGatewayRouteTablePropagationOutput); ok { r0 = rf(_a0) } else { @@ -26240,7 +33548,6 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagation(_a0 *ec2.Disab } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) error); ok { r1 = rf(_a0) } else { @@ -26255,6 +33562,10 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagationRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableTransitGatewayRouteTablePropagationOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) (*request.Request, *ec2.DisableTransitGatewayRouteTablePropagationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26263,7 +33574,6 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagationRequest(_a0 *ec } } - var r1 *ec2.DisableTransitGatewayRouteTablePropagationOutput if rf, ok := ret.Get(1).(func(*ec2.DisableTransitGatewayRouteTablePropagationInput) *ec2.DisableTransitGatewayRouteTablePropagationOutput); ok { r1 = rf(_a0) } else { @@ -26287,6 +33597,10 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagationWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.DisableTransitGatewayRouteTablePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableTransitGatewayRouteTablePropagationInput, ...request.Option) (*ec2.DisableTransitGatewayRouteTablePropagationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableTransitGatewayRouteTablePropagationInput, ...request.Option) *ec2.DisableTransitGatewayRouteTablePropagationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26295,7 +33609,6 @@ func (_m *MockFakeEC2) DisableTransitGatewayRouteTablePropagationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableTransitGatewayRouteTablePropagationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26310,6 +33623,10 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagation(_a0 *ec2.DisableVgwRoutePropag ret := _m.Called(_a0) var r0 *ec2.DisableVgwRoutePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableVgwRoutePropagationInput) (*ec2.DisableVgwRoutePropagationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVgwRoutePropagationInput) *ec2.DisableVgwRoutePropagationOutput); ok { r0 = rf(_a0) } else { @@ -26318,7 +33635,6 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagation(_a0 *ec2.DisableVgwRoutePropag } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableVgwRoutePropagationInput) error); ok { r1 = rf(_a0) } else { @@ -26333,6 +33649,10 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagationRequest(_a0 *ec2.DisableVgwRout ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableVgwRoutePropagationOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableVgwRoutePropagationInput) (*request.Request, *ec2.DisableVgwRoutePropagationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVgwRoutePropagationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26341,7 +33661,6 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagationRequest(_a0 *ec2.DisableVgwRout } } - var r1 *ec2.DisableVgwRoutePropagationOutput if rf, ok := ret.Get(1).(func(*ec2.DisableVgwRoutePropagationInput) *ec2.DisableVgwRoutePropagationOutput); ok { r1 = rf(_a0) } else { @@ -26365,6 +33684,10 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagationWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DisableVgwRoutePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVgwRoutePropagationInput, ...request.Option) (*ec2.DisableVgwRoutePropagationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVgwRoutePropagationInput, ...request.Option) *ec2.DisableVgwRoutePropagationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26373,7 +33696,6 @@ func (_m *MockFakeEC2) DisableVgwRoutePropagationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableVgwRoutePropagationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26388,6 +33710,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLink(_a0 *ec2.DisableVpcClassicLinkInput ret := _m.Called(_a0) var r0 *ec2.DisableVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkInput) (*ec2.DisableVpcClassicLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkInput) *ec2.DisableVpcClassicLinkOutput); ok { r0 = rf(_a0) } else { @@ -26396,7 +33722,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLink(_a0 *ec2.DisableVpcClassicLinkInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableVpcClassicLinkInput) error); ok { r1 = rf(_a0) } else { @@ -26411,6 +33736,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupport(_a0 *ec2.DisableVpcClassi ret := _m.Called(_a0) var r0 *ec2.DisableVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) (*ec2.DisableVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) *ec2.DisableVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0) } else { @@ -26419,7 +33748,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupport(_a0 *ec2.DisableVpcClassi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) error); ok { r1 = rf(_a0) } else { @@ -26434,6 +33762,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupportRequest(_a0 *ec2.DisableVp ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableVpcClassicLinkDnsSupportOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) (*request.Request, *ec2.DisableVpcClassicLinkDnsSupportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26442,7 +33774,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupportRequest(_a0 *ec2.DisableVp } } - var r1 *ec2.DisableVpcClassicLinkDnsSupportOutput if rf, ok := ret.Get(1).(func(*ec2.DisableVpcClassicLinkDnsSupportInput) *ec2.DisableVpcClassicLinkDnsSupportOutput); ok { r1 = rf(_a0) } else { @@ -26466,6 +33797,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupportWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.DisableVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkDnsSupportInput, ...request.Option) (*ec2.DisableVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkDnsSupportInput, ...request.Option) *ec2.DisableVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26474,7 +33809,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkDnsSupportWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableVpcClassicLinkDnsSupportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26489,6 +33823,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkRequest(_a0 *ec2.DisableVpcClassicLi ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisableVpcClassicLinkOutput + if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkInput) (*request.Request, *ec2.DisableVpcClassicLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisableVpcClassicLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26497,7 +33835,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkRequest(_a0 *ec2.DisableVpcClassicLi } } - var r1 *ec2.DisableVpcClassicLinkOutput if rf, ok := ret.Get(1).(func(*ec2.DisableVpcClassicLinkInput) *ec2.DisableVpcClassicLinkOutput); ok { r1 = rf(_a0) } else { @@ -26521,6 +33858,10 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.DisableVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkInput, ...request.Option) (*ec2.DisableVpcClassicLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkInput, ...request.Option) *ec2.DisableVpcClassicLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26529,7 +33870,6 @@ func (_m *MockFakeEC2) DisableVpcClassicLinkWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisableVpcClassicLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26544,6 +33884,10 @@ func (_m *MockFakeEC2) DisassociateAddress(_a0 *ec2.DisassociateAddressInput) (* ret := _m.Called(_a0) var r0 *ec2.DisassociateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateAddressInput) (*ec2.DisassociateAddressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateAddressInput) *ec2.DisassociateAddressOutput); ok { r0 = rf(_a0) } else { @@ -26552,7 +33896,6 @@ func (_m *MockFakeEC2) DisassociateAddress(_a0 *ec2.DisassociateAddressInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateAddressInput) error); ok { r1 = rf(_a0) } else { @@ -26567,6 +33910,10 @@ func (_m *MockFakeEC2) DisassociateAddressRequest(_a0 *ec2.DisassociateAddressIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateAddressOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateAddressInput) (*request.Request, *ec2.DisassociateAddressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateAddressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26575,7 +33922,6 @@ func (_m *MockFakeEC2) DisassociateAddressRequest(_a0 *ec2.DisassociateAddressIn } } - var r1 *ec2.DisassociateAddressOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateAddressInput) *ec2.DisassociateAddressOutput); ok { r1 = rf(_a0) } else { @@ -26599,6 +33945,10 @@ func (_m *MockFakeEC2) DisassociateAddressWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.DisassociateAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateAddressInput, ...request.Option) (*ec2.DisassociateAddressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateAddressInput, ...request.Option) *ec2.DisassociateAddressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26607,7 +33957,6 @@ func (_m *MockFakeEC2) DisassociateAddressWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateAddressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26622,6 +33971,10 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetwork(_a0 *ec2.DisassociateC ret := _m.Called(_a0) var r0 *ec2.DisassociateClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateClientVpnTargetNetworkInput) (*ec2.DisassociateClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateClientVpnTargetNetworkInput) *ec2.DisassociateClientVpnTargetNetworkOutput); ok { r0 = rf(_a0) } else { @@ -26630,7 +33983,6 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetwork(_a0 *ec2.DisassociateC } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateClientVpnTargetNetworkInput) error); ok { r1 = rf(_a0) } else { @@ -26645,6 +33997,10 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetworkRequest(_a0 *ec2.Disass ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateClientVpnTargetNetworkOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateClientVpnTargetNetworkInput) (*request.Request, *ec2.DisassociateClientVpnTargetNetworkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateClientVpnTargetNetworkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26653,7 +34009,6 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetworkRequest(_a0 *ec2.Disass } } - var r1 *ec2.DisassociateClientVpnTargetNetworkOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateClientVpnTargetNetworkInput) *ec2.DisassociateClientVpnTargetNetworkOutput); ok { r1 = rf(_a0) } else { @@ -26677,6 +34032,10 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetworkWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.DisassociateClientVpnTargetNetworkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateClientVpnTargetNetworkInput, ...request.Option) (*ec2.DisassociateClientVpnTargetNetworkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateClientVpnTargetNetworkInput, ...request.Option) *ec2.DisassociateClientVpnTargetNetworkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26685,7 +34044,6 @@ func (_m *MockFakeEC2) DisassociateClientVpnTargetNetworkWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateClientVpnTargetNetworkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26700,6 +34058,10 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRole(_a0 *ec2.Disassocia ret := _m.Called(_a0) var r0 *ec2.DisassociateEnclaveCertificateIamRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) (*ec2.DisassociateEnclaveCertificateIamRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) *ec2.DisassociateEnclaveCertificateIamRoleOutput); ok { r0 = rf(_a0) } else { @@ -26708,7 +34070,6 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRole(_a0 *ec2.Disassocia } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) error); ok { r1 = rf(_a0) } else { @@ -26723,6 +34084,10 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRoleRequest(_a0 *ec2.Dis ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateEnclaveCertificateIamRoleOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) (*request.Request, *ec2.DisassociateEnclaveCertificateIamRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26731,7 +34096,6 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRoleRequest(_a0 *ec2.Dis } } - var r1 *ec2.DisassociateEnclaveCertificateIamRoleOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateEnclaveCertificateIamRoleInput) *ec2.DisassociateEnclaveCertificateIamRoleOutput); ok { r1 = rf(_a0) } else { @@ -26755,6 +34119,10 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRoleWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.DisassociateEnclaveCertificateIamRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateEnclaveCertificateIamRoleInput, ...request.Option) (*ec2.DisassociateEnclaveCertificateIamRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateEnclaveCertificateIamRoleInput, ...request.Option) *ec2.DisassociateEnclaveCertificateIamRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26763,7 +34131,6 @@ func (_m *MockFakeEC2) DisassociateEnclaveCertificateIamRoleWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateEnclaveCertificateIamRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26778,6 +34145,10 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfile(_a0 *ec2.DisassociateIamIn ret := _m.Called(_a0) var r0 *ec2.DisassociateIamInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateIamInstanceProfileInput) (*ec2.DisassociateIamInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateIamInstanceProfileInput) *ec2.DisassociateIamInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -26786,7 +34157,6 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfile(_a0 *ec2.DisassociateIamIn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateIamInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -26801,6 +34171,10 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfileRequest(_a0 *ec2.Disassocia ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateIamInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateIamInstanceProfileInput) (*request.Request, *ec2.DisassociateIamInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateIamInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26809,7 +34183,6 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfileRequest(_a0 *ec2.Disassocia } } - var r1 *ec2.DisassociateIamInstanceProfileOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateIamInstanceProfileInput) *ec2.DisassociateIamInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -26833,6 +34206,10 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfileWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.DisassociateIamInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateIamInstanceProfileInput, ...request.Option) (*ec2.DisassociateIamInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateIamInstanceProfileInput, ...request.Option) *ec2.DisassociateIamInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26841,7 +34218,6 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfileWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateIamInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26851,11 +34227,102 @@ func (_m *MockFakeEC2) DisassociateIamInstanceProfileWithContext(_a0 context.Con return r0, r1 } +// DisassociateInstanceEventWindow provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisassociateInstanceEventWindow(_a0 *ec2.DisassociateInstanceEventWindowInput) (*ec2.DisassociateInstanceEventWindowOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DisassociateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateInstanceEventWindowInput) (*ec2.DisassociateInstanceEventWindowOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisassociateInstanceEventWindowInput) *ec2.DisassociateInstanceEventWindowOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisassociateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisassociateInstanceEventWindowInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DisassociateInstanceEventWindowRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisassociateInstanceEventWindowRequest(_a0 *ec2.DisassociateInstanceEventWindowInput) (*request.Request, *ec2.DisassociateInstanceEventWindowOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DisassociateInstanceEventWindowOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateInstanceEventWindowInput) (*request.Request, *ec2.DisassociateInstanceEventWindowOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisassociateInstanceEventWindowInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisassociateInstanceEventWindowInput) *ec2.DisassociateInstanceEventWindowOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DisassociateInstanceEventWindowOutput) + } + } + + return r0, r1 +} + +// DisassociateInstanceEventWindowWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DisassociateInstanceEventWindowWithContext(_a0 context.Context, _a1 *ec2.DisassociateInstanceEventWindowInput, _a2 ...request.Option) (*ec2.DisassociateInstanceEventWindowOutput, error) { + _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 *ec2.DisassociateInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateInstanceEventWindowInput, ...request.Option) (*ec2.DisassociateInstanceEventWindowOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateInstanceEventWindowInput, ...request.Option) *ec2.DisassociateInstanceEventWindowOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisassociateInstanceEventWindowOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateInstanceEventWindowInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DisassociateRouteTable provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DisassociateRouteTable(_a0 *ec2.DisassociateRouteTableInput) (*ec2.DisassociateRouteTableOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DisassociateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateRouteTableInput) (*ec2.DisassociateRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateRouteTableInput) *ec2.DisassociateRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -26864,7 +34331,6 @@ func (_m *MockFakeEC2) DisassociateRouteTable(_a0 *ec2.DisassociateRouteTableInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -26879,6 +34345,10 @@ func (_m *MockFakeEC2) DisassociateRouteTableRequest(_a0 *ec2.DisassociateRouteT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateRouteTableInput) (*request.Request, *ec2.DisassociateRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26887,7 +34357,6 @@ func (_m *MockFakeEC2) DisassociateRouteTableRequest(_a0 *ec2.DisassociateRouteT } } - var r1 *ec2.DisassociateRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateRouteTableInput) *ec2.DisassociateRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -26911,6 +34380,10 @@ func (_m *MockFakeEC2) DisassociateRouteTableWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.DisassociateRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateRouteTableInput, ...request.Option) (*ec2.DisassociateRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateRouteTableInput, ...request.Option) *ec2.DisassociateRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26919,7 +34392,6 @@ func (_m *MockFakeEC2) DisassociateRouteTableWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -26934,6 +34406,10 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlock(_a0 *ec2.DisassociateSubnetCi ret := _m.Called(_a0) var r0 *ec2.DisassociateSubnetCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateSubnetCidrBlockInput) (*ec2.DisassociateSubnetCidrBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateSubnetCidrBlockInput) *ec2.DisassociateSubnetCidrBlockOutput); ok { r0 = rf(_a0) } else { @@ -26942,7 +34418,6 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlock(_a0 *ec2.DisassociateSubnetCi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateSubnetCidrBlockInput) error); ok { r1 = rf(_a0) } else { @@ -26957,6 +34432,10 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlockRequest(_a0 *ec2.DisassociateS ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateSubnetCidrBlockOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateSubnetCidrBlockInput) (*request.Request, *ec2.DisassociateSubnetCidrBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateSubnetCidrBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -26965,7 +34444,6 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlockRequest(_a0 *ec2.DisassociateS } } - var r1 *ec2.DisassociateSubnetCidrBlockOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateSubnetCidrBlockInput) *ec2.DisassociateSubnetCidrBlockOutput); ok { r1 = rf(_a0) } else { @@ -26989,6 +34467,10 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlockWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.DisassociateSubnetCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateSubnetCidrBlockInput, ...request.Option) (*ec2.DisassociateSubnetCidrBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateSubnetCidrBlockInput, ...request.Option) *ec2.DisassociateSubnetCidrBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -26997,7 +34479,6 @@ func (_m *MockFakeEC2) DisassociateSubnetCidrBlockWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateSubnetCidrBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27012,6 +34493,10 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomain(_a0 *ec2.Disass ret := _m.Called(_a0) var r0 *ec2.DisassociateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) (*ec2.DisassociateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) *ec2.DisassociateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0) } else { @@ -27020,7 +34505,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomain(_a0 *ec2.Disass } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) error); ok { r1 = rf(_a0) } else { @@ -27035,6 +34519,10 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomainRequest(_a0 *ec2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateTransitGatewayMulticastDomainOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) (*request.Request, *ec2.DisassociateTransitGatewayMulticastDomainOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27043,7 +34531,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomainRequest(_a0 *ec2 } } - var r1 *ec2.DisassociateTransitGatewayMulticastDomainOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayMulticastDomainInput) *ec2.DisassociateTransitGatewayMulticastDomainOutput); ok { r1 = rf(_a0) } else { @@ -27067,6 +34554,10 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomainWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.DisassociateTransitGatewayMulticastDomainOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.DisassociateTransitGatewayMulticastDomainOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayMulticastDomainInput, ...request.Option) *ec2.DisassociateTransitGatewayMulticastDomainOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27075,7 +34566,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomainWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateTransitGatewayMulticastDomainInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27085,11 +34575,102 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayMulticastDomainWithContext(_a0 return r0, r1 } +// DisassociateTransitGatewayPolicyTable provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisassociateTransitGatewayPolicyTable(_a0 *ec2.DisassociateTransitGatewayPolicyTableInput) (*ec2.DisassociateTransitGatewayPolicyTableOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.DisassociateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) (*ec2.DisassociateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) *ec2.DisassociateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisassociateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DisassociateTransitGatewayPolicyTableRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) DisassociateTransitGatewayPolicyTableRequest(_a0 *ec2.DisassociateTransitGatewayPolicyTableInput) (*request.Request, *ec2.DisassociateTransitGatewayPolicyTableOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.DisassociateTransitGatewayPolicyTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) (*request.Request, *ec2.DisassociateTransitGatewayPolicyTableOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayPolicyTableInput) *ec2.DisassociateTransitGatewayPolicyTableOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.DisassociateTransitGatewayPolicyTableOutput) + } + } + + return r0, r1 +} + +// DisassociateTransitGatewayPolicyTableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) DisassociateTransitGatewayPolicyTableWithContext(_a0 context.Context, _a1 *ec2.DisassociateTransitGatewayPolicyTableInput, _a2 ...request.Option) (*ec2.DisassociateTransitGatewayPolicyTableOutput, error) { + _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 *ec2.DisassociateTransitGatewayPolicyTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayPolicyTableInput, ...request.Option) (*ec2.DisassociateTransitGatewayPolicyTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayPolicyTableInput, ...request.Option) *ec2.DisassociateTransitGatewayPolicyTableOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.DisassociateTransitGatewayPolicyTableOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateTransitGatewayPolicyTableInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DisassociateTransitGatewayRouteTable provides a mock function with given fields: _a0 func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTable(_a0 *ec2.DisassociateTransitGatewayRouteTableInput) (*ec2.DisassociateTransitGatewayRouteTableOutput, error) { ret := _m.Called(_a0) var r0 *ec2.DisassociateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayRouteTableInput) (*ec2.DisassociateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayRouteTableInput) *ec2.DisassociateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0) } else { @@ -27098,7 +34679,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTable(_a0 *ec2.Disassociat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayRouteTableInput) error); ok { r1 = rf(_a0) } else { @@ -27113,6 +34693,10 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTableRequest(_a0 *ec2.Disa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateTransitGatewayRouteTableOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayRouteTableInput) (*request.Request, *ec2.DisassociateTransitGatewayRouteTableOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTransitGatewayRouteTableInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27121,7 +34705,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTableRequest(_a0 *ec2.Disa } } - var r1 *ec2.DisassociateTransitGatewayRouteTableOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateTransitGatewayRouteTableInput) *ec2.DisassociateTransitGatewayRouteTableOutput); ok { r1 = rf(_a0) } else { @@ -27145,6 +34728,10 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTableWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *ec2.DisassociateTransitGatewayRouteTableOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayRouteTableInput, ...request.Option) (*ec2.DisassociateTransitGatewayRouteTableOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayRouteTableInput, ...request.Option) *ec2.DisassociateTransitGatewayRouteTableOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27153,7 +34740,6 @@ func (_m *MockFakeEC2) DisassociateTransitGatewayRouteTableWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateTransitGatewayRouteTableInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27168,6 +34754,10 @@ func (_m *MockFakeEC2) DisassociateTrunkInterface(_a0 *ec2.DisassociateTrunkInte ret := _m.Called(_a0) var r0 *ec2.DisassociateTrunkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTrunkInterfaceInput) (*ec2.DisassociateTrunkInterfaceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTrunkInterfaceInput) *ec2.DisassociateTrunkInterfaceOutput); ok { r0 = rf(_a0) } else { @@ -27176,7 +34766,6 @@ func (_m *MockFakeEC2) DisassociateTrunkInterface(_a0 *ec2.DisassociateTrunkInte } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateTrunkInterfaceInput) error); ok { r1 = rf(_a0) } else { @@ -27191,6 +34780,10 @@ func (_m *MockFakeEC2) DisassociateTrunkInterfaceRequest(_a0 *ec2.DisassociateTr ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateTrunkInterfaceOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateTrunkInterfaceInput) (*request.Request, *ec2.DisassociateTrunkInterfaceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateTrunkInterfaceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27199,7 +34792,6 @@ func (_m *MockFakeEC2) DisassociateTrunkInterfaceRequest(_a0 *ec2.DisassociateTr } } - var r1 *ec2.DisassociateTrunkInterfaceOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateTrunkInterfaceInput) *ec2.DisassociateTrunkInterfaceOutput); ok { r1 = rf(_a0) } else { @@ -27223,6 +34815,10 @@ func (_m *MockFakeEC2) DisassociateTrunkInterfaceWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.DisassociateTrunkInterfaceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTrunkInterfaceInput, ...request.Option) (*ec2.DisassociateTrunkInterfaceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTrunkInterfaceInput, ...request.Option) *ec2.DisassociateTrunkInterfaceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27231,7 +34827,6 @@ func (_m *MockFakeEC2) DisassociateTrunkInterfaceWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateTrunkInterfaceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27246,6 +34841,10 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlock(_a0 *ec2.DisassociateVpcCidrBloc ret := _m.Called(_a0) var r0 *ec2.DisassociateVpcCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.DisassociateVpcCidrBlockInput) (*ec2.DisassociateVpcCidrBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateVpcCidrBlockInput) *ec2.DisassociateVpcCidrBlockOutput); ok { r0 = rf(_a0) } else { @@ -27254,7 +34853,6 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlock(_a0 *ec2.DisassociateVpcCidrBloc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.DisassociateVpcCidrBlockInput) error); ok { r1 = rf(_a0) } else { @@ -27269,6 +34867,10 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlockRequest(_a0 *ec2.DisassociateVpcC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.DisassociateVpcCidrBlockOutput + if rf, ok := ret.Get(0).(func(*ec2.DisassociateVpcCidrBlockInput) (*request.Request, *ec2.DisassociateVpcCidrBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.DisassociateVpcCidrBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27277,7 +34879,6 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlockRequest(_a0 *ec2.DisassociateVpcC } } - var r1 *ec2.DisassociateVpcCidrBlockOutput if rf, ok := ret.Get(1).(func(*ec2.DisassociateVpcCidrBlockInput) *ec2.DisassociateVpcCidrBlockOutput); ok { r1 = rf(_a0) } else { @@ -27301,6 +34902,10 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlockWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.DisassociateVpcCidrBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateVpcCidrBlockInput, ...request.Option) (*ec2.DisassociateVpcCidrBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateVpcCidrBlockInput, ...request.Option) *ec2.DisassociateVpcCidrBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27309,7 +34914,6 @@ func (_m *MockFakeEC2) DisassociateVpcCidrBlockWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.DisassociateVpcCidrBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27324,6 +34928,10 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefault(_a0 *ec2.EnableEbsEncryption ret := _m.Called(_a0) var r0 *ec2.EnableEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableEbsEncryptionByDefaultInput) (*ec2.EnableEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableEbsEncryptionByDefaultInput) *ec2.EnableEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0) } else { @@ -27332,7 +34940,6 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefault(_a0 *ec2.EnableEbsEncryption } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableEbsEncryptionByDefaultInput) error); ok { r1 = rf(_a0) } else { @@ -27347,6 +34954,10 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefaultRequest(_a0 *ec2.EnableEbsEnc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableEbsEncryptionByDefaultOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableEbsEncryptionByDefaultInput) (*request.Request, *ec2.EnableEbsEncryptionByDefaultOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableEbsEncryptionByDefaultInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27355,7 +34966,6 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefaultRequest(_a0 *ec2.EnableEbsEnc } } - var r1 *ec2.EnableEbsEncryptionByDefaultOutput if rf, ok := ret.Get(1).(func(*ec2.EnableEbsEncryptionByDefaultInput) *ec2.EnableEbsEncryptionByDefaultOutput); ok { r1 = rf(_a0) } else { @@ -27379,6 +34989,10 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefaultWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.EnableEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.EnableEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) *ec2.EnableEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27387,7 +35001,6 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefaultWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27397,11 +35010,102 @@ func (_m *MockFakeEC2) EnableEbsEncryptionByDefaultWithContext(_a0 context.Conte return r0, r1 } +// EnableFastLaunch provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) EnableFastLaunch(_a0 *ec2.EnableFastLaunchInput) (*ec2.EnableFastLaunchOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.EnableFastLaunchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableFastLaunchInput) (*ec2.EnableFastLaunchOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.EnableFastLaunchInput) *ec2.EnableFastLaunchOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.EnableFastLaunchOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.EnableFastLaunchInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EnableFastLaunchRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) EnableFastLaunchRequest(_a0 *ec2.EnableFastLaunchInput) (*request.Request, *ec2.EnableFastLaunchOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.EnableFastLaunchOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableFastLaunchInput) (*request.Request, *ec2.EnableFastLaunchOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.EnableFastLaunchInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.EnableFastLaunchInput) *ec2.EnableFastLaunchOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.EnableFastLaunchOutput) + } + } + + return r0, r1 +} + +// EnableFastLaunchWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) EnableFastLaunchWithContext(_a0 context.Context, _a1 *ec2.EnableFastLaunchInput, _a2 ...request.Option) (*ec2.EnableFastLaunchOutput, error) { + _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 *ec2.EnableFastLaunchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastLaunchInput, ...request.Option) (*ec2.EnableFastLaunchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastLaunchInput, ...request.Option) *ec2.EnableFastLaunchOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.EnableFastLaunchOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableFastLaunchInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // EnableFastSnapshotRestores provides a mock function with given fields: _a0 func (_m *MockFakeEC2) EnableFastSnapshotRestores(_a0 *ec2.EnableFastSnapshotRestoresInput) (*ec2.EnableFastSnapshotRestoresOutput, error) { ret := _m.Called(_a0) var r0 *ec2.EnableFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableFastSnapshotRestoresInput) (*ec2.EnableFastSnapshotRestoresOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableFastSnapshotRestoresInput) *ec2.EnableFastSnapshotRestoresOutput); ok { r0 = rf(_a0) } else { @@ -27410,7 +35114,6 @@ func (_m *MockFakeEC2) EnableFastSnapshotRestores(_a0 *ec2.EnableFastSnapshotRes } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableFastSnapshotRestoresInput) error); ok { r1 = rf(_a0) } else { @@ -27425,6 +35128,10 @@ func (_m *MockFakeEC2) EnableFastSnapshotRestoresRequest(_a0 *ec2.EnableFastSnap ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableFastSnapshotRestoresOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableFastSnapshotRestoresInput) (*request.Request, *ec2.EnableFastSnapshotRestoresOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableFastSnapshotRestoresInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27433,7 +35140,6 @@ func (_m *MockFakeEC2) EnableFastSnapshotRestoresRequest(_a0 *ec2.EnableFastSnap } } - var r1 *ec2.EnableFastSnapshotRestoresOutput if rf, ok := ret.Get(1).(func(*ec2.EnableFastSnapshotRestoresInput) *ec2.EnableFastSnapshotRestoresOutput); ok { r1 = rf(_a0) } else { @@ -27457,6 +35163,10 @@ func (_m *MockFakeEC2) EnableFastSnapshotRestoresWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.EnableFastSnapshotRestoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastSnapshotRestoresInput, ...request.Option) (*ec2.EnableFastSnapshotRestoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastSnapshotRestoresInput, ...request.Option) *ec2.EnableFastSnapshotRestoresOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27465,7 +35175,6 @@ func (_m *MockFakeEC2) EnableFastSnapshotRestoresWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableFastSnapshotRestoresInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27480,6 +35189,10 @@ func (_m *MockFakeEC2) EnableImageDeprecation(_a0 *ec2.EnableImageDeprecationInp ret := _m.Called(_a0) var r0 *ec2.EnableImageDeprecationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableImageDeprecationInput) (*ec2.EnableImageDeprecationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableImageDeprecationInput) *ec2.EnableImageDeprecationOutput); ok { r0 = rf(_a0) } else { @@ -27488,7 +35201,6 @@ func (_m *MockFakeEC2) EnableImageDeprecation(_a0 *ec2.EnableImageDeprecationInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableImageDeprecationInput) error); ok { r1 = rf(_a0) } else { @@ -27503,6 +35215,10 @@ func (_m *MockFakeEC2) EnableImageDeprecationRequest(_a0 *ec2.EnableImageDepreca ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableImageDeprecationOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableImageDeprecationInput) (*request.Request, *ec2.EnableImageDeprecationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableImageDeprecationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27511,7 +35227,6 @@ func (_m *MockFakeEC2) EnableImageDeprecationRequest(_a0 *ec2.EnableImageDepreca } } - var r1 *ec2.EnableImageDeprecationOutput if rf, ok := ret.Get(1).(func(*ec2.EnableImageDeprecationInput) *ec2.EnableImageDeprecationOutput); ok { r1 = rf(_a0) } else { @@ -27535,6 +35250,10 @@ func (_m *MockFakeEC2) EnableImageDeprecationWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.EnableImageDeprecationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableImageDeprecationInput, ...request.Option) (*ec2.EnableImageDeprecationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableImageDeprecationInput, ...request.Option) *ec2.EnableImageDeprecationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27543,7 +35262,6 @@ func (_m *MockFakeEC2) EnableImageDeprecationWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableImageDeprecationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27553,11 +35271,102 @@ func (_m *MockFakeEC2) EnableImageDeprecationWithContext(_a0 context.Context, _a return r0, r1 } +// EnableIpamOrganizationAdminAccount provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) EnableIpamOrganizationAdminAccount(_a0 *ec2.EnableIpamOrganizationAdminAccountInput) (*ec2.EnableIpamOrganizationAdminAccountOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.EnableIpamOrganizationAdminAccountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableIpamOrganizationAdminAccountInput) (*ec2.EnableIpamOrganizationAdminAccountOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.EnableIpamOrganizationAdminAccountInput) *ec2.EnableIpamOrganizationAdminAccountOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.EnableIpamOrganizationAdminAccountOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.EnableIpamOrganizationAdminAccountInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// EnableIpamOrganizationAdminAccountRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) EnableIpamOrganizationAdminAccountRequest(_a0 *ec2.EnableIpamOrganizationAdminAccountInput) (*request.Request, *ec2.EnableIpamOrganizationAdminAccountOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.EnableIpamOrganizationAdminAccountOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableIpamOrganizationAdminAccountInput) (*request.Request, *ec2.EnableIpamOrganizationAdminAccountOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.EnableIpamOrganizationAdminAccountInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.EnableIpamOrganizationAdminAccountInput) *ec2.EnableIpamOrganizationAdminAccountOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.EnableIpamOrganizationAdminAccountOutput) + } + } + + return r0, r1 +} + +// EnableIpamOrganizationAdminAccountWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) EnableIpamOrganizationAdminAccountWithContext(_a0 context.Context, _a1 *ec2.EnableIpamOrganizationAdminAccountInput, _a2 ...request.Option) (*ec2.EnableIpamOrganizationAdminAccountOutput, error) { + _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 *ec2.EnableIpamOrganizationAdminAccountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableIpamOrganizationAdminAccountInput, ...request.Option) (*ec2.EnableIpamOrganizationAdminAccountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableIpamOrganizationAdminAccountInput, ...request.Option) *ec2.EnableIpamOrganizationAdminAccountOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.EnableIpamOrganizationAdminAccountOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableIpamOrganizationAdminAccountInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // EnableSerialConsoleAccess provides a mock function with given fields: _a0 func (_m *MockFakeEC2) EnableSerialConsoleAccess(_a0 *ec2.EnableSerialConsoleAccessInput) (*ec2.EnableSerialConsoleAccessOutput, error) { ret := _m.Called(_a0) var r0 *ec2.EnableSerialConsoleAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableSerialConsoleAccessInput) (*ec2.EnableSerialConsoleAccessOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableSerialConsoleAccessInput) *ec2.EnableSerialConsoleAccessOutput); ok { r0 = rf(_a0) } else { @@ -27566,7 +35375,6 @@ func (_m *MockFakeEC2) EnableSerialConsoleAccess(_a0 *ec2.EnableSerialConsoleAcc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableSerialConsoleAccessInput) error); ok { r1 = rf(_a0) } else { @@ -27581,6 +35389,10 @@ func (_m *MockFakeEC2) EnableSerialConsoleAccessRequest(_a0 *ec2.EnableSerialCon ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableSerialConsoleAccessOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableSerialConsoleAccessInput) (*request.Request, *ec2.EnableSerialConsoleAccessOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableSerialConsoleAccessInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27589,7 +35401,6 @@ func (_m *MockFakeEC2) EnableSerialConsoleAccessRequest(_a0 *ec2.EnableSerialCon } } - var r1 *ec2.EnableSerialConsoleAccessOutput if rf, ok := ret.Get(1).(func(*ec2.EnableSerialConsoleAccessInput) *ec2.EnableSerialConsoleAccessOutput); ok { r1 = rf(_a0) } else { @@ -27613,6 +35424,10 @@ func (_m *MockFakeEC2) EnableSerialConsoleAccessWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.EnableSerialConsoleAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableSerialConsoleAccessInput, ...request.Option) (*ec2.EnableSerialConsoleAccessOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableSerialConsoleAccessInput, ...request.Option) *ec2.EnableSerialConsoleAccessOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27621,7 +35436,6 @@ func (_m *MockFakeEC2) EnableSerialConsoleAccessWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableSerialConsoleAccessInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27636,6 +35450,10 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagation(_a0 *ec2.Enable ret := _m.Called(_a0) var r0 *ec2.EnableTransitGatewayRouteTablePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) (*ec2.EnableTransitGatewayRouteTablePropagationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) *ec2.EnableTransitGatewayRouteTablePropagationOutput); ok { r0 = rf(_a0) } else { @@ -27644,7 +35462,6 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagation(_a0 *ec2.Enable } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) error); ok { r1 = rf(_a0) } else { @@ -27659,6 +35476,10 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagationRequest(_a0 *ec2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableTransitGatewayRouteTablePropagationOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) (*request.Request, *ec2.EnableTransitGatewayRouteTablePropagationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27667,7 +35488,6 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagationRequest(_a0 *ec2 } } - var r1 *ec2.EnableTransitGatewayRouteTablePropagationOutput if rf, ok := ret.Get(1).(func(*ec2.EnableTransitGatewayRouteTablePropagationInput) *ec2.EnableTransitGatewayRouteTablePropagationOutput); ok { r1 = rf(_a0) } else { @@ -27691,6 +35511,10 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagationWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.EnableTransitGatewayRouteTablePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableTransitGatewayRouteTablePropagationInput, ...request.Option) (*ec2.EnableTransitGatewayRouteTablePropagationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableTransitGatewayRouteTablePropagationInput, ...request.Option) *ec2.EnableTransitGatewayRouteTablePropagationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27699,7 +35523,6 @@ func (_m *MockFakeEC2) EnableTransitGatewayRouteTablePropagationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableTransitGatewayRouteTablePropagationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27714,6 +35537,10 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagation(_a0 *ec2.EnableVgwRoutePropagat ret := _m.Called(_a0) var r0 *ec2.EnableVgwRoutePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableVgwRoutePropagationInput) (*ec2.EnableVgwRoutePropagationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVgwRoutePropagationInput) *ec2.EnableVgwRoutePropagationOutput); ok { r0 = rf(_a0) } else { @@ -27722,7 +35549,6 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagation(_a0 *ec2.EnableVgwRoutePropagat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableVgwRoutePropagationInput) error); ok { r1 = rf(_a0) } else { @@ -27737,6 +35563,10 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagationRequest(_a0 *ec2.EnableVgwRouteP ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableVgwRoutePropagationOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableVgwRoutePropagationInput) (*request.Request, *ec2.EnableVgwRoutePropagationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVgwRoutePropagationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27745,7 +35575,6 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagationRequest(_a0 *ec2.EnableVgwRouteP } } - var r1 *ec2.EnableVgwRoutePropagationOutput if rf, ok := ret.Get(1).(func(*ec2.EnableVgwRoutePropagationInput) *ec2.EnableVgwRoutePropagationOutput); ok { r1 = rf(_a0) } else { @@ -27769,6 +35598,10 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.EnableVgwRoutePropagationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVgwRoutePropagationInput, ...request.Option) (*ec2.EnableVgwRoutePropagationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVgwRoutePropagationInput, ...request.Option) *ec2.EnableVgwRoutePropagationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27777,7 +35610,6 @@ func (_m *MockFakeEC2) EnableVgwRoutePropagationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableVgwRoutePropagationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27792,6 +35624,10 @@ func (_m *MockFakeEC2) EnableVolumeIO(_a0 *ec2.EnableVolumeIOInput) (*ec2.Enable ret := _m.Called(_a0) var r0 *ec2.EnableVolumeIOOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableVolumeIOInput) (*ec2.EnableVolumeIOOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVolumeIOInput) *ec2.EnableVolumeIOOutput); ok { r0 = rf(_a0) } else { @@ -27800,7 +35636,6 @@ func (_m *MockFakeEC2) EnableVolumeIO(_a0 *ec2.EnableVolumeIOInput) (*ec2.Enable } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableVolumeIOInput) error); ok { r1 = rf(_a0) } else { @@ -27815,6 +35650,10 @@ func (_m *MockFakeEC2) EnableVolumeIORequest(_a0 *ec2.EnableVolumeIOInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableVolumeIOOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableVolumeIOInput) (*request.Request, *ec2.EnableVolumeIOOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVolumeIOInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27823,7 +35662,6 @@ func (_m *MockFakeEC2) EnableVolumeIORequest(_a0 *ec2.EnableVolumeIOInput) (*req } } - var r1 *ec2.EnableVolumeIOOutput if rf, ok := ret.Get(1).(func(*ec2.EnableVolumeIOInput) *ec2.EnableVolumeIOOutput); ok { r1 = rf(_a0) } else { @@ -27847,6 +35685,10 @@ func (_m *MockFakeEC2) EnableVolumeIOWithContext(_a0 context.Context, _a1 *ec2.E ret := _m.Called(_ca...) var r0 *ec2.EnableVolumeIOOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVolumeIOInput, ...request.Option) (*ec2.EnableVolumeIOOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVolumeIOInput, ...request.Option) *ec2.EnableVolumeIOOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27855,7 +35697,6 @@ func (_m *MockFakeEC2) EnableVolumeIOWithContext(_a0 context.Context, _a1 *ec2.E } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableVolumeIOInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27870,6 +35711,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLink(_a0 *ec2.EnableVpcClassicLinkInput) ret := _m.Called(_a0) var r0 *ec2.EnableVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkInput) (*ec2.EnableVpcClassicLinkOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkInput) *ec2.EnableVpcClassicLinkOutput); ok { r0 = rf(_a0) } else { @@ -27878,7 +35723,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLink(_a0 *ec2.EnableVpcClassicLinkInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableVpcClassicLinkInput) error); ok { r1 = rf(_a0) } else { @@ -27893,6 +35737,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupport(_a0 *ec2.EnableVpcClassicL ret := _m.Called(_a0) var r0 *ec2.EnableVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) (*ec2.EnableVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) *ec2.EnableVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0) } else { @@ -27901,7 +35749,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupport(_a0 *ec2.EnableVpcClassicL } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) error); ok { r1 = rf(_a0) } else { @@ -27916,6 +35763,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupportRequest(_a0 *ec2.EnableVpcC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableVpcClassicLinkDnsSupportOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) (*request.Request, *ec2.EnableVpcClassicLinkDnsSupportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27924,7 +35775,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupportRequest(_a0 *ec2.EnableVpcC } } - var r1 *ec2.EnableVpcClassicLinkDnsSupportOutput if rf, ok := ret.Get(1).(func(*ec2.EnableVpcClassicLinkDnsSupportInput) *ec2.EnableVpcClassicLinkDnsSupportOutput); ok { r1 = rf(_a0) } else { @@ -27948,6 +35798,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupportWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.EnableVpcClassicLinkDnsSupportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkDnsSupportInput, ...request.Option) (*ec2.EnableVpcClassicLinkDnsSupportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkDnsSupportInput, ...request.Option) *ec2.EnableVpcClassicLinkDnsSupportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -27956,7 +35810,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkDnsSupportWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableVpcClassicLinkDnsSupportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -27971,6 +35824,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkRequest(_a0 *ec2.EnableVpcClassicLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.EnableVpcClassicLinkOutput + if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkInput) (*request.Request, *ec2.EnableVpcClassicLinkOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.EnableVpcClassicLinkInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -27979,7 +35836,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkRequest(_a0 *ec2.EnableVpcClassicLink } } - var r1 *ec2.EnableVpcClassicLinkOutput if rf, ok := ret.Get(1).(func(*ec2.EnableVpcClassicLinkInput) *ec2.EnableVpcClassicLinkOutput); ok { r1 = rf(_a0) } else { @@ -28003,6 +35859,10 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.EnableVpcClassicLinkOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkInput, ...request.Option) (*ec2.EnableVpcClassicLinkOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkInput, ...request.Option) *ec2.EnableVpcClassicLinkOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28011,7 +35871,6 @@ func (_m *MockFakeEC2) EnableVpcClassicLinkWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.EnableVpcClassicLinkInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28026,6 +35885,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationList(_a0 *ec2.E ret := _m.Called(_a0) var r0 *ec2.ExportClientVpnClientCertificateRevocationListOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) (*ec2.ExportClientVpnClientCertificateRevocationListOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) *ec2.ExportClientVpnClientCertificateRevocationListOutput); ok { r0 = rf(_a0) } else { @@ -28034,7 +35897,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationList(_a0 *ec2.E } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) error); ok { r1 = rf(_a0) } else { @@ -28049,6 +35911,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationListRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ExportClientVpnClientCertificateRevocationListOutput + if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) (*request.Request, *ec2.ExportClientVpnClientCertificateRevocationListOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28057,7 +35923,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationListRequest(_a0 } } - var r1 *ec2.ExportClientVpnClientCertificateRevocationListOutput if rf, ok := ret.Get(1).(func(*ec2.ExportClientVpnClientCertificateRevocationListInput) *ec2.ExportClientVpnClientCertificateRevocationListOutput); ok { r1 = rf(_a0) } else { @@ -28081,6 +35946,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationListWithContext ret := _m.Called(_ca...) var r0 *ec2.ExportClientVpnClientCertificateRevocationListOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientCertificateRevocationListInput, ...request.Option) (*ec2.ExportClientVpnClientCertificateRevocationListOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientCertificateRevocationListInput, ...request.Option) *ec2.ExportClientVpnClientCertificateRevocationListOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28089,7 +35958,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientCertificateRevocationListWithContext } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ExportClientVpnClientCertificateRevocationListInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28104,6 +35972,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfiguration(_a0 *ec2.ExportClientV ret := _m.Called(_a0) var r0 *ec2.ExportClientVpnClientConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientConfigurationInput) (*ec2.ExportClientVpnClientConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientConfigurationInput) *ec2.ExportClientVpnClientConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -28112,7 +35984,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfiguration(_a0 *ec2.ExportClientV } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ExportClientVpnClientConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -28127,6 +35998,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfigurationRequest(_a0 *ec2.Export ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ExportClientVpnClientConfigurationOutput + if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientConfigurationInput) (*request.Request, *ec2.ExportClientVpnClientConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportClientVpnClientConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28135,7 +36010,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfigurationRequest(_a0 *ec2.Export } } - var r1 *ec2.ExportClientVpnClientConfigurationOutput if rf, ok := ret.Get(1).(func(*ec2.ExportClientVpnClientConfigurationInput) *ec2.ExportClientVpnClientConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -28159,6 +36033,10 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfigurationWithContext(_a0 context ret := _m.Called(_ca...) var r0 *ec2.ExportClientVpnClientConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientConfigurationInput, ...request.Option) (*ec2.ExportClientVpnClientConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientConfigurationInput, ...request.Option) *ec2.ExportClientVpnClientConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28167,7 +36045,6 @@ func (_m *MockFakeEC2) ExportClientVpnClientConfigurationWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ExportClientVpnClientConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28182,6 +36059,10 @@ func (_m *MockFakeEC2) ExportImage(_a0 *ec2.ExportImageInput) (*ec2.ExportImageO ret := _m.Called(_a0) var r0 *ec2.ExportImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ExportImageInput) (*ec2.ExportImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportImageInput) *ec2.ExportImageOutput); ok { r0 = rf(_a0) } else { @@ -28190,7 +36071,6 @@ func (_m *MockFakeEC2) ExportImage(_a0 *ec2.ExportImageInput) (*ec2.ExportImageO } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ExportImageInput) error); ok { r1 = rf(_a0) } else { @@ -28205,6 +36085,10 @@ func (_m *MockFakeEC2) ExportImageRequest(_a0 *ec2.ExportImageInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ExportImageOutput + if rf, ok := ret.Get(0).(func(*ec2.ExportImageInput) (*request.Request, *ec2.ExportImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28213,7 +36097,6 @@ func (_m *MockFakeEC2) ExportImageRequest(_a0 *ec2.ExportImageInput) (*request.R } } - var r1 *ec2.ExportImageOutput if rf, ok := ret.Get(1).(func(*ec2.ExportImageInput) *ec2.ExportImageOutput); ok { r1 = rf(_a0) } else { @@ -28237,6 +36120,10 @@ func (_m *MockFakeEC2) ExportImageWithContext(_a0 context.Context, _a1 *ec2.Expo ret := _m.Called(_ca...) var r0 *ec2.ExportImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportImageInput, ...request.Option) (*ec2.ExportImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportImageInput, ...request.Option) *ec2.ExportImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28245,7 +36132,6 @@ func (_m *MockFakeEC2) ExportImageWithContext(_a0 context.Context, _a1 *ec2.Expo } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ExportImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28260,6 +36146,10 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutes(_a0 *ec2.ExportTransitGatewayR ret := _m.Called(_a0) var r0 *ec2.ExportTransitGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ExportTransitGatewayRoutesInput) (*ec2.ExportTransitGatewayRoutesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportTransitGatewayRoutesInput) *ec2.ExportTransitGatewayRoutesOutput); ok { r0 = rf(_a0) } else { @@ -28268,7 +36158,6 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutes(_a0 *ec2.ExportTransitGatewayR } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ExportTransitGatewayRoutesInput) error); ok { r1 = rf(_a0) } else { @@ -28283,6 +36172,10 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutesRequest(_a0 *ec2.ExportTransitG ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ExportTransitGatewayRoutesOutput + if rf, ok := ret.Get(0).(func(*ec2.ExportTransitGatewayRoutesInput) (*request.Request, *ec2.ExportTransitGatewayRoutesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ExportTransitGatewayRoutesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28291,7 +36184,6 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutesRequest(_a0 *ec2.ExportTransitG } } - var r1 *ec2.ExportTransitGatewayRoutesOutput if rf, ok := ret.Get(1).(func(*ec2.ExportTransitGatewayRoutesInput) *ec2.ExportTransitGatewayRoutesOutput); ok { r1 = rf(_a0) } else { @@ -28315,6 +36207,10 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.ExportTransitGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportTransitGatewayRoutesInput, ...request.Option) (*ec2.ExportTransitGatewayRoutesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportTransitGatewayRoutesInput, ...request.Option) *ec2.ExportTransitGatewayRoutesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28323,7 +36219,6 @@ func (_m *MockFakeEC2) ExportTransitGatewayRoutesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ExportTransitGatewayRoutesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28338,6 +36233,10 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRoles(_a0 *ec2.GetAssoc ret := _m.Called(_a0) var r0 *ec2.GetAssociatedEnclaveCertificateIamRolesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) (*ec2.GetAssociatedEnclaveCertificateIamRolesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) *ec2.GetAssociatedEnclaveCertificateIamRolesOutput); ok { r0 = rf(_a0) } else { @@ -28346,7 +36245,6 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRoles(_a0 *ec2.GetAssoc } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) error); ok { r1 = rf(_a0) } else { @@ -28361,6 +36259,10 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRolesRequest(_a0 *ec2.G ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetAssociatedEnclaveCertificateIamRolesOutput + if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) (*request.Request, *ec2.GetAssociatedEnclaveCertificateIamRolesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28369,7 +36271,6 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRolesRequest(_a0 *ec2.G } } - var r1 *ec2.GetAssociatedEnclaveCertificateIamRolesOutput if rf, ok := ret.Get(1).(func(*ec2.GetAssociatedEnclaveCertificateIamRolesInput) *ec2.GetAssociatedEnclaveCertificateIamRolesOutput); ok { r1 = rf(_a0) } else { @@ -28393,6 +36294,10 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRolesWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.GetAssociatedEnclaveCertificateIamRolesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedEnclaveCertificateIamRolesInput, ...request.Option) (*ec2.GetAssociatedEnclaveCertificateIamRolesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedEnclaveCertificateIamRolesInput, ...request.Option) *ec2.GetAssociatedEnclaveCertificateIamRolesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28401,7 +36306,6 @@ func (_m *MockFakeEC2) GetAssociatedEnclaveCertificateIamRolesWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetAssociatedEnclaveCertificateIamRolesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28416,6 +36320,10 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrs(_a0 *ec2.GetAssociatedIpv6Pool ret := _m.Called(_a0) var r0 *ec2.GetAssociatedIpv6PoolCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) (*ec2.GetAssociatedIpv6PoolCidrsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) *ec2.GetAssociatedIpv6PoolCidrsOutput); ok { r0 = rf(_a0) } else { @@ -28424,7 +36332,6 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrs(_a0 *ec2.GetAssociatedIpv6Pool } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) error); ok { r1 = rf(_a0) } else { @@ -28474,6 +36381,10 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrsRequest(_a0 *ec2.GetAssociatedI ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetAssociatedIpv6PoolCidrsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) (*request.Request, *ec2.GetAssociatedIpv6PoolCidrsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28482,7 +36393,6 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrsRequest(_a0 *ec2.GetAssociatedI } } - var r1 *ec2.GetAssociatedIpv6PoolCidrsOutput if rf, ok := ret.Get(1).(func(*ec2.GetAssociatedIpv6PoolCidrsInput) *ec2.GetAssociatedIpv6PoolCidrsOutput); ok { r1 = rf(_a0) } else { @@ -28506,6 +36416,10 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.GetAssociatedIpv6PoolCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedIpv6PoolCidrsInput, ...request.Option) (*ec2.GetAssociatedIpv6PoolCidrsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedIpv6PoolCidrsInput, ...request.Option) *ec2.GetAssociatedIpv6PoolCidrsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28514,7 +36428,6 @@ func (_m *MockFakeEC2) GetAssociatedIpv6PoolCidrsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetAssociatedIpv6PoolCidrsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28529,6 +36442,10 @@ func (_m *MockFakeEC2) GetCapacityReservationUsage(_a0 *ec2.GetCapacityReservati ret := _m.Called(_a0) var r0 *ec2.GetCapacityReservationUsageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetCapacityReservationUsageInput) (*ec2.GetCapacityReservationUsageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetCapacityReservationUsageInput) *ec2.GetCapacityReservationUsageOutput); ok { r0 = rf(_a0) } else { @@ -28537,7 +36454,6 @@ func (_m *MockFakeEC2) GetCapacityReservationUsage(_a0 *ec2.GetCapacityReservati } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetCapacityReservationUsageInput) error); ok { r1 = rf(_a0) } else { @@ -28552,6 +36468,10 @@ func (_m *MockFakeEC2) GetCapacityReservationUsageRequest(_a0 *ec2.GetCapacityRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetCapacityReservationUsageOutput + if rf, ok := ret.Get(0).(func(*ec2.GetCapacityReservationUsageInput) (*request.Request, *ec2.GetCapacityReservationUsageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetCapacityReservationUsageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28560,7 +36480,6 @@ func (_m *MockFakeEC2) GetCapacityReservationUsageRequest(_a0 *ec2.GetCapacityRe } } - var r1 *ec2.GetCapacityReservationUsageOutput if rf, ok := ret.Get(1).(func(*ec2.GetCapacityReservationUsageInput) *ec2.GetCapacityReservationUsageOutput); ok { r1 = rf(_a0) } else { @@ -28584,6 +36503,10 @@ func (_m *MockFakeEC2) GetCapacityReservationUsageWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ec2.GetCapacityReservationUsageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCapacityReservationUsageInput, ...request.Option) (*ec2.GetCapacityReservationUsageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCapacityReservationUsageInput, ...request.Option) *ec2.GetCapacityReservationUsageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28592,7 +36515,6 @@ func (_m *MockFakeEC2) GetCapacityReservationUsageWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetCapacityReservationUsageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28607,6 +36529,10 @@ func (_m *MockFakeEC2) GetCoipPoolUsage(_a0 *ec2.GetCoipPoolUsageInput) (*ec2.Ge ret := _m.Called(_a0) var r0 *ec2.GetCoipPoolUsageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetCoipPoolUsageInput) (*ec2.GetCoipPoolUsageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetCoipPoolUsageInput) *ec2.GetCoipPoolUsageOutput); ok { r0 = rf(_a0) } else { @@ -28615,7 +36541,6 @@ func (_m *MockFakeEC2) GetCoipPoolUsage(_a0 *ec2.GetCoipPoolUsageInput) (*ec2.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetCoipPoolUsageInput) error); ok { r1 = rf(_a0) } else { @@ -28630,6 +36555,10 @@ func (_m *MockFakeEC2) GetCoipPoolUsageRequest(_a0 *ec2.GetCoipPoolUsageInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetCoipPoolUsageOutput + if rf, ok := ret.Get(0).(func(*ec2.GetCoipPoolUsageInput) (*request.Request, *ec2.GetCoipPoolUsageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetCoipPoolUsageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28638,7 +36567,6 @@ func (_m *MockFakeEC2) GetCoipPoolUsageRequest(_a0 *ec2.GetCoipPoolUsageInput) ( } } - var r1 *ec2.GetCoipPoolUsageOutput if rf, ok := ret.Get(1).(func(*ec2.GetCoipPoolUsageInput) *ec2.GetCoipPoolUsageOutput); ok { r1 = rf(_a0) } else { @@ -28662,6 +36590,10 @@ func (_m *MockFakeEC2) GetCoipPoolUsageWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.GetCoipPoolUsageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCoipPoolUsageInput, ...request.Option) (*ec2.GetCoipPoolUsageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCoipPoolUsageInput, ...request.Option) *ec2.GetCoipPoolUsageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28670,7 +36602,6 @@ func (_m *MockFakeEC2) GetCoipPoolUsageWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetCoipPoolUsageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28685,6 +36616,10 @@ func (_m *MockFakeEC2) GetConsoleOutput(_a0 *ec2.GetConsoleOutputInput) (*ec2.Ge ret := _m.Called(_a0) var r0 *ec2.GetConsoleOutputOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetConsoleOutputInput) (*ec2.GetConsoleOutputOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetConsoleOutputInput) *ec2.GetConsoleOutputOutput); ok { r0 = rf(_a0) } else { @@ -28693,7 +36628,6 @@ func (_m *MockFakeEC2) GetConsoleOutput(_a0 *ec2.GetConsoleOutputInput) (*ec2.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetConsoleOutputInput) error); ok { r1 = rf(_a0) } else { @@ -28708,6 +36642,10 @@ func (_m *MockFakeEC2) GetConsoleOutputRequest(_a0 *ec2.GetConsoleOutputInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetConsoleOutputOutput + if rf, ok := ret.Get(0).(func(*ec2.GetConsoleOutputInput) (*request.Request, *ec2.GetConsoleOutputOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetConsoleOutputInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28716,7 +36654,6 @@ func (_m *MockFakeEC2) GetConsoleOutputRequest(_a0 *ec2.GetConsoleOutputInput) ( } } - var r1 *ec2.GetConsoleOutputOutput if rf, ok := ret.Get(1).(func(*ec2.GetConsoleOutputInput) *ec2.GetConsoleOutputOutput); ok { r1 = rf(_a0) } else { @@ -28740,6 +36677,10 @@ func (_m *MockFakeEC2) GetConsoleOutputWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.GetConsoleOutputOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleOutputInput, ...request.Option) (*ec2.GetConsoleOutputOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleOutputInput, ...request.Option) *ec2.GetConsoleOutputOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28748,7 +36689,6 @@ func (_m *MockFakeEC2) GetConsoleOutputWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetConsoleOutputInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28763,6 +36703,10 @@ func (_m *MockFakeEC2) GetConsoleScreenshot(_a0 *ec2.GetConsoleScreenshotInput) ret := _m.Called(_a0) var r0 *ec2.GetConsoleScreenshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetConsoleScreenshotInput) (*ec2.GetConsoleScreenshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetConsoleScreenshotInput) *ec2.GetConsoleScreenshotOutput); ok { r0 = rf(_a0) } else { @@ -28771,7 +36715,6 @@ func (_m *MockFakeEC2) GetConsoleScreenshot(_a0 *ec2.GetConsoleScreenshotInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetConsoleScreenshotInput) error); ok { r1 = rf(_a0) } else { @@ -28786,6 +36729,10 @@ func (_m *MockFakeEC2) GetConsoleScreenshotRequest(_a0 *ec2.GetConsoleScreenshot ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetConsoleScreenshotOutput + if rf, ok := ret.Get(0).(func(*ec2.GetConsoleScreenshotInput) (*request.Request, *ec2.GetConsoleScreenshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetConsoleScreenshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28794,7 +36741,6 @@ func (_m *MockFakeEC2) GetConsoleScreenshotRequest(_a0 *ec2.GetConsoleScreenshot } } - var r1 *ec2.GetConsoleScreenshotOutput if rf, ok := ret.Get(1).(func(*ec2.GetConsoleScreenshotInput) *ec2.GetConsoleScreenshotOutput); ok { r1 = rf(_a0) } else { @@ -28818,6 +36764,10 @@ func (_m *MockFakeEC2) GetConsoleScreenshotWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.GetConsoleScreenshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleScreenshotInput, ...request.Option) (*ec2.GetConsoleScreenshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleScreenshotInput, ...request.Option) *ec2.GetConsoleScreenshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28826,7 +36776,6 @@ func (_m *MockFakeEC2) GetConsoleScreenshotWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetConsoleScreenshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28841,6 +36790,10 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecification(_a0 *ec2.GetDefaultCreditSp ret := _m.Called(_a0) var r0 *ec2.GetDefaultCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetDefaultCreditSpecificationInput) (*ec2.GetDefaultCreditSpecificationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetDefaultCreditSpecificationInput) *ec2.GetDefaultCreditSpecificationOutput); ok { r0 = rf(_a0) } else { @@ -28849,7 +36802,6 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecification(_a0 *ec2.GetDefaultCreditSp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetDefaultCreditSpecificationInput) error); ok { r1 = rf(_a0) } else { @@ -28864,6 +36816,10 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecificationRequest(_a0 *ec2.GetDefaultC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetDefaultCreditSpecificationOutput + if rf, ok := ret.Get(0).(func(*ec2.GetDefaultCreditSpecificationInput) (*request.Request, *ec2.GetDefaultCreditSpecificationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetDefaultCreditSpecificationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28872,7 +36828,6 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecificationRequest(_a0 *ec2.GetDefaultC } } - var r1 *ec2.GetDefaultCreditSpecificationOutput if rf, ok := ret.Get(1).(func(*ec2.GetDefaultCreditSpecificationInput) *ec2.GetDefaultCreditSpecificationOutput); ok { r1 = rf(_a0) } else { @@ -28896,6 +36851,10 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecificationWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.GetDefaultCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetDefaultCreditSpecificationInput, ...request.Option) (*ec2.GetDefaultCreditSpecificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetDefaultCreditSpecificationInput, ...request.Option) *ec2.GetDefaultCreditSpecificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28904,7 +36863,6 @@ func (_m *MockFakeEC2) GetDefaultCreditSpecificationWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetDefaultCreditSpecificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28919,6 +36877,10 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyId(_a0 *ec2.GetEbsDefaultKmsKeyIdInput ret := _m.Called(_a0) var r0 *ec2.GetEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetEbsDefaultKmsKeyIdInput) (*ec2.GetEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetEbsDefaultKmsKeyIdInput) *ec2.GetEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0) } else { @@ -28927,7 +36889,6 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyId(_a0 *ec2.GetEbsDefaultKmsKeyIdInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetEbsDefaultKmsKeyIdInput) error); ok { r1 = rf(_a0) } else { @@ -28942,6 +36903,10 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyIdRequest(_a0 *ec2.GetEbsDefaultKmsKey ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetEbsDefaultKmsKeyIdOutput + if rf, ok := ret.Get(0).(func(*ec2.GetEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.GetEbsDefaultKmsKeyIdOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetEbsDefaultKmsKeyIdInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -28950,7 +36915,6 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyIdRequest(_a0 *ec2.GetEbsDefaultKmsKey } } - var r1 *ec2.GetEbsDefaultKmsKeyIdOutput if rf, ok := ret.Get(1).(func(*ec2.GetEbsDefaultKmsKeyIdInput) *ec2.GetEbsDefaultKmsKeyIdOutput); ok { r1 = rf(_a0) } else { @@ -28974,6 +36938,10 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.GetEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsDefaultKmsKeyIdInput, ...request.Option) (*ec2.GetEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsDefaultKmsKeyIdInput, ...request.Option) *ec2.GetEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -28982,7 +36950,6 @@ func (_m *MockFakeEC2) GetEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetEbsDefaultKmsKeyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -28997,6 +36964,10 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefault(_a0 *ec2.GetEbsEncryptionByDefa ret := _m.Called(_a0) var r0 *ec2.GetEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetEbsEncryptionByDefaultInput) (*ec2.GetEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetEbsEncryptionByDefaultInput) *ec2.GetEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0) } else { @@ -29005,7 +36976,6 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefault(_a0 *ec2.GetEbsEncryptionByDefa } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetEbsEncryptionByDefaultInput) error); ok { r1 = rf(_a0) } else { @@ -29020,6 +36990,10 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefaultRequest(_a0 *ec2.GetEbsEncryptio ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetEbsEncryptionByDefaultOutput + if rf, ok := ret.Get(0).(func(*ec2.GetEbsEncryptionByDefaultInput) (*request.Request, *ec2.GetEbsEncryptionByDefaultOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetEbsEncryptionByDefaultInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -29028,7 +37002,6 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefaultRequest(_a0 *ec2.GetEbsEncryptio } } - var r1 *ec2.GetEbsEncryptionByDefaultOutput if rf, ok := ret.Get(1).(func(*ec2.GetEbsEncryptionByDefaultInput) *ec2.GetEbsEncryptionByDefaultOutput); ok { r1 = rf(_a0) } else { @@ -29052,6 +37025,10 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefaultWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.GetEbsEncryptionByDefaultOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsEncryptionByDefaultInput, ...request.Option) (*ec2.GetEbsEncryptionByDefaultOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsEncryptionByDefaultInput, ...request.Option) *ec2.GetEbsEncryptionByDefaultOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -29060,7 +37037,6 @@ func (_m *MockFakeEC2) GetEbsEncryptionByDefaultWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetEbsEncryptionByDefaultInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -29075,6 +37051,10 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplate(_a0 *ec2.GetFlowLogsIntegr ret := _m.Called(_a0) var r0 *ec2.GetFlowLogsIntegrationTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetFlowLogsIntegrationTemplateInput) (*ec2.GetFlowLogsIntegrationTemplateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetFlowLogsIntegrationTemplateInput) *ec2.GetFlowLogsIntegrationTemplateOutput); ok { r0 = rf(_a0) } else { @@ -29083,7 +37063,6 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplate(_a0 *ec2.GetFlowLogsIntegr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetFlowLogsIntegrationTemplateInput) error); ok { r1 = rf(_a0) } else { @@ -29098,6 +37077,10 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplateRequest(_a0 *ec2.GetFlowLog ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetFlowLogsIntegrationTemplateOutput + if rf, ok := ret.Get(0).(func(*ec2.GetFlowLogsIntegrationTemplateInput) (*request.Request, *ec2.GetFlowLogsIntegrationTemplateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetFlowLogsIntegrationTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -29106,7 +37089,6 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplateRequest(_a0 *ec2.GetFlowLog } } - var r1 *ec2.GetFlowLogsIntegrationTemplateOutput if rf, ok := ret.Get(1).(func(*ec2.GetFlowLogsIntegrationTemplateInput) *ec2.GetFlowLogsIntegrationTemplateOutput); ok { r1 = rf(_a0) } else { @@ -29130,6 +37112,10 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplateWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.GetFlowLogsIntegrationTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetFlowLogsIntegrationTemplateInput, ...request.Option) (*ec2.GetFlowLogsIntegrationTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetFlowLogsIntegrationTemplateInput, ...request.Option) *ec2.GetFlowLogsIntegrationTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -29138,7 +37124,6 @@ func (_m *MockFakeEC2) GetFlowLogsIntegrationTemplateWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetFlowLogsIntegrationTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -29153,6 +37138,10 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservation(_a0 *ec2.GetGroupsForCapa ret := _m.Called(_a0) var r0 *ec2.GetGroupsForCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetGroupsForCapacityReservationInput) (*ec2.GetGroupsForCapacityReservationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetGroupsForCapacityReservationInput) *ec2.GetGroupsForCapacityReservationOutput); ok { r0 = rf(_a0) } else { @@ -29161,7 +37150,6 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservation(_a0 *ec2.GetGroupsForCapa } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetGroupsForCapacityReservationInput) error); ok { r1 = rf(_a0) } else { @@ -29211,6 +37199,10 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservationRequest(_a0 *ec2.GetGroups ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetGroupsForCapacityReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.GetGroupsForCapacityReservationInput) (*request.Request, *ec2.GetGroupsForCapacityReservationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetGroupsForCapacityReservationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -29219,7 +37211,6 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservationRequest(_a0 *ec2.GetGroups } } - var r1 *ec2.GetGroupsForCapacityReservationOutput if rf, ok := ret.Get(1).(func(*ec2.GetGroupsForCapacityReservationInput) *ec2.GetGroupsForCapacityReservationOutput); ok { r1 = rf(_a0) } else { @@ -29243,6 +37234,10 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservationWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.GetGroupsForCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetGroupsForCapacityReservationInput, ...request.Option) (*ec2.GetGroupsForCapacityReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetGroupsForCapacityReservationInput, ...request.Option) *ec2.GetGroupsForCapacityReservationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -29251,7 +37246,6 @@ func (_m *MockFakeEC2) GetGroupsForCapacityReservationWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetGroupsForCapacityReservationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -29266,6 +37260,10 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreview(_a0 *ec2.GetHostReserva ret := _m.Called(_a0) var r0 *ec2.GetHostReservationPurchasePreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetHostReservationPurchasePreviewInput) (*ec2.GetHostReservationPurchasePreviewOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetHostReservationPurchasePreviewInput) *ec2.GetHostReservationPurchasePreviewOutput); ok { r0 = rf(_a0) } else { @@ -29274,7 +37272,6 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreview(_a0 *ec2.GetHostReserva } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.GetHostReservationPurchasePreviewInput) error); ok { r1 = rf(_a0) } else { @@ -29289,6 +37286,10 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreviewRequest(_a0 *ec2.GetHost ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.GetHostReservationPurchasePreviewOutput + if rf, ok := ret.Get(0).(func(*ec2.GetHostReservationPurchasePreviewInput) (*request.Request, *ec2.GetHostReservationPurchasePreviewOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.GetHostReservationPurchasePreviewInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -29297,7 +37298,6 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreviewRequest(_a0 *ec2.GetHost } } - var r1 *ec2.GetHostReservationPurchasePreviewOutput if rf, ok := ret.Get(1).(func(*ec2.GetHostReservationPurchasePreviewInput) *ec2.GetHostReservationPurchasePreviewOutput); ok { r1 = rf(_a0) } else { @@ -29321,6 +37321,10 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreviewWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.GetHostReservationPurchasePreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetHostReservationPurchasePreviewInput, ...request.Option) (*ec2.GetHostReservationPurchasePreviewOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetHostReservationPurchasePreviewInput, ...request.Option) *ec2.GetHostReservationPurchasePreviewOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -29329,7 +37333,6 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreviewWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetHostReservationPurchasePreviewInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -29339,21 +37342,24 @@ func (_m *MockFakeEC2) GetHostReservationPurchasePreviewWithContext(_a0 context. return r0, r1 } -// GetLaunchTemplateData provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetLaunchTemplateData(_a0 *ec2.GetLaunchTemplateDataInput) (*ec2.GetLaunchTemplateDataOutput, error) { +// GetInstanceTypesFromInstanceRequirements provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetInstanceTypesFromInstanceRequirements(_a0 *ec2.GetInstanceTypesFromInstanceRequirementsInput) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetLaunchTemplateDataOutput - if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) *ec2.GetLaunchTemplateDataOutput); ok { + var r0 *ec2.GetInstanceTypesFromInstanceRequirementsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) *ec2.GetInstanceTypesFromInstanceRequirementsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetLaunchTemplateDataOutput) + r0 = ret.Get(0).(*ec2.GetInstanceTypesFromInstanceRequirementsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetLaunchTemplateDataInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29362,12 +37368,51 @@ func (_m *MockFakeEC2) GetLaunchTemplateData(_a0 *ec2.GetLaunchTemplateDataInput return r0, r1 } -// GetLaunchTemplateDataRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetLaunchTemplateDataRequest(_a0 *ec2.GetLaunchTemplateDataInput) (*request.Request, *ec2.GetLaunchTemplateDataOutput) { +// GetInstanceTypesFromInstanceRequirementsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetInstanceTypesFromInstanceRequirementsPages(_a0 *ec2.GetInstanceTypesFromInstanceRequirementsInput, _a1 func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput, func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetInstanceTypesFromInstanceRequirementsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetInstanceTypesFromInstanceRequirementsPagesWithContext(_a0 context.Context, _a1 *ec2.GetInstanceTypesFromInstanceRequirementsInput, _a2 func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetInstanceTypesFromInstanceRequirementsInput, func(*ec2.GetInstanceTypesFromInstanceRequirementsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetInstanceTypesFromInstanceRequirementsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetInstanceTypesFromInstanceRequirementsRequest(_a0 *ec2.GetInstanceTypesFromInstanceRequirementsInput) (*request.Request, *ec2.GetInstanceTypesFromInstanceRequirementsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) *request.Request); ok { + var r1 *ec2.GetInstanceTypesFromInstanceRequirementsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) (*request.Request, *ec2.GetInstanceTypesFromInstanceRequirementsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29375,20 +37420,19 @@ func (_m *MockFakeEC2) GetLaunchTemplateDataRequest(_a0 *ec2.GetLaunchTemplateDa } } - var r1 *ec2.GetLaunchTemplateDataOutput - if rf, ok := ret.Get(1).(func(*ec2.GetLaunchTemplateDataInput) *ec2.GetLaunchTemplateDataOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetInstanceTypesFromInstanceRequirementsInput) *ec2.GetInstanceTypesFromInstanceRequirementsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetLaunchTemplateDataOutput) + r1 = ret.Get(1).(*ec2.GetInstanceTypesFromInstanceRequirementsOutput) } } return r0, r1 } -// GetLaunchTemplateDataWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetLaunchTemplateDataWithContext(_a0 context.Context, _a1 *ec2.GetLaunchTemplateDataInput, _a2 ...request.Option) (*ec2.GetLaunchTemplateDataOutput, error) { +// GetInstanceTypesFromInstanceRequirementsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetInstanceTypesFromInstanceRequirementsWithContext(_a0 context.Context, _a1 *ec2.GetInstanceTypesFromInstanceRequirementsInput, _a2 ...request.Option) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29398,17 +37442,20 @@ func (_m *MockFakeEC2) GetLaunchTemplateDataWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetLaunchTemplateDataOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...request.Option) *ec2.GetLaunchTemplateDataOutput); ok { + var r0 *ec2.GetInstanceTypesFromInstanceRequirementsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, ...request.Option) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, ...request.Option) *ec2.GetInstanceTypesFromInstanceRequirementsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetLaunchTemplateDataOutput) + r0 = ret.Get(0).(*ec2.GetInstanceTypesFromInstanceRequirementsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29417,21 +37464,111 @@ func (_m *MockFakeEC2) GetLaunchTemplateDataWithContext(_a0 context.Context, _a1 return r0, r1 } -// GetManagedPrefixListAssociations provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetManagedPrefixListAssociations(_a0 *ec2.GetManagedPrefixListAssociationsInput) (*ec2.GetManagedPrefixListAssociationsOutput, error) { +// GetInstanceUefiData provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetInstanceUefiData(_a0 *ec2.GetInstanceUefiDataInput) (*ec2.GetInstanceUefiDataOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetManagedPrefixListAssociationsOutput - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) *ec2.GetManagedPrefixListAssociationsOutput); ok { + var r0 *ec2.GetInstanceUefiDataOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceUefiDataInput) (*ec2.GetInstanceUefiDataOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceUefiDataInput) *ec2.GetInstanceUefiDataOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetManagedPrefixListAssociationsOutput) + r0 = ret.Get(0).(*ec2.GetInstanceUefiDataOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetInstanceUefiDataInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetInstanceUefiDataRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetInstanceUefiDataRequest(_a0 *ec2.GetInstanceUefiDataInput) (*request.Request, *ec2.GetInstanceUefiDataOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetInstanceUefiDataOutput + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceUefiDataInput) (*request.Request, *ec2.GetInstanceUefiDataOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetInstanceUefiDataInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetInstanceUefiDataInput) *ec2.GetInstanceUefiDataOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetInstanceUefiDataOutput) } } + return r0, r1 +} + +// GetInstanceUefiDataWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetInstanceUefiDataWithContext(_a0 context.Context, _a1 *ec2.GetInstanceUefiDataInput, _a2 ...request.Option) (*ec2.GetInstanceUefiDataOutput, error) { + _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 *ec2.GetInstanceUefiDataOutput var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListAssociationsInput) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetInstanceUefiDataInput, ...request.Option) (*ec2.GetInstanceUefiDataOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetInstanceUefiDataInput, ...request.Option) *ec2.GetInstanceUefiDataOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetInstanceUefiDataOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetInstanceUefiDataInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetIpamAddressHistory provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamAddressHistory(_a0 *ec2.GetIpamAddressHistoryInput) (*ec2.GetIpamAddressHistoryOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetIpamAddressHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamAddressHistoryInput) (*ec2.GetIpamAddressHistoryOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamAddressHistoryInput) *ec2.GetIpamAddressHistoryOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetIpamAddressHistoryOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetIpamAddressHistoryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29440,12 +37577,12 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociations(_a0 *ec2.GetManagedPrefi return r0, r1 } -// GetManagedPrefixListAssociationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPages(_a0 *ec2.GetManagedPrefixListAssociationsInput, _a1 func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool) error { +// GetIpamAddressHistoryPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetIpamAddressHistoryPages(_a0 *ec2.GetIpamAddressHistoryInput, _a1 func(*ec2.GetIpamAddressHistoryOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput, func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.GetIpamAddressHistoryInput, func(*ec2.GetIpamAddressHistoryOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -29454,8 +37591,8 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPages(_a0 *ec2.GetManaged return r0 } -// GetManagedPrefixListAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListAssociationsInput, _a2 func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool, _a3 ...request.Option) error { +// GetIpamAddressHistoryPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetIpamAddressHistoryPagesWithContext(_a0 context.Context, _a1 *ec2.GetIpamAddressHistoryInput, _a2 func(*ec2.GetIpamAddressHistoryOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -29466,7 +37603,7 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPagesWithContext(_a0 cont ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamAddressHistoryInput, func(*ec2.GetIpamAddressHistoryOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -29475,12 +37612,16 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPagesWithContext(_a0 cont return r0 } -// GetManagedPrefixListAssociationsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetManagedPrefixListAssociationsRequest(_a0 *ec2.GetManagedPrefixListAssociationsInput) (*request.Request, *ec2.GetManagedPrefixListAssociationsOutput) { +// GetIpamAddressHistoryRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamAddressHistoryRequest(_a0 *ec2.GetIpamAddressHistoryInput) (*request.Request, *ec2.GetIpamAddressHistoryOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) *request.Request); ok { + var r1 *ec2.GetIpamAddressHistoryOutput + if rf, ok := ret.Get(0).(func(*ec2.GetIpamAddressHistoryInput) (*request.Request, *ec2.GetIpamAddressHistoryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamAddressHistoryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29488,20 +37629,19 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsRequest(_a0 *ec2.GetManag } } - var r1 *ec2.GetManagedPrefixListAssociationsOutput - if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListAssociationsInput) *ec2.GetManagedPrefixListAssociationsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamAddressHistoryInput) *ec2.GetIpamAddressHistoryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetManagedPrefixListAssociationsOutput) + r1 = ret.Get(1).(*ec2.GetIpamAddressHistoryOutput) } } return r0, r1 } -// GetManagedPrefixListAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetManagedPrefixListAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListAssociationsInput, _a2 ...request.Option) (*ec2.GetManagedPrefixListAssociationsOutput, error) { +// GetIpamAddressHistoryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetIpamAddressHistoryWithContext(_a0 context.Context, _a1 *ec2.GetIpamAddressHistoryInput, _a2 ...request.Option) (*ec2.GetIpamAddressHistoryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29511,17 +37651,20 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetManagedPrefixListAssociationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...request.Option) *ec2.GetManagedPrefixListAssociationsOutput); ok { + var r0 *ec2.GetIpamAddressHistoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamAddressHistoryInput, ...request.Option) (*ec2.GetIpamAddressHistoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamAddressHistoryInput, ...request.Option) *ec2.GetIpamAddressHistoryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetManagedPrefixListAssociationsOutput) + r0 = ret.Get(0).(*ec2.GetIpamAddressHistoryOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetIpamAddressHistoryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29530,21 +37673,24 @@ func (_m *MockFakeEC2) GetManagedPrefixListAssociationsWithContext(_a0 context.C return r0, r1 } -// GetManagedPrefixListEntries provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetManagedPrefixListEntries(_a0 *ec2.GetManagedPrefixListEntriesInput) (*ec2.GetManagedPrefixListEntriesOutput, error) { +// GetIpamPoolAllocations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamPoolAllocations(_a0 *ec2.GetIpamPoolAllocationsInput) (*ec2.GetIpamPoolAllocationsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetManagedPrefixListEntriesOutput - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) *ec2.GetManagedPrefixListEntriesOutput); ok { + var r0 *ec2.GetIpamPoolAllocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolAllocationsInput) (*ec2.GetIpamPoolAllocationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolAllocationsInput) *ec2.GetIpamPoolAllocationsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetManagedPrefixListEntriesOutput) + r0 = ret.Get(0).(*ec2.GetIpamPoolAllocationsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListEntriesInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamPoolAllocationsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29553,12 +37699,12 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntries(_a0 *ec2.GetManagedPrefixList return r0, r1 } -// GetManagedPrefixListEntriesPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetManagedPrefixListEntriesPages(_a0 *ec2.GetManagedPrefixListEntriesInput, _a1 func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool) error { +// GetIpamPoolAllocationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetIpamPoolAllocationsPages(_a0 *ec2.GetIpamPoolAllocationsInput, _a1 func(*ec2.GetIpamPoolAllocationsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput, func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolAllocationsInput, func(*ec2.GetIpamPoolAllocationsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -29567,8 +37713,8 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesPages(_a0 *ec2.GetManagedPrefi return r0 } -// GetManagedPrefixListEntriesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetManagedPrefixListEntriesPagesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListEntriesInput, _a2 func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool, _a3 ...request.Option) error { +// GetIpamPoolAllocationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetIpamPoolAllocationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetIpamPoolAllocationsInput, _a2 func(*ec2.GetIpamPoolAllocationsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -29579,7 +37725,7 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesPagesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolAllocationsInput, func(*ec2.GetIpamPoolAllocationsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -29588,12 +37734,16 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesPagesWithContext(_a0 context.C return r0 } -// GetManagedPrefixListEntriesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetManagedPrefixListEntriesRequest(_a0 *ec2.GetManagedPrefixListEntriesInput) (*request.Request, *ec2.GetManagedPrefixListEntriesOutput) { +// GetIpamPoolAllocationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamPoolAllocationsRequest(_a0 *ec2.GetIpamPoolAllocationsInput) (*request.Request, *ec2.GetIpamPoolAllocationsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) *request.Request); ok { + var r1 *ec2.GetIpamPoolAllocationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolAllocationsInput) (*request.Request, *ec2.GetIpamPoolAllocationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolAllocationsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29601,20 +37751,19 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesRequest(_a0 *ec2.GetManagedPre } } - var r1 *ec2.GetManagedPrefixListEntriesOutput - if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListEntriesInput) *ec2.GetManagedPrefixListEntriesOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamPoolAllocationsInput) *ec2.GetIpamPoolAllocationsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetManagedPrefixListEntriesOutput) + r1 = ret.Get(1).(*ec2.GetIpamPoolAllocationsOutput) } } return r0, r1 } -// GetManagedPrefixListEntriesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetManagedPrefixListEntriesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListEntriesInput, _a2 ...request.Option) (*ec2.GetManagedPrefixListEntriesOutput, error) { +// GetIpamPoolAllocationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetIpamPoolAllocationsWithContext(_a0 context.Context, _a1 *ec2.GetIpamPoolAllocationsInput, _a2 ...request.Option) (*ec2.GetIpamPoolAllocationsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29624,17 +37773,20 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetManagedPrefixListEntriesOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...request.Option) *ec2.GetManagedPrefixListEntriesOutput); ok { + var r0 *ec2.GetIpamPoolAllocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolAllocationsInput, ...request.Option) (*ec2.GetIpamPoolAllocationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolAllocationsInput, ...request.Option) *ec2.GetIpamPoolAllocationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetManagedPrefixListEntriesOutput) + r0 = ret.Get(0).(*ec2.GetIpamPoolAllocationsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetIpamPoolAllocationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29643,21 +37795,24 @@ func (_m *MockFakeEC2) GetManagedPrefixListEntriesWithContext(_a0 context.Contex return r0, r1 } -// GetPasswordData provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetPasswordData(_a0 *ec2.GetPasswordDataInput) (*ec2.GetPasswordDataOutput, error) { +// GetIpamPoolCidrs provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamPoolCidrs(_a0 *ec2.GetIpamPoolCidrsInput) (*ec2.GetIpamPoolCidrsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetPasswordDataOutput - if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) *ec2.GetPasswordDataOutput); ok { + var r0 *ec2.GetIpamPoolCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolCidrsInput) (*ec2.GetIpamPoolCidrsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolCidrsInput) *ec2.GetIpamPoolCidrsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetPasswordDataOutput) + r0 = ret.Get(0).(*ec2.GetIpamPoolCidrsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetPasswordDataInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamPoolCidrsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29666,12 +37821,51 @@ func (_m *MockFakeEC2) GetPasswordData(_a0 *ec2.GetPasswordDataInput) (*ec2.GetP return r0, r1 } -// GetPasswordDataRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetPasswordDataRequest(_a0 *ec2.GetPasswordDataInput) (*request.Request, *ec2.GetPasswordDataOutput) { +// GetIpamPoolCidrsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetIpamPoolCidrsPages(_a0 *ec2.GetIpamPoolCidrsInput, _a1 func(*ec2.GetIpamPoolCidrsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolCidrsInput, func(*ec2.GetIpamPoolCidrsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetIpamPoolCidrsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetIpamPoolCidrsPagesWithContext(_a0 context.Context, _a1 *ec2.GetIpamPoolCidrsInput, _a2 func(*ec2.GetIpamPoolCidrsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetIpamPoolCidrsInput, func(*ec2.GetIpamPoolCidrsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetIpamPoolCidrsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamPoolCidrsRequest(_a0 *ec2.GetIpamPoolCidrsInput) (*request.Request, *ec2.GetIpamPoolCidrsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) *request.Request); ok { + var r1 *ec2.GetIpamPoolCidrsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolCidrsInput) (*request.Request, *ec2.GetIpamPoolCidrsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamPoolCidrsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29679,20 +37873,19 @@ func (_m *MockFakeEC2) GetPasswordDataRequest(_a0 *ec2.GetPasswordDataInput) (*r } } - var r1 *ec2.GetPasswordDataOutput - if rf, ok := ret.Get(1).(func(*ec2.GetPasswordDataInput) *ec2.GetPasswordDataOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamPoolCidrsInput) *ec2.GetIpamPoolCidrsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetPasswordDataOutput) + r1 = ret.Get(1).(*ec2.GetIpamPoolCidrsOutput) } } return r0, r1 } -// GetPasswordDataWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetPasswordDataWithContext(_a0 context.Context, _a1 *ec2.GetPasswordDataInput, _a2 ...request.Option) (*ec2.GetPasswordDataOutput, error) { +// GetIpamPoolCidrsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetIpamPoolCidrsWithContext(_a0 context.Context, _a1 *ec2.GetIpamPoolCidrsInput, _a2 ...request.Option) (*ec2.GetIpamPoolCidrsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29702,17 +37895,20 @@ func (_m *MockFakeEC2) GetPasswordDataWithContext(_a0 context.Context, _a1 *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetPasswordDataOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetPasswordDataInput, ...request.Option) *ec2.GetPasswordDataOutput); ok { + var r0 *ec2.GetIpamPoolCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolCidrsInput, ...request.Option) (*ec2.GetIpamPoolCidrsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolCidrsInput, ...request.Option) *ec2.GetIpamPoolCidrsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetPasswordDataOutput) + r0 = ret.Get(0).(*ec2.GetIpamPoolCidrsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetPasswordDataInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetIpamPoolCidrsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29721,21 +37917,24 @@ func (_m *MockFakeEC2) GetPasswordDataWithContext(_a0 context.Context, _a1 *ec2. return r0, r1 } -// GetReservedInstancesExchangeQuote provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetReservedInstancesExchangeQuote(_a0 *ec2.GetReservedInstancesExchangeQuoteInput) (*ec2.GetReservedInstancesExchangeQuoteOutput, error) { +// GetIpamResourceCidrs provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamResourceCidrs(_a0 *ec2.GetIpamResourceCidrsInput) (*ec2.GetIpamResourceCidrsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetReservedInstancesExchangeQuoteOutput - if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + var r0 *ec2.GetIpamResourceCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamResourceCidrsInput) (*ec2.GetIpamResourceCidrsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamResourceCidrsInput) *ec2.GetIpamResourceCidrsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetReservedInstancesExchangeQuoteOutput) + r0 = ret.Get(0).(*ec2.GetIpamResourceCidrsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetReservedInstancesExchangeQuoteInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamResourceCidrsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29744,12 +37943,51 @@ func (_m *MockFakeEC2) GetReservedInstancesExchangeQuote(_a0 *ec2.GetReservedIns return r0, r1 } -// GetReservedInstancesExchangeQuoteRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteRequest(_a0 *ec2.GetReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.GetReservedInstancesExchangeQuoteOutput) { +// GetIpamResourceCidrsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetIpamResourceCidrsPages(_a0 *ec2.GetIpamResourceCidrsInput, _a1 func(*ec2.GetIpamResourceCidrsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetIpamResourceCidrsInput, func(*ec2.GetIpamResourceCidrsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetIpamResourceCidrsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetIpamResourceCidrsPagesWithContext(_a0 context.Context, _a1 *ec2.GetIpamResourceCidrsInput, _a2 func(*ec2.GetIpamResourceCidrsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetIpamResourceCidrsInput, func(*ec2.GetIpamResourceCidrsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetIpamResourceCidrsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetIpamResourceCidrsRequest(_a0 *ec2.GetIpamResourceCidrsInput) (*request.Request, *ec2.GetIpamResourceCidrsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *request.Request); ok { + var r1 *ec2.GetIpamResourceCidrsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetIpamResourceCidrsInput) (*request.Request, *ec2.GetIpamResourceCidrsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetIpamResourceCidrsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29757,20 +37995,19 @@ func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteRequest(_a0 *ec2.GetRese } } - var r1 *ec2.GetReservedInstancesExchangeQuoteOutput - if rf, ok := ret.Get(1).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetIpamResourceCidrsInput) *ec2.GetIpamResourceCidrsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetReservedInstancesExchangeQuoteOutput) + r1 = ret.Get(1).(*ec2.GetIpamResourceCidrsOutput) } } return r0, r1 } -// GetReservedInstancesExchangeQuoteWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteWithContext(_a0 context.Context, _a1 *ec2.GetReservedInstancesExchangeQuoteInput, _a2 ...request.Option) (*ec2.GetReservedInstancesExchangeQuoteOutput, error) { +// GetIpamResourceCidrsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetIpamResourceCidrsWithContext(_a0 context.Context, _a1 *ec2.GetIpamResourceCidrsInput, _a2 ...request.Option) (*ec2.GetIpamResourceCidrsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29780,17 +38017,20 @@ func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetReservedInstancesExchangeQuoteOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + var r0 *ec2.GetIpamResourceCidrsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamResourceCidrsInput, ...request.Option) (*ec2.GetIpamResourceCidrsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamResourceCidrsInput, ...request.Option) *ec2.GetIpamResourceCidrsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetReservedInstancesExchangeQuoteOutput) + r0 = ret.Get(0).(*ec2.GetIpamResourceCidrsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetIpamResourceCidrsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29799,21 +38039,24 @@ func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteWithContext(_a0 context. return r0, r1 } -// GetSerialConsoleAccessStatus provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetSerialConsoleAccessStatus(_a0 *ec2.GetSerialConsoleAccessStatusInput) (*ec2.GetSerialConsoleAccessStatusOutput, error) { +// GetLaunchTemplateData provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetLaunchTemplateData(_a0 *ec2.GetLaunchTemplateDataInput) (*ec2.GetLaunchTemplateDataOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetSerialConsoleAccessStatusOutput - if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) *ec2.GetSerialConsoleAccessStatusOutput); ok { + var r0 *ec2.GetLaunchTemplateDataOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) (*ec2.GetLaunchTemplateDataOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) *ec2.GetLaunchTemplateDataOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetSerialConsoleAccessStatusOutput) + r0 = ret.Get(0).(*ec2.GetLaunchTemplateDataOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetSerialConsoleAccessStatusInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetLaunchTemplateDataInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29822,12 +38065,16 @@ func (_m *MockFakeEC2) GetSerialConsoleAccessStatus(_a0 *ec2.GetSerialConsoleAcc return r0, r1 } -// GetSerialConsoleAccessStatusRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetSerialConsoleAccessStatusRequest(_a0 *ec2.GetSerialConsoleAccessStatusInput) (*request.Request, *ec2.GetSerialConsoleAccessStatusOutput) { +// GetLaunchTemplateDataRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetLaunchTemplateDataRequest(_a0 *ec2.GetLaunchTemplateDataInput) (*request.Request, *ec2.GetLaunchTemplateDataOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) *request.Request); ok { + var r1 *ec2.GetLaunchTemplateDataOutput + if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) (*request.Request, *ec2.GetLaunchTemplateDataOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetLaunchTemplateDataInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29835,20 +38082,19 @@ func (_m *MockFakeEC2) GetSerialConsoleAccessStatusRequest(_a0 *ec2.GetSerialCon } } - var r1 *ec2.GetSerialConsoleAccessStatusOutput - if rf, ok := ret.Get(1).(func(*ec2.GetSerialConsoleAccessStatusInput) *ec2.GetSerialConsoleAccessStatusOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetLaunchTemplateDataInput) *ec2.GetLaunchTemplateDataOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetSerialConsoleAccessStatusOutput) + r1 = ret.Get(1).(*ec2.GetLaunchTemplateDataOutput) } } return r0, r1 } -// GetSerialConsoleAccessStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetSerialConsoleAccessStatusWithContext(_a0 context.Context, _a1 *ec2.GetSerialConsoleAccessStatusInput, _a2 ...request.Option) (*ec2.GetSerialConsoleAccessStatusOutput, error) { +// GetLaunchTemplateDataWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetLaunchTemplateDataWithContext(_a0 context.Context, _a1 *ec2.GetLaunchTemplateDataInput, _a2 ...request.Option) (*ec2.GetLaunchTemplateDataOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29858,17 +38104,20 @@ func (_m *MockFakeEC2) GetSerialConsoleAccessStatusWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetSerialConsoleAccessStatusOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) *ec2.GetSerialConsoleAccessStatusOutput); ok { + var r0 *ec2.GetLaunchTemplateDataOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...request.Option) (*ec2.GetLaunchTemplateDataOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...request.Option) *ec2.GetLaunchTemplateDataOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetSerialConsoleAccessStatusOutput) + r0 = ret.Get(0).(*ec2.GetLaunchTemplateDataOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29877,21 +38126,24 @@ func (_m *MockFakeEC2) GetSerialConsoleAccessStatusWithContext(_a0 context.Conte return r0, r1 } -// GetTransitGatewayAttachmentPropagations provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagations(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error) { +// GetManagedPrefixListAssociations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetManagedPrefixListAssociations(_a0 *ec2.GetManagedPrefixListAssociationsInput) (*ec2.GetManagedPrefixListAssociationsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetTransitGatewayAttachmentPropagationsOutput - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + var r0 *ec2.GetManagedPrefixListAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) (*ec2.GetManagedPrefixListAssociationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) *ec2.GetManagedPrefixListAssociationsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + r0 = ret.Get(0).(*ec2.GetManagedPrefixListAssociationsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListAssociationsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -29900,12 +38152,12 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagations(_a0 *ec2.GetTrans return r0, r1 } -// GetTransitGatewayAttachmentPropagationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPages(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a1 func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool) error { +// GetManagedPrefixListAssociationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPages(_a0 *ec2.GetManagedPrefixListAssociationsInput, _a1 func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput, func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput, func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -29914,8 +38166,8 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPages(_a0 *ec2.Get return r0 } -// GetTransitGatewayAttachmentPropagationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a2 func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool, _a3 ...request.Option) error { +// GetManagedPrefixListAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetManagedPrefixListAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListAssociationsInput, _a2 func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -29926,7 +38178,7 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPagesWithContext(_ ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, func(*ec2.GetManagedPrefixListAssociationsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -29935,12 +38187,16 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPagesWithContext(_ return r0 } -// GetTransitGatewayAttachmentPropagationsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsRequest(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput) (*request.Request, *ec2.GetTransitGatewayAttachmentPropagationsOutput) { +// GetManagedPrefixListAssociationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetManagedPrefixListAssociationsRequest(_a0 *ec2.GetManagedPrefixListAssociationsInput) (*request.Request, *ec2.GetManagedPrefixListAssociationsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *request.Request); ok { + var r1 *ec2.GetManagedPrefixListAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) (*request.Request, *ec2.GetManagedPrefixListAssociationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -29948,20 +38204,19 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsRequest(_a0 *ec2.G } } - var r1 *ec2.GetTransitGatewayAttachmentPropagationsOutput - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListAssociationsInput) *ec2.GetManagedPrefixListAssociationsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + r1 = ret.Get(1).(*ec2.GetManagedPrefixListAssociationsOutput) } } return r0, r1 } -// GetTransitGatewayAttachmentPropagationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error) { +// GetManagedPrefixListAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetManagedPrefixListAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListAssociationsInput, _a2 ...request.Option) (*ec2.GetManagedPrefixListAssociationsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -29971,17 +38226,20 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetTransitGatewayAttachmentPropagationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...request.Option) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + var r0 *ec2.GetManagedPrefixListAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...request.Option) (*ec2.GetManagedPrefixListAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...request.Option) *ec2.GetManagedPrefixListAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + r0 = ret.Get(0).(*ec2.GetManagedPrefixListAssociationsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -29990,21 +38248,24 @@ func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsWithContext(_a0 co return r0, r1 } -// GetTransitGatewayMulticastDomainAssociations provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociations(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error) { +// GetManagedPrefixListEntries provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetManagedPrefixListEntries(_a0 *ec2.GetManagedPrefixListEntriesInput) (*ec2.GetManagedPrefixListEntriesOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + var r0 *ec2.GetManagedPrefixListEntriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) (*ec2.GetManagedPrefixListEntriesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) *ec2.GetManagedPrefixListEntriesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + r0 = ret.Get(0).(*ec2.GetManagedPrefixListEntriesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListEntriesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30013,12 +38274,2328 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociations(_a0 *ec2.Get return r0, r1 } -// GetTransitGatewayMulticastDomainAssociationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPages(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a1 func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// GetManagedPrefixListEntriesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetManagedPrefixListEntriesPages(_a0 *ec2.GetManagedPrefixListEntriesInput, _a1 func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput, func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetManagedPrefixListEntriesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetManagedPrefixListEntriesPagesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListEntriesInput, _a2 func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetManagedPrefixListEntriesInput, func(*ec2.GetManagedPrefixListEntriesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetManagedPrefixListEntriesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetManagedPrefixListEntriesRequest(_a0 *ec2.GetManagedPrefixListEntriesInput) (*request.Request, *ec2.GetManagedPrefixListEntriesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetManagedPrefixListEntriesOutput + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) (*request.Request, *ec2.GetManagedPrefixListEntriesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetManagedPrefixListEntriesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetManagedPrefixListEntriesInput) *ec2.GetManagedPrefixListEntriesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetManagedPrefixListEntriesOutput) + } + } + + return r0, r1 +} + +// GetManagedPrefixListEntriesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetManagedPrefixListEntriesWithContext(_a0 context.Context, _a1 *ec2.GetManagedPrefixListEntriesInput, _a2 ...request.Option) (*ec2.GetManagedPrefixListEntriesOutput, error) { + _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 *ec2.GetManagedPrefixListEntriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...request.Option) (*ec2.GetManagedPrefixListEntriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...request.Option) *ec2.GetManagedPrefixListEntriesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetManagedPrefixListEntriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeAnalysisFindings provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeAnalysisFindings(_a0 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) (*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) (*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeAnalysisFindingsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeAnalysisFindingsRequest(_a0 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) (*request.Request, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) (*request.Request, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput) *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput) + } + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeAnalysisFindingsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeAnalysisFindingsWithContext(_a0 context.Context, _a1 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput, _a2 ...request.Option) (*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, error) { + _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 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput, ...request.Option) (*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput, ...request.Option) *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeContent provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeContent(_a0 *ec2.GetNetworkInsightsAccessScopeContentInput) (*ec2.GetNetworkInsightsAccessScopeContentOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetNetworkInsightsAccessScopeContentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) (*ec2.GetNetworkInsightsAccessScopeContentOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) *ec2.GetNetworkInsightsAccessScopeContentOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetNetworkInsightsAccessScopeContentOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeContentRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeContentRequest(_a0 *ec2.GetNetworkInsightsAccessScopeContentInput) (*request.Request, *ec2.GetNetworkInsightsAccessScopeContentOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetNetworkInsightsAccessScopeContentOutput + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) (*request.Request, *ec2.GetNetworkInsightsAccessScopeContentOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetNetworkInsightsAccessScopeContentInput) *ec2.GetNetworkInsightsAccessScopeContentOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetNetworkInsightsAccessScopeContentOutput) + } + } + + return r0, r1 +} + +// GetNetworkInsightsAccessScopeContentWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetNetworkInsightsAccessScopeContentWithContext(_a0 context.Context, _a1 *ec2.GetNetworkInsightsAccessScopeContentInput, _a2 ...request.Option) (*ec2.GetNetworkInsightsAccessScopeContentOutput, error) { + _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 *ec2.GetNetworkInsightsAccessScopeContentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeContentInput, ...request.Option) (*ec2.GetNetworkInsightsAccessScopeContentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeContentInput, ...request.Option) *ec2.GetNetworkInsightsAccessScopeContentOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetNetworkInsightsAccessScopeContentOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeContentInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetPasswordData provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetPasswordData(_a0 *ec2.GetPasswordDataInput) (*ec2.GetPasswordDataOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetPasswordDataOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) (*ec2.GetPasswordDataOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) *ec2.GetPasswordDataOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetPasswordDataOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetPasswordDataInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetPasswordDataRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetPasswordDataRequest(_a0 *ec2.GetPasswordDataInput) (*request.Request, *ec2.GetPasswordDataOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetPasswordDataOutput + if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) (*request.Request, *ec2.GetPasswordDataOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetPasswordDataInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetPasswordDataInput) *ec2.GetPasswordDataOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetPasswordDataOutput) + } + } + + return r0, r1 +} + +// GetPasswordDataWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetPasswordDataWithContext(_a0 context.Context, _a1 *ec2.GetPasswordDataInput, _a2 ...request.Option) (*ec2.GetPasswordDataOutput, error) { + _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 *ec2.GetPasswordDataOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetPasswordDataInput, ...request.Option) (*ec2.GetPasswordDataOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetPasswordDataInput, ...request.Option) *ec2.GetPasswordDataOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetPasswordDataOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetPasswordDataInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetReservedInstancesExchangeQuote provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetReservedInstancesExchangeQuote(_a0 *ec2.GetReservedInstancesExchangeQuoteInput) (*ec2.GetReservedInstancesExchangeQuoteOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetReservedInstancesExchangeQuoteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) (*ec2.GetReservedInstancesExchangeQuoteOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetReservedInstancesExchangeQuoteOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetReservedInstancesExchangeQuoteInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetReservedInstancesExchangeQuoteRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteRequest(_a0 *ec2.GetReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.GetReservedInstancesExchangeQuoteOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetReservedInstancesExchangeQuoteOutput + if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.GetReservedInstancesExchangeQuoteOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetReservedInstancesExchangeQuoteInput) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetReservedInstancesExchangeQuoteOutput) + } + } + + return r0, r1 +} + +// GetReservedInstancesExchangeQuoteWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetReservedInstancesExchangeQuoteWithContext(_a0 context.Context, _a1 *ec2.GetReservedInstancesExchangeQuoteInput, _a2 ...request.Option) (*ec2.GetReservedInstancesExchangeQuoteOutput, error) { + _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 *ec2.GetReservedInstancesExchangeQuoteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) (*ec2.GetReservedInstancesExchangeQuoteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) *ec2.GetReservedInstancesExchangeQuoteOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetReservedInstancesExchangeQuoteOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSerialConsoleAccessStatus provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSerialConsoleAccessStatus(_a0 *ec2.GetSerialConsoleAccessStatusInput) (*ec2.GetSerialConsoleAccessStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetSerialConsoleAccessStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) (*ec2.GetSerialConsoleAccessStatusOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) *ec2.GetSerialConsoleAccessStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSerialConsoleAccessStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSerialConsoleAccessStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSerialConsoleAccessStatusRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSerialConsoleAccessStatusRequest(_a0 *ec2.GetSerialConsoleAccessStatusInput) (*request.Request, *ec2.GetSerialConsoleAccessStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetSerialConsoleAccessStatusOutput + if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) (*request.Request, *ec2.GetSerialConsoleAccessStatusOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSerialConsoleAccessStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSerialConsoleAccessStatusInput) *ec2.GetSerialConsoleAccessStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetSerialConsoleAccessStatusOutput) + } + } + + return r0, r1 +} + +// GetSerialConsoleAccessStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetSerialConsoleAccessStatusWithContext(_a0 context.Context, _a1 *ec2.GetSerialConsoleAccessStatusInput, _a2 ...request.Option) (*ec2.GetSerialConsoleAccessStatusOutput, error) { + _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 *ec2.GetSerialConsoleAccessStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) (*ec2.GetSerialConsoleAccessStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) *ec2.GetSerialConsoleAccessStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSerialConsoleAccessStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSpotPlacementScores provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSpotPlacementScores(_a0 *ec2.GetSpotPlacementScoresInput) (*ec2.GetSpotPlacementScoresOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetSpotPlacementScoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetSpotPlacementScoresInput) (*ec2.GetSpotPlacementScoresOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSpotPlacementScoresInput) *ec2.GetSpotPlacementScoresOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSpotPlacementScoresOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSpotPlacementScoresInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSpotPlacementScoresPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetSpotPlacementScoresPages(_a0 *ec2.GetSpotPlacementScoresInput, _a1 func(*ec2.GetSpotPlacementScoresOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetSpotPlacementScoresInput, func(*ec2.GetSpotPlacementScoresOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetSpotPlacementScoresPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetSpotPlacementScoresPagesWithContext(_a0 context.Context, _a1 *ec2.GetSpotPlacementScoresInput, _a2 func(*ec2.GetSpotPlacementScoresOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetSpotPlacementScoresInput, func(*ec2.GetSpotPlacementScoresOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetSpotPlacementScoresRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSpotPlacementScoresRequest(_a0 *ec2.GetSpotPlacementScoresInput) (*request.Request, *ec2.GetSpotPlacementScoresOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetSpotPlacementScoresOutput + if rf, ok := ret.Get(0).(func(*ec2.GetSpotPlacementScoresInput) (*request.Request, *ec2.GetSpotPlacementScoresOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSpotPlacementScoresInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSpotPlacementScoresInput) *ec2.GetSpotPlacementScoresOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetSpotPlacementScoresOutput) + } + } + + return r0, r1 +} + +// GetSpotPlacementScoresWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetSpotPlacementScoresWithContext(_a0 context.Context, _a1 *ec2.GetSpotPlacementScoresInput, _a2 ...request.Option) (*ec2.GetSpotPlacementScoresOutput, error) { + _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 *ec2.GetSpotPlacementScoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSpotPlacementScoresInput, ...request.Option) (*ec2.GetSpotPlacementScoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSpotPlacementScoresInput, ...request.Option) *ec2.GetSpotPlacementScoresOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSpotPlacementScoresOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetSpotPlacementScoresInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSubnetCidrReservations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSubnetCidrReservations(_a0 *ec2.GetSubnetCidrReservationsInput) (*ec2.GetSubnetCidrReservationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetSubnetCidrReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetSubnetCidrReservationsInput) (*ec2.GetSubnetCidrReservationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSubnetCidrReservationsInput) *ec2.GetSubnetCidrReservationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSubnetCidrReservationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSubnetCidrReservationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetSubnetCidrReservationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetSubnetCidrReservationsRequest(_a0 *ec2.GetSubnetCidrReservationsInput) (*request.Request, *ec2.GetSubnetCidrReservationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetSubnetCidrReservationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetSubnetCidrReservationsInput) (*request.Request, *ec2.GetSubnetCidrReservationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetSubnetCidrReservationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetSubnetCidrReservationsInput) *ec2.GetSubnetCidrReservationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetSubnetCidrReservationsOutput) + } + } + + return r0, r1 +} + +// GetSubnetCidrReservationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetSubnetCidrReservationsWithContext(_a0 context.Context, _a1 *ec2.GetSubnetCidrReservationsInput, _a2 ...request.Option) (*ec2.GetSubnetCidrReservationsOutput, error) { + _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 *ec2.GetSubnetCidrReservationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSubnetCidrReservationsInput, ...request.Option) (*ec2.GetSubnetCidrReservationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSubnetCidrReservationsInput, ...request.Option) *ec2.GetSubnetCidrReservationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetSubnetCidrReservationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetSubnetCidrReservationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayAttachmentPropagations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagations(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayAttachmentPropagationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayAttachmentPropagationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPages(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a1 func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput, func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayAttachmentPropagationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a2 func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayAttachmentPropagationsInput, func(*ec2.GetTransitGatewayAttachmentPropagationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayAttachmentPropagationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsRequest(_a0 *ec2.GetTransitGatewayAttachmentPropagationsInput) (*request.Request, *ec2.GetTransitGatewayAttachmentPropagationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayAttachmentPropagationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) (*request.Request, *ec2.GetTransitGatewayAttachmentPropagationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayAttachmentPropagationsInput) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayAttachmentPropagationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayAttachmentPropagationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayAttachmentPropagationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error) { + _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 *ec2.GetTransitGatewayAttachmentPropagationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...request.Option) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...request.Option) *ec2.GetTransitGatewayAttachmentPropagationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayAttachmentPropagationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayMulticastDomainAssociations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociations(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayMulticastDomainAssociationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPages(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a1 func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput, func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayMulticastDomainAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a2 func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayMulticastDomainAssociationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsRequest(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.GetTransitGatewayMulticastDomainAssociationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.GetTransitGatewayMulticastDomainAssociationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayMulticastDomainAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error) { + _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 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...request.Option) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...request.Option) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableAssociations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableAssociations(_a0 *ec2.GetTransitGatewayPolicyTableAssociationsInput) (*ec2.GetTransitGatewayPolicyTableAssociationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayPolicyTableAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) (*ec2.GetTransitGatewayPolicyTableAssociationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) *ec2.GetTransitGatewayPolicyTableAssociationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPolicyTableAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableAssociationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableAssociationsPages(_a0 *ec2.GetTransitGatewayPolicyTableAssociationsInput, _a1 func(*ec2.GetTransitGatewayPolicyTableAssociationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput, func(*ec2.GetTransitGatewayPolicyTableAssociationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayPolicyTableAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPolicyTableAssociationsInput, _a2 func(*ec2.GetTransitGatewayPolicyTableAssociationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayPolicyTableAssociationsInput, func(*ec2.GetTransitGatewayPolicyTableAssociationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayPolicyTableAssociationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableAssociationsRequest(_a0 *ec2.GetTransitGatewayPolicyTableAssociationsInput) (*request.Request, *ec2.GetTransitGatewayPolicyTableAssociationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayPolicyTableAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) (*request.Request, *ec2.GetTransitGatewayPolicyTableAssociationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPolicyTableAssociationsInput) *ec2.GetTransitGatewayPolicyTableAssociationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayPolicyTableAssociationsOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPolicyTableAssociationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayPolicyTableAssociationsOutput, error) { + _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 *ec2.GetTransitGatewayPolicyTableAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPolicyTableAssociationsInput, ...request.Option) (*ec2.GetTransitGatewayPolicyTableAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPolicyTableAssociationsInput, ...request.Option) *ec2.GetTransitGatewayPolicyTableAssociationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPolicyTableAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayPolicyTableAssociationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableEntries provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableEntries(_a0 *ec2.GetTransitGatewayPolicyTableEntriesInput) (*ec2.GetTransitGatewayPolicyTableEntriesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayPolicyTableEntriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) (*ec2.GetTransitGatewayPolicyTableEntriesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) *ec2.GetTransitGatewayPolicyTableEntriesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPolicyTableEntriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableEntriesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableEntriesRequest(_a0 *ec2.GetTransitGatewayPolicyTableEntriesInput) (*request.Request, *ec2.GetTransitGatewayPolicyTableEntriesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayPolicyTableEntriesOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) (*request.Request, *ec2.GetTransitGatewayPolicyTableEntriesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPolicyTableEntriesInput) *ec2.GetTransitGatewayPolicyTableEntriesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayPolicyTableEntriesOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayPolicyTableEntriesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayPolicyTableEntriesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPolicyTableEntriesInput, _a2 ...request.Option) (*ec2.GetTransitGatewayPolicyTableEntriesOutput, error) { + _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 *ec2.GetTransitGatewayPolicyTableEntriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPolicyTableEntriesInput, ...request.Option) (*ec2.GetTransitGatewayPolicyTableEntriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPolicyTableEntriesInput, ...request.Option) *ec2.GetTransitGatewayPolicyTableEntriesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPolicyTableEntriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayPolicyTableEntriesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPrefixListReferences provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferences(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayPrefixListReferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayPrefixListReferencesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPages(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput, _a1 func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput, func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayPrefixListReferencesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPrefixListReferencesInput, _a2 func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayPrefixListReferencesInput, func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayPrefixListReferencesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesRequest(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput) (*request.Request, *ec2.GetTransitGatewayPrefixListReferencesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayPrefixListReferencesOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) (*request.Request, *ec2.GetTransitGatewayPrefixListReferencesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayPrefixListReferencesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPrefixListReferencesInput, _a2 ...request.Option) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error) { + _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 *ec2.GetTransitGatewayPrefixListReferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...request.Option) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...request.Option) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayRouteTableAssociations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociations(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayRouteTableAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayRouteTableAssociationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsPages(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a1 func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput, func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayRouteTableAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a2 func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayRouteTableAssociationsInput, func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayRouteTableAssociationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsRequest(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTableAssociationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayRouteTableAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTableAssociationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayRouteTableAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error) { + _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 *ec2.GetTransitGatewayRouteTableAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...request.Option) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...request.Option) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayRouteTablePropagations provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagations(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetTransitGatewayRouteTablePropagationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTransitGatewayRouteTablePropagationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsPages(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a1 func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayRouteTablePropagationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a2 func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetTransitGatewayRouteTablePropagationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsRequest(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTablePropagationsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetTransitGatewayRouteTablePropagationsOutput + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTablePropagationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + } + } + + return r0, r1 +} + +// GetTransitGatewayRouteTablePropagationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error) { + _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 *ec2.GetTransitGatewayRouteTablePropagationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...request.Option) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...request.Option) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetVpnConnectionDeviceSampleConfiguration provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetVpnConnectionDeviceSampleConfiguration(_a0 *ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetVpnConnectionDeviceSampleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) *ec2.GetVpnConnectionDeviceSampleConfigurationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetVpnConnectionDeviceSampleConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetVpnConnectionDeviceSampleConfigurationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetVpnConnectionDeviceSampleConfigurationRequest(_a0 *ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*request.Request, *ec2.GetVpnConnectionDeviceSampleConfigurationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetVpnConnectionDeviceSampleConfigurationOutput + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) (*request.Request, *ec2.GetVpnConnectionDeviceSampleConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetVpnConnectionDeviceSampleConfigurationInput) *ec2.GetVpnConnectionDeviceSampleConfigurationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetVpnConnectionDeviceSampleConfigurationOutput) + } + } + + return r0, r1 +} + +// GetVpnConnectionDeviceSampleConfigurationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetVpnConnectionDeviceSampleConfigurationWithContext(_a0 context.Context, _a1 *ec2.GetVpnConnectionDeviceSampleConfigurationInput, _a2 ...request.Option) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error) { + _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 *ec2.GetVpnConnectionDeviceSampleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceSampleConfigurationInput, ...request.Option) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceSampleConfigurationInput, ...request.Option) *ec2.GetVpnConnectionDeviceSampleConfigurationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetVpnConnectionDeviceSampleConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetVpnConnectionDeviceSampleConfigurationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetVpnConnectionDeviceTypes provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetVpnConnectionDeviceTypes(_a0 *ec2.GetVpnConnectionDeviceTypesInput) (*ec2.GetVpnConnectionDeviceTypesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.GetVpnConnectionDeviceTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceTypesInput) (*ec2.GetVpnConnectionDeviceTypesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceTypesInput) *ec2.GetVpnConnectionDeviceTypesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetVpnConnectionDeviceTypesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetVpnConnectionDeviceTypesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetVpnConnectionDeviceTypesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) GetVpnConnectionDeviceTypesPages(_a0 *ec2.GetVpnConnectionDeviceTypesInput, _a1 func(*ec2.GetVpnConnectionDeviceTypesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceTypesInput, func(*ec2.GetVpnConnectionDeviceTypesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetVpnConnectionDeviceTypesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) GetVpnConnectionDeviceTypesPagesWithContext(_a0 context.Context, _a1 *ec2.GetVpnConnectionDeviceTypesInput, _a2 func(*ec2.GetVpnConnectionDeviceTypesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ec2.GetVpnConnectionDeviceTypesInput, func(*ec2.GetVpnConnectionDeviceTypesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// GetVpnConnectionDeviceTypesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) GetVpnConnectionDeviceTypesRequest(_a0 *ec2.GetVpnConnectionDeviceTypesInput) (*request.Request, *ec2.GetVpnConnectionDeviceTypesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.GetVpnConnectionDeviceTypesOutput + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceTypesInput) (*request.Request, *ec2.GetVpnConnectionDeviceTypesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.GetVpnConnectionDeviceTypesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.GetVpnConnectionDeviceTypesInput) *ec2.GetVpnConnectionDeviceTypesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.GetVpnConnectionDeviceTypesOutput) + } + } + + return r0, r1 +} + +// GetVpnConnectionDeviceTypesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) GetVpnConnectionDeviceTypesWithContext(_a0 context.Context, _a1 *ec2.GetVpnConnectionDeviceTypesInput, _a2 ...request.Option) (*ec2.GetVpnConnectionDeviceTypesOutput, error) { + _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 *ec2.GetVpnConnectionDeviceTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceTypesInput, ...request.Option) (*ec2.GetVpnConnectionDeviceTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceTypesInput, ...request.Option) *ec2.GetVpnConnectionDeviceTypesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.GetVpnConnectionDeviceTypesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetVpnConnectionDeviceTypesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportClientVpnClientCertificateRevocationList provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationList(_a0 *ec2.ImportClientVpnClientCertificateRevocationListInput) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportClientVpnClientCertificateRevocationListOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportClientVpnClientCertificateRevocationListRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListRequest(_a0 *ec2.ImportClientVpnClientCertificateRevocationListInput) (*request.Request, *ec2.ImportClientVpnClientCertificateRevocationListOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportClientVpnClientCertificateRevocationListOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) (*request.Request, *ec2.ImportClientVpnClientCertificateRevocationListOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + } + } + + return r0, r1 +} + +// ImportClientVpnClientCertificateRevocationListWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListWithContext(_a0 context.Context, _a1 *ec2.ImportClientVpnClientCertificateRevocationListInput, _a2 ...request.Option) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error) { + _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 *ec2.ImportClientVpnClientCertificateRevocationListOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...request.Option) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...request.Option) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportImage provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportImage(_a0 *ec2.ImportImageInput) (*ec2.ImportImageOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) (*ec2.ImportImageOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) *ec2.ImportImageOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportImageOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportImageInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportImageRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportImageRequest(_a0 *ec2.ImportImageInput) (*request.Request, *ec2.ImportImageOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportImageOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) (*request.Request, *ec2.ImportImageOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportImageInput) *ec2.ImportImageOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportImageOutput) + } + } + + return r0, r1 +} + +// ImportImageWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportImageWithContext(_a0 context.Context, _a1 *ec2.ImportImageInput, _a2 ...request.Option) (*ec2.ImportImageOutput, error) { + _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 *ec2.ImportImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportImageInput, ...request.Option) (*ec2.ImportImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportImageInput, ...request.Option) *ec2.ImportImageOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportImageOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportImageInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportInstance provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportInstance(_a0 *ec2.ImportInstanceInput) (*ec2.ImportInstanceOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) (*ec2.ImportInstanceOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) *ec2.ImportInstanceOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportInstanceOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportInstanceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportInstanceRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportInstanceRequest(_a0 *ec2.ImportInstanceInput) (*request.Request, *ec2.ImportInstanceOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportInstanceOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) (*request.Request, *ec2.ImportInstanceOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportInstanceInput) *ec2.ImportInstanceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportInstanceOutput) + } + } + + return r0, r1 +} + +// ImportInstanceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportInstanceWithContext(_a0 context.Context, _a1 *ec2.ImportInstanceInput, _a2 ...request.Option) (*ec2.ImportInstanceOutput, error) { + _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 *ec2.ImportInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportInstanceInput, ...request.Option) (*ec2.ImportInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportInstanceInput, ...request.Option) *ec2.ImportInstanceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportInstanceOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportInstanceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportKeyPair provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportKeyPair(_a0 *ec2.ImportKeyPairInput) (*ec2.ImportKeyPairOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) (*ec2.ImportKeyPairOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) *ec2.ImportKeyPairOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportKeyPairOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportKeyPairInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportKeyPairRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportKeyPairRequest(_a0 *ec2.ImportKeyPairInput) (*request.Request, *ec2.ImportKeyPairOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportKeyPairOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) (*request.Request, *ec2.ImportKeyPairOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportKeyPairInput) *ec2.ImportKeyPairOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportKeyPairOutput) + } + } + + return r0, r1 +} + +// ImportKeyPairWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportKeyPairWithContext(_a0 context.Context, _a1 *ec2.ImportKeyPairInput, _a2 ...request.Option) (*ec2.ImportKeyPairOutput, error) { + _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 *ec2.ImportKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportKeyPairInput, ...request.Option) (*ec2.ImportKeyPairOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportKeyPairInput, ...request.Option) *ec2.ImportKeyPairOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportKeyPairOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportKeyPairInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportSnapshot provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportSnapshot(_a0 *ec2.ImportSnapshotInput) (*ec2.ImportSnapshotOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) (*ec2.ImportSnapshotOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) *ec2.ImportSnapshotOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportSnapshotOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportSnapshotInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportSnapshotRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportSnapshotRequest(_a0 *ec2.ImportSnapshotInput) (*request.Request, *ec2.ImportSnapshotOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportSnapshotOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) (*request.Request, *ec2.ImportSnapshotOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportSnapshotInput) *ec2.ImportSnapshotOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportSnapshotOutput) + } + } + + return r0, r1 +} + +// ImportSnapshotWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportSnapshotWithContext(_a0 context.Context, _a1 *ec2.ImportSnapshotInput, _a2 ...request.Option) (*ec2.ImportSnapshotOutput, error) { + _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 *ec2.ImportSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportSnapshotInput, ...request.Option) (*ec2.ImportSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportSnapshotInput, ...request.Option) *ec2.ImportSnapshotOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportSnapshotOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportSnapshotInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportVolume provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportVolume(_a0 *ec2.ImportVolumeInput) (*ec2.ImportVolumeOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ImportVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) (*ec2.ImportVolumeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) *ec2.ImportVolumeOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportVolumeOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportVolumeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ImportVolumeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ImportVolumeRequest(_a0 *ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ImportVolumeOutput + if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ImportVolumeInput) *ec2.ImportVolumeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ImportVolumeOutput) + } + } + + return r0, r1 +} + +// ImportVolumeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ImportVolumeWithContext(_a0 context.Context, _a1 *ec2.ImportVolumeInput, _a2 ...request.Option) (*ec2.ImportVolumeOutput, error) { + _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 *ec2.ImportVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportVolumeInput, ...request.Option) (*ec2.ImportVolumeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportVolumeInput, ...request.Option) *ec2.ImportVolumeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ImportVolumeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportVolumeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImagesInRecycleBin provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ListImagesInRecycleBin(_a0 *ec2.ListImagesInRecycleBinInput) (*ec2.ListImagesInRecycleBinOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ListImagesInRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ListImagesInRecycleBinInput) (*ec2.ListImagesInRecycleBinOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ListImagesInRecycleBinInput) *ec2.ListImagesInRecycleBinOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ListImagesInRecycleBinOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ListImagesInRecycleBinInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListImagesInRecycleBinPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) ListImagesInRecycleBinPages(_a0 *ec2.ListImagesInRecycleBinInput, _a1 func(*ec2.ListImagesInRecycleBinOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput, func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.ListImagesInRecycleBinInput, func(*ec2.ListImagesInRecycleBinOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -30027,8 +40604,8 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPages(_a0 *ec return r0 } -// GetTransitGatewayMulticastDomainAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a2 func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool, _a3 ...request.Option) error { +// ListImagesInRecycleBinPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) ListImagesInRecycleBinPagesWithContext(_a0 context.Context, _a1 *ec2.ListImagesInRecycleBinInput, _a2 func(*ec2.ListImagesInRecycleBinOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -30039,7 +40616,7 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPagesWithCont ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, func(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListImagesInRecycleBinInput, func(*ec2.ListImagesInRecycleBinOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -30048,12 +40625,16 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsPagesWithCont return r0 } -// GetTransitGatewayMulticastDomainAssociationsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsRequest(_a0 *ec2.GetTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.GetTransitGatewayMulticastDomainAssociationsOutput) { +// ListImagesInRecycleBinRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ListImagesInRecycleBinRequest(_a0 *ec2.ListImagesInRecycleBinInput) (*request.Request, *ec2.ListImagesInRecycleBinOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *request.Request); ok { + var r1 *ec2.ListImagesInRecycleBinOutput + if rf, ok := ret.Get(0).(func(*ec2.ListImagesInRecycleBinInput) (*request.Request, *ec2.ListImagesInRecycleBinOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ListImagesInRecycleBinInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30061,20 +40642,19 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsRequest(_a0 * } } - var r1 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayMulticastDomainAssociationsInput) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ListImagesInRecycleBinInput) *ec2.ListImagesInRecycleBinOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + r1 = ret.Get(1).(*ec2.ListImagesInRecycleBinOutput) } } return r0, r1 } -// GetTransitGatewayMulticastDomainAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayMulticastDomainAssociationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error) { +// ListImagesInRecycleBinWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ListImagesInRecycleBinWithContext(_a0 context.Context, _a1 *ec2.ListImagesInRecycleBinInput, _a2 ...request.Option) (*ec2.ListImagesInRecycleBinOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30084,17 +40664,20 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsWithContext(_ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...request.Option) *ec2.GetTransitGatewayMulticastDomainAssociationsOutput); ok { + var r0 *ec2.ListImagesInRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListImagesInRecycleBinInput, ...request.Option) (*ec2.ListImagesInRecycleBinOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListImagesInRecycleBinInput, ...request.Option) *ec2.ListImagesInRecycleBinOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayMulticastDomainAssociationsOutput) + r0 = ret.Get(0).(*ec2.ListImagesInRecycleBinOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ListImagesInRecycleBinInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30103,21 +40686,24 @@ func (_m *MockFakeEC2) GetTransitGatewayMulticastDomainAssociationsWithContext(_ return r0, r1 } -// GetTransitGatewayPrefixListReferences provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferences(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error) { +// ListSnapshotsInRecycleBin provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ListSnapshotsInRecycleBin(_a0 *ec2.ListSnapshotsInRecycleBinInput) (*ec2.ListSnapshotsInRecycleBinOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetTransitGatewayPrefixListReferencesOutput - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + var r0 *ec2.ListSnapshotsInRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ListSnapshotsInRecycleBinInput) (*ec2.ListSnapshotsInRecycleBinOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ListSnapshotsInRecycleBinInput) *ec2.ListSnapshotsInRecycleBinOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + r0 = ret.Get(0).(*ec2.ListSnapshotsInRecycleBinOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ListSnapshotsInRecycleBinInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30126,12 +40712,12 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferences(_a0 *ec2.GetTransit return r0, r1 } -// GetTransitGatewayPrefixListReferencesPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPages(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput, _a1 func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool) error { +// ListSnapshotsInRecycleBinPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeEC2) ListSnapshotsInRecycleBinPages(_a0 *ec2.ListSnapshotsInRecycleBinInput, _a1 func(*ec2.ListSnapshotsInRecycleBinOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput, func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.ListSnapshotsInRecycleBinInput, func(*ec2.ListSnapshotsInRecycleBinOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -30140,8 +40726,8 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPages(_a0 *ec2.GetTr return r0 } -// GetTransitGatewayPrefixListReferencesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPrefixListReferencesInput, _a2 func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool, _a3 ...request.Option) error { +// ListSnapshotsInRecycleBinPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeEC2) ListSnapshotsInRecycleBinPagesWithContext(_a0 context.Context, _a1 *ec2.ListSnapshotsInRecycleBinInput, _a2 func(*ec2.ListSnapshotsInRecycleBinOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -30152,7 +40738,7 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPagesWithContext(_a0 ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, func(*ec2.GetTransitGatewayPrefixListReferencesOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListSnapshotsInRecycleBinInput, func(*ec2.ListSnapshotsInRecycleBinOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -30161,12 +40747,16 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesPagesWithContext(_a0 return r0 } -// GetTransitGatewayPrefixListReferencesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesRequest(_a0 *ec2.GetTransitGatewayPrefixListReferencesInput) (*request.Request, *ec2.GetTransitGatewayPrefixListReferencesOutput) { +// ListSnapshotsInRecycleBinRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ListSnapshotsInRecycleBinRequest(_a0 *ec2.ListSnapshotsInRecycleBinInput) (*request.Request, *ec2.ListSnapshotsInRecycleBinOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *request.Request); ok { + var r1 *ec2.ListSnapshotsInRecycleBinOutput + if rf, ok := ret.Get(0).(func(*ec2.ListSnapshotsInRecycleBinInput) (*request.Request, *ec2.ListSnapshotsInRecycleBinOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ListSnapshotsInRecycleBinInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30174,20 +40764,19 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesRequest(_a0 *ec2.Get } } - var r1 *ec2.GetTransitGatewayPrefixListReferencesOutput - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayPrefixListReferencesInput) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ListSnapshotsInRecycleBinInput) *ec2.ListSnapshotsInRecycleBinOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + r1 = ret.Get(1).(*ec2.ListSnapshotsInRecycleBinOutput) } } return r0, r1 } -// GetTransitGatewayPrefixListReferencesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayPrefixListReferencesInput, _a2 ...request.Option) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error) { +// ListSnapshotsInRecycleBinWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ListSnapshotsInRecycleBinWithContext(_a0 context.Context, _a1 *ec2.ListSnapshotsInRecycleBinInput, _a2 ...request.Option) (*ec2.ListSnapshotsInRecycleBinOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30197,17 +40786,20 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetTransitGatewayPrefixListReferencesOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...request.Option) *ec2.GetTransitGatewayPrefixListReferencesOutput); ok { + var r0 *ec2.ListSnapshotsInRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListSnapshotsInRecycleBinInput, ...request.Option) (*ec2.ListSnapshotsInRecycleBinOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListSnapshotsInRecycleBinInput, ...request.Option) *ec2.ListSnapshotsInRecycleBinOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayPrefixListReferencesOutput) + r0 = ret.Get(0).(*ec2.ListSnapshotsInRecycleBinOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ListSnapshotsInRecycleBinInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30216,21 +40808,24 @@ func (_m *MockFakeEC2) GetTransitGatewayPrefixListReferencesWithContext(_a0 cont return r0, r1 } -// GetTransitGatewayRouteTableAssociations provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociations(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error) { +// ModifyAddressAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyAddressAttribute(_a0 *ec2.ModifyAddressAttributeInput) (*ec2.ModifyAddressAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetTransitGatewayRouteTableAssociationsOutput - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + var r0 *ec2.ModifyAddressAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) (*ec2.ModifyAddressAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) *ec2.ModifyAddressAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + r0 = ret.Get(0).(*ec2.ModifyAddressAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyAddressAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30239,47 +40834,103 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociations(_a0 *ec2.GetTrans return r0, r1 } -// GetTransitGatewayRouteTableAssociationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsPages(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a1 func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// ModifyAddressAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyAddressAttributeRequest(_a0 *ec2.ModifyAddressAttributeInput) (*request.Request, *ec2.ModifyAddressAttributeOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput, func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + var r0 *request.Request + var r1 *ec2.ModifyAddressAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) (*request.Request, *ec2.ModifyAddressAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*ec2.ModifyAddressAttributeInput) *ec2.ModifyAddressAttributeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ModifyAddressAttributeOutput) + } + } + + return r0, r1 } -// GetTransitGatewayRouteTableAssociationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a2 func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// ModifyAddressAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyAddressAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyAddressAttributeInput, _a2 ...request.Option) (*ec2.ModifyAddressAttributeOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _a0, _a1) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, func(*ec2.GetTransitGatewayRouteTableAssociationsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *ec2.ModifyAddressAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) (*ec2.ModifyAddressAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) *ec2.ModifyAddressAttributeOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyAddressAttributeOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// GetTransitGatewayRouteTableAssociationsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsRequest(_a0 *ec2.GetTransitGatewayRouteTableAssociationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTableAssociationsOutput) { +// ModifyAvailabilityZoneGroup provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyAvailabilityZoneGroup(_a0 *ec2.ModifyAvailabilityZoneGroupInput) (*ec2.ModifyAvailabilityZoneGroupOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ModifyAvailabilityZoneGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) (*ec2.ModifyAvailabilityZoneGroupOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) *ec2.ModifyAvailabilityZoneGroupOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyAvailabilityZoneGroupOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyAvailabilityZoneGroupInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyAvailabilityZoneGroupRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupRequest(_a0 *ec2.ModifyAvailabilityZoneGroupInput) (*request.Request, *ec2.ModifyAvailabilityZoneGroupOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *request.Request); ok { + var r1 *ec2.ModifyAvailabilityZoneGroupOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) (*request.Request, *ec2.ModifyAvailabilityZoneGroupOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30287,20 +40938,19 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsRequest(_a0 *ec2.G } } - var r1 *ec2.GetTransitGatewayRouteTableAssociationsOutput - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTableAssociationsInput) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyAvailabilityZoneGroupInput) *ec2.ModifyAvailabilityZoneGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + r1 = ret.Get(1).(*ec2.ModifyAvailabilityZoneGroupOutput) } } return r0, r1 } -// GetTransitGatewayRouteTableAssociationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTableAssociationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error) { +// ModifyAvailabilityZoneGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupWithContext(_a0 context.Context, _a1 *ec2.ModifyAvailabilityZoneGroupInput, _a2 ...request.Option) (*ec2.ModifyAvailabilityZoneGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30310,17 +40960,20 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetTransitGatewayRouteTableAssociationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...request.Option) *ec2.GetTransitGatewayRouteTableAssociationsOutput); ok { + var r0 *ec2.ModifyAvailabilityZoneGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) (*ec2.ModifyAvailabilityZoneGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) *ec2.ModifyAvailabilityZoneGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTableAssociationsOutput) + r0 = ret.Get(0).(*ec2.ModifyAvailabilityZoneGroupOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30329,21 +40982,50 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTableAssociationsWithContext(_a0 co return r0, r1 } -// GetTransitGatewayRouteTablePropagations provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagations(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error) { +// ModifyCapacityReservation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyCapacityReservation(_a0 *ec2.ModifyCapacityReservationInput) (*ec2.ModifyCapacityReservationOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.GetTransitGatewayRouteTablePropagationsOutput - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + var r0 *ec2.ModifyCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) (*ec2.ModifyCapacityReservationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) *ec2.ModifyCapacityReservationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + r0 = ret.Get(0).(*ec2.ModifyCapacityReservationOutput) } } + if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyCapacityReservationFleet provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyCapacityReservationFleet(_a0 *ec2.ModifyCapacityReservationFleetInput) (*ec2.ModifyCapacityReservationFleetOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ModifyCapacityReservationFleetOutput var r1 error - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationFleetInput) (*ec2.ModifyCapacityReservationFleetOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationFleetInput) *ec2.ModifyCapacityReservationFleetOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyCapacityReservationFleetOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationFleetInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30352,47 +41034,77 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagations(_a0 *ec2.GetTrans return r0, r1 } -// GetTransitGatewayRouteTablePropagationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsPages(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a1 func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// ModifyCapacityReservationFleetRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyCapacityReservationFleetRequest(_a0 *ec2.ModifyCapacityReservationFleetInput) (*request.Request, *ec2.ModifyCapacityReservationFleetOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + var r0 *request.Request + var r1 *ec2.ModifyCapacityReservationFleetOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationFleetInput) (*request.Request, *ec2.ModifyCapacityReservationFleetOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationFleetInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationFleetInput) *ec2.ModifyCapacityReservationFleetOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ModifyCapacityReservationFleetOutput) + } + } + + return r0, r1 } -// GetTransitGatewayRouteTablePropagationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsPagesWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a2 func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// ModifyCapacityReservationFleetWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyCapacityReservationFleetWithContext(_a0 context.Context, _a1 *ec2.ModifyCapacityReservationFleetInput, _a2 ...request.Option) (*ec2.ModifyCapacityReservationFleetOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _a0, _a1) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, func(*ec2.GetTransitGatewayRouteTablePropagationsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *ec2.ModifyCapacityReservationFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationFleetInput, ...request.Option) (*ec2.ModifyCapacityReservationFleetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationFleetInput, ...request.Option) *ec2.ModifyCapacityReservationFleetOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyCapacityReservationFleetOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyCapacityReservationFleetInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// GetTransitGatewayRouteTablePropagationsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsRequest(_a0 *ec2.GetTransitGatewayRouteTablePropagationsInput) (*request.Request, *ec2.GetTransitGatewayRouteTablePropagationsOutput) { +// ModifyCapacityReservationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyCapacityReservationRequest(_a0 *ec2.ModifyCapacityReservationInput) (*request.Request, *ec2.ModifyCapacityReservationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *request.Request); ok { + var r1 *ec2.ModifyCapacityReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) (*request.Request, *ec2.ModifyCapacityReservationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30400,20 +41112,19 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsRequest(_a0 *ec2.G } } - var r1 *ec2.GetTransitGatewayRouteTablePropagationsOutput - if rf, ok := ret.Get(1).(func(*ec2.GetTransitGatewayRouteTablePropagationsInput) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationInput) *ec2.ModifyCapacityReservationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + r1 = ret.Get(1).(*ec2.ModifyCapacityReservationOutput) } } return r0, r1 } -// GetTransitGatewayRouteTablePropagationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsWithContext(_a0 context.Context, _a1 *ec2.GetTransitGatewayRouteTablePropagationsInput, _a2 ...request.Option) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error) { +// ModifyCapacityReservationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyCapacityReservationWithContext(_a0 context.Context, _a1 *ec2.ModifyCapacityReservationInput, _a2 ...request.Option) (*ec2.ModifyCapacityReservationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30423,17 +41134,20 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.GetTransitGatewayRouteTablePropagationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...request.Option) *ec2.GetTransitGatewayRouteTablePropagationsOutput); ok { + var r0 *ec2.ModifyCapacityReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...request.Option) (*ec2.ModifyCapacityReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...request.Option) *ec2.ModifyCapacityReservationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.GetTransitGatewayRouteTablePropagationsOutput) + r0 = ret.Get(0).(*ec2.ModifyCapacityReservationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30442,21 +41156,24 @@ func (_m *MockFakeEC2) GetTransitGatewayRouteTablePropagationsWithContext(_a0 co return r0, r1 } -// ImportClientVpnClientCertificateRevocationList provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationList(_a0 *ec2.ImportClientVpnClientCertificateRevocationListInput) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error) { +// ModifyClientVpnEndpoint provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyClientVpnEndpoint(_a0 *ec2.ModifyClientVpnEndpointInput) (*ec2.ModifyClientVpnEndpointOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportClientVpnClientCertificateRevocationListOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + var r0 *ec2.ModifyClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) (*ec2.ModifyClientVpnEndpointOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) *ec2.ModifyClientVpnEndpointOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + r0 = ret.Get(0).(*ec2.ModifyClientVpnEndpointOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyClientVpnEndpointInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30465,12 +41182,16 @@ func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationList(_a0 *ec2.I return r0, r1 } -// ImportClientVpnClientCertificateRevocationListRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListRequest(_a0 *ec2.ImportClientVpnClientCertificateRevocationListInput) (*request.Request, *ec2.ImportClientVpnClientCertificateRevocationListOutput) { +// ModifyClientVpnEndpointRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyClientVpnEndpointRequest(_a0 *ec2.ModifyClientVpnEndpointInput) (*request.Request, *ec2.ModifyClientVpnEndpointOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *request.Request); ok { + var r1 *ec2.ModifyClientVpnEndpointOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) (*request.Request, *ec2.ModifyClientVpnEndpointOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30478,20 +41199,19 @@ func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListRequest(_a0 } } - var r1 *ec2.ImportClientVpnClientCertificateRevocationListOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportClientVpnClientCertificateRevocationListInput) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyClientVpnEndpointInput) *ec2.ModifyClientVpnEndpointOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + r1 = ret.Get(1).(*ec2.ModifyClientVpnEndpointOutput) } } return r0, r1 } -// ImportClientVpnClientCertificateRevocationListWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListWithContext(_a0 context.Context, _a1 *ec2.ImportClientVpnClientCertificateRevocationListInput, _a2 ...request.Option) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error) { +// ModifyClientVpnEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyClientVpnEndpointWithContext(_a0 context.Context, _a1 *ec2.ModifyClientVpnEndpointInput, _a2 ...request.Option) (*ec2.ModifyClientVpnEndpointOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30501,17 +41221,20 @@ func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListWithContext _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportClientVpnClientCertificateRevocationListOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...request.Option) *ec2.ImportClientVpnClientCertificateRevocationListOutput); ok { + var r0 *ec2.ModifyClientVpnEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...request.Option) (*ec2.ModifyClientVpnEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...request.Option) *ec2.ModifyClientVpnEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportClientVpnClientCertificateRevocationListOutput) + r0 = ret.Get(0).(*ec2.ModifyClientVpnEndpointOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30520,21 +41243,24 @@ func (_m *MockFakeEC2) ImportClientVpnClientCertificateRevocationListWithContext return r0, r1 } -// ImportImage provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportImage(_a0 *ec2.ImportImageInput) (*ec2.ImportImageOutput, error) { +// ModifyDefaultCreditSpecification provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyDefaultCreditSpecification(_a0 *ec2.ModifyDefaultCreditSpecificationInput) (*ec2.ModifyDefaultCreditSpecificationOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportImageOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) *ec2.ImportImageOutput); ok { + var r0 *ec2.ModifyDefaultCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) (*ec2.ModifyDefaultCreditSpecificationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) *ec2.ModifyDefaultCreditSpecificationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportImageOutput) + r0 = ret.Get(0).(*ec2.ModifyDefaultCreditSpecificationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportImageInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyDefaultCreditSpecificationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30543,12 +41269,16 @@ func (_m *MockFakeEC2) ImportImage(_a0 *ec2.ImportImageInput) (*ec2.ImportImageO return r0, r1 } -// ImportImageRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportImageRequest(_a0 *ec2.ImportImageInput) (*request.Request, *ec2.ImportImageOutput) { +// ModifyDefaultCreditSpecificationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationRequest(_a0 *ec2.ModifyDefaultCreditSpecificationInput) (*request.Request, *ec2.ModifyDefaultCreditSpecificationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportImageInput) *request.Request); ok { + var r1 *ec2.ModifyDefaultCreditSpecificationOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) (*request.Request, *ec2.ModifyDefaultCreditSpecificationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30556,20 +41286,19 @@ func (_m *MockFakeEC2) ImportImageRequest(_a0 *ec2.ImportImageInput) (*request.R } } - var r1 *ec2.ImportImageOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportImageInput) *ec2.ImportImageOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyDefaultCreditSpecificationInput) *ec2.ModifyDefaultCreditSpecificationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportImageOutput) + r1 = ret.Get(1).(*ec2.ModifyDefaultCreditSpecificationOutput) } } return r0, r1 } -// ImportImageWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportImageWithContext(_a0 context.Context, _a1 *ec2.ImportImageInput, _a2 ...request.Option) (*ec2.ImportImageOutput, error) { +// ModifyDefaultCreditSpecificationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationWithContext(_a0 context.Context, _a1 *ec2.ModifyDefaultCreditSpecificationInput, _a2 ...request.Option) (*ec2.ModifyDefaultCreditSpecificationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30579,17 +41308,20 @@ func (_m *MockFakeEC2) ImportImageWithContext(_a0 context.Context, _a1 *ec2.Impo _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportImageOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportImageInput, ...request.Option) *ec2.ImportImageOutput); ok { + var r0 *ec2.ModifyDefaultCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...request.Option) (*ec2.ModifyDefaultCreditSpecificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...request.Option) *ec2.ModifyDefaultCreditSpecificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportImageOutput) + r0 = ret.Get(0).(*ec2.ModifyDefaultCreditSpecificationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportImageInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30598,21 +41330,24 @@ func (_m *MockFakeEC2) ImportImageWithContext(_a0 context.Context, _a1 *ec2.Impo return r0, r1 } -// ImportInstance provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportInstance(_a0 *ec2.ImportInstanceInput) (*ec2.ImportInstanceOutput, error) { +// ModifyEbsDefaultKmsKeyId provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyId(_a0 *ec2.ModifyEbsDefaultKmsKeyIdInput) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportInstanceOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) *ec2.ImportInstanceOutput); ok { + var r0 *ec2.ModifyEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportInstanceOutput) + r0 = ret.Get(0).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportInstanceInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30621,12 +41356,16 @@ func (_m *MockFakeEC2) ImportInstance(_a0 *ec2.ImportInstanceInput) (*ec2.Import return r0, r1 } -// ImportInstanceRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportInstanceRequest(_a0 *ec2.ImportInstanceInput) (*request.Request, *ec2.ImportInstanceOutput) { +// ModifyEbsDefaultKmsKeyIdRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdRequest(_a0 *ec2.ModifyEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.ModifyEbsDefaultKmsKeyIdOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportInstanceInput) *request.Request); ok { + var r1 *ec2.ModifyEbsDefaultKmsKeyIdOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.ModifyEbsDefaultKmsKeyIdOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30634,20 +41373,19 @@ func (_m *MockFakeEC2) ImportInstanceRequest(_a0 *ec2.ImportInstanceInput) (*req } } - var r1 *ec2.ImportInstanceOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportInstanceInput) *ec2.ImportInstanceOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportInstanceOutput) + r1 = ret.Get(1).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) } } return r0, r1 } -// ImportInstanceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportInstanceWithContext(_a0 context.Context, _a1 *ec2.ImportInstanceInput, _a2 ...request.Option) (*ec2.ImportInstanceOutput, error) { +// ModifyEbsDefaultKmsKeyIdWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _a1 *ec2.ModifyEbsDefaultKmsKeyIdInput, _a2 ...request.Option) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30657,17 +41395,20 @@ func (_m *MockFakeEC2) ImportInstanceWithContext(_a0 context.Context, _a1 *ec2.I _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportInstanceOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportInstanceInput, ...request.Option) *ec2.ImportInstanceOutput); ok { + var r0 *ec2.ModifyEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...request.Option) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...request.Option) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportInstanceOutput) + r0 = ret.Get(0).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportInstanceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30676,21 +41417,24 @@ func (_m *MockFakeEC2) ImportInstanceWithContext(_a0 context.Context, _a1 *ec2.I return r0, r1 } -// ImportKeyPair provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportKeyPair(_a0 *ec2.ImportKeyPairInput) (*ec2.ImportKeyPairOutput, error) { +// ModifyFleet provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyFleet(_a0 *ec2.ModifyFleetInput) (*ec2.ModifyFleetOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportKeyPairOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) *ec2.ImportKeyPairOutput); ok { + var r0 *ec2.ModifyFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) (*ec2.ModifyFleetOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) *ec2.ModifyFleetOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportKeyPairOutput) + r0 = ret.Get(0).(*ec2.ModifyFleetOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportKeyPairInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyFleetInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30699,12 +41443,16 @@ func (_m *MockFakeEC2) ImportKeyPair(_a0 *ec2.ImportKeyPairInput) (*ec2.ImportKe return r0, r1 } -// ImportKeyPairRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportKeyPairRequest(_a0 *ec2.ImportKeyPairInput) (*request.Request, *ec2.ImportKeyPairOutput) { +// ModifyFleetRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyFleetRequest(_a0 *ec2.ModifyFleetInput) (*request.Request, *ec2.ModifyFleetOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportKeyPairInput) *request.Request); ok { + var r1 *ec2.ModifyFleetOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) (*request.Request, *ec2.ModifyFleetOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30712,20 +41460,19 @@ func (_m *MockFakeEC2) ImportKeyPairRequest(_a0 *ec2.ImportKeyPairInput) (*reque } } - var r1 *ec2.ImportKeyPairOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportKeyPairInput) *ec2.ImportKeyPairOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyFleetInput) *ec2.ModifyFleetOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportKeyPairOutput) + r1 = ret.Get(1).(*ec2.ModifyFleetOutput) } } return r0, r1 } -// ImportKeyPairWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportKeyPairWithContext(_a0 context.Context, _a1 *ec2.ImportKeyPairInput, _a2 ...request.Option) (*ec2.ImportKeyPairOutput, error) { +// ModifyFleetWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyFleetWithContext(_a0 context.Context, _a1 *ec2.ModifyFleetInput, _a2 ...request.Option) (*ec2.ModifyFleetOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30735,17 +41482,20 @@ func (_m *MockFakeEC2) ImportKeyPairWithContext(_a0 context.Context, _a1 *ec2.Im _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportKeyPairOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportKeyPairInput, ...request.Option) *ec2.ImportKeyPairOutput); ok { + var r0 *ec2.ModifyFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFleetInput, ...request.Option) (*ec2.ModifyFleetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFleetInput, ...request.Option) *ec2.ModifyFleetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportKeyPairOutput) + r0 = ret.Get(0).(*ec2.ModifyFleetOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportKeyPairInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyFleetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30754,21 +41504,24 @@ func (_m *MockFakeEC2) ImportKeyPairWithContext(_a0 context.Context, _a1 *ec2.Im return r0, r1 } -// ImportSnapshot provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportSnapshot(_a0 *ec2.ImportSnapshotInput) (*ec2.ImportSnapshotOutput, error) { +// ModifyFpgaImageAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyFpgaImageAttribute(_a0 *ec2.ModifyFpgaImageAttributeInput) (*ec2.ModifyFpgaImageAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportSnapshotOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) *ec2.ImportSnapshotOutput); ok { + var r0 *ec2.ModifyFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) (*ec2.ModifyFpgaImageAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) *ec2.ModifyFpgaImageAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportSnapshotOutput) + r0 = ret.Get(0).(*ec2.ModifyFpgaImageAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportSnapshotInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyFpgaImageAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30777,12 +41530,16 @@ func (_m *MockFakeEC2) ImportSnapshot(_a0 *ec2.ImportSnapshotInput) (*ec2.Import return r0, r1 } -// ImportSnapshotRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportSnapshotRequest(_a0 *ec2.ImportSnapshotInput) (*request.Request, *ec2.ImportSnapshotOutput) { +// ModifyFpgaImageAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyFpgaImageAttributeRequest(_a0 *ec2.ModifyFpgaImageAttributeInput) (*request.Request, *ec2.ModifyFpgaImageAttributeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportSnapshotInput) *request.Request); ok { + var r1 *ec2.ModifyFpgaImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) (*request.Request, *ec2.ModifyFpgaImageAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30790,20 +41547,19 @@ func (_m *MockFakeEC2) ImportSnapshotRequest(_a0 *ec2.ImportSnapshotInput) (*req } } - var r1 *ec2.ImportSnapshotOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportSnapshotInput) *ec2.ImportSnapshotOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyFpgaImageAttributeInput) *ec2.ModifyFpgaImageAttributeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportSnapshotOutput) + r1 = ret.Get(1).(*ec2.ModifyFpgaImageAttributeOutput) } } return r0, r1 } -// ImportSnapshotWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportSnapshotWithContext(_a0 context.Context, _a1 *ec2.ImportSnapshotInput, _a2 ...request.Option) (*ec2.ImportSnapshotOutput, error) { +// ModifyFpgaImageAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyFpgaImageAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyFpgaImageAttributeInput, _a2 ...request.Option) (*ec2.ModifyFpgaImageAttributeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30813,17 +41569,20 @@ func (_m *MockFakeEC2) ImportSnapshotWithContext(_a0 context.Context, _a1 *ec2.I _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportSnapshotOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportSnapshotInput, ...request.Option) *ec2.ImportSnapshotOutput); ok { + var r0 *ec2.ModifyFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...request.Option) (*ec2.ModifyFpgaImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...request.Option) *ec2.ModifyFpgaImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportSnapshotOutput) + r0 = ret.Get(0).(*ec2.ModifyFpgaImageAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportSnapshotInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30832,21 +41591,24 @@ func (_m *MockFakeEC2) ImportSnapshotWithContext(_a0 context.Context, _a1 *ec2.I return r0, r1 } -// ImportVolume provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportVolume(_a0 *ec2.ImportVolumeInput) (*ec2.ImportVolumeOutput, error) { +// ModifyHosts provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyHosts(_a0 *ec2.ModifyHostsInput) (*ec2.ModifyHostsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ImportVolumeOutput - if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) *ec2.ImportVolumeOutput); ok { + var r0 *ec2.ModifyHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) (*ec2.ModifyHostsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) *ec2.ModifyHostsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportVolumeOutput) + r0 = ret.Get(0).(*ec2.ModifyHostsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ImportVolumeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyHostsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30855,12 +41617,16 @@ func (_m *MockFakeEC2) ImportVolume(_a0 *ec2.ImportVolumeInput) (*ec2.ImportVolu return r0, r1 } -// ImportVolumeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ImportVolumeRequest(_a0 *ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput) { +// ModifyHostsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyHostsRequest(_a0 *ec2.ModifyHostsInput) (*request.Request, *ec2.ModifyHostsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ImportVolumeInput) *request.Request); ok { + var r1 *ec2.ModifyHostsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) (*request.Request, *ec2.ModifyHostsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30868,20 +41634,19 @@ func (_m *MockFakeEC2) ImportVolumeRequest(_a0 *ec2.ImportVolumeInput) (*request } } - var r1 *ec2.ImportVolumeOutput - if rf, ok := ret.Get(1).(func(*ec2.ImportVolumeInput) *ec2.ImportVolumeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyHostsInput) *ec2.ModifyHostsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ImportVolumeOutput) + r1 = ret.Get(1).(*ec2.ModifyHostsOutput) } } return r0, r1 } -// ImportVolumeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ImportVolumeWithContext(_a0 context.Context, _a1 *ec2.ImportVolumeInput, _a2 ...request.Option) (*ec2.ImportVolumeOutput, error) { +// ModifyHostsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyHostsWithContext(_a0 context.Context, _a1 *ec2.ModifyHostsInput, _a2 ...request.Option) (*ec2.ModifyHostsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30891,17 +41656,20 @@ func (_m *MockFakeEC2) ImportVolumeWithContext(_a0 context.Context, _a1 *ec2.Imp _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ImportVolumeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportVolumeInput, ...request.Option) *ec2.ImportVolumeOutput); ok { + var r0 *ec2.ModifyHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyHostsInput, ...request.Option) (*ec2.ModifyHostsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyHostsInput, ...request.Option) *ec2.ModifyHostsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ImportVolumeOutput) + r0 = ret.Get(0).(*ec2.ModifyHostsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ImportVolumeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyHostsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30910,21 +41678,24 @@ func (_m *MockFakeEC2) ImportVolumeWithContext(_a0 context.Context, _a1 *ec2.Imp return r0, r1 } -// ModifyAddressAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyAddressAttribute(_a0 *ec2.ModifyAddressAttributeInput) (*ec2.ModifyAddressAttributeOutput, error) { +// ModifyIdFormat provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIdFormat(_a0 *ec2.ModifyIdFormatInput) (*ec2.ModifyIdFormatOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyAddressAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) *ec2.ModifyAddressAttributeOutput); ok { + var r0 *ec2.ModifyIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) (*ec2.ModifyIdFormatOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) *ec2.ModifyIdFormatOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyAddressAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyIdFormatOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyAddressAttributeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIdFormatInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -30933,12 +41704,16 @@ func (_m *MockFakeEC2) ModifyAddressAttribute(_a0 *ec2.ModifyAddressAttributeInp return r0, r1 } -// ModifyAddressAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyAddressAttributeRequest(_a0 *ec2.ModifyAddressAttributeInput) (*request.Request, *ec2.ModifyAddressAttributeOutput) { +// ModifyIdFormatRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIdFormatRequest(_a0 *ec2.ModifyIdFormatInput) (*request.Request, *ec2.ModifyIdFormatOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyAddressAttributeInput) *request.Request); ok { + var r1 *ec2.ModifyIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) (*request.Request, *ec2.ModifyIdFormatOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -30946,20 +41721,19 @@ func (_m *MockFakeEC2) ModifyAddressAttributeRequest(_a0 *ec2.ModifyAddressAttri } } - var r1 *ec2.ModifyAddressAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyAddressAttributeInput) *ec2.ModifyAddressAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIdFormatInput) *ec2.ModifyIdFormatOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyAddressAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifyIdFormatOutput) } } return r0, r1 } -// ModifyAddressAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyAddressAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyAddressAttributeInput, _a2 ...request.Option) (*ec2.ModifyAddressAttributeOutput, error) { +// ModifyIdFormatWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIdFormatWithContext(_a0 context.Context, _a1 *ec2.ModifyIdFormatInput, _a2 ...request.Option) (*ec2.ModifyIdFormatOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -30969,17 +41743,20 @@ func (_m *MockFakeEC2) ModifyAddressAttributeWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyAddressAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) *ec2.ModifyAddressAttributeOutput); ok { + var r0 *ec2.ModifyIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdFormatInput, ...request.Option) (*ec2.ModifyIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdFormatInput, ...request.Option) *ec2.ModifyIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyAddressAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyIdFormatOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -30988,21 +41765,24 @@ func (_m *MockFakeEC2) ModifyAddressAttributeWithContext(_a0 context.Context, _a return r0, r1 } -// ModifyAvailabilityZoneGroup provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyAvailabilityZoneGroup(_a0 *ec2.ModifyAvailabilityZoneGroupInput) (*ec2.ModifyAvailabilityZoneGroupOutput, error) { +// ModifyIdentityIdFormat provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIdentityIdFormat(_a0 *ec2.ModifyIdentityIdFormatInput) (*ec2.ModifyIdentityIdFormatOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyAvailabilityZoneGroupOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) *ec2.ModifyAvailabilityZoneGroupOutput); ok { + var r0 *ec2.ModifyIdentityIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) (*ec2.ModifyIdentityIdFormatOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) *ec2.ModifyIdentityIdFormatOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyAvailabilityZoneGroupOutput) + r0 = ret.Get(0).(*ec2.ModifyIdentityIdFormatOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyAvailabilityZoneGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIdentityIdFormatInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31011,12 +41791,16 @@ func (_m *MockFakeEC2) ModifyAvailabilityZoneGroup(_a0 *ec2.ModifyAvailabilityZo return r0, r1 } -// ModifyAvailabilityZoneGroupRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupRequest(_a0 *ec2.ModifyAvailabilityZoneGroupInput) (*request.Request, *ec2.ModifyAvailabilityZoneGroupOutput) { +// ModifyIdentityIdFormatRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIdentityIdFormatRequest(_a0 *ec2.ModifyIdentityIdFormatInput) (*request.Request, *ec2.ModifyIdentityIdFormatOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyAvailabilityZoneGroupInput) *request.Request); ok { + var r1 *ec2.ModifyIdentityIdFormatOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) (*request.Request, *ec2.ModifyIdentityIdFormatOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31024,20 +41808,19 @@ func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupRequest(_a0 *ec2.ModifyAvailab } } - var r1 *ec2.ModifyAvailabilityZoneGroupOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyAvailabilityZoneGroupInput) *ec2.ModifyAvailabilityZoneGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIdentityIdFormatInput) *ec2.ModifyIdentityIdFormatOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyAvailabilityZoneGroupOutput) + r1 = ret.Get(1).(*ec2.ModifyIdentityIdFormatOutput) } } return r0, r1 } -// ModifyAvailabilityZoneGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupWithContext(_a0 context.Context, _a1 *ec2.ModifyAvailabilityZoneGroupInput, _a2 ...request.Option) (*ec2.ModifyAvailabilityZoneGroupOutput, error) { +// ModifyIdentityIdFormatWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIdentityIdFormatWithContext(_a0 context.Context, _a1 *ec2.ModifyIdentityIdFormatInput, _a2 ...request.Option) (*ec2.ModifyIdentityIdFormatOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31047,17 +41830,20 @@ func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyAvailabilityZoneGroupOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) *ec2.ModifyAvailabilityZoneGroupOutput); ok { + var r0 *ec2.ModifyIdentityIdFormatOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...request.Option) (*ec2.ModifyIdentityIdFormatOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...request.Option) *ec2.ModifyIdentityIdFormatOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyAvailabilityZoneGroupOutput) + r0 = ret.Get(0).(*ec2.ModifyIdentityIdFormatOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31066,21 +41852,24 @@ func (_m *MockFakeEC2) ModifyAvailabilityZoneGroupWithContext(_a0 context.Contex return r0, r1 } -// ModifyCapacityReservation provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyCapacityReservation(_a0 *ec2.ModifyCapacityReservationInput) (*ec2.ModifyCapacityReservationOutput, error) { +// ModifyImageAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyImageAttribute(_a0 *ec2.ModifyImageAttributeInput) (*ec2.ModifyImageAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyCapacityReservationOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) *ec2.ModifyCapacityReservationOutput); ok { + var r0 *ec2.ModifyImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) (*ec2.ModifyImageAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) *ec2.ModifyImageAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyCapacityReservationOutput) + r0 = ret.Get(0).(*ec2.ModifyImageAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyImageAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31089,12 +41878,16 @@ func (_m *MockFakeEC2) ModifyCapacityReservation(_a0 *ec2.ModifyCapacityReservat return r0, r1 } -// ModifyCapacityReservationRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyCapacityReservationRequest(_a0 *ec2.ModifyCapacityReservationInput) (*request.Request, *ec2.ModifyCapacityReservationOutput) { +// ModifyImageAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyImageAttributeRequest(_a0 *ec2.ModifyImageAttributeInput) (*request.Request, *ec2.ModifyImageAttributeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyCapacityReservationInput) *request.Request); ok { + var r1 *ec2.ModifyImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) (*request.Request, *ec2.ModifyImageAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31102,20 +41895,19 @@ func (_m *MockFakeEC2) ModifyCapacityReservationRequest(_a0 *ec2.ModifyCapacityR } } - var r1 *ec2.ModifyCapacityReservationOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyCapacityReservationInput) *ec2.ModifyCapacityReservationOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyImageAttributeInput) *ec2.ModifyImageAttributeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyCapacityReservationOutput) + r1 = ret.Get(1).(*ec2.ModifyImageAttributeOutput) } } return r0, r1 } -// ModifyCapacityReservationWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyCapacityReservationWithContext(_a0 context.Context, _a1 *ec2.ModifyCapacityReservationInput, _a2 ...request.Option) (*ec2.ModifyCapacityReservationOutput, error) { +// ModifyImageAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyImageAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyImageAttributeInput, _a2 ...request.Option) (*ec2.ModifyImageAttributeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31125,17 +41917,20 @@ func (_m *MockFakeEC2) ModifyCapacityReservationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyCapacityReservationOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...request.Option) *ec2.ModifyCapacityReservationOutput); ok { + var r0 *ec2.ModifyImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyImageAttributeInput, ...request.Option) (*ec2.ModifyImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyImageAttributeInput, ...request.Option) *ec2.ModifyImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyCapacityReservationOutput) + r0 = ret.Get(0).(*ec2.ModifyImageAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31144,21 +41939,24 @@ func (_m *MockFakeEC2) ModifyCapacityReservationWithContext(_a0 context.Context, return r0, r1 } -// ModifyClientVpnEndpoint provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyClientVpnEndpoint(_a0 *ec2.ModifyClientVpnEndpointInput) (*ec2.ModifyClientVpnEndpointOutput, error) { +// ModifyInstanceAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceAttribute(_a0 *ec2.ModifyInstanceAttributeInput) (*ec2.ModifyInstanceAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyClientVpnEndpointOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) *ec2.ModifyClientVpnEndpointOutput); ok { + var r0 *ec2.ModifyInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) (*ec2.ModifyInstanceAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) *ec2.ModifyInstanceAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyClientVpnEndpointOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyClientVpnEndpointInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31167,12 +41965,16 @@ func (_m *MockFakeEC2) ModifyClientVpnEndpoint(_a0 *ec2.ModifyClientVpnEndpointI return r0, r1 } -// ModifyClientVpnEndpointRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyClientVpnEndpointRequest(_a0 *ec2.ModifyClientVpnEndpointInput) (*request.Request, *ec2.ModifyClientVpnEndpointOutput) { +// ModifyInstanceAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceAttributeRequest(_a0 *ec2.ModifyInstanceAttributeInput) (*request.Request, *ec2.ModifyInstanceAttributeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyClientVpnEndpointInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) (*request.Request, *ec2.ModifyInstanceAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31180,20 +41982,19 @@ func (_m *MockFakeEC2) ModifyClientVpnEndpointRequest(_a0 *ec2.ModifyClientVpnEn } } - var r1 *ec2.ModifyClientVpnEndpointOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyClientVpnEndpointInput) *ec2.ModifyClientVpnEndpointOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceAttributeInput) *ec2.ModifyInstanceAttributeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyClientVpnEndpointOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceAttributeOutput) } } return r0, r1 } -// ModifyClientVpnEndpointWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyClientVpnEndpointWithContext(_a0 context.Context, _a1 *ec2.ModifyClientVpnEndpointInput, _a2 ...request.Option) (*ec2.ModifyClientVpnEndpointOutput, error) { +// ModifyInstanceAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceAttributeInput, _a2 ...request.Option) (*ec2.ModifyInstanceAttributeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31203,17 +42004,20 @@ func (_m *MockFakeEC2) ModifyClientVpnEndpointWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyClientVpnEndpointOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...request.Option) *ec2.ModifyClientVpnEndpointOutput); ok { + var r0 *ec2.ModifyInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...request.Option) (*ec2.ModifyInstanceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...request.Option) *ec2.ModifyInstanceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyClientVpnEndpointOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31222,21 +42026,24 @@ func (_m *MockFakeEC2) ModifyClientVpnEndpointWithContext(_a0 context.Context, _ return r0, r1 } -// ModifyDefaultCreditSpecification provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyDefaultCreditSpecification(_a0 *ec2.ModifyDefaultCreditSpecificationInput) (*ec2.ModifyDefaultCreditSpecificationOutput, error) { +// ModifyInstanceCapacityReservationAttributes provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributes(_a0 *ec2.ModifyInstanceCapacityReservationAttributesInput) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyDefaultCreditSpecificationOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) *ec2.ModifyDefaultCreditSpecificationOutput); ok { + var r0 *ec2.ModifyInstanceCapacityReservationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyDefaultCreditSpecificationOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyDefaultCreditSpecificationInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31245,12 +42052,16 @@ func (_m *MockFakeEC2) ModifyDefaultCreditSpecification(_a0 *ec2.ModifyDefaultCr return r0, r1 } -// ModifyDefaultCreditSpecificationRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationRequest(_a0 *ec2.ModifyDefaultCreditSpecificationInput) (*request.Request, *ec2.ModifyDefaultCreditSpecificationOutput) { +// ModifyInstanceCapacityReservationAttributesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesRequest(_a0 *ec2.ModifyInstanceCapacityReservationAttributesInput) (*request.Request, *ec2.ModifyInstanceCapacityReservationAttributesOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyDefaultCreditSpecificationInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceCapacityReservationAttributesOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) (*request.Request, *ec2.ModifyInstanceCapacityReservationAttributesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31258,20 +42069,19 @@ func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationRequest(_a0 *ec2.ModifyDe } } - var r1 *ec2.ModifyDefaultCreditSpecificationOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyDefaultCreditSpecificationInput) *ec2.ModifyDefaultCreditSpecificationOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyDefaultCreditSpecificationOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) } } return r0, r1 } -// ModifyDefaultCreditSpecificationWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationWithContext(_a0 context.Context, _a1 *ec2.ModifyDefaultCreditSpecificationInput, _a2 ...request.Option) (*ec2.ModifyDefaultCreditSpecificationOutput, error) { +// ModifyInstanceCapacityReservationAttributesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceCapacityReservationAttributesInput, _a2 ...request.Option) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31281,17 +42091,20 @@ func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyDefaultCreditSpecificationOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...request.Option) *ec2.ModifyDefaultCreditSpecificationOutput); ok { + var r0 *ec2.ModifyInstanceCapacityReservationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...request.Option) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...request.Option) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyDefaultCreditSpecificationOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31300,21 +42113,24 @@ func (_m *MockFakeEC2) ModifyDefaultCreditSpecificationWithContext(_a0 context.C return r0, r1 } -// ModifyEbsDefaultKmsKeyId provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyId(_a0 *ec2.ModifyEbsDefaultKmsKeyIdInput) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error) { +// ModifyInstanceCreditSpecification provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceCreditSpecification(_a0 *ec2.ModifyInstanceCreditSpecificationInput) (*ec2.ModifyInstanceCreditSpecificationOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyEbsDefaultKmsKeyIdOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { + var r0 *ec2.ModifyInstanceCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) (*ec2.ModifyInstanceCreditSpecificationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) *ec2.ModifyInstanceCreditSpecificationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceCreditSpecificationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCreditSpecificationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31323,12 +42139,16 @@ func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyId(_a0 *ec2.ModifyEbsDefaultKmsKeyI return r0, r1 } -// ModifyEbsDefaultKmsKeyIdRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdRequest(_a0 *ec2.ModifyEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.ModifyEbsDefaultKmsKeyIdOutput) { +// ModifyInstanceCreditSpecificationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationRequest(_a0 *ec2.ModifyInstanceCreditSpecificationInput) (*request.Request, *ec2.ModifyInstanceCreditSpecificationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceCreditSpecificationOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) (*request.Request, *ec2.ModifyInstanceCreditSpecificationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31336,20 +42156,19 @@ func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdRequest(_a0 *ec2.ModifyEbsDefault } } - var r1 *ec2.ModifyEbsDefaultKmsKeyIdOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyEbsDefaultKmsKeyIdInput) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCreditSpecificationInput) *ec2.ModifyInstanceCreditSpecificationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceCreditSpecificationOutput) } } return r0, r1 } -// ModifyEbsDefaultKmsKeyIdWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _a1 *ec2.ModifyEbsDefaultKmsKeyIdInput, _a2 ...request.Option) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error) { +// ModifyInstanceCreditSpecificationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceCreditSpecificationInput, _a2 ...request.Option) (*ec2.ModifyInstanceCreditSpecificationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31359,17 +42178,20 @@ func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyEbsDefaultKmsKeyIdOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...request.Option) *ec2.ModifyEbsDefaultKmsKeyIdOutput); ok { + var r0 *ec2.ModifyInstanceCreditSpecificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...request.Option) (*ec2.ModifyInstanceCreditSpecificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...request.Option) *ec2.ModifyInstanceCreditSpecificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyEbsDefaultKmsKeyIdOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceCreditSpecificationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31378,21 +42200,24 @@ func (_m *MockFakeEC2) ModifyEbsDefaultKmsKeyIdWithContext(_a0 context.Context, return r0, r1 } -// ModifyFleet provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyFleet(_a0 *ec2.ModifyFleetInput) (*ec2.ModifyFleetOutput, error) { +// ModifyInstanceEventStartTime provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceEventStartTime(_a0 *ec2.ModifyInstanceEventStartTimeInput) (*ec2.ModifyInstanceEventStartTimeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyFleetOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) *ec2.ModifyFleetOutput); ok { + var r0 *ec2.ModifyInstanceEventStartTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) (*ec2.ModifyInstanceEventStartTimeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) *ec2.ModifyInstanceEventStartTimeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyFleetOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceEventStartTimeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyFleetInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventStartTimeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31401,12 +42226,16 @@ func (_m *MockFakeEC2) ModifyFleet(_a0 *ec2.ModifyFleetInput) (*ec2.ModifyFleetO return r0, r1 } -// ModifyFleetRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyFleetRequest(_a0 *ec2.ModifyFleetInput) (*request.Request, *ec2.ModifyFleetOutput) { +// ModifyInstanceEventStartTimeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceEventStartTimeRequest(_a0 *ec2.ModifyInstanceEventStartTimeInput) (*request.Request, *ec2.ModifyInstanceEventStartTimeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyFleetInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceEventStartTimeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) (*request.Request, *ec2.ModifyInstanceEventStartTimeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31414,20 +42243,19 @@ func (_m *MockFakeEC2) ModifyFleetRequest(_a0 *ec2.ModifyFleetInput) (*request.R } } - var r1 *ec2.ModifyFleetOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyFleetInput) *ec2.ModifyFleetOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventStartTimeInput) *ec2.ModifyInstanceEventStartTimeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyFleetOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceEventStartTimeOutput) } } return r0, r1 } -// ModifyFleetWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyFleetWithContext(_a0 context.Context, _a1 *ec2.ModifyFleetInput, _a2 ...request.Option) (*ec2.ModifyFleetOutput, error) { +// ModifyInstanceEventStartTimeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceEventStartTimeWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceEventStartTimeInput, _a2 ...request.Option) (*ec2.ModifyInstanceEventStartTimeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31437,17 +42265,20 @@ func (_m *MockFakeEC2) ModifyFleetWithContext(_a0 context.Context, _a1 *ec2.Modi _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyFleetOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFleetInput, ...request.Option) *ec2.ModifyFleetOutput); ok { + var r0 *ec2.ModifyInstanceEventStartTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...request.Option) (*ec2.ModifyInstanceEventStartTimeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...request.Option) *ec2.ModifyInstanceEventStartTimeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyFleetOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceEventStartTimeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyFleetInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31456,21 +42287,24 @@ func (_m *MockFakeEC2) ModifyFleetWithContext(_a0 context.Context, _a1 *ec2.Modi return r0, r1 } -// ModifyFpgaImageAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyFpgaImageAttribute(_a0 *ec2.ModifyFpgaImageAttributeInput) (*ec2.ModifyFpgaImageAttributeOutput, error) { +// ModifyInstanceEventWindow provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceEventWindow(_a0 *ec2.ModifyInstanceEventWindowInput) (*ec2.ModifyInstanceEventWindowOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyFpgaImageAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) *ec2.ModifyFpgaImageAttributeOutput); ok { + var r0 *ec2.ModifyInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventWindowInput) (*ec2.ModifyInstanceEventWindowOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventWindowInput) *ec2.ModifyInstanceEventWindowOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyFpgaImageAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceEventWindowOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyFpgaImageAttributeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventWindowInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31479,12 +42313,16 @@ func (_m *MockFakeEC2) ModifyFpgaImageAttribute(_a0 *ec2.ModifyFpgaImageAttribut return r0, r1 } -// ModifyFpgaImageAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyFpgaImageAttributeRequest(_a0 *ec2.ModifyFpgaImageAttributeInput) (*request.Request, *ec2.ModifyFpgaImageAttributeOutput) { +// ModifyInstanceEventWindowRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceEventWindowRequest(_a0 *ec2.ModifyInstanceEventWindowInput) (*request.Request, *ec2.ModifyInstanceEventWindowOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyFpgaImageAttributeInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceEventWindowOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventWindowInput) (*request.Request, *ec2.ModifyInstanceEventWindowOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventWindowInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31492,20 +42330,19 @@ func (_m *MockFakeEC2) ModifyFpgaImageAttributeRequest(_a0 *ec2.ModifyFpgaImageA } } - var r1 *ec2.ModifyFpgaImageAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyFpgaImageAttributeInput) *ec2.ModifyFpgaImageAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventWindowInput) *ec2.ModifyInstanceEventWindowOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyFpgaImageAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceEventWindowOutput) } } return r0, r1 } -// ModifyFpgaImageAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyFpgaImageAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyFpgaImageAttributeInput, _a2 ...request.Option) (*ec2.ModifyFpgaImageAttributeOutput, error) { +// ModifyInstanceEventWindowWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceEventWindowWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceEventWindowInput, _a2 ...request.Option) (*ec2.ModifyInstanceEventWindowOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31515,17 +42352,20 @@ func (_m *MockFakeEC2) ModifyFpgaImageAttributeWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyFpgaImageAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...request.Option) *ec2.ModifyFpgaImageAttributeOutput); ok { + var r0 *ec2.ModifyInstanceEventWindowOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventWindowInput, ...request.Option) (*ec2.ModifyInstanceEventWindowOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventWindowInput, ...request.Option) *ec2.ModifyInstanceEventWindowOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyFpgaImageAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceEventWindowOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceEventWindowInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31534,21 +42374,24 @@ func (_m *MockFakeEC2) ModifyFpgaImageAttributeWithContext(_a0 context.Context, return r0, r1 } -// ModifyHosts provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyHosts(_a0 *ec2.ModifyHostsInput) (*ec2.ModifyHostsOutput, error) { +// ModifyInstanceMaintenanceOptions provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceMaintenanceOptions(_a0 *ec2.ModifyInstanceMaintenanceOptionsInput) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyHostsOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) *ec2.ModifyHostsOutput); ok { + var r0 *ec2.ModifyInstanceMaintenanceOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) *ec2.ModifyInstanceMaintenanceOptionsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyHostsOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceMaintenanceOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyHostsInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31557,12 +42400,16 @@ func (_m *MockFakeEC2) ModifyHosts(_a0 *ec2.ModifyHostsInput) (*ec2.ModifyHostsO return r0, r1 } -// ModifyHostsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyHostsRequest(_a0 *ec2.ModifyHostsInput) (*request.Request, *ec2.ModifyHostsOutput) { +// ModifyInstanceMaintenanceOptionsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceMaintenanceOptionsRequest(_a0 *ec2.ModifyInstanceMaintenanceOptionsInput) (*request.Request, *ec2.ModifyInstanceMaintenanceOptionsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyHostsInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceMaintenanceOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) (*request.Request, *ec2.ModifyInstanceMaintenanceOptionsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31570,20 +42417,19 @@ func (_m *MockFakeEC2) ModifyHostsRequest(_a0 *ec2.ModifyHostsInput) (*request.R } } - var r1 *ec2.ModifyHostsOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyHostsInput) *ec2.ModifyHostsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMaintenanceOptionsInput) *ec2.ModifyInstanceMaintenanceOptionsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyHostsOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceMaintenanceOptionsOutput) } } return r0, r1 } -// ModifyHostsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyHostsWithContext(_a0 context.Context, _a1 *ec2.ModifyHostsInput, _a2 ...request.Option) (*ec2.ModifyHostsOutput, error) { +// ModifyInstanceMaintenanceOptionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceMaintenanceOptionsWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceMaintenanceOptionsInput, _a2 ...request.Option) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31593,17 +42439,20 @@ func (_m *MockFakeEC2) ModifyHostsWithContext(_a0 context.Context, _a1 *ec2.Modi _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyHostsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyHostsInput, ...request.Option) *ec2.ModifyHostsOutput); ok { + var r0 *ec2.ModifyInstanceMaintenanceOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMaintenanceOptionsInput, ...request.Option) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMaintenanceOptionsInput, ...request.Option) *ec2.ModifyInstanceMaintenanceOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyHostsOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceMaintenanceOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyHostsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceMaintenanceOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31612,21 +42461,24 @@ func (_m *MockFakeEC2) ModifyHostsWithContext(_a0 context.Context, _a1 *ec2.Modi return r0, r1 } -// ModifyIdFormat provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyIdFormat(_a0 *ec2.ModifyIdFormatInput) (*ec2.ModifyIdFormatOutput, error) { +// ModifyInstanceMetadataOptions provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceMetadataOptions(_a0 *ec2.ModifyInstanceMetadataOptionsInput) (*ec2.ModifyInstanceMetadataOptionsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyIdFormatOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) *ec2.ModifyIdFormatOutput); ok { + var r0 *ec2.ModifyInstanceMetadataOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) (*ec2.ModifyInstanceMetadataOptionsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) *ec2.ModifyInstanceMetadataOptionsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyIdFormatOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceMetadataOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyIdFormatInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMetadataOptionsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31635,12 +42487,16 @@ func (_m *MockFakeEC2) ModifyIdFormat(_a0 *ec2.ModifyIdFormatInput) (*ec2.Modify return r0, r1 } -// ModifyIdFormatRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyIdFormatRequest(_a0 *ec2.ModifyIdFormatInput) (*request.Request, *ec2.ModifyIdFormatOutput) { +// ModifyInstanceMetadataOptionsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsRequest(_a0 *ec2.ModifyInstanceMetadataOptionsInput) (*request.Request, *ec2.ModifyInstanceMetadataOptionsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyIdFormatInput) *request.Request); ok { + var r1 *ec2.ModifyInstanceMetadataOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) (*request.Request, *ec2.ModifyInstanceMetadataOptionsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31648,20 +42504,19 @@ func (_m *MockFakeEC2) ModifyIdFormatRequest(_a0 *ec2.ModifyIdFormatInput) (*req } } - var r1 *ec2.ModifyIdFormatOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyIdFormatInput) *ec2.ModifyIdFormatOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMetadataOptionsInput) *ec2.ModifyInstanceMetadataOptionsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyIdFormatOutput) + r1 = ret.Get(1).(*ec2.ModifyInstanceMetadataOptionsOutput) } } return r0, r1 } -// ModifyIdFormatWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyIdFormatWithContext(_a0 context.Context, _a1 *ec2.ModifyIdFormatInput, _a2 ...request.Option) (*ec2.ModifyIdFormatOutput, error) { +// ModifyInstanceMetadataOptionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceMetadataOptionsInput, _a2 ...request.Option) (*ec2.ModifyInstanceMetadataOptionsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31671,17 +42526,20 @@ func (_m *MockFakeEC2) ModifyIdFormatWithContext(_a0 context.Context, _a1 *ec2.M _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyIdFormatOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdFormatInput, ...request.Option) *ec2.ModifyIdFormatOutput); ok { + var r0 *ec2.ModifyInstanceMetadataOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) (*ec2.ModifyInstanceMetadataOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) *ec2.ModifyInstanceMetadataOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyIdFormatOutput) + r0 = ret.Get(0).(*ec2.ModifyInstanceMetadataOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIdFormatInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31690,21 +42548,24 @@ func (_m *MockFakeEC2) ModifyIdFormatWithContext(_a0 context.Context, _a1 *ec2.M return r0, r1 } -// ModifyIdentityIdFormat provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyIdentityIdFormat(_a0 *ec2.ModifyIdentityIdFormatInput) (*ec2.ModifyIdentityIdFormatOutput, error) { +// ModifyInstancePlacement provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstancePlacement(_a0 *ec2.ModifyInstancePlacementInput) (*ec2.ModifyInstancePlacementOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyIdentityIdFormatOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) *ec2.ModifyIdentityIdFormatOutput); ok { + var r0 *ec2.ModifyInstancePlacementOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) (*ec2.ModifyInstancePlacementOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) *ec2.ModifyInstancePlacementOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyIdentityIdFormatOutput) + r0 = ret.Get(0).(*ec2.ModifyInstancePlacementOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyIdentityIdFormatInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstancePlacementInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31713,12 +42574,16 @@ func (_m *MockFakeEC2) ModifyIdentityIdFormat(_a0 *ec2.ModifyIdentityIdFormatInp return r0, r1 } -// ModifyIdentityIdFormatRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyIdentityIdFormatRequest(_a0 *ec2.ModifyIdentityIdFormatInput) (*request.Request, *ec2.ModifyIdentityIdFormatOutput) { +// ModifyInstancePlacementRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyInstancePlacementRequest(_a0 *ec2.ModifyInstancePlacementInput) (*request.Request, *ec2.ModifyInstancePlacementOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyIdentityIdFormatInput) *request.Request); ok { + var r1 *ec2.ModifyInstancePlacementOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) (*request.Request, *ec2.ModifyInstancePlacementOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31726,20 +42591,19 @@ func (_m *MockFakeEC2) ModifyIdentityIdFormatRequest(_a0 *ec2.ModifyIdentityIdFo } } - var r1 *ec2.ModifyIdentityIdFormatOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyIdentityIdFormatInput) *ec2.ModifyIdentityIdFormatOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyInstancePlacementInput) *ec2.ModifyInstancePlacementOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyIdentityIdFormatOutput) + r1 = ret.Get(1).(*ec2.ModifyInstancePlacementOutput) } } return r0, r1 } -// ModifyIdentityIdFormatWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyIdentityIdFormatWithContext(_a0 context.Context, _a1 *ec2.ModifyIdentityIdFormatInput, _a2 ...request.Option) (*ec2.ModifyIdentityIdFormatOutput, error) { +// ModifyInstancePlacementWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyInstancePlacementWithContext(_a0 context.Context, _a1 *ec2.ModifyInstancePlacementInput, _a2 ...request.Option) (*ec2.ModifyInstancePlacementOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31749,17 +42613,20 @@ func (_m *MockFakeEC2) ModifyIdentityIdFormatWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyIdentityIdFormatOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...request.Option) *ec2.ModifyIdentityIdFormatOutput); ok { + var r0 *ec2.ModifyInstancePlacementOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...request.Option) (*ec2.ModifyInstancePlacementOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...request.Option) *ec2.ModifyInstancePlacementOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyIdentityIdFormatOutput) + r0 = ret.Get(0).(*ec2.ModifyInstancePlacementOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31768,21 +42635,50 @@ func (_m *MockFakeEC2) ModifyIdentityIdFormatWithContext(_a0 context.Context, _a return r0, r1 } -// ModifyImageAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyImageAttribute(_a0 *ec2.ModifyImageAttributeInput) (*ec2.ModifyImageAttributeOutput, error) { +// ModifyIpam provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpam(_a0 *ec2.ModifyIpamInput) (*ec2.ModifyIpamOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyImageAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) *ec2.ModifyImageAttributeOutput); ok { + var r0 *ec2.ModifyIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamInput) (*ec2.ModifyIpamOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamInput) *ec2.ModifyIpamOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyImageAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyIpamOutput) } } + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyIpamPool provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamPool(_a0 *ec2.ModifyIpamPoolInput) (*ec2.ModifyIpamPoolOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ModifyIpamPoolOutput var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyImageAttributeInput) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamPoolInput) (*ec2.ModifyIpamPoolOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamPoolInput) *ec2.ModifyIpamPoolOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyIpamPoolOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamPoolInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31791,12 +42687,16 @@ func (_m *MockFakeEC2) ModifyImageAttribute(_a0 *ec2.ModifyImageAttributeInput) return r0, r1 } -// ModifyImageAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyImageAttributeRequest(_a0 *ec2.ModifyImageAttributeInput) (*request.Request, *ec2.ModifyImageAttributeOutput) { +// ModifyIpamPoolRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamPoolRequest(_a0 *ec2.ModifyIpamPoolInput) (*request.Request, *ec2.ModifyIpamPoolOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyImageAttributeInput) *request.Request); ok { + var r1 *ec2.ModifyIpamPoolOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamPoolInput) (*request.Request, *ec2.ModifyIpamPoolOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamPoolInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31804,20 +42704,19 @@ func (_m *MockFakeEC2) ModifyImageAttributeRequest(_a0 *ec2.ModifyImageAttribute } } - var r1 *ec2.ModifyImageAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyImageAttributeInput) *ec2.ModifyImageAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamPoolInput) *ec2.ModifyIpamPoolOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyImageAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifyIpamPoolOutput) } } return r0, r1 } -// ModifyImageAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyImageAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyImageAttributeInput, _a2 ...request.Option) (*ec2.ModifyImageAttributeOutput, error) { +// ModifyIpamPoolWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIpamPoolWithContext(_a0 context.Context, _a1 *ec2.ModifyIpamPoolInput, _a2 ...request.Option) (*ec2.ModifyIpamPoolOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31827,17 +42726,20 @@ func (_m *MockFakeEC2) ModifyImageAttributeWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyImageAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyImageAttributeInput, ...request.Option) *ec2.ModifyImageAttributeOutput); ok { + var r0 *ec2.ModifyIpamPoolOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamPoolInput, ...request.Option) (*ec2.ModifyIpamPoolOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamPoolInput, ...request.Option) *ec2.ModifyIpamPoolOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyImageAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyIpamPoolOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyImageAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIpamPoolInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31846,21 +42748,52 @@ func (_m *MockFakeEC2) ModifyImageAttributeWithContext(_a0 context.Context, _a1 return r0, r1 } -// ModifyInstanceAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceAttribute(_a0 *ec2.ModifyInstanceAttributeInput) (*ec2.ModifyInstanceAttributeOutput, error) { +// ModifyIpamRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamRequest(_a0 *ec2.ModifyIpamInput) (*request.Request, *ec2.ModifyIpamOutput) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstanceAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) *ec2.ModifyInstanceAttributeOutput); ok { + var r0 *request.Request + var r1 *ec2.ModifyIpamOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamInput) (*request.Request, *ec2.ModifyIpamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceAttributeOutput) + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamInput) *ec2.ModifyIpamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ModifyIpamOutput) } } + return r0, r1 +} + +// ModifyIpamResourceCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamResourceCidr(_a0 *ec2.ModifyIpamResourceCidrInput) (*ec2.ModifyIpamResourceCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ModifyIpamResourceCidrOutput var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceAttributeInput) error); ok { + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamResourceCidrInput) (*ec2.ModifyIpamResourceCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamResourceCidrInput) *ec2.ModifyIpamResourceCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyIpamResourceCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamResourceCidrInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31869,12 +42802,16 @@ func (_m *MockFakeEC2) ModifyInstanceAttribute(_a0 *ec2.ModifyInstanceAttributeI return r0, r1 } -// ModifyInstanceAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceAttributeRequest(_a0 *ec2.ModifyInstanceAttributeInput) (*request.Request, *ec2.ModifyInstanceAttributeOutput) { +// ModifyIpamResourceCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamResourceCidrRequest(_a0 *ec2.ModifyIpamResourceCidrInput) (*request.Request, *ec2.ModifyIpamResourceCidrOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceAttributeInput) *request.Request); ok { + var r1 *ec2.ModifyIpamResourceCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamResourceCidrInput) (*request.Request, *ec2.ModifyIpamResourceCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamResourceCidrInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31882,20 +42819,19 @@ func (_m *MockFakeEC2) ModifyInstanceAttributeRequest(_a0 *ec2.ModifyInstanceAtt } } - var r1 *ec2.ModifyInstanceAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceAttributeInput) *ec2.ModifyInstanceAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamResourceCidrInput) *ec2.ModifyIpamResourceCidrOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstanceAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifyIpamResourceCidrOutput) } } return r0, r1 } -// ModifyInstanceAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstanceAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceAttributeInput, _a2 ...request.Option) (*ec2.ModifyInstanceAttributeOutput, error) { +// ModifyIpamResourceCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIpamResourceCidrWithContext(_a0 context.Context, _a1 *ec2.ModifyIpamResourceCidrInput, _a2 ...request.Option) (*ec2.ModifyIpamResourceCidrOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31905,17 +42841,20 @@ func (_m *MockFakeEC2) ModifyInstanceAttributeWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstanceAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...request.Option) *ec2.ModifyInstanceAttributeOutput); ok { + var r0 *ec2.ModifyIpamResourceCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamResourceCidrInput, ...request.Option) (*ec2.ModifyIpamResourceCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamResourceCidrInput, ...request.Option) *ec2.ModifyIpamResourceCidrOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifyIpamResourceCidrOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIpamResourceCidrInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -31924,21 +42863,24 @@ func (_m *MockFakeEC2) ModifyInstanceAttributeWithContext(_a0 context.Context, _ return r0, r1 } -// ModifyInstanceCapacityReservationAttributes provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributes(_a0 *ec2.ModifyInstanceCapacityReservationAttributesInput) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error) { +// ModifyIpamScope provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamScope(_a0 *ec2.ModifyIpamScopeInput) (*ec2.ModifyIpamScopeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstanceCapacityReservationAttributesOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { + var r0 *ec2.ModifyIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamScopeInput) (*ec2.ModifyIpamScopeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamScopeInput) *ec2.ModifyIpamScopeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) + r0 = ret.Get(0).(*ec2.ModifyIpamScopeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamScopeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -31947,12 +42889,16 @@ func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributes(_a0 *ec2.Modi return r0, r1 } -// ModifyInstanceCapacityReservationAttributesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesRequest(_a0 *ec2.ModifyInstanceCapacityReservationAttributesInput) (*request.Request, *ec2.ModifyInstanceCapacityReservationAttributesOutput) { +// ModifyIpamScopeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyIpamScopeRequest(_a0 *ec2.ModifyIpamScopeInput) (*request.Request, *ec2.ModifyIpamScopeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *request.Request); ok { + var r1 *ec2.ModifyIpamScopeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamScopeInput) (*request.Request, *ec2.ModifyIpamScopeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyIpamScopeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -31960,20 +42906,19 @@ func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesRequest(_a0 *e } } - var r1 *ec2.ModifyInstanceCapacityReservationAttributesOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCapacityReservationAttributesInput) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyIpamScopeInput) *ec2.ModifyIpamScopeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) + r1 = ret.Get(1).(*ec2.ModifyIpamScopeOutput) } } return r0, r1 } -// ModifyInstanceCapacityReservationAttributesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceCapacityReservationAttributesInput, _a2 ...request.Option) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error) { +// ModifyIpamScopeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIpamScopeWithContext(_a0 context.Context, _a1 *ec2.ModifyIpamScopeInput, _a2 ...request.Option) (*ec2.ModifyIpamScopeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -31983,17 +42928,53 @@ func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesWithContext(_a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstanceCapacityReservationAttributesOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...request.Option) *ec2.ModifyInstanceCapacityReservationAttributesOutput); ok { + var r0 *ec2.ModifyIpamScopeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamScopeInput, ...request.Option) (*ec2.ModifyIpamScopeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamScopeInput, ...request.Option) *ec2.ModifyIpamScopeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceCapacityReservationAttributesOutput) + r0 = ret.Get(0).(*ec2.ModifyIpamScopeOutput) } } + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIpamScopeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyIpamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyIpamWithContext(_a0 context.Context, _a1 *ec2.ModifyIpamInput, _a2 ...request.Option) (*ec2.ModifyIpamOutput, error) { + _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 *ec2.ModifyIpamOutput var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamInput, ...request.Option) (*ec2.ModifyIpamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamInput, ...request.Option) *ec2.ModifyIpamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyIpamInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32002,21 +42983,24 @@ func (_m *MockFakeEC2) ModifyInstanceCapacityReservationAttributesWithContext(_a return r0, r1 } -// ModifyInstanceCreditSpecification provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceCreditSpecification(_a0 *ec2.ModifyInstanceCreditSpecificationInput) (*ec2.ModifyInstanceCreditSpecificationOutput, error) { +// ModifyLaunchTemplate provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyLaunchTemplate(_a0 *ec2.ModifyLaunchTemplateInput) (*ec2.ModifyLaunchTemplateOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstanceCreditSpecificationOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) *ec2.ModifyInstanceCreditSpecificationOutput); ok { + var r0 *ec2.ModifyLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) (*ec2.ModifyLaunchTemplateOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) *ec2.ModifyLaunchTemplateOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceCreditSpecificationOutput) + r0 = ret.Get(0).(*ec2.ModifyLaunchTemplateOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCreditSpecificationInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyLaunchTemplateInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32025,12 +43009,16 @@ func (_m *MockFakeEC2) ModifyInstanceCreditSpecification(_a0 *ec2.ModifyInstance return r0, r1 } -// ModifyInstanceCreditSpecificationRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationRequest(_a0 *ec2.ModifyInstanceCreditSpecificationInput) (*request.Request, *ec2.ModifyInstanceCreditSpecificationOutput) { +// ModifyLaunchTemplateRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyLaunchTemplateRequest(_a0 *ec2.ModifyLaunchTemplateInput) (*request.Request, *ec2.ModifyLaunchTemplateOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceCreditSpecificationInput) *request.Request); ok { + var r1 *ec2.ModifyLaunchTemplateOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) (*request.Request, *ec2.ModifyLaunchTemplateOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32038,20 +43026,19 @@ func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationRequest(_a0 *ec2.ModifyI } } - var r1 *ec2.ModifyInstanceCreditSpecificationOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceCreditSpecificationInput) *ec2.ModifyInstanceCreditSpecificationOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyLaunchTemplateInput) *ec2.ModifyLaunchTemplateOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstanceCreditSpecificationOutput) + r1 = ret.Get(1).(*ec2.ModifyLaunchTemplateOutput) } } return r0, r1 } -// ModifyInstanceCreditSpecificationWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceCreditSpecificationInput, _a2 ...request.Option) (*ec2.ModifyInstanceCreditSpecificationOutput, error) { +// ModifyLaunchTemplateWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyLaunchTemplateWithContext(_a0 context.Context, _a1 *ec2.ModifyLaunchTemplateInput, _a2 ...request.Option) (*ec2.ModifyLaunchTemplateOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32061,17 +43048,20 @@ func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstanceCreditSpecificationOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...request.Option) *ec2.ModifyInstanceCreditSpecificationOutput); ok { + var r0 *ec2.ModifyLaunchTemplateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) (*ec2.ModifyLaunchTemplateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) *ec2.ModifyLaunchTemplateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceCreditSpecificationOutput) + r0 = ret.Get(0).(*ec2.ModifyLaunchTemplateOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32080,21 +43070,24 @@ func (_m *MockFakeEC2) ModifyInstanceCreditSpecificationWithContext(_a0 context. return r0, r1 } -// ModifyInstanceEventStartTime provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceEventStartTime(_a0 *ec2.ModifyInstanceEventStartTimeInput) (*ec2.ModifyInstanceEventStartTimeOutput, error) { +// ModifyLocalGatewayRoute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyLocalGatewayRoute(_a0 *ec2.ModifyLocalGatewayRouteInput) (*ec2.ModifyLocalGatewayRouteOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstanceEventStartTimeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) *ec2.ModifyInstanceEventStartTimeOutput); ok { + var r0 *ec2.ModifyLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyLocalGatewayRouteInput) (*ec2.ModifyLocalGatewayRouteOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyLocalGatewayRouteInput) *ec2.ModifyLocalGatewayRouteOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceEventStartTimeOutput) + r0 = ret.Get(0).(*ec2.ModifyLocalGatewayRouteOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventStartTimeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyLocalGatewayRouteInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32103,12 +43096,16 @@ func (_m *MockFakeEC2) ModifyInstanceEventStartTime(_a0 *ec2.ModifyInstanceEvent return r0, r1 } -// ModifyInstanceEventStartTimeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceEventStartTimeRequest(_a0 *ec2.ModifyInstanceEventStartTimeInput) (*request.Request, *ec2.ModifyInstanceEventStartTimeOutput) { +// ModifyLocalGatewayRouteRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyLocalGatewayRouteRequest(_a0 *ec2.ModifyLocalGatewayRouteInput) (*request.Request, *ec2.ModifyLocalGatewayRouteOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceEventStartTimeInput) *request.Request); ok { + var r1 *ec2.ModifyLocalGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyLocalGatewayRouteInput) (*request.Request, *ec2.ModifyLocalGatewayRouteOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyLocalGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32116,20 +43113,19 @@ func (_m *MockFakeEC2) ModifyInstanceEventStartTimeRequest(_a0 *ec2.ModifyInstan } } - var r1 *ec2.ModifyInstanceEventStartTimeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceEventStartTimeInput) *ec2.ModifyInstanceEventStartTimeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyLocalGatewayRouteInput) *ec2.ModifyLocalGatewayRouteOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstanceEventStartTimeOutput) + r1 = ret.Get(1).(*ec2.ModifyLocalGatewayRouteOutput) } } return r0, r1 } -// ModifyInstanceEventStartTimeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstanceEventStartTimeWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceEventStartTimeInput, _a2 ...request.Option) (*ec2.ModifyInstanceEventStartTimeOutput, error) { +// ModifyLocalGatewayRouteWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyLocalGatewayRouteWithContext(_a0 context.Context, _a1 *ec2.ModifyLocalGatewayRouteInput, _a2 ...request.Option) (*ec2.ModifyLocalGatewayRouteOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32139,17 +43135,20 @@ func (_m *MockFakeEC2) ModifyInstanceEventStartTimeWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstanceEventStartTimeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...request.Option) *ec2.ModifyInstanceEventStartTimeOutput); ok { + var r0 *ec2.ModifyLocalGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLocalGatewayRouteInput, ...request.Option) (*ec2.ModifyLocalGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLocalGatewayRouteInput, ...request.Option) *ec2.ModifyLocalGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceEventStartTimeOutput) + r0 = ret.Get(0).(*ec2.ModifyLocalGatewayRouteOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyLocalGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32158,21 +43157,24 @@ func (_m *MockFakeEC2) ModifyInstanceEventStartTimeWithContext(_a0 context.Conte return r0, r1 } -// ModifyInstanceMetadataOptions provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceMetadataOptions(_a0 *ec2.ModifyInstanceMetadataOptionsInput) (*ec2.ModifyInstanceMetadataOptionsOutput, error) { +// ModifyManagedPrefixList provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyManagedPrefixList(_a0 *ec2.ModifyManagedPrefixListInput) (*ec2.ModifyManagedPrefixListOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstanceMetadataOptionsOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) *ec2.ModifyInstanceMetadataOptionsOutput); ok { + var r0 *ec2.ModifyManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) (*ec2.ModifyManagedPrefixListOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) *ec2.ModifyManagedPrefixListOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceMetadataOptionsOutput) + r0 = ret.Get(0).(*ec2.ModifyManagedPrefixListOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMetadataOptionsInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyManagedPrefixListInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32181,12 +43183,16 @@ func (_m *MockFakeEC2) ModifyInstanceMetadataOptions(_a0 *ec2.ModifyInstanceMeta return r0, r1 } -// ModifyInstanceMetadataOptionsRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsRequest(_a0 *ec2.ModifyInstanceMetadataOptionsInput) (*request.Request, *ec2.ModifyInstanceMetadataOptionsOutput) { +// ModifyManagedPrefixListRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyManagedPrefixListRequest(_a0 *ec2.ModifyManagedPrefixListInput) (*request.Request, *ec2.ModifyManagedPrefixListOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstanceMetadataOptionsInput) *request.Request); ok { + var r1 *ec2.ModifyManagedPrefixListOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) (*request.Request, *ec2.ModifyManagedPrefixListOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32194,20 +43200,19 @@ func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsRequest(_a0 *ec2.ModifyInsta } } - var r1 *ec2.ModifyInstanceMetadataOptionsOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstanceMetadataOptionsInput) *ec2.ModifyInstanceMetadataOptionsOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyManagedPrefixListInput) *ec2.ModifyManagedPrefixListOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstanceMetadataOptionsOutput) + r1 = ret.Get(1).(*ec2.ModifyManagedPrefixListOutput) } } return r0, r1 } -// ModifyInstanceMetadataOptionsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsWithContext(_a0 context.Context, _a1 *ec2.ModifyInstanceMetadataOptionsInput, _a2 ...request.Option) (*ec2.ModifyInstanceMetadataOptionsOutput, error) { +// ModifyManagedPrefixListWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyManagedPrefixListWithContext(_a0 context.Context, _a1 *ec2.ModifyManagedPrefixListInput, _a2 ...request.Option) (*ec2.ModifyManagedPrefixListOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32217,17 +43222,20 @@ func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstanceMetadataOptionsOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) *ec2.ModifyInstanceMetadataOptionsOutput); ok { + var r0 *ec2.ModifyManagedPrefixListOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) (*ec2.ModifyManagedPrefixListOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) *ec2.ModifyManagedPrefixListOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstanceMetadataOptionsOutput) + r0 = ret.Get(0).(*ec2.ModifyManagedPrefixListOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32236,21 +43244,24 @@ func (_m *MockFakeEC2) ModifyInstanceMetadataOptionsWithContext(_a0 context.Cont return r0, r1 } -// ModifyInstancePlacement provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstancePlacement(_a0 *ec2.ModifyInstancePlacementInput) (*ec2.ModifyInstancePlacementOutput, error) { +// ModifyNetworkInterfaceAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyNetworkInterfaceAttribute(_a0 *ec2.ModifyNetworkInterfaceAttributeInput) (*ec2.ModifyNetworkInterfaceAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyInstancePlacementOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) *ec2.ModifyInstancePlacementOutput); ok { + var r0 *ec2.ModifyNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstancePlacementOutput) + r0 = ret.Get(0).(*ec2.ModifyNetworkInterfaceAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstancePlacementInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyNetworkInterfaceAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32259,12 +43270,16 @@ func (_m *MockFakeEC2) ModifyInstancePlacement(_a0 *ec2.ModifyInstancePlacementI return r0, r1 } -// ModifyInstancePlacementRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyInstancePlacementRequest(_a0 *ec2.ModifyInstancePlacementInput) (*request.Request, *ec2.ModifyInstancePlacementOutput) { +// ModifyNetworkInterfaceAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeRequest(_a0 *ec2.ModifyNetworkInterfaceAttributeInput) (*request.Request, *ec2.ModifyNetworkInterfaceAttributeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyInstancePlacementInput) *request.Request); ok { + var r1 *ec2.ModifyNetworkInterfaceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) (*request.Request, *ec2.ModifyNetworkInterfaceAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32272,20 +43287,19 @@ func (_m *MockFakeEC2) ModifyInstancePlacementRequest(_a0 *ec2.ModifyInstancePla } } - var r1 *ec2.ModifyInstancePlacementOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyInstancePlacementInput) *ec2.ModifyInstancePlacementOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyInstancePlacementOutput) + r1 = ret.Get(1).(*ec2.ModifyNetworkInterfaceAttributeOutput) } } return r0, r1 } -// ModifyInstancePlacementWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyInstancePlacementWithContext(_a0 context.Context, _a1 *ec2.ModifyInstancePlacementInput, _a2 ...request.Option) (*ec2.ModifyInstancePlacementOutput, error) { +// ModifyNetworkInterfaceAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyNetworkInterfaceAttributeInput, _a2 ...request.Option) (*ec2.ModifyNetworkInterfaceAttributeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32295,17 +43309,20 @@ func (_m *MockFakeEC2) ModifyInstancePlacementWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyInstancePlacementOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...request.Option) *ec2.ModifyInstancePlacementOutput); ok { + var r0 *ec2.ModifyNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...request.Option) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...request.Option) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyInstancePlacementOutput) + r0 = ret.Get(0).(*ec2.ModifyNetworkInterfaceAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32314,21 +43331,24 @@ func (_m *MockFakeEC2) ModifyInstancePlacementWithContext(_a0 context.Context, _ return r0, r1 } -// ModifyLaunchTemplate provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyLaunchTemplate(_a0 *ec2.ModifyLaunchTemplateInput) (*ec2.ModifyLaunchTemplateOutput, error) { +// ModifyPrivateDnsNameOptions provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyPrivateDnsNameOptions(_a0 *ec2.ModifyPrivateDnsNameOptionsInput) (*ec2.ModifyPrivateDnsNameOptionsOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyLaunchTemplateOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) *ec2.ModifyLaunchTemplateOutput); ok { + var r0 *ec2.ModifyPrivateDnsNameOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyPrivateDnsNameOptionsInput) (*ec2.ModifyPrivateDnsNameOptionsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyPrivateDnsNameOptionsInput) *ec2.ModifyPrivateDnsNameOptionsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyLaunchTemplateOutput) + r0 = ret.Get(0).(*ec2.ModifyPrivateDnsNameOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyLaunchTemplateInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyPrivateDnsNameOptionsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32337,12 +43357,16 @@ func (_m *MockFakeEC2) ModifyLaunchTemplate(_a0 *ec2.ModifyLaunchTemplateInput) return r0, r1 } -// ModifyLaunchTemplateRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyLaunchTemplateRequest(_a0 *ec2.ModifyLaunchTemplateInput) (*request.Request, *ec2.ModifyLaunchTemplateOutput) { +// ModifyPrivateDnsNameOptionsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyPrivateDnsNameOptionsRequest(_a0 *ec2.ModifyPrivateDnsNameOptionsInput) (*request.Request, *ec2.ModifyPrivateDnsNameOptionsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyLaunchTemplateInput) *request.Request); ok { + var r1 *ec2.ModifyPrivateDnsNameOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyPrivateDnsNameOptionsInput) (*request.Request, *ec2.ModifyPrivateDnsNameOptionsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyPrivateDnsNameOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32350,20 +43374,19 @@ func (_m *MockFakeEC2) ModifyLaunchTemplateRequest(_a0 *ec2.ModifyLaunchTemplate } } - var r1 *ec2.ModifyLaunchTemplateOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyLaunchTemplateInput) *ec2.ModifyLaunchTemplateOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyPrivateDnsNameOptionsInput) *ec2.ModifyPrivateDnsNameOptionsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyLaunchTemplateOutput) + r1 = ret.Get(1).(*ec2.ModifyPrivateDnsNameOptionsOutput) } } return r0, r1 } -// ModifyLaunchTemplateWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyLaunchTemplateWithContext(_a0 context.Context, _a1 *ec2.ModifyLaunchTemplateInput, _a2 ...request.Option) (*ec2.ModifyLaunchTemplateOutput, error) { +// ModifyPrivateDnsNameOptionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyPrivateDnsNameOptionsWithContext(_a0 context.Context, _a1 *ec2.ModifyPrivateDnsNameOptionsInput, _a2 ...request.Option) (*ec2.ModifyPrivateDnsNameOptionsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32373,17 +43396,20 @@ func (_m *MockFakeEC2) ModifyLaunchTemplateWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyLaunchTemplateOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) *ec2.ModifyLaunchTemplateOutput); ok { + var r0 *ec2.ModifyPrivateDnsNameOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyPrivateDnsNameOptionsInput, ...request.Option) (*ec2.ModifyPrivateDnsNameOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyPrivateDnsNameOptionsInput, ...request.Option) *ec2.ModifyPrivateDnsNameOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyLaunchTemplateOutput) + r0 = ret.Get(0).(*ec2.ModifyPrivateDnsNameOptionsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyPrivateDnsNameOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32392,21 +43418,24 @@ func (_m *MockFakeEC2) ModifyLaunchTemplateWithContext(_a0 context.Context, _a1 return r0, r1 } -// ModifyManagedPrefixList provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyManagedPrefixList(_a0 *ec2.ModifyManagedPrefixListInput) (*ec2.ModifyManagedPrefixListOutput, error) { +// ModifyReservedInstances provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyReservedInstances(_a0 *ec2.ModifyReservedInstancesInput) (*ec2.ModifyReservedInstancesOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyManagedPrefixListOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) *ec2.ModifyManagedPrefixListOutput); ok { + var r0 *ec2.ModifyReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) (*ec2.ModifyReservedInstancesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) *ec2.ModifyReservedInstancesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyManagedPrefixListOutput) + r0 = ret.Get(0).(*ec2.ModifyReservedInstancesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyManagedPrefixListInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyReservedInstancesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32415,12 +43444,16 @@ func (_m *MockFakeEC2) ModifyManagedPrefixList(_a0 *ec2.ModifyManagedPrefixListI return r0, r1 } -// ModifyManagedPrefixListRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyManagedPrefixListRequest(_a0 *ec2.ModifyManagedPrefixListInput) (*request.Request, *ec2.ModifyManagedPrefixListOutput) { +// ModifyReservedInstancesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyReservedInstancesRequest(_a0 *ec2.ModifyReservedInstancesInput) (*request.Request, *ec2.ModifyReservedInstancesOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyManagedPrefixListInput) *request.Request); ok { + var r1 *ec2.ModifyReservedInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) (*request.Request, *ec2.ModifyReservedInstancesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32428,20 +43461,19 @@ func (_m *MockFakeEC2) ModifyManagedPrefixListRequest(_a0 *ec2.ModifyManagedPref } } - var r1 *ec2.ModifyManagedPrefixListOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyManagedPrefixListInput) *ec2.ModifyManagedPrefixListOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifyReservedInstancesInput) *ec2.ModifyReservedInstancesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyManagedPrefixListOutput) + r1 = ret.Get(1).(*ec2.ModifyReservedInstancesOutput) } } return r0, r1 } -// ModifyManagedPrefixListWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyManagedPrefixListWithContext(_a0 context.Context, _a1 *ec2.ModifyManagedPrefixListInput, _a2 ...request.Option) (*ec2.ModifyManagedPrefixListOutput, error) { +// ModifyReservedInstancesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyReservedInstancesWithContext(_a0 context.Context, _a1 *ec2.ModifyReservedInstancesInput, _a2 ...request.Option) (*ec2.ModifyReservedInstancesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32451,17 +43483,20 @@ func (_m *MockFakeEC2) ModifyManagedPrefixListWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyManagedPrefixListOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) *ec2.ModifyManagedPrefixListOutput); ok { + var r0 *ec2.ModifyReservedInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...request.Option) (*ec2.ModifyReservedInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...request.Option) *ec2.ModifyReservedInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyManagedPrefixListOutput) + r0 = ret.Get(0).(*ec2.ModifyReservedInstancesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32470,21 +43505,24 @@ func (_m *MockFakeEC2) ModifyManagedPrefixListWithContext(_a0 context.Context, _ return r0, r1 } -// ModifyNetworkInterfaceAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyNetworkInterfaceAttribute(_a0 *ec2.ModifyNetworkInterfaceAttributeInput) (*ec2.ModifyNetworkInterfaceAttributeOutput, error) { +// ModifySecurityGroupRules provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySecurityGroupRules(_a0 *ec2.ModifySecurityGroupRulesInput) (*ec2.ModifySecurityGroupRulesOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyNetworkInterfaceAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { + var r0 *ec2.ModifySecurityGroupRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifySecurityGroupRulesInput) (*ec2.ModifySecurityGroupRulesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySecurityGroupRulesInput) *ec2.ModifySecurityGroupRulesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyNetworkInterfaceAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifySecurityGroupRulesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyNetworkInterfaceAttributeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySecurityGroupRulesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32493,12 +43531,16 @@ func (_m *MockFakeEC2) ModifyNetworkInterfaceAttribute(_a0 *ec2.ModifyNetworkInt return r0, r1 } -// ModifyNetworkInterfaceAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeRequest(_a0 *ec2.ModifyNetworkInterfaceAttributeInput) (*request.Request, *ec2.ModifyNetworkInterfaceAttributeOutput) { +// ModifySecurityGroupRulesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySecurityGroupRulesRequest(_a0 *ec2.ModifySecurityGroupRulesInput) (*request.Request, *ec2.ModifySecurityGroupRulesOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *request.Request); ok { + var r1 *ec2.ModifySecurityGroupRulesOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifySecurityGroupRulesInput) (*request.Request, *ec2.ModifySecurityGroupRulesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySecurityGroupRulesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32506,20 +43548,19 @@ func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeRequest(_a0 *ec2.ModifyNet } } - var r1 *ec2.ModifyNetworkInterfaceAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyNetworkInterfaceAttributeInput) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySecurityGroupRulesInput) *ec2.ModifySecurityGroupRulesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyNetworkInterfaceAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifySecurityGroupRulesOutput) } } return r0, r1 } -// ModifyNetworkInterfaceAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifyNetworkInterfaceAttributeInput, _a2 ...request.Option) (*ec2.ModifyNetworkInterfaceAttributeOutput, error) { +// ModifySecurityGroupRulesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifySecurityGroupRulesWithContext(_a0 context.Context, _a1 *ec2.ModifySecurityGroupRulesInput, _a2 ...request.Option) (*ec2.ModifySecurityGroupRulesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32529,17 +43570,20 @@ func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyNetworkInterfaceAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...request.Option) *ec2.ModifyNetworkInterfaceAttributeOutput); ok { + var r0 *ec2.ModifySecurityGroupRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySecurityGroupRulesInput, ...request.Option) (*ec2.ModifySecurityGroupRulesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySecurityGroupRulesInput, ...request.Option) *ec2.ModifySecurityGroupRulesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyNetworkInterfaceAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifySecurityGroupRulesOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySecurityGroupRulesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32548,21 +43592,24 @@ func (_m *MockFakeEC2) ModifyNetworkInterfaceAttributeWithContext(_a0 context.Co return r0, r1 } -// ModifyReservedInstances provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyReservedInstances(_a0 *ec2.ModifyReservedInstancesInput) (*ec2.ModifyReservedInstancesOutput, error) { +// ModifySnapshotAttribute provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySnapshotAttribute(_a0 *ec2.ModifySnapshotAttributeInput) (*ec2.ModifySnapshotAttributeOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifyReservedInstancesOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) *ec2.ModifyReservedInstancesOutput); ok { + var r0 *ec2.ModifySnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) (*ec2.ModifySnapshotAttributeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) *ec2.ModifySnapshotAttributeOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyReservedInstancesOutput) + r0 = ret.Get(0).(*ec2.ModifySnapshotAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifyReservedInstancesInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotAttributeInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32571,12 +43618,16 @@ func (_m *MockFakeEC2) ModifyReservedInstances(_a0 *ec2.ModifyReservedInstancesI return r0, r1 } -// ModifyReservedInstancesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifyReservedInstancesRequest(_a0 *ec2.ModifyReservedInstancesInput) (*request.Request, *ec2.ModifyReservedInstancesOutput) { +// ModifySnapshotAttributeRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySnapshotAttributeRequest(_a0 *ec2.ModifySnapshotAttributeInput) (*request.Request, *ec2.ModifySnapshotAttributeOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifyReservedInstancesInput) *request.Request); ok { + var r1 *ec2.ModifySnapshotAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) (*request.Request, *ec2.ModifySnapshotAttributeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32584,20 +43635,19 @@ func (_m *MockFakeEC2) ModifyReservedInstancesRequest(_a0 *ec2.ModifyReservedIns } } - var r1 *ec2.ModifyReservedInstancesOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifyReservedInstancesInput) *ec2.ModifyReservedInstancesOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotAttributeInput) *ec2.ModifySnapshotAttributeOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifyReservedInstancesOutput) + r1 = ret.Get(1).(*ec2.ModifySnapshotAttributeOutput) } } return r0, r1 } -// ModifyReservedInstancesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifyReservedInstancesWithContext(_a0 context.Context, _a1 *ec2.ModifyReservedInstancesInput, _a2 ...request.Option) (*ec2.ModifyReservedInstancesOutput, error) { +// ModifySnapshotAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifySnapshotAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifySnapshotAttributeInput, _a2 ...request.Option) (*ec2.ModifySnapshotAttributeOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32607,17 +43657,20 @@ func (_m *MockFakeEC2) ModifyReservedInstancesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifyReservedInstancesOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...request.Option) *ec2.ModifyReservedInstancesOutput); ok { + var r0 *ec2.ModifySnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...request.Option) (*ec2.ModifySnapshotAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...request.Option) *ec2.ModifySnapshotAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifyReservedInstancesOutput) + r0 = ret.Get(0).(*ec2.ModifySnapshotAttributeOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32626,21 +43679,24 @@ func (_m *MockFakeEC2) ModifyReservedInstancesWithContext(_a0 context.Context, _ return r0, r1 } -// ModifySnapshotAttribute provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifySnapshotAttribute(_a0 *ec2.ModifySnapshotAttributeInput) (*ec2.ModifySnapshotAttributeOutput, error) { +// ModifySnapshotTier provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySnapshotTier(_a0 *ec2.ModifySnapshotTierInput) (*ec2.ModifySnapshotTierOutput, error) { ret := _m.Called(_a0) - var r0 *ec2.ModifySnapshotAttributeOutput - if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) *ec2.ModifySnapshotAttributeOutput); ok { + var r0 *ec2.ModifySnapshotTierOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotTierInput) (*ec2.ModifySnapshotTierOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotTierInput) *ec2.ModifySnapshotTierOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifySnapshotAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifySnapshotTierOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotAttributeInput) error); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotTierInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -32649,12 +43705,16 @@ func (_m *MockFakeEC2) ModifySnapshotAttribute(_a0 *ec2.ModifySnapshotAttributeI return r0, r1 } -// ModifySnapshotAttributeRequest provides a mock function with given fields: _a0 -func (_m *MockFakeEC2) ModifySnapshotAttributeRequest(_a0 *ec2.ModifySnapshotAttributeInput) (*request.Request, *ec2.ModifySnapshotAttributeOutput) { +// ModifySnapshotTierRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifySnapshotTierRequest(_a0 *ec2.ModifySnapshotTierInput) (*request.Request, *ec2.ModifySnapshotTierOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotAttributeInput) *request.Request); ok { + var r1 *ec2.ModifySnapshotTierOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotTierInput) (*request.Request, *ec2.ModifySnapshotTierOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifySnapshotTierInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -32662,20 +43722,19 @@ func (_m *MockFakeEC2) ModifySnapshotAttributeRequest(_a0 *ec2.ModifySnapshotAtt } } - var r1 *ec2.ModifySnapshotAttributeOutput - if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotAttributeInput) *ec2.ModifySnapshotAttributeOutput); ok { + if rf, ok := ret.Get(1).(func(*ec2.ModifySnapshotTierInput) *ec2.ModifySnapshotTierOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ec2.ModifySnapshotAttributeOutput) + r1 = ret.Get(1).(*ec2.ModifySnapshotTierOutput) } } return r0, r1 } -// ModifySnapshotAttributeWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeEC2) ModifySnapshotAttributeWithContext(_a0 context.Context, _a1 *ec2.ModifySnapshotAttributeInput, _a2 ...request.Option) (*ec2.ModifySnapshotAttributeOutput, error) { +// ModifySnapshotTierWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifySnapshotTierWithContext(_a0 context.Context, _a1 *ec2.ModifySnapshotTierInput, _a2 ...request.Option) (*ec2.ModifySnapshotTierOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -32685,17 +43744,20 @@ func (_m *MockFakeEC2) ModifySnapshotAttributeWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ec2.ModifySnapshotAttributeOutput - if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...request.Option) *ec2.ModifySnapshotAttributeOutput); ok { + var r0 *ec2.ModifySnapshotTierOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotTierInput, ...request.Option) (*ec2.ModifySnapshotTierOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotTierInput, ...request.Option) *ec2.ModifySnapshotTierOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ec2.ModifySnapshotAttributeOutput) + r0 = ret.Get(0).(*ec2.ModifySnapshotTierOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySnapshotTierInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -32709,6 +43771,10 @@ func (_m *MockFakeEC2) ModifySpotFleetRequest(_a0 *ec2.ModifySpotFleetRequestInp ret := _m.Called(_a0) var r0 *ec2.ModifySpotFleetRequestOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifySpotFleetRequestInput) (*ec2.ModifySpotFleetRequestOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifySpotFleetRequestInput) *ec2.ModifySpotFleetRequestOutput); ok { r0 = rf(_a0) } else { @@ -32717,7 +43783,6 @@ func (_m *MockFakeEC2) ModifySpotFleetRequest(_a0 *ec2.ModifySpotFleetRequestInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifySpotFleetRequestInput) error); ok { r1 = rf(_a0) } else { @@ -32732,6 +43797,10 @@ func (_m *MockFakeEC2) ModifySpotFleetRequestRequest(_a0 *ec2.ModifySpotFleetReq ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifySpotFleetRequestOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifySpotFleetRequestInput) (*request.Request, *ec2.ModifySpotFleetRequestOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifySpotFleetRequestInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -32740,7 +43809,6 @@ func (_m *MockFakeEC2) ModifySpotFleetRequestRequest(_a0 *ec2.ModifySpotFleetReq } } - var r1 *ec2.ModifySpotFleetRequestOutput if rf, ok := ret.Get(1).(func(*ec2.ModifySpotFleetRequestInput) *ec2.ModifySpotFleetRequestOutput); ok { r1 = rf(_a0) } else { @@ -32764,6 +43832,10 @@ func (_m *MockFakeEC2) ModifySpotFleetRequestWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ModifySpotFleetRequestOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySpotFleetRequestInput, ...request.Option) (*ec2.ModifySpotFleetRequestOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySpotFleetRequestInput, ...request.Option) *ec2.ModifySpotFleetRequestOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -32772,7 +43844,6 @@ func (_m *MockFakeEC2) ModifySpotFleetRequestWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySpotFleetRequestInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -32787,6 +43858,10 @@ func (_m *MockFakeEC2) ModifySubnetAttribute(_a0 *ec2.ModifySubnetAttributeInput ret := _m.Called(_a0) var r0 *ec2.ModifySubnetAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifySubnetAttributeInput) (*ec2.ModifySubnetAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifySubnetAttributeInput) *ec2.ModifySubnetAttributeOutput); ok { r0 = rf(_a0) } else { @@ -32795,7 +43870,6 @@ func (_m *MockFakeEC2) ModifySubnetAttribute(_a0 *ec2.ModifySubnetAttributeInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifySubnetAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -32810,6 +43884,10 @@ func (_m *MockFakeEC2) ModifySubnetAttributeRequest(_a0 *ec2.ModifySubnetAttribu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifySubnetAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifySubnetAttributeInput) (*request.Request, *ec2.ModifySubnetAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifySubnetAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -32818,7 +43896,6 @@ func (_m *MockFakeEC2) ModifySubnetAttributeRequest(_a0 *ec2.ModifySubnetAttribu } } - var r1 *ec2.ModifySubnetAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ModifySubnetAttributeInput) *ec2.ModifySubnetAttributeOutput); ok { r1 = rf(_a0) } else { @@ -32842,6 +43919,10 @@ func (_m *MockFakeEC2) ModifySubnetAttributeWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.ModifySubnetAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySubnetAttributeInput, ...request.Option) (*ec2.ModifySubnetAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySubnetAttributeInput, ...request.Option) *ec2.ModifySubnetAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -32850,7 +43931,6 @@ func (_m *MockFakeEC2) ModifySubnetAttributeWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifySubnetAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -32865,6 +43945,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServices(_a0 *ec2.ModifyT ret := _m.Called(_a0) var r0 *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) (*ec2.ModifyTrafficMirrorFilterNetworkServicesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput); ok { r0 = rf(_a0) } else { @@ -32873,7 +43957,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServices(_a0 *ec2.ModifyT } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) error); ok { r1 = rf(_a0) } else { @@ -32888,6 +43971,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServicesRequest(_a0 *ec2. ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) (*request.Request, *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -32896,7 +43983,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServicesRequest(_a0 *ec2. } } - var r1 *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorFilterNetworkServicesInput) *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput); ok { r1 = rf(_a0) } else { @@ -32920,6 +44006,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServicesWithContext(_a0 c ret := _m.Called(_ca...) var r0 *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterNetworkServicesInput, ...request.Option) (*ec2.ModifyTrafficMirrorFilterNetworkServicesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterNetworkServicesInput, ...request.Option) *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -32928,7 +44018,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterNetworkServicesWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTrafficMirrorFilterNetworkServicesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -32943,6 +44032,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRule(_a0 *ec2.ModifyTrafficMirro ret := _m.Called(_a0) var r0 *ec2.ModifyTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) (*ec2.ModifyTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) *ec2.ModifyTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0) } else { @@ -32951,7 +44044,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRule(_a0 *ec2.ModifyTrafficMirro } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) error); ok { r1 = rf(_a0) } else { @@ -32966,6 +44058,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRuleRequest(_a0 *ec2.ModifyTraff ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTrafficMirrorFilterRuleOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) (*request.Request, *ec2.ModifyTrafficMirrorFilterRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -32974,7 +44070,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRuleRequest(_a0 *ec2.ModifyTraff } } - var r1 *ec2.ModifyTrafficMirrorFilterRuleOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorFilterRuleInput) *ec2.ModifyTrafficMirrorFilterRuleOutput); ok { r1 = rf(_a0) } else { @@ -32998,6 +44093,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRuleWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.ModifyTrafficMirrorFilterRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterRuleInput, ...request.Option) (*ec2.ModifyTrafficMirrorFilterRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterRuleInput, ...request.Option) *ec2.ModifyTrafficMirrorFilterRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33006,7 +44105,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorFilterRuleWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTrafficMirrorFilterRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33021,6 +44119,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSession(_a0 *ec2.ModifyTrafficMirrorSe ret := _m.Called(_a0) var r0 *ec2.ModifyTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorSessionInput) (*ec2.ModifyTrafficMirrorSessionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorSessionInput) *ec2.ModifyTrafficMirrorSessionOutput); ok { r0 = rf(_a0) } else { @@ -33029,7 +44131,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSession(_a0 *ec2.ModifyTrafficMirrorSe } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorSessionInput) error); ok { r1 = rf(_a0) } else { @@ -33044,6 +44145,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSessionRequest(_a0 *ec2.ModifyTrafficM ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTrafficMirrorSessionOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorSessionInput) (*request.Request, *ec2.ModifyTrafficMirrorSessionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTrafficMirrorSessionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33052,7 +44157,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSessionRequest(_a0 *ec2.ModifyTrafficM } } - var r1 *ec2.ModifyTrafficMirrorSessionOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTrafficMirrorSessionInput) *ec2.ModifyTrafficMirrorSessionOutput); ok { r1 = rf(_a0) } else { @@ -33076,6 +44180,10 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSessionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.ModifyTrafficMirrorSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorSessionInput, ...request.Option) (*ec2.ModifyTrafficMirrorSessionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorSessionInput, ...request.Option) *ec2.ModifyTrafficMirrorSessionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33084,7 +44192,6 @@ func (_m *MockFakeEC2) ModifyTrafficMirrorSessionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTrafficMirrorSessionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33099,6 +44206,10 @@ func (_m *MockFakeEC2) ModifyTransitGateway(_a0 *ec2.ModifyTransitGatewayInput) ret := _m.Called(_a0) var r0 *ec2.ModifyTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayInput) (*ec2.ModifyTransitGatewayOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayInput) *ec2.ModifyTransitGatewayOutput); ok { r0 = rf(_a0) } else { @@ -33107,7 +44218,6 @@ func (_m *MockFakeEC2) ModifyTransitGateway(_a0 *ec2.ModifyTransitGatewayInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayInput) error); ok { r1 = rf(_a0) } else { @@ -33122,6 +44232,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReference(_a0 *ec2.ModifyTr ret := _m.Called(_a0) var r0 *ec2.ModifyTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) (*ec2.ModifyTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) *ec2.ModifyTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0) } else { @@ -33130,7 +44244,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReference(_a0 *ec2.ModifyTr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) error); ok { r1 = rf(_a0) } else { @@ -33145,6 +44258,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReferenceRequest(_a0 *ec2.M ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTransitGatewayPrefixListReferenceOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) (*request.Request, *ec2.ModifyTransitGatewayPrefixListReferenceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33153,7 +44270,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReferenceRequest(_a0 *ec2.M } } - var r1 *ec2.ModifyTransitGatewayPrefixListReferenceOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayPrefixListReferenceInput) *ec2.ModifyTransitGatewayPrefixListReferenceOutput); ok { r1 = rf(_a0) } else { @@ -33177,6 +44293,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReferenceWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.ModifyTransitGatewayPrefixListReferenceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayPrefixListReferenceInput, ...request.Option) (*ec2.ModifyTransitGatewayPrefixListReferenceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayPrefixListReferenceInput, ...request.Option) *ec2.ModifyTransitGatewayPrefixListReferenceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33185,7 +44305,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayPrefixListReferenceWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTransitGatewayPrefixListReferenceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33200,6 +44319,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayRequest(_a0 *ec2.ModifyTransitGateway ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTransitGatewayOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayInput) (*request.Request, *ec2.ModifyTransitGatewayOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33208,7 +44331,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayRequest(_a0 *ec2.ModifyTransitGateway } } - var r1 *ec2.ModifyTransitGatewayOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayInput) *ec2.ModifyTransitGatewayOutput); ok { r1 = rf(_a0) } else { @@ -33225,6 +44347,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachment(_a0 *ec2.ModifyTransitG ret := _m.Called(_a0) var r0 *ec2.ModifyTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) (*ec2.ModifyTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) *ec2.ModifyTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -33233,7 +44359,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachment(_a0 *ec2.ModifyTransitG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -33248,6 +44373,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachmentRequest(_a0 *ec2.ModifyT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyTransitGatewayVpcAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.ModifyTransitGatewayVpcAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33256,7 +44385,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachmentRequest(_a0 *ec2.ModifyT } } - var r1 *ec2.ModifyTransitGatewayVpcAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyTransitGatewayVpcAttachmentInput) *ec2.ModifyTransitGatewayVpcAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -33280,6 +44408,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachmentWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.ModifyTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.ModifyTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayVpcAttachmentInput, ...request.Option) *ec2.ModifyTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33288,7 +44420,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayVpcAttachmentWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTransitGatewayVpcAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33310,6 +44441,10 @@ func (_m *MockFakeEC2) ModifyTransitGatewayWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.ModifyTransitGatewayOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayInput, ...request.Option) (*ec2.ModifyTransitGatewayOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayInput, ...request.Option) *ec2.ModifyTransitGatewayOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33318,7 +44453,6 @@ func (_m *MockFakeEC2) ModifyTransitGatewayWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyTransitGatewayInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33333,6 +44467,10 @@ func (_m *MockFakeEC2) ModifyVolume(_a0 *ec2.ModifyVolumeInput) (*ec2.ModifyVolu ret := _m.Called(_a0) var r0 *ec2.ModifyVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeInput) (*ec2.ModifyVolumeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeInput) *ec2.ModifyVolumeOutput); ok { r0 = rf(_a0) } else { @@ -33341,7 +44479,6 @@ func (_m *MockFakeEC2) ModifyVolume(_a0 *ec2.ModifyVolumeInput) (*ec2.ModifyVolu } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVolumeInput) error); ok { r1 = rf(_a0) } else { @@ -33356,6 +44493,10 @@ func (_m *MockFakeEC2) ModifyVolumeAttribute(_a0 *ec2.ModifyVolumeAttributeInput ret := _m.Called(_a0) var r0 *ec2.ModifyVolumeAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeAttributeInput) (*ec2.ModifyVolumeAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeAttributeInput) *ec2.ModifyVolumeAttributeOutput); ok { r0 = rf(_a0) } else { @@ -33364,7 +44505,6 @@ func (_m *MockFakeEC2) ModifyVolumeAttribute(_a0 *ec2.ModifyVolumeAttributeInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVolumeAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -33379,6 +44519,10 @@ func (_m *MockFakeEC2) ModifyVolumeAttributeRequest(_a0 *ec2.ModifyVolumeAttribu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVolumeAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeAttributeInput) (*request.Request, *ec2.ModifyVolumeAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33387,7 +44531,6 @@ func (_m *MockFakeEC2) ModifyVolumeAttributeRequest(_a0 *ec2.ModifyVolumeAttribu } } - var r1 *ec2.ModifyVolumeAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVolumeAttributeInput) *ec2.ModifyVolumeAttributeOutput); ok { r1 = rf(_a0) } else { @@ -33411,6 +44554,10 @@ func (_m *MockFakeEC2) ModifyVolumeAttributeWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.ModifyVolumeAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeAttributeInput, ...request.Option) (*ec2.ModifyVolumeAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeAttributeInput, ...request.Option) *ec2.ModifyVolumeAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33419,7 +44566,6 @@ func (_m *MockFakeEC2) ModifyVolumeAttributeWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVolumeAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33434,6 +44580,10 @@ func (_m *MockFakeEC2) ModifyVolumeRequest(_a0 *ec2.ModifyVolumeInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVolumeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeInput) (*request.Request, *ec2.ModifyVolumeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVolumeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33442,7 +44592,6 @@ func (_m *MockFakeEC2) ModifyVolumeRequest(_a0 *ec2.ModifyVolumeInput) (*request } } - var r1 *ec2.ModifyVolumeOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVolumeInput) *ec2.ModifyVolumeOutput); ok { r1 = rf(_a0) } else { @@ -33466,6 +44615,10 @@ func (_m *MockFakeEC2) ModifyVolumeWithContext(_a0 context.Context, _a1 *ec2.Mod ret := _m.Called(_ca...) var r0 *ec2.ModifyVolumeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeInput, ...request.Option) (*ec2.ModifyVolumeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeInput, ...request.Option) *ec2.ModifyVolumeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33474,7 +44627,6 @@ func (_m *MockFakeEC2) ModifyVolumeWithContext(_a0 context.Context, _a1 *ec2.Mod } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVolumeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33489,6 +44641,10 @@ func (_m *MockFakeEC2) ModifyVpcAttribute(_a0 *ec2.ModifyVpcAttributeInput) (*ec ret := _m.Called(_a0) var r0 *ec2.ModifyVpcAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcAttributeInput) (*ec2.ModifyVpcAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcAttributeInput) *ec2.ModifyVpcAttributeOutput); ok { r0 = rf(_a0) } else { @@ -33497,7 +44653,6 @@ func (_m *MockFakeEC2) ModifyVpcAttribute(_a0 *ec2.ModifyVpcAttributeInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -33512,6 +44667,10 @@ func (_m *MockFakeEC2) ModifyVpcAttributeRequest(_a0 *ec2.ModifyVpcAttributeInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcAttributeInput) (*request.Request, *ec2.ModifyVpcAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33520,7 +44679,6 @@ func (_m *MockFakeEC2) ModifyVpcAttributeRequest(_a0 *ec2.ModifyVpcAttributeInpu } } - var r1 *ec2.ModifyVpcAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcAttributeInput) *ec2.ModifyVpcAttributeOutput); ok { r1 = rf(_a0) } else { @@ -33544,6 +44702,10 @@ func (_m *MockFakeEC2) ModifyVpcAttributeWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcAttributeInput, ...request.Option) (*ec2.ModifyVpcAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcAttributeInput, ...request.Option) *ec2.ModifyVpcAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33552,7 +44714,6 @@ func (_m *MockFakeEC2) ModifyVpcAttributeWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33567,6 +44728,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpoint(_a0 *ec2.ModifyVpcEndpointInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.ModifyVpcEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointInput) (*ec2.ModifyVpcEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointInput) *ec2.ModifyVpcEndpointOutput); ok { r0 = rf(_a0) } else { @@ -33575,7 +44740,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpoint(_a0 *ec2.ModifyVpcEndpointInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -33590,6 +44754,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotification(_a0 *ec2.ModifyVp ret := _m.Called(_a0) var r0 *ec2.ModifyVpcEndpointConnectionNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) (*ec2.ModifyVpcEndpointConnectionNotificationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) *ec2.ModifyVpcEndpointConnectionNotificationOutput); ok { r0 = rf(_a0) } else { @@ -33598,7 +44766,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotification(_a0 *ec2.ModifyVp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) error); ok { r1 = rf(_a0) } else { @@ -33613,6 +44780,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotificationRequest(_a0 *ec2.M ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcEndpointConnectionNotificationOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) (*request.Request, *ec2.ModifyVpcEndpointConnectionNotificationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33621,7 +44792,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotificationRequest(_a0 *ec2.M } } - var r1 *ec2.ModifyVpcEndpointConnectionNotificationOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointConnectionNotificationInput) *ec2.ModifyVpcEndpointConnectionNotificationOutput); ok { r1 = rf(_a0) } else { @@ -33645,6 +44815,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotificationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcEndpointConnectionNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointConnectionNotificationInput, ...request.Option) (*ec2.ModifyVpcEndpointConnectionNotificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointConnectionNotificationInput, ...request.Option) *ec2.ModifyVpcEndpointConnectionNotificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33653,7 +44827,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointConnectionNotificationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcEndpointConnectionNotificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33668,6 +44841,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointRequest(_a0 *ec2.ModifyVpcEndpointInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcEndpointOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointInput) (*request.Request, *ec2.ModifyVpcEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33676,7 +44853,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointRequest(_a0 *ec2.ModifyVpcEndpointInput) } } - var r1 *ec2.ModifyVpcEndpointOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointInput) *ec2.ModifyVpcEndpointOutput); ok { r1 = rf(_a0) } else { @@ -33693,6 +44869,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfiguration(_a0 *ec2.ModifyVpcE ret := _m.Called(_a0) var r0 *ec2.ModifyVpcEndpointServiceConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) (*ec2.ModifyVpcEndpointServiceConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) *ec2.ModifyVpcEndpointServiceConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -33701,7 +44881,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfiguration(_a0 *ec2.ModifyVpcE } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -33716,6 +44895,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfigurationRequest(_a0 *ec2.Mod ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcEndpointServiceConfigurationOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) (*request.Request, *ec2.ModifyVpcEndpointServiceConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33724,7 +44907,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfigurationRequest(_a0 *ec2.Mod } } - var r1 *ec2.ModifyVpcEndpointServiceConfigurationOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServiceConfigurationInput) *ec2.ModifyVpcEndpointServiceConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -33748,6 +44930,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfigurationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcEndpointServiceConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServiceConfigurationInput, ...request.Option) (*ec2.ModifyVpcEndpointServiceConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServiceConfigurationInput, ...request.Option) *ec2.ModifyVpcEndpointServiceConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33756,7 +44942,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfigurationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcEndpointServiceConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33766,11 +44951,102 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServiceConfigurationWithContext(_a0 cont return r0, r1 } +// ModifyVpcEndpointServicePayerResponsibility provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyVpcEndpointServicePayerResponsibility(_a0 *ec2.ModifyVpcEndpointServicePayerResponsibilityInput) (*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) (*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyVpcEndpointServicePayerResponsibilityRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ModifyVpcEndpointServicePayerResponsibilityRequest(_a0 *ec2.ModifyVpcEndpointServicePayerResponsibilityInput) (*request.Request, *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) (*request.Request, *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServicePayerResponsibilityInput) *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput) + } + } + + return r0, r1 +} + +// ModifyVpcEndpointServicePayerResponsibilityWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ModifyVpcEndpointServicePayerResponsibilityWithContext(_a0 context.Context, _a1 *ec2.ModifyVpcEndpointServicePayerResponsibilityInput, _a2 ...request.Option) (*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput, error) { + _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 *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePayerResponsibilityInput, ...request.Option) (*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePayerResponsibilityInput, ...request.Option) *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcEndpointServicePayerResponsibilityInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ModifyVpcEndpointServicePermissions provides a mock function with given fields: _a0 func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissions(_a0 *ec2.ModifyVpcEndpointServicePermissionsInput) (*ec2.ModifyVpcEndpointServicePermissionsOutput, error) { ret := _m.Called(_a0) var r0 *ec2.ModifyVpcEndpointServicePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) (*ec2.ModifyVpcEndpointServicePermissionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) *ec2.ModifyVpcEndpointServicePermissionsOutput); ok { r0 = rf(_a0) } else { @@ -33779,7 +45055,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissions(_a0 *ec2.ModifyVpcEnd } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) error); ok { r1 = rf(_a0) } else { @@ -33794,6 +45069,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissionsRequest(_a0 *ec2.Modif ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcEndpointServicePermissionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) (*request.Request, *ec2.ModifyVpcEndpointServicePermissionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33802,7 +45081,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissionsRequest(_a0 *ec2.Modif } } - var r1 *ec2.ModifyVpcEndpointServicePermissionsOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcEndpointServicePermissionsInput) *ec2.ModifyVpcEndpointServicePermissionsOutput); ok { r1 = rf(_a0) } else { @@ -33826,6 +45104,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissionsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcEndpointServicePermissionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePermissionsInput, ...request.Option) (*ec2.ModifyVpcEndpointServicePermissionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePermissionsInput, ...request.Option) *ec2.ModifyVpcEndpointServicePermissionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33834,7 +45116,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointServicePermissionsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcEndpointServicePermissionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33856,6 +45137,10 @@ func (_m *MockFakeEC2) ModifyVpcEndpointWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointInput, ...request.Option) (*ec2.ModifyVpcEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointInput, ...request.Option) *ec2.ModifyVpcEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33864,7 +45149,6 @@ func (_m *MockFakeEC2) ModifyVpcEndpointWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33879,6 +45163,10 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptions(_a0 *ec2.ModifyVpcPeeri ret := _m.Called(_a0) var r0 *ec2.ModifyVpcPeeringConnectionOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) (*ec2.ModifyVpcPeeringConnectionOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) *ec2.ModifyVpcPeeringConnectionOptionsOutput); ok { r0 = rf(_a0) } else { @@ -33887,7 +45175,6 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptions(_a0 *ec2.ModifyVpcPeeri } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -33902,6 +45189,10 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptionsRequest(_a0 *ec2.ModifyV ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcPeeringConnectionOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) (*request.Request, *ec2.ModifyVpcPeeringConnectionOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33910,7 +45201,6 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptionsRequest(_a0 *ec2.ModifyV } } - var r1 *ec2.ModifyVpcPeeringConnectionOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcPeeringConnectionOptionsInput) *ec2.ModifyVpcPeeringConnectionOptionsOutput); ok { r1 = rf(_a0) } else { @@ -33934,6 +45224,10 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptionsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcPeeringConnectionOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcPeeringConnectionOptionsInput, ...request.Option) (*ec2.ModifyVpcPeeringConnectionOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcPeeringConnectionOptionsInput, ...request.Option) *ec2.ModifyVpcPeeringConnectionOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -33942,7 +45236,6 @@ func (_m *MockFakeEC2) ModifyVpcPeeringConnectionOptionsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcPeeringConnectionOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -33957,6 +45250,10 @@ func (_m *MockFakeEC2) ModifyVpcTenancy(_a0 *ec2.ModifyVpcTenancyInput) (*ec2.Mo ret := _m.Called(_a0) var r0 *ec2.ModifyVpcTenancyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcTenancyInput) (*ec2.ModifyVpcTenancyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcTenancyInput) *ec2.ModifyVpcTenancyOutput); ok { r0 = rf(_a0) } else { @@ -33965,7 +45262,6 @@ func (_m *MockFakeEC2) ModifyVpcTenancy(_a0 *ec2.ModifyVpcTenancyInput) (*ec2.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcTenancyInput) error); ok { r1 = rf(_a0) } else { @@ -33980,6 +45276,10 @@ func (_m *MockFakeEC2) ModifyVpcTenancyRequest(_a0 *ec2.ModifyVpcTenancyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpcTenancyOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcTenancyInput) (*request.Request, *ec2.ModifyVpcTenancyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpcTenancyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -33988,7 +45288,6 @@ func (_m *MockFakeEC2) ModifyVpcTenancyRequest(_a0 *ec2.ModifyVpcTenancyInput) ( } } - var r1 *ec2.ModifyVpcTenancyOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpcTenancyInput) *ec2.ModifyVpcTenancyOutput); ok { r1 = rf(_a0) } else { @@ -34012,6 +45311,10 @@ func (_m *MockFakeEC2) ModifyVpcTenancyWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.ModifyVpcTenancyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcTenancyInput, ...request.Option) (*ec2.ModifyVpcTenancyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcTenancyInput, ...request.Option) *ec2.ModifyVpcTenancyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34020,7 +45323,6 @@ func (_m *MockFakeEC2) ModifyVpcTenancyWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpcTenancyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34035,6 +45337,10 @@ func (_m *MockFakeEC2) ModifyVpnConnection(_a0 *ec2.ModifyVpnConnectionInput) (* ret := _m.Called(_a0) var r0 *ec2.ModifyVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionInput) (*ec2.ModifyVpnConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionInput) *ec2.ModifyVpnConnectionOutput); ok { r0 = rf(_a0) } else { @@ -34043,7 +45349,6 @@ func (_m *MockFakeEC2) ModifyVpnConnection(_a0 *ec2.ModifyVpnConnectionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -34058,6 +45363,10 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptions(_a0 *ec2.ModifyVpnConnectionOp ret := _m.Called(_a0) var r0 *ec2.ModifyVpnConnectionOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionOptionsInput) (*ec2.ModifyVpnConnectionOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionOptionsInput) *ec2.ModifyVpnConnectionOptionsOutput); ok { r0 = rf(_a0) } else { @@ -34066,7 +45375,6 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptions(_a0 *ec2.ModifyVpnConnectionOp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnConnectionOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -34081,6 +45389,10 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptionsRequest(_a0 *ec2.ModifyVpnConne ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpnConnectionOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionOptionsInput) (*request.Request, *ec2.ModifyVpnConnectionOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34089,7 +45401,6 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptionsRequest(_a0 *ec2.ModifyVpnConne } } - var r1 *ec2.ModifyVpnConnectionOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnConnectionOptionsInput) *ec2.ModifyVpnConnectionOptionsOutput); ok { r1 = rf(_a0) } else { @@ -34113,6 +45424,10 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptionsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.ModifyVpnConnectionOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionOptionsInput, ...request.Option) (*ec2.ModifyVpnConnectionOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionOptionsInput, ...request.Option) *ec2.ModifyVpnConnectionOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34121,7 +45436,6 @@ func (_m *MockFakeEC2) ModifyVpnConnectionOptionsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpnConnectionOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34136,6 +45450,10 @@ func (_m *MockFakeEC2) ModifyVpnConnectionRequest(_a0 *ec2.ModifyVpnConnectionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpnConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionInput) (*request.Request, *ec2.ModifyVpnConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34144,7 +45462,6 @@ func (_m *MockFakeEC2) ModifyVpnConnectionRequest(_a0 *ec2.ModifyVpnConnectionIn } } - var r1 *ec2.ModifyVpnConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnConnectionInput) *ec2.ModifyVpnConnectionOutput); ok { r1 = rf(_a0) } else { @@ -34168,6 +45485,10 @@ func (_m *MockFakeEC2) ModifyVpnConnectionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.ModifyVpnConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionInput, ...request.Option) (*ec2.ModifyVpnConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionInput, ...request.Option) *ec2.ModifyVpnConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34176,7 +45497,6 @@ func (_m *MockFakeEC2) ModifyVpnConnectionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpnConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34191,6 +45511,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificate(_a0 *ec2.ModifyVpnTunnelCertif ret := _m.Called(_a0) var r0 *ec2.ModifyVpnTunnelCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelCertificateInput) (*ec2.ModifyVpnTunnelCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelCertificateInput) *ec2.ModifyVpnTunnelCertificateOutput); ok { r0 = rf(_a0) } else { @@ -34199,7 +45523,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificate(_a0 *ec2.ModifyVpnTunnelCertif } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnTunnelCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -34214,6 +45537,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificateRequest(_a0 *ec2.ModifyVpnTunne ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpnTunnelCertificateOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelCertificateInput) (*request.Request, *ec2.ModifyVpnTunnelCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34222,7 +45549,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificateRequest(_a0 *ec2.ModifyVpnTunne } } - var r1 *ec2.ModifyVpnTunnelCertificateOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnTunnelCertificateInput) *ec2.ModifyVpnTunnelCertificateOutput); ok { r1 = rf(_a0) } else { @@ -34246,6 +45572,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificateWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.ModifyVpnTunnelCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelCertificateInput, ...request.Option) (*ec2.ModifyVpnTunnelCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelCertificateInput, ...request.Option) *ec2.ModifyVpnTunnelCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34254,7 +45584,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelCertificateWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpnTunnelCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34269,6 +45598,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptions(_a0 *ec2.ModifyVpnTunnelOptionsInp ret := _m.Called(_a0) var r0 *ec2.ModifyVpnTunnelOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelOptionsInput) (*ec2.ModifyVpnTunnelOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelOptionsInput) *ec2.ModifyVpnTunnelOptionsOutput); ok { r0 = rf(_a0) } else { @@ -34277,7 +45610,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptions(_a0 *ec2.ModifyVpnTunnelOptionsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnTunnelOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -34292,6 +45624,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptionsRequest(_a0 *ec2.ModifyVpnTunnelOpt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ModifyVpnTunnelOptionsOutput + if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelOptionsInput) (*request.Request, *ec2.ModifyVpnTunnelOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ModifyVpnTunnelOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34300,7 +45636,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptionsRequest(_a0 *ec2.ModifyVpnTunnelOpt } } - var r1 *ec2.ModifyVpnTunnelOptionsOutput if rf, ok := ret.Get(1).(func(*ec2.ModifyVpnTunnelOptionsInput) *ec2.ModifyVpnTunnelOptionsOutput); ok { r1 = rf(_a0) } else { @@ -34324,6 +45659,10 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptionsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ModifyVpnTunnelOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelOptionsInput, ...request.Option) (*ec2.ModifyVpnTunnelOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelOptionsInput, ...request.Option) *ec2.ModifyVpnTunnelOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34332,7 +45671,6 @@ func (_m *MockFakeEC2) ModifyVpnTunnelOptionsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ModifyVpnTunnelOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34347,6 +45685,10 @@ func (_m *MockFakeEC2) MonitorInstances(_a0 *ec2.MonitorInstancesInput) (*ec2.Mo ret := _m.Called(_a0) var r0 *ec2.MonitorInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.MonitorInstancesInput) (*ec2.MonitorInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.MonitorInstancesInput) *ec2.MonitorInstancesOutput); ok { r0 = rf(_a0) } else { @@ -34355,7 +45697,6 @@ func (_m *MockFakeEC2) MonitorInstances(_a0 *ec2.MonitorInstancesInput) (*ec2.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.MonitorInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -34370,6 +45711,10 @@ func (_m *MockFakeEC2) MonitorInstancesRequest(_a0 *ec2.MonitorInstancesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.MonitorInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.MonitorInstancesInput) (*request.Request, *ec2.MonitorInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.MonitorInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34378,7 +45723,6 @@ func (_m *MockFakeEC2) MonitorInstancesRequest(_a0 *ec2.MonitorInstancesInput) ( } } - var r1 *ec2.MonitorInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.MonitorInstancesInput) *ec2.MonitorInstancesOutput); ok { r1 = rf(_a0) } else { @@ -34402,6 +45746,10 @@ func (_m *MockFakeEC2) MonitorInstancesWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.MonitorInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.MonitorInstancesInput, ...request.Option) (*ec2.MonitorInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.MonitorInstancesInput, ...request.Option) *ec2.MonitorInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34410,7 +45758,6 @@ func (_m *MockFakeEC2) MonitorInstancesWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.MonitorInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34425,6 +45772,10 @@ func (_m *MockFakeEC2) MoveAddressToVpc(_a0 *ec2.MoveAddressToVpcInput) (*ec2.Mo ret := _m.Called(_a0) var r0 *ec2.MoveAddressToVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.MoveAddressToVpcInput) (*ec2.MoveAddressToVpcOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.MoveAddressToVpcInput) *ec2.MoveAddressToVpcOutput); ok { r0 = rf(_a0) } else { @@ -34433,7 +45784,6 @@ func (_m *MockFakeEC2) MoveAddressToVpc(_a0 *ec2.MoveAddressToVpcInput) (*ec2.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.MoveAddressToVpcInput) error); ok { r1 = rf(_a0) } else { @@ -34448,6 +45798,10 @@ func (_m *MockFakeEC2) MoveAddressToVpcRequest(_a0 *ec2.MoveAddressToVpcInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.MoveAddressToVpcOutput + if rf, ok := ret.Get(0).(func(*ec2.MoveAddressToVpcInput) (*request.Request, *ec2.MoveAddressToVpcOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.MoveAddressToVpcInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34456,7 +45810,6 @@ func (_m *MockFakeEC2) MoveAddressToVpcRequest(_a0 *ec2.MoveAddressToVpcInput) ( } } - var r1 *ec2.MoveAddressToVpcOutput if rf, ok := ret.Get(1).(func(*ec2.MoveAddressToVpcInput) *ec2.MoveAddressToVpcOutput); ok { r1 = rf(_a0) } else { @@ -34480,6 +45833,10 @@ func (_m *MockFakeEC2) MoveAddressToVpcWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.MoveAddressToVpcOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveAddressToVpcInput, ...request.Option) (*ec2.MoveAddressToVpcOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveAddressToVpcInput, ...request.Option) *ec2.MoveAddressToVpcOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34488,7 +45845,6 @@ func (_m *MockFakeEC2) MoveAddressToVpcWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.MoveAddressToVpcInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34498,11 +45854,102 @@ func (_m *MockFakeEC2) MoveAddressToVpcWithContext(_a0 context.Context, _a1 *ec2 return r0, r1 } +// MoveByoipCidrToIpam provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) MoveByoipCidrToIpam(_a0 *ec2.MoveByoipCidrToIpamInput) (*ec2.MoveByoipCidrToIpamOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.MoveByoipCidrToIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.MoveByoipCidrToIpamInput) (*ec2.MoveByoipCidrToIpamOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.MoveByoipCidrToIpamInput) *ec2.MoveByoipCidrToIpamOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.MoveByoipCidrToIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.MoveByoipCidrToIpamInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MoveByoipCidrToIpamRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) MoveByoipCidrToIpamRequest(_a0 *ec2.MoveByoipCidrToIpamInput) (*request.Request, *ec2.MoveByoipCidrToIpamOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.MoveByoipCidrToIpamOutput + if rf, ok := ret.Get(0).(func(*ec2.MoveByoipCidrToIpamInput) (*request.Request, *ec2.MoveByoipCidrToIpamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.MoveByoipCidrToIpamInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.MoveByoipCidrToIpamInput) *ec2.MoveByoipCidrToIpamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.MoveByoipCidrToIpamOutput) + } + } + + return r0, r1 +} + +// MoveByoipCidrToIpamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) MoveByoipCidrToIpamWithContext(_a0 context.Context, _a1 *ec2.MoveByoipCidrToIpamInput, _a2 ...request.Option) (*ec2.MoveByoipCidrToIpamOutput, error) { + _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 *ec2.MoveByoipCidrToIpamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveByoipCidrToIpamInput, ...request.Option) (*ec2.MoveByoipCidrToIpamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveByoipCidrToIpamInput, ...request.Option) *ec2.MoveByoipCidrToIpamOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.MoveByoipCidrToIpamOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.MoveByoipCidrToIpamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ProvisionByoipCidr provides a mock function with given fields: _a0 func (_m *MockFakeEC2) ProvisionByoipCidr(_a0 *ec2.ProvisionByoipCidrInput) (*ec2.ProvisionByoipCidrOutput, error) { ret := _m.Called(_a0) var r0 *ec2.ProvisionByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ProvisionByoipCidrInput) (*ec2.ProvisionByoipCidrOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ProvisionByoipCidrInput) *ec2.ProvisionByoipCidrOutput); ok { r0 = rf(_a0) } else { @@ -34511,7 +45958,6 @@ func (_m *MockFakeEC2) ProvisionByoipCidr(_a0 *ec2.ProvisionByoipCidrInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ProvisionByoipCidrInput) error); ok { r1 = rf(_a0) } else { @@ -34526,6 +45972,10 @@ func (_m *MockFakeEC2) ProvisionByoipCidrRequest(_a0 *ec2.ProvisionByoipCidrInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ProvisionByoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.ProvisionByoipCidrInput) (*request.Request, *ec2.ProvisionByoipCidrOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ProvisionByoipCidrInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34534,7 +45984,6 @@ func (_m *MockFakeEC2) ProvisionByoipCidrRequest(_a0 *ec2.ProvisionByoipCidrInpu } } - var r1 *ec2.ProvisionByoipCidrOutput if rf, ok := ret.Get(1).(func(*ec2.ProvisionByoipCidrInput) *ec2.ProvisionByoipCidrOutput); ok { r1 = rf(_a0) } else { @@ -34558,6 +46007,10 @@ func (_m *MockFakeEC2) ProvisionByoipCidrWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.ProvisionByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionByoipCidrInput, ...request.Option) (*ec2.ProvisionByoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionByoipCidrInput, ...request.Option) *ec2.ProvisionByoipCidrOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34566,7 +46019,6 @@ func (_m *MockFakeEC2) ProvisionByoipCidrWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ProvisionByoipCidrInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34576,11 +46028,189 @@ func (_m *MockFakeEC2) ProvisionByoipCidrWithContext(_a0 context.Context, _a1 *e return r0, r1 } +// ProvisionIpamPoolCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ProvisionIpamPoolCidr(_a0 *ec2.ProvisionIpamPoolCidrInput) (*ec2.ProvisionIpamPoolCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ProvisionIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ProvisionIpamPoolCidrInput) (*ec2.ProvisionIpamPoolCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ProvisionIpamPoolCidrInput) *ec2.ProvisionIpamPoolCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ProvisionIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ProvisionIpamPoolCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ProvisionIpamPoolCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ProvisionIpamPoolCidrRequest(_a0 *ec2.ProvisionIpamPoolCidrInput) (*request.Request, *ec2.ProvisionIpamPoolCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ProvisionIpamPoolCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.ProvisionIpamPoolCidrInput) (*request.Request, *ec2.ProvisionIpamPoolCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ProvisionIpamPoolCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ProvisionIpamPoolCidrInput) *ec2.ProvisionIpamPoolCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ProvisionIpamPoolCidrOutput) + } + } + + return r0, r1 +} + +// ProvisionIpamPoolCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ProvisionIpamPoolCidrWithContext(_a0 context.Context, _a1 *ec2.ProvisionIpamPoolCidrInput, _a2 ...request.Option) (*ec2.ProvisionIpamPoolCidrOutput, error) { + _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 *ec2.ProvisionIpamPoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionIpamPoolCidrInput, ...request.Option) (*ec2.ProvisionIpamPoolCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionIpamPoolCidrInput, ...request.Option) *ec2.ProvisionIpamPoolCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ProvisionIpamPoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ProvisionIpamPoolCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ProvisionPublicIpv4PoolCidr provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ProvisionPublicIpv4PoolCidr(_a0 *ec2.ProvisionPublicIpv4PoolCidrInput) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ProvisionPublicIpv4PoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) *ec2.ProvisionPublicIpv4PoolCidrOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ProvisionPublicIpv4PoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ProvisionPublicIpv4PoolCidrRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ProvisionPublicIpv4PoolCidrRequest(_a0 *ec2.ProvisionPublicIpv4PoolCidrInput) (*request.Request, *ec2.ProvisionPublicIpv4PoolCidrOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ProvisionPublicIpv4PoolCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) (*request.Request, *ec2.ProvisionPublicIpv4PoolCidrOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ProvisionPublicIpv4PoolCidrInput) *ec2.ProvisionPublicIpv4PoolCidrOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ProvisionPublicIpv4PoolCidrOutput) + } + } + + return r0, r1 +} + +// ProvisionPublicIpv4PoolCidrWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ProvisionPublicIpv4PoolCidrWithContext(_a0 context.Context, _a1 *ec2.ProvisionPublicIpv4PoolCidrInput, _a2 ...request.Option) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error) { + _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 *ec2.ProvisionPublicIpv4PoolCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionPublicIpv4PoolCidrInput, ...request.Option) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionPublicIpv4PoolCidrInput, ...request.Option) *ec2.ProvisionPublicIpv4PoolCidrOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ProvisionPublicIpv4PoolCidrOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ProvisionPublicIpv4PoolCidrInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PurchaseHostReservation provides a mock function with given fields: _a0 func (_m *MockFakeEC2) PurchaseHostReservation(_a0 *ec2.PurchaseHostReservationInput) (*ec2.PurchaseHostReservationOutput, error) { ret := _m.Called(_a0) var r0 *ec2.PurchaseHostReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.PurchaseHostReservationInput) (*ec2.PurchaseHostReservationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseHostReservationInput) *ec2.PurchaseHostReservationOutput); ok { r0 = rf(_a0) } else { @@ -34589,7 +46219,6 @@ func (_m *MockFakeEC2) PurchaseHostReservation(_a0 *ec2.PurchaseHostReservationI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.PurchaseHostReservationInput) error); ok { r1 = rf(_a0) } else { @@ -34604,6 +46233,10 @@ func (_m *MockFakeEC2) PurchaseHostReservationRequest(_a0 *ec2.PurchaseHostReser ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.PurchaseHostReservationOutput + if rf, ok := ret.Get(0).(func(*ec2.PurchaseHostReservationInput) (*request.Request, *ec2.PurchaseHostReservationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseHostReservationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34612,7 +46245,6 @@ func (_m *MockFakeEC2) PurchaseHostReservationRequest(_a0 *ec2.PurchaseHostReser } } - var r1 *ec2.PurchaseHostReservationOutput if rf, ok := ret.Get(1).(func(*ec2.PurchaseHostReservationInput) *ec2.PurchaseHostReservationOutput); ok { r1 = rf(_a0) } else { @@ -34636,6 +46268,10 @@ func (_m *MockFakeEC2) PurchaseHostReservationWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.PurchaseHostReservationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseHostReservationInput, ...request.Option) (*ec2.PurchaseHostReservationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseHostReservationInput, ...request.Option) *ec2.PurchaseHostReservationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34644,7 +46280,6 @@ func (_m *MockFakeEC2) PurchaseHostReservationWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.PurchaseHostReservationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34659,6 +46294,10 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOffering(_a0 *ec2.PurchaseReserv ret := _m.Called(_a0) var r0 *ec2.PurchaseReservedInstancesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.PurchaseReservedInstancesOfferingInput) (*ec2.PurchaseReservedInstancesOfferingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseReservedInstancesOfferingInput) *ec2.PurchaseReservedInstancesOfferingOutput); ok { r0 = rf(_a0) } else { @@ -34667,7 +46306,6 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOffering(_a0 *ec2.PurchaseReserv } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.PurchaseReservedInstancesOfferingInput) error); ok { r1 = rf(_a0) } else { @@ -34682,6 +46320,10 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOfferingRequest(_a0 *ec2.Purchas ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.PurchaseReservedInstancesOfferingOutput + if rf, ok := ret.Get(0).(func(*ec2.PurchaseReservedInstancesOfferingInput) (*request.Request, *ec2.PurchaseReservedInstancesOfferingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseReservedInstancesOfferingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34690,7 +46332,6 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOfferingRequest(_a0 *ec2.Purchas } } - var r1 *ec2.PurchaseReservedInstancesOfferingOutput if rf, ok := ret.Get(1).(func(*ec2.PurchaseReservedInstancesOfferingInput) *ec2.PurchaseReservedInstancesOfferingOutput); ok { r1 = rf(_a0) } else { @@ -34714,6 +46355,10 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOfferingWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.PurchaseReservedInstancesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseReservedInstancesOfferingInput, ...request.Option) (*ec2.PurchaseReservedInstancesOfferingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseReservedInstancesOfferingInput, ...request.Option) *ec2.PurchaseReservedInstancesOfferingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34722,7 +46367,6 @@ func (_m *MockFakeEC2) PurchaseReservedInstancesOfferingWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.PurchaseReservedInstancesOfferingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34737,6 +46381,10 @@ func (_m *MockFakeEC2) PurchaseScheduledInstances(_a0 *ec2.PurchaseScheduledInst ret := _m.Called(_a0) var r0 *ec2.PurchaseScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.PurchaseScheduledInstancesInput) (*ec2.PurchaseScheduledInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseScheduledInstancesInput) *ec2.PurchaseScheduledInstancesOutput); ok { r0 = rf(_a0) } else { @@ -34745,7 +46393,6 @@ func (_m *MockFakeEC2) PurchaseScheduledInstances(_a0 *ec2.PurchaseScheduledInst } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.PurchaseScheduledInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -34760,6 +46407,10 @@ func (_m *MockFakeEC2) PurchaseScheduledInstancesRequest(_a0 *ec2.PurchaseSchedu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.PurchaseScheduledInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.PurchaseScheduledInstancesInput) (*request.Request, *ec2.PurchaseScheduledInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.PurchaseScheduledInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34768,7 +46419,6 @@ func (_m *MockFakeEC2) PurchaseScheduledInstancesRequest(_a0 *ec2.PurchaseSchedu } } - var r1 *ec2.PurchaseScheduledInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.PurchaseScheduledInstancesInput) *ec2.PurchaseScheduledInstancesOutput); ok { r1 = rf(_a0) } else { @@ -34792,6 +46442,10 @@ func (_m *MockFakeEC2) PurchaseScheduledInstancesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.PurchaseScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseScheduledInstancesInput, ...request.Option) (*ec2.PurchaseScheduledInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseScheduledInstancesInput, ...request.Option) *ec2.PurchaseScheduledInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34800,7 +46454,6 @@ func (_m *MockFakeEC2) PurchaseScheduledInstancesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.PurchaseScheduledInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34815,6 +46468,10 @@ func (_m *MockFakeEC2) RebootInstances(_a0 *ec2.RebootInstancesInput) (*ec2.Rebo ret := _m.Called(_a0) var r0 *ec2.RebootInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RebootInstancesInput) (*ec2.RebootInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RebootInstancesInput) *ec2.RebootInstancesOutput); ok { r0 = rf(_a0) } else { @@ -34823,7 +46480,6 @@ func (_m *MockFakeEC2) RebootInstances(_a0 *ec2.RebootInstancesInput) (*ec2.Rebo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RebootInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -34838,6 +46494,10 @@ func (_m *MockFakeEC2) RebootInstancesRequest(_a0 *ec2.RebootInstancesInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RebootInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.RebootInstancesInput) (*request.Request, *ec2.RebootInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RebootInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34846,7 +46506,6 @@ func (_m *MockFakeEC2) RebootInstancesRequest(_a0 *ec2.RebootInstancesInput) (*r } } - var r1 *ec2.RebootInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.RebootInstancesInput) *ec2.RebootInstancesOutput); ok { r1 = rf(_a0) } else { @@ -34870,6 +46529,10 @@ func (_m *MockFakeEC2) RebootInstancesWithContext(_a0 context.Context, _a1 *ec2. ret := _m.Called(_ca...) var r0 *ec2.RebootInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RebootInstancesInput, ...request.Option) (*ec2.RebootInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RebootInstancesInput, ...request.Option) *ec2.RebootInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34878,7 +46541,6 @@ func (_m *MockFakeEC2) RebootInstancesWithContext(_a0 context.Context, _a1 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RebootInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34893,6 +46555,10 @@ func (_m *MockFakeEC2) RegisterImage(_a0 *ec2.RegisterImageInput) (*ec2.Register ret := _m.Called(_a0) var r0 *ec2.RegisterImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RegisterImageInput) (*ec2.RegisterImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterImageInput) *ec2.RegisterImageOutput); ok { r0 = rf(_a0) } else { @@ -34901,7 +46567,6 @@ func (_m *MockFakeEC2) RegisterImage(_a0 *ec2.RegisterImageInput) (*ec2.Register } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RegisterImageInput) error); ok { r1 = rf(_a0) } else { @@ -34916,6 +46581,10 @@ func (_m *MockFakeEC2) RegisterImageRequest(_a0 *ec2.RegisterImageInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RegisterImageOutput + if rf, ok := ret.Get(0).(func(*ec2.RegisterImageInput) (*request.Request, *ec2.RegisterImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -34924,7 +46593,6 @@ func (_m *MockFakeEC2) RegisterImageRequest(_a0 *ec2.RegisterImageInput) (*reque } } - var r1 *ec2.RegisterImageOutput if rf, ok := ret.Get(1).(func(*ec2.RegisterImageInput) *ec2.RegisterImageOutput); ok { r1 = rf(_a0) } else { @@ -34948,6 +46616,10 @@ func (_m *MockFakeEC2) RegisterImageWithContext(_a0 context.Context, _a1 *ec2.Re ret := _m.Called(_ca...) var r0 *ec2.RegisterImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterImageInput, ...request.Option) (*ec2.RegisterImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterImageInput, ...request.Option) *ec2.RegisterImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -34956,7 +46628,6 @@ func (_m *MockFakeEC2) RegisterImageWithContext(_a0 context.Context, _a1 *ec2.Re } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RegisterImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -34971,6 +46642,10 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributes(_a0 *ec2.Regi ret := _m.Called(_a0) var r0 *ec2.RegisterInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) (*ec2.RegisterInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) *ec2.RegisterInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0) } else { @@ -34979,7 +46654,6 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributes(_a0 *ec2.Regi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -34994,6 +46668,10 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributesRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RegisterInstanceEventNotificationAttributesOutput + if rf, ok := ret.Get(0).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) (*request.Request, *ec2.RegisterInstanceEventNotificationAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35002,7 +46680,6 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributesRequest(_a0 *e } } - var r1 *ec2.RegisterInstanceEventNotificationAttributesOutput if rf, ok := ret.Get(1).(func(*ec2.RegisterInstanceEventNotificationAttributesInput) *ec2.RegisterInstanceEventNotificationAttributesOutput); ok { r1 = rf(_a0) } else { @@ -35026,6 +46703,10 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributesWithContext(_a ret := _m.Called(_ca...) var r0 *ec2.RegisterInstanceEventNotificationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterInstanceEventNotificationAttributesInput, ...request.Option) (*ec2.RegisterInstanceEventNotificationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterInstanceEventNotificationAttributesInput, ...request.Option) *ec2.RegisterInstanceEventNotificationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35034,7 +46715,6 @@ func (_m *MockFakeEC2) RegisterInstanceEventNotificationAttributesWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RegisterInstanceEventNotificationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35049,6 +46729,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembers(_a0 *ec2.Regi ret := _m.Called(_a0) var r0 *ec2.RegisterTransitGatewayMulticastGroupMembersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) (*ec2.RegisterTransitGatewayMulticastGroupMembersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) *ec2.RegisterTransitGatewayMulticastGroupMembersOutput); ok { r0 = rf(_a0) } else { @@ -35057,7 +46741,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembers(_a0 *ec2.Regi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) error); ok { r1 = rf(_a0) } else { @@ -35072,6 +46755,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembersRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RegisterTransitGatewayMulticastGroupMembersOutput + if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) (*request.Request, *ec2.RegisterTransitGatewayMulticastGroupMembersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35080,7 +46767,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembersRequest(_a0 *e } } - var r1 *ec2.RegisterTransitGatewayMulticastGroupMembersOutput if rf, ok := ret.Get(1).(func(*ec2.RegisterTransitGatewayMulticastGroupMembersInput) *ec2.RegisterTransitGatewayMulticastGroupMembersOutput); ok { r1 = rf(_a0) } else { @@ -35104,6 +46790,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembersWithContext(_a ret := _m.Called(_ca...) var r0 *ec2.RegisterTransitGatewayMulticastGroupMembersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupMembersInput, ...request.Option) (*ec2.RegisterTransitGatewayMulticastGroupMembersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupMembersInput, ...request.Option) *ec2.RegisterTransitGatewayMulticastGroupMembersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35112,7 +46802,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupMembersWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupMembersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35127,6 +46816,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSources(_a0 *ec2.Regi ret := _m.Called(_a0) var r0 *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) (*ec2.RegisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput); ok { r0 = rf(_a0) } else { @@ -35135,7 +46828,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSources(_a0 *ec2.Regi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) error); ok { r1 = rf(_a0) } else { @@ -35150,6 +46842,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSourcesRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput + if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) (*request.Request, *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35158,7 +46854,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSourcesRequest(_a0 *e } } - var r1 *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput if rf, ok := ret.Get(1).(func(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput); ok { r1 = rf(_a0) } else { @@ -35182,6 +46877,10 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSourcesWithContext(_a ret := _m.Called(_ca...) var r0 *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) (*ec2.RegisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35190,7 +46889,6 @@ func (_m *MockFakeEC2) RegisterTransitGatewayMulticastGroupSourcesWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35205,6 +46903,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociations(_a0 *ec2. ret := _m.Called(_a0) var r0 *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) (*ec2.RejectTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput); ok { r0 = rf(_a0) } else { @@ -35213,7 +46915,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociations(_a0 *ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) error); ok { r1 = rf(_a0) } else { @@ -35228,6 +46929,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociationsRequest(_a ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35236,7 +46941,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociationsRequest(_a } } - var r1 *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput); ok { r1 = rf(_a0) } else { @@ -35260,6 +46964,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociationsWithContex ret := _m.Called(_ca...) var r0 *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayMulticastDomainAssociationsInput, ...request.Option) (*ec2.RejectTransitGatewayMulticastDomainAssociationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayMulticastDomainAssociationsInput, ...request.Option) *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35268,7 +46976,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayMulticastDomainAssociationsWithContex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RejectTransitGatewayMulticastDomainAssociationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35283,6 +46990,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachment(_a0 *ec2.RejectTran ret := _m.Called(_a0) var r0 *ec2.RejectTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) (*ec2.RejectTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) *ec2.RejectTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -35291,7 +47002,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachment(_a0 *ec2.RejectTran } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -35306,6 +47016,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Rej ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RejectTransitGatewayPeeringAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.RejectTransitGatewayPeeringAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35314,7 +47028,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachmentRequest(_a0 *ec2.Rej } } - var r1 *ec2.RejectTransitGatewayPeeringAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayPeeringAttachmentInput) *ec2.RejectTransitGatewayPeeringAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -35338,6 +47051,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachmentWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *ec2.RejectTransitGatewayPeeringAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.RejectTransitGatewayPeeringAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayPeeringAttachmentInput, ...request.Option) *ec2.RejectTransitGatewayPeeringAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35346,7 +47063,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayPeeringAttachmentWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RejectTransitGatewayPeeringAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35361,6 +47077,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachment(_a0 *ec2.RejectTransitG ret := _m.Called(_a0) var r0 *ec2.RejectTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) (*ec2.RejectTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) *ec2.RejectTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0) } else { @@ -35369,7 +47089,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachment(_a0 *ec2.RejectTransitG } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) error); ok { r1 = rf(_a0) } else { @@ -35384,6 +47103,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachmentRequest(_a0 *ec2.RejectT ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RejectTransitGatewayVpcAttachmentOutput + if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) (*request.Request, *ec2.RejectTransitGatewayVpcAttachmentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35392,7 +47115,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachmentRequest(_a0 *ec2.RejectT } } - var r1 *ec2.RejectTransitGatewayVpcAttachmentOutput if rf, ok := ret.Get(1).(func(*ec2.RejectTransitGatewayVpcAttachmentInput) *ec2.RejectTransitGatewayVpcAttachmentOutput); ok { r1 = rf(_a0) } else { @@ -35416,6 +47138,10 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachmentWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *ec2.RejectTransitGatewayVpcAttachmentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayVpcAttachmentInput, ...request.Option) (*ec2.RejectTransitGatewayVpcAttachmentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayVpcAttachmentInput, ...request.Option) *ec2.RejectTransitGatewayVpcAttachmentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35424,7 +47150,6 @@ func (_m *MockFakeEC2) RejectTransitGatewayVpcAttachmentWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RejectTransitGatewayVpcAttachmentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35439,6 +47164,10 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnections(_a0 *ec2.RejectVpcEndpointCo ret := _m.Called(_a0) var r0 *ec2.RejectVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RejectVpcEndpointConnectionsInput) (*ec2.RejectVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectVpcEndpointConnectionsInput) *ec2.RejectVpcEndpointConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -35447,7 +47176,6 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnections(_a0 *ec2.RejectVpcEndpointCo } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RejectVpcEndpointConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -35462,6 +47190,10 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnectionsRequest(_a0 *ec2.RejectVpcEnd ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RejectVpcEndpointConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.RejectVpcEndpointConnectionsInput) (*request.Request, *ec2.RejectVpcEndpointConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectVpcEndpointConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35470,7 +47202,6 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnectionsRequest(_a0 *ec2.RejectVpcEnd } } - var r1 *ec2.RejectVpcEndpointConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.RejectVpcEndpointConnectionsInput) *ec2.RejectVpcEndpointConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -35494,6 +47225,10 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnectionsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.RejectVpcEndpointConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcEndpointConnectionsInput, ...request.Option) (*ec2.RejectVpcEndpointConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcEndpointConnectionsInput, ...request.Option) *ec2.RejectVpcEndpointConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35502,7 +47237,6 @@ func (_m *MockFakeEC2) RejectVpcEndpointConnectionsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RejectVpcEndpointConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35517,6 +47251,10 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnection(_a0 *ec2.RejectVpcPeeringConne ret := _m.Called(_a0) var r0 *ec2.RejectVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RejectVpcPeeringConnectionInput) (*ec2.RejectVpcPeeringConnectionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectVpcPeeringConnectionInput) *ec2.RejectVpcPeeringConnectionOutput); ok { r0 = rf(_a0) } else { @@ -35525,7 +47263,6 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnection(_a0 *ec2.RejectVpcPeeringConne } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RejectVpcPeeringConnectionInput) error); ok { r1 = rf(_a0) } else { @@ -35540,6 +47277,10 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnectionRequest(_a0 *ec2.RejectVpcPeeri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RejectVpcPeeringConnectionOutput + if rf, ok := ret.Get(0).(func(*ec2.RejectVpcPeeringConnectionInput) (*request.Request, *ec2.RejectVpcPeeringConnectionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RejectVpcPeeringConnectionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35548,7 +47289,6 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnectionRequest(_a0 *ec2.RejectVpcPeeri } } - var r1 *ec2.RejectVpcPeeringConnectionOutput if rf, ok := ret.Get(1).(func(*ec2.RejectVpcPeeringConnectionInput) *ec2.RejectVpcPeeringConnectionOutput); ok { r1 = rf(_a0) } else { @@ -35572,6 +47312,10 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnectionWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.RejectVpcPeeringConnectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcPeeringConnectionInput, ...request.Option) (*ec2.RejectVpcPeeringConnectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcPeeringConnectionInput, ...request.Option) *ec2.RejectVpcPeeringConnectionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35580,7 +47324,6 @@ func (_m *MockFakeEC2) RejectVpcPeeringConnectionWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RejectVpcPeeringConnectionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35595,6 +47338,10 @@ func (_m *MockFakeEC2) ReleaseAddress(_a0 *ec2.ReleaseAddressInput) (*ec2.Releas ret := _m.Called(_a0) var r0 *ec2.ReleaseAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReleaseAddressInput) (*ec2.ReleaseAddressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReleaseAddressInput) *ec2.ReleaseAddressOutput); ok { r0 = rf(_a0) } else { @@ -35603,7 +47350,6 @@ func (_m *MockFakeEC2) ReleaseAddress(_a0 *ec2.ReleaseAddressInput) (*ec2.Releas } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReleaseAddressInput) error); ok { r1 = rf(_a0) } else { @@ -35618,6 +47364,10 @@ func (_m *MockFakeEC2) ReleaseAddressRequest(_a0 *ec2.ReleaseAddressInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReleaseAddressOutput + if rf, ok := ret.Get(0).(func(*ec2.ReleaseAddressInput) (*request.Request, *ec2.ReleaseAddressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReleaseAddressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35626,7 +47376,6 @@ func (_m *MockFakeEC2) ReleaseAddressRequest(_a0 *ec2.ReleaseAddressInput) (*req } } - var r1 *ec2.ReleaseAddressOutput if rf, ok := ret.Get(1).(func(*ec2.ReleaseAddressInput) *ec2.ReleaseAddressOutput); ok { r1 = rf(_a0) } else { @@ -35650,6 +47399,10 @@ func (_m *MockFakeEC2) ReleaseAddressWithContext(_a0 context.Context, _a1 *ec2.R ret := _m.Called(_ca...) var r0 *ec2.ReleaseAddressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseAddressInput, ...request.Option) (*ec2.ReleaseAddressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseAddressInput, ...request.Option) *ec2.ReleaseAddressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35658,7 +47411,6 @@ func (_m *MockFakeEC2) ReleaseAddressWithContext(_a0 context.Context, _a1 *ec2.R } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReleaseAddressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35673,6 +47425,10 @@ func (_m *MockFakeEC2) ReleaseHosts(_a0 *ec2.ReleaseHostsInput) (*ec2.ReleaseHos ret := _m.Called(_a0) var r0 *ec2.ReleaseHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReleaseHostsInput) (*ec2.ReleaseHostsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReleaseHostsInput) *ec2.ReleaseHostsOutput); ok { r0 = rf(_a0) } else { @@ -35681,7 +47437,6 @@ func (_m *MockFakeEC2) ReleaseHosts(_a0 *ec2.ReleaseHostsInput) (*ec2.ReleaseHos } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReleaseHostsInput) error); ok { r1 = rf(_a0) } else { @@ -35696,6 +47451,10 @@ func (_m *MockFakeEC2) ReleaseHostsRequest(_a0 *ec2.ReleaseHostsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReleaseHostsOutput + if rf, ok := ret.Get(0).(func(*ec2.ReleaseHostsInput) (*request.Request, *ec2.ReleaseHostsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReleaseHostsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35704,7 +47463,6 @@ func (_m *MockFakeEC2) ReleaseHostsRequest(_a0 *ec2.ReleaseHostsInput) (*request } } - var r1 *ec2.ReleaseHostsOutput if rf, ok := ret.Get(1).(func(*ec2.ReleaseHostsInput) *ec2.ReleaseHostsOutput); ok { r1 = rf(_a0) } else { @@ -35728,6 +47486,10 @@ func (_m *MockFakeEC2) ReleaseHostsWithContext(_a0 context.Context, _a1 *ec2.Rel ret := _m.Called(_ca...) var r0 *ec2.ReleaseHostsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseHostsInput, ...request.Option) (*ec2.ReleaseHostsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseHostsInput, ...request.Option) *ec2.ReleaseHostsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35736,7 +47498,6 @@ func (_m *MockFakeEC2) ReleaseHostsWithContext(_a0 context.Context, _a1 *ec2.Rel } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReleaseHostsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35746,11 +47507,102 @@ func (_m *MockFakeEC2) ReleaseHostsWithContext(_a0 context.Context, _a1 *ec2.Rel return r0, r1 } +// ReleaseIpamPoolAllocation provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ReleaseIpamPoolAllocation(_a0 *ec2.ReleaseIpamPoolAllocationInput) (*ec2.ReleaseIpamPoolAllocationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.ReleaseIpamPoolAllocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReleaseIpamPoolAllocationInput) (*ec2.ReleaseIpamPoolAllocationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ReleaseIpamPoolAllocationInput) *ec2.ReleaseIpamPoolAllocationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ReleaseIpamPoolAllocationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ReleaseIpamPoolAllocationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ReleaseIpamPoolAllocationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) ReleaseIpamPoolAllocationRequest(_a0 *ec2.ReleaseIpamPoolAllocationInput) (*request.Request, *ec2.ReleaseIpamPoolAllocationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.ReleaseIpamPoolAllocationOutput + if rf, ok := ret.Get(0).(func(*ec2.ReleaseIpamPoolAllocationInput) (*request.Request, *ec2.ReleaseIpamPoolAllocationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.ReleaseIpamPoolAllocationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.ReleaseIpamPoolAllocationInput) *ec2.ReleaseIpamPoolAllocationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.ReleaseIpamPoolAllocationOutput) + } + } + + return r0, r1 +} + +// ReleaseIpamPoolAllocationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) ReleaseIpamPoolAllocationWithContext(_a0 context.Context, _a1 *ec2.ReleaseIpamPoolAllocationInput, _a2 ...request.Option) (*ec2.ReleaseIpamPoolAllocationOutput, error) { + _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 *ec2.ReleaseIpamPoolAllocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseIpamPoolAllocationInput, ...request.Option) (*ec2.ReleaseIpamPoolAllocationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseIpamPoolAllocationInput, ...request.Option) *ec2.ReleaseIpamPoolAllocationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.ReleaseIpamPoolAllocationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReleaseIpamPoolAllocationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ReplaceIamInstanceProfileAssociation provides a mock function with given fields: _a0 func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociation(_a0 *ec2.ReplaceIamInstanceProfileAssociationInput) (*ec2.ReplaceIamInstanceProfileAssociationOutput, error) { ret := _m.Called(_a0) var r0 *ec2.ReplaceIamInstanceProfileAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) (*ec2.ReplaceIamInstanceProfileAssociationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) *ec2.ReplaceIamInstanceProfileAssociationOutput); ok { r0 = rf(_a0) } else { @@ -35759,7 +47611,6 @@ func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociation(_a0 *ec2.ReplaceIamI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) error); ok { r1 = rf(_a0) } else { @@ -35774,6 +47625,10 @@ func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociationRequest(_a0 *ec2.Repl ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceIamInstanceProfileAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) (*request.Request, *ec2.ReplaceIamInstanceProfileAssociationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35782,7 +47637,6 @@ func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociationRequest(_a0 *ec2.Repl } } - var r1 *ec2.ReplaceIamInstanceProfileAssociationOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceIamInstanceProfileAssociationInput) *ec2.ReplaceIamInstanceProfileAssociationOutput); ok { r1 = rf(_a0) } else { @@ -35806,6 +47660,10 @@ func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociationWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *ec2.ReplaceIamInstanceProfileAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceIamInstanceProfileAssociationInput, ...request.Option) (*ec2.ReplaceIamInstanceProfileAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceIamInstanceProfileAssociationInput, ...request.Option) *ec2.ReplaceIamInstanceProfileAssociationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35814,7 +47672,6 @@ func (_m *MockFakeEC2) ReplaceIamInstanceProfileAssociationWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceIamInstanceProfileAssociationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35829,6 +47686,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociation(_a0 *ec2.ReplaceNetworkAclAs ret := _m.Called(_a0) var r0 *ec2.ReplaceNetworkAclAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclAssociationInput) (*ec2.ReplaceNetworkAclAssociationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclAssociationInput) *ec2.ReplaceNetworkAclAssociationOutput); ok { r0 = rf(_a0) } else { @@ -35837,7 +47698,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociation(_a0 *ec2.ReplaceNetworkAclAs } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceNetworkAclAssociationInput) error); ok { r1 = rf(_a0) } else { @@ -35852,6 +47712,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociationRequest(_a0 *ec2.ReplaceNetwo ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceNetworkAclAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclAssociationInput) (*request.Request, *ec2.ReplaceNetworkAclAssociationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclAssociationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35860,7 +47724,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociationRequest(_a0 *ec2.ReplaceNetwo } } - var r1 *ec2.ReplaceNetworkAclAssociationOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceNetworkAclAssociationInput) *ec2.ReplaceNetworkAclAssociationOutput); ok { r1 = rf(_a0) } else { @@ -35884,6 +47747,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociationWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.ReplaceNetworkAclAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclAssociationInput, ...request.Option) (*ec2.ReplaceNetworkAclAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclAssociationInput, ...request.Option) *ec2.ReplaceNetworkAclAssociationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35892,7 +47759,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclAssociationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceNetworkAclAssociationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35907,6 +47773,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntry(_a0 *ec2.ReplaceNetworkAclEntryInp ret := _m.Called(_a0) var r0 *ec2.ReplaceNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclEntryInput) (*ec2.ReplaceNetworkAclEntryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclEntryInput) *ec2.ReplaceNetworkAclEntryOutput); ok { r0 = rf(_a0) } else { @@ -35915,7 +47785,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntry(_a0 *ec2.ReplaceNetworkAclEntryInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceNetworkAclEntryInput) error); ok { r1 = rf(_a0) } else { @@ -35930,6 +47799,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntryRequest(_a0 *ec2.ReplaceNetworkAclE ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceNetworkAclEntryOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclEntryInput) (*request.Request, *ec2.ReplaceNetworkAclEntryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceNetworkAclEntryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -35938,7 +47811,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntryRequest(_a0 *ec2.ReplaceNetworkAclE } } - var r1 *ec2.ReplaceNetworkAclEntryOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceNetworkAclEntryInput) *ec2.ReplaceNetworkAclEntryOutput); ok { r1 = rf(_a0) } else { @@ -35962,6 +47834,10 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntryWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ReplaceNetworkAclEntryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclEntryInput, ...request.Option) (*ec2.ReplaceNetworkAclEntryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclEntryInput, ...request.Option) *ec2.ReplaceNetworkAclEntryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -35970,7 +47846,6 @@ func (_m *MockFakeEC2) ReplaceNetworkAclEntryWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceNetworkAclEntryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -35985,6 +47860,10 @@ func (_m *MockFakeEC2) ReplaceRoute(_a0 *ec2.ReplaceRouteInput) (*ec2.ReplaceRou ret := _m.Called(_a0) var r0 *ec2.ReplaceRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteInput) (*ec2.ReplaceRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteInput) *ec2.ReplaceRouteOutput); ok { r0 = rf(_a0) } else { @@ -35993,7 +47872,6 @@ func (_m *MockFakeEC2) ReplaceRoute(_a0 *ec2.ReplaceRouteInput) (*ec2.ReplaceRou } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceRouteInput) error); ok { r1 = rf(_a0) } else { @@ -36008,6 +47886,10 @@ func (_m *MockFakeEC2) ReplaceRouteRequest(_a0 *ec2.ReplaceRouteInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteInput) (*request.Request, *ec2.ReplaceRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36016,7 +47898,6 @@ func (_m *MockFakeEC2) ReplaceRouteRequest(_a0 *ec2.ReplaceRouteInput) (*request } } - var r1 *ec2.ReplaceRouteOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceRouteInput) *ec2.ReplaceRouteOutput); ok { r1 = rf(_a0) } else { @@ -36033,6 +47914,10 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociation(_a0 *ec2.ReplaceRouteTableAs ret := _m.Called(_a0) var r0 *ec2.ReplaceRouteTableAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteTableAssociationInput) (*ec2.ReplaceRouteTableAssociationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteTableAssociationInput) *ec2.ReplaceRouteTableAssociationOutput); ok { r0 = rf(_a0) } else { @@ -36041,7 +47926,6 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociation(_a0 *ec2.ReplaceRouteTableAs } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceRouteTableAssociationInput) error); ok { r1 = rf(_a0) } else { @@ -36056,6 +47940,10 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociationRequest(_a0 *ec2.ReplaceRoute ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceRouteTableAssociationOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteTableAssociationInput) (*request.Request, *ec2.ReplaceRouteTableAssociationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceRouteTableAssociationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36064,7 +47952,6 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociationRequest(_a0 *ec2.ReplaceRoute } } - var r1 *ec2.ReplaceRouteTableAssociationOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceRouteTableAssociationInput) *ec2.ReplaceRouteTableAssociationOutput); ok { r1 = rf(_a0) } else { @@ -36088,6 +47975,10 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociationWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.ReplaceRouteTableAssociationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteTableAssociationInput, ...request.Option) (*ec2.ReplaceRouteTableAssociationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteTableAssociationInput, ...request.Option) *ec2.ReplaceRouteTableAssociationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36096,7 +47987,6 @@ func (_m *MockFakeEC2) ReplaceRouteTableAssociationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceRouteTableAssociationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36118,6 +48008,10 @@ func (_m *MockFakeEC2) ReplaceRouteWithContext(_a0 context.Context, _a1 *ec2.Rep ret := _m.Called(_ca...) var r0 *ec2.ReplaceRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteInput, ...request.Option) (*ec2.ReplaceRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteInput, ...request.Option) *ec2.ReplaceRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36126,7 +48020,6 @@ func (_m *MockFakeEC2) ReplaceRouteWithContext(_a0 context.Context, _a1 *ec2.Rep } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36141,6 +48034,10 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRoute(_a0 *ec2.ReplaceTransitGateway ret := _m.Called(_a0) var r0 *ec2.ReplaceTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReplaceTransitGatewayRouteInput) (*ec2.ReplaceTransitGatewayRouteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceTransitGatewayRouteInput) *ec2.ReplaceTransitGatewayRouteOutput); ok { r0 = rf(_a0) } else { @@ -36149,7 +48046,6 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRoute(_a0 *ec2.ReplaceTransitGateway } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReplaceTransitGatewayRouteInput) error); ok { r1 = rf(_a0) } else { @@ -36164,6 +48060,10 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRouteRequest(_a0 *ec2.ReplaceTransit ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReplaceTransitGatewayRouteOutput + if rf, ok := ret.Get(0).(func(*ec2.ReplaceTransitGatewayRouteInput) (*request.Request, *ec2.ReplaceTransitGatewayRouteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReplaceTransitGatewayRouteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36172,7 +48072,6 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRouteRequest(_a0 *ec2.ReplaceTransit } } - var r1 *ec2.ReplaceTransitGatewayRouteOutput if rf, ok := ret.Get(1).(func(*ec2.ReplaceTransitGatewayRouteInput) *ec2.ReplaceTransitGatewayRouteOutput); ok { r1 = rf(_a0) } else { @@ -36196,6 +48095,10 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRouteWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.ReplaceTransitGatewayRouteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceTransitGatewayRouteInput, ...request.Option) (*ec2.ReplaceTransitGatewayRouteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceTransitGatewayRouteInput, ...request.Option) *ec2.ReplaceTransitGatewayRouteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36204,7 +48107,6 @@ func (_m *MockFakeEC2) ReplaceTransitGatewayRouteWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReplaceTransitGatewayRouteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36219,6 +48121,10 @@ func (_m *MockFakeEC2) ReportInstanceStatus(_a0 *ec2.ReportInstanceStatusInput) ret := _m.Called(_a0) var r0 *ec2.ReportInstanceStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ReportInstanceStatusInput) (*ec2.ReportInstanceStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReportInstanceStatusInput) *ec2.ReportInstanceStatusOutput); ok { r0 = rf(_a0) } else { @@ -36227,7 +48133,6 @@ func (_m *MockFakeEC2) ReportInstanceStatus(_a0 *ec2.ReportInstanceStatusInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ReportInstanceStatusInput) error); ok { r1 = rf(_a0) } else { @@ -36242,6 +48147,10 @@ func (_m *MockFakeEC2) ReportInstanceStatusRequest(_a0 *ec2.ReportInstanceStatus ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ReportInstanceStatusOutput + if rf, ok := ret.Get(0).(func(*ec2.ReportInstanceStatusInput) (*request.Request, *ec2.ReportInstanceStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ReportInstanceStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36250,7 +48159,6 @@ func (_m *MockFakeEC2) ReportInstanceStatusRequest(_a0 *ec2.ReportInstanceStatus } } - var r1 *ec2.ReportInstanceStatusOutput if rf, ok := ret.Get(1).(func(*ec2.ReportInstanceStatusInput) *ec2.ReportInstanceStatusOutput); ok { r1 = rf(_a0) } else { @@ -36274,6 +48182,10 @@ func (_m *MockFakeEC2) ReportInstanceStatusWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.ReportInstanceStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReportInstanceStatusInput, ...request.Option) (*ec2.ReportInstanceStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReportInstanceStatusInput, ...request.Option) *ec2.ReportInstanceStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36282,7 +48194,6 @@ func (_m *MockFakeEC2) ReportInstanceStatusWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ReportInstanceStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36297,6 +48208,10 @@ func (_m *MockFakeEC2) RequestSpotFleet(_a0 *ec2.RequestSpotFleetInput) (*ec2.Re ret := _m.Called(_a0) var r0 *ec2.RequestSpotFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RequestSpotFleetInput) (*ec2.RequestSpotFleetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RequestSpotFleetInput) *ec2.RequestSpotFleetOutput); ok { r0 = rf(_a0) } else { @@ -36305,7 +48220,6 @@ func (_m *MockFakeEC2) RequestSpotFleet(_a0 *ec2.RequestSpotFleetInput) (*ec2.Re } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RequestSpotFleetInput) error); ok { r1 = rf(_a0) } else { @@ -36320,6 +48234,10 @@ func (_m *MockFakeEC2) RequestSpotFleetRequest(_a0 *ec2.RequestSpotFleetInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RequestSpotFleetOutput + if rf, ok := ret.Get(0).(func(*ec2.RequestSpotFleetInput) (*request.Request, *ec2.RequestSpotFleetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RequestSpotFleetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36328,7 +48246,6 @@ func (_m *MockFakeEC2) RequestSpotFleetRequest(_a0 *ec2.RequestSpotFleetInput) ( } } - var r1 *ec2.RequestSpotFleetOutput if rf, ok := ret.Get(1).(func(*ec2.RequestSpotFleetInput) *ec2.RequestSpotFleetOutput); ok { r1 = rf(_a0) } else { @@ -36352,6 +48269,10 @@ func (_m *MockFakeEC2) RequestSpotFleetWithContext(_a0 context.Context, _a1 *ec2 ret := _m.Called(_ca...) var r0 *ec2.RequestSpotFleetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotFleetInput, ...request.Option) (*ec2.RequestSpotFleetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotFleetInput, ...request.Option) *ec2.RequestSpotFleetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36360,7 +48281,6 @@ func (_m *MockFakeEC2) RequestSpotFleetWithContext(_a0 context.Context, _a1 *ec2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RequestSpotFleetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36375,6 +48295,10 @@ func (_m *MockFakeEC2) RequestSpotInstances(_a0 *ec2.RequestSpotInstancesInput) ret := _m.Called(_a0) var r0 *ec2.RequestSpotInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RequestSpotInstancesInput) (*ec2.RequestSpotInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RequestSpotInstancesInput) *ec2.RequestSpotInstancesOutput); ok { r0 = rf(_a0) } else { @@ -36383,7 +48307,6 @@ func (_m *MockFakeEC2) RequestSpotInstances(_a0 *ec2.RequestSpotInstancesInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RequestSpotInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -36398,6 +48321,10 @@ func (_m *MockFakeEC2) RequestSpotInstancesRequest(_a0 *ec2.RequestSpotInstances ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RequestSpotInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.RequestSpotInstancesInput) (*request.Request, *ec2.RequestSpotInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RequestSpotInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36406,7 +48333,6 @@ func (_m *MockFakeEC2) RequestSpotInstancesRequest(_a0 *ec2.RequestSpotInstances } } - var r1 *ec2.RequestSpotInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.RequestSpotInstancesInput) *ec2.RequestSpotInstancesOutput); ok { r1 = rf(_a0) } else { @@ -36430,6 +48356,10 @@ func (_m *MockFakeEC2) RequestSpotInstancesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.RequestSpotInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotInstancesInput, ...request.Option) (*ec2.RequestSpotInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotInstancesInput, ...request.Option) *ec2.RequestSpotInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36438,7 +48368,6 @@ func (_m *MockFakeEC2) RequestSpotInstancesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RequestSpotInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36453,6 +48382,10 @@ func (_m *MockFakeEC2) ResetAddressAttribute(_a0 *ec2.ResetAddressAttributeInput ret := _m.Called(_a0) var r0 *ec2.ResetAddressAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetAddressAttributeInput) (*ec2.ResetAddressAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetAddressAttributeInput) *ec2.ResetAddressAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36461,7 +48394,6 @@ func (_m *MockFakeEC2) ResetAddressAttribute(_a0 *ec2.ResetAddressAttributeInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetAddressAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36476,6 +48408,10 @@ func (_m *MockFakeEC2) ResetAddressAttributeRequest(_a0 *ec2.ResetAddressAttribu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetAddressAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetAddressAttributeInput) (*request.Request, *ec2.ResetAddressAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetAddressAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36484,7 +48420,6 @@ func (_m *MockFakeEC2) ResetAddressAttributeRequest(_a0 *ec2.ResetAddressAttribu } } - var r1 *ec2.ResetAddressAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetAddressAttributeInput) *ec2.ResetAddressAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36508,6 +48443,10 @@ func (_m *MockFakeEC2) ResetAddressAttributeWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.ResetAddressAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetAddressAttributeInput, ...request.Option) (*ec2.ResetAddressAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetAddressAttributeInput, ...request.Option) *ec2.ResetAddressAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36516,7 +48455,6 @@ func (_m *MockFakeEC2) ResetAddressAttributeWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetAddressAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36531,6 +48469,10 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyId(_a0 *ec2.ResetEbsDefaultKmsKeyIdI ret := _m.Called(_a0) var r0 *ec2.ResetEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) (*ec2.ResetEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) *ec2.ResetEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0) } else { @@ -36539,7 +48481,6 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyId(_a0 *ec2.ResetEbsDefaultKmsKeyIdI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) error); ok { r1 = rf(_a0) } else { @@ -36554,6 +48495,10 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyIdRequest(_a0 *ec2.ResetEbsDefaultKm ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetEbsDefaultKmsKeyIdOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) (*request.Request, *ec2.ResetEbsDefaultKmsKeyIdOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36562,7 +48507,6 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyIdRequest(_a0 *ec2.ResetEbsDefaultKm } } - var r1 *ec2.ResetEbsDefaultKmsKeyIdOutput if rf, ok := ret.Get(1).(func(*ec2.ResetEbsDefaultKmsKeyIdInput) *ec2.ResetEbsDefaultKmsKeyIdOutput); ok { r1 = rf(_a0) } else { @@ -36586,6 +48530,10 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.ResetEbsDefaultKmsKeyIdOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetEbsDefaultKmsKeyIdInput, ...request.Option) (*ec2.ResetEbsDefaultKmsKeyIdOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetEbsDefaultKmsKeyIdInput, ...request.Option) *ec2.ResetEbsDefaultKmsKeyIdOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36594,7 +48542,6 @@ func (_m *MockFakeEC2) ResetEbsDefaultKmsKeyIdWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetEbsDefaultKmsKeyIdInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36609,6 +48556,10 @@ func (_m *MockFakeEC2) ResetFpgaImageAttribute(_a0 *ec2.ResetFpgaImageAttributeI ret := _m.Called(_a0) var r0 *ec2.ResetFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetFpgaImageAttributeInput) (*ec2.ResetFpgaImageAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetFpgaImageAttributeInput) *ec2.ResetFpgaImageAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36617,7 +48568,6 @@ func (_m *MockFakeEC2) ResetFpgaImageAttribute(_a0 *ec2.ResetFpgaImageAttributeI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetFpgaImageAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36632,6 +48582,10 @@ func (_m *MockFakeEC2) ResetFpgaImageAttributeRequest(_a0 *ec2.ResetFpgaImageAtt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetFpgaImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetFpgaImageAttributeInput) (*request.Request, *ec2.ResetFpgaImageAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetFpgaImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36640,7 +48594,6 @@ func (_m *MockFakeEC2) ResetFpgaImageAttributeRequest(_a0 *ec2.ResetFpgaImageAtt } } - var r1 *ec2.ResetFpgaImageAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetFpgaImageAttributeInput) *ec2.ResetFpgaImageAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36664,6 +48617,10 @@ func (_m *MockFakeEC2) ResetFpgaImageAttributeWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.ResetFpgaImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetFpgaImageAttributeInput, ...request.Option) (*ec2.ResetFpgaImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetFpgaImageAttributeInput, ...request.Option) *ec2.ResetFpgaImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36672,7 +48629,6 @@ func (_m *MockFakeEC2) ResetFpgaImageAttributeWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetFpgaImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36687,6 +48643,10 @@ func (_m *MockFakeEC2) ResetImageAttribute(_a0 *ec2.ResetImageAttributeInput) (* ret := _m.Called(_a0) var r0 *ec2.ResetImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetImageAttributeInput) (*ec2.ResetImageAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetImageAttributeInput) *ec2.ResetImageAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36695,7 +48655,6 @@ func (_m *MockFakeEC2) ResetImageAttribute(_a0 *ec2.ResetImageAttributeInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetImageAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36710,6 +48669,10 @@ func (_m *MockFakeEC2) ResetImageAttributeRequest(_a0 *ec2.ResetImageAttributeIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetImageAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetImageAttributeInput) (*request.Request, *ec2.ResetImageAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetImageAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36718,7 +48681,6 @@ func (_m *MockFakeEC2) ResetImageAttributeRequest(_a0 *ec2.ResetImageAttributeIn } } - var r1 *ec2.ResetImageAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetImageAttributeInput) *ec2.ResetImageAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36742,6 +48704,10 @@ func (_m *MockFakeEC2) ResetImageAttributeWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ec2.ResetImageAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetImageAttributeInput, ...request.Option) (*ec2.ResetImageAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetImageAttributeInput, ...request.Option) *ec2.ResetImageAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36750,7 +48716,6 @@ func (_m *MockFakeEC2) ResetImageAttributeWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetImageAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36765,6 +48730,10 @@ func (_m *MockFakeEC2) ResetInstanceAttribute(_a0 *ec2.ResetInstanceAttributeInp ret := _m.Called(_a0) var r0 *ec2.ResetInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetInstanceAttributeInput) (*ec2.ResetInstanceAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetInstanceAttributeInput) *ec2.ResetInstanceAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36773,7 +48742,6 @@ func (_m *MockFakeEC2) ResetInstanceAttribute(_a0 *ec2.ResetInstanceAttributeInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetInstanceAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36788,6 +48756,10 @@ func (_m *MockFakeEC2) ResetInstanceAttributeRequest(_a0 *ec2.ResetInstanceAttri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetInstanceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetInstanceAttributeInput) (*request.Request, *ec2.ResetInstanceAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetInstanceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36796,7 +48768,6 @@ func (_m *MockFakeEC2) ResetInstanceAttributeRequest(_a0 *ec2.ResetInstanceAttri } } - var r1 *ec2.ResetInstanceAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetInstanceAttributeInput) *ec2.ResetInstanceAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36820,6 +48791,10 @@ func (_m *MockFakeEC2) ResetInstanceAttributeWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ResetInstanceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetInstanceAttributeInput, ...request.Option) (*ec2.ResetInstanceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetInstanceAttributeInput, ...request.Option) *ec2.ResetInstanceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36828,7 +48803,6 @@ func (_m *MockFakeEC2) ResetInstanceAttributeWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetInstanceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36843,6 +48817,10 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttribute(_a0 *ec2.ResetNetworkInter ret := _m.Called(_a0) var r0 *ec2.ResetNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetNetworkInterfaceAttributeInput) (*ec2.ResetNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetNetworkInterfaceAttributeInput) *ec2.ResetNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36851,7 +48829,6 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttribute(_a0 *ec2.ResetNetworkInter } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetNetworkInterfaceAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36866,6 +48843,10 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttributeRequest(_a0 *ec2.ResetNetwo ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetNetworkInterfaceAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetNetworkInterfaceAttributeInput) (*request.Request, *ec2.ResetNetworkInterfaceAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetNetworkInterfaceAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36874,7 +48855,6 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttributeRequest(_a0 *ec2.ResetNetwo } } - var r1 *ec2.ResetNetworkInterfaceAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetNetworkInterfaceAttributeInput) *ec2.ResetNetworkInterfaceAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36898,6 +48878,10 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttributeWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *ec2.ResetNetworkInterfaceAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetNetworkInterfaceAttributeInput, ...request.Option) (*ec2.ResetNetworkInterfaceAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetNetworkInterfaceAttributeInput, ...request.Option) *ec2.ResetNetworkInterfaceAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36906,7 +48890,6 @@ func (_m *MockFakeEC2) ResetNetworkInterfaceAttributeWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetNetworkInterfaceAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36921,6 +48904,10 @@ func (_m *MockFakeEC2) ResetSnapshotAttribute(_a0 *ec2.ResetSnapshotAttributeInp ret := _m.Called(_a0) var r0 *ec2.ResetSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.ResetSnapshotAttributeInput) (*ec2.ResetSnapshotAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetSnapshotAttributeInput) *ec2.ResetSnapshotAttributeOutput); ok { r0 = rf(_a0) } else { @@ -36929,7 +48916,6 @@ func (_m *MockFakeEC2) ResetSnapshotAttribute(_a0 *ec2.ResetSnapshotAttributeInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.ResetSnapshotAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -36944,6 +48930,10 @@ func (_m *MockFakeEC2) ResetSnapshotAttributeRequest(_a0 *ec2.ResetSnapshotAttri ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.ResetSnapshotAttributeOutput + if rf, ok := ret.Get(0).(func(*ec2.ResetSnapshotAttributeInput) (*request.Request, *ec2.ResetSnapshotAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.ResetSnapshotAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -36952,7 +48942,6 @@ func (_m *MockFakeEC2) ResetSnapshotAttributeRequest(_a0 *ec2.ResetSnapshotAttri } } - var r1 *ec2.ResetSnapshotAttributeOutput if rf, ok := ret.Get(1).(func(*ec2.ResetSnapshotAttributeInput) *ec2.ResetSnapshotAttributeOutput); ok { r1 = rf(_a0) } else { @@ -36976,6 +48965,10 @@ func (_m *MockFakeEC2) ResetSnapshotAttributeWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.ResetSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetSnapshotAttributeInput, ...request.Option) (*ec2.ResetSnapshotAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetSnapshotAttributeInput, ...request.Option) *ec2.ResetSnapshotAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -36984,7 +48977,6 @@ func (_m *MockFakeEC2) ResetSnapshotAttributeWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.ResetSnapshotAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -36999,6 +48991,10 @@ func (_m *MockFakeEC2) RestoreAddressToClassic(_a0 *ec2.RestoreAddressToClassicI ret := _m.Called(_a0) var r0 *ec2.RestoreAddressToClassicOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RestoreAddressToClassicInput) (*ec2.RestoreAddressToClassicOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RestoreAddressToClassicInput) *ec2.RestoreAddressToClassicOutput); ok { r0 = rf(_a0) } else { @@ -37007,7 +49003,6 @@ func (_m *MockFakeEC2) RestoreAddressToClassic(_a0 *ec2.RestoreAddressToClassicI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RestoreAddressToClassicInput) error); ok { r1 = rf(_a0) } else { @@ -37022,6 +49017,10 @@ func (_m *MockFakeEC2) RestoreAddressToClassicRequest(_a0 *ec2.RestoreAddressToC ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RestoreAddressToClassicOutput + if rf, ok := ret.Get(0).(func(*ec2.RestoreAddressToClassicInput) (*request.Request, *ec2.RestoreAddressToClassicOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RestoreAddressToClassicInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37030,7 +49029,6 @@ func (_m *MockFakeEC2) RestoreAddressToClassicRequest(_a0 *ec2.RestoreAddressToC } } - var r1 *ec2.RestoreAddressToClassicOutput if rf, ok := ret.Get(1).(func(*ec2.RestoreAddressToClassicInput) *ec2.RestoreAddressToClassicOutput); ok { r1 = rf(_a0) } else { @@ -37054,6 +49052,10 @@ func (_m *MockFakeEC2) RestoreAddressToClassicWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.RestoreAddressToClassicOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreAddressToClassicInput, ...request.Option) (*ec2.RestoreAddressToClassicOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreAddressToClassicInput, ...request.Option) *ec2.RestoreAddressToClassicOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37062,7 +49064,6 @@ func (_m *MockFakeEC2) RestoreAddressToClassicWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RestoreAddressToClassicInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37072,11 +49073,102 @@ func (_m *MockFakeEC2) RestoreAddressToClassicWithContext(_a0 context.Context, _ return r0, r1 } +// RestoreImageFromRecycleBin provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreImageFromRecycleBin(_a0 *ec2.RestoreImageFromRecycleBinInput) (*ec2.RestoreImageFromRecycleBinOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.RestoreImageFromRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RestoreImageFromRecycleBinInput) (*ec2.RestoreImageFromRecycleBinOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreImageFromRecycleBinInput) *ec2.RestoreImageFromRecycleBinOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreImageFromRecycleBinOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreImageFromRecycleBinInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RestoreImageFromRecycleBinRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreImageFromRecycleBinRequest(_a0 *ec2.RestoreImageFromRecycleBinInput) (*request.Request, *ec2.RestoreImageFromRecycleBinOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.RestoreImageFromRecycleBinOutput + if rf, ok := ret.Get(0).(func(*ec2.RestoreImageFromRecycleBinInput) (*request.Request, *ec2.RestoreImageFromRecycleBinOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreImageFromRecycleBinInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreImageFromRecycleBinInput) *ec2.RestoreImageFromRecycleBinOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.RestoreImageFromRecycleBinOutput) + } + } + + return r0, r1 +} + +// RestoreImageFromRecycleBinWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) RestoreImageFromRecycleBinWithContext(_a0 context.Context, _a1 *ec2.RestoreImageFromRecycleBinInput, _a2 ...request.Option) (*ec2.RestoreImageFromRecycleBinOutput, error) { + _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 *ec2.RestoreImageFromRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreImageFromRecycleBinInput, ...request.Option) (*ec2.RestoreImageFromRecycleBinOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreImageFromRecycleBinInput, ...request.Option) *ec2.RestoreImageFromRecycleBinOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreImageFromRecycleBinOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.RestoreImageFromRecycleBinInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // RestoreManagedPrefixListVersion provides a mock function with given fields: _a0 func (_m *MockFakeEC2) RestoreManagedPrefixListVersion(_a0 *ec2.RestoreManagedPrefixListVersionInput) (*ec2.RestoreManagedPrefixListVersionOutput, error) { ret := _m.Called(_a0) var r0 *ec2.RestoreManagedPrefixListVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RestoreManagedPrefixListVersionInput) (*ec2.RestoreManagedPrefixListVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RestoreManagedPrefixListVersionInput) *ec2.RestoreManagedPrefixListVersionOutput); ok { r0 = rf(_a0) } else { @@ -37085,7 +49177,6 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersion(_a0 *ec2.RestoreManagedPr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RestoreManagedPrefixListVersionInput) error); ok { r1 = rf(_a0) } else { @@ -37100,6 +49191,10 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersionRequest(_a0 *ec2.RestoreMa ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RestoreManagedPrefixListVersionOutput + if rf, ok := ret.Get(0).(func(*ec2.RestoreManagedPrefixListVersionInput) (*request.Request, *ec2.RestoreManagedPrefixListVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RestoreManagedPrefixListVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37108,7 +49203,6 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersionRequest(_a0 *ec2.RestoreMa } } - var r1 *ec2.RestoreManagedPrefixListVersionOutput if rf, ok := ret.Get(1).(func(*ec2.RestoreManagedPrefixListVersionInput) *ec2.RestoreManagedPrefixListVersionOutput); ok { r1 = rf(_a0) } else { @@ -37132,6 +49226,10 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersionWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *ec2.RestoreManagedPrefixListVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreManagedPrefixListVersionInput, ...request.Option) (*ec2.RestoreManagedPrefixListVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreManagedPrefixListVersionInput, ...request.Option) *ec2.RestoreManagedPrefixListVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37140,7 +49238,6 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersionWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RestoreManagedPrefixListVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37150,11 +49247,189 @@ func (_m *MockFakeEC2) RestoreManagedPrefixListVersionWithContext(_a0 context.Co return r0, r1 } +// RestoreSnapshotFromRecycleBin provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreSnapshotFromRecycleBin(_a0 *ec2.RestoreSnapshotFromRecycleBinInput) (*ec2.RestoreSnapshotFromRecycleBinOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.RestoreSnapshotFromRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotFromRecycleBinInput) (*ec2.RestoreSnapshotFromRecycleBinOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotFromRecycleBinInput) *ec2.RestoreSnapshotFromRecycleBinOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreSnapshotFromRecycleBinOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreSnapshotFromRecycleBinInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RestoreSnapshotFromRecycleBinRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreSnapshotFromRecycleBinRequest(_a0 *ec2.RestoreSnapshotFromRecycleBinInput) (*request.Request, *ec2.RestoreSnapshotFromRecycleBinOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.RestoreSnapshotFromRecycleBinOutput + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotFromRecycleBinInput) (*request.Request, *ec2.RestoreSnapshotFromRecycleBinOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotFromRecycleBinInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreSnapshotFromRecycleBinInput) *ec2.RestoreSnapshotFromRecycleBinOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.RestoreSnapshotFromRecycleBinOutput) + } + } + + return r0, r1 +} + +// RestoreSnapshotFromRecycleBinWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) RestoreSnapshotFromRecycleBinWithContext(_a0 context.Context, _a1 *ec2.RestoreSnapshotFromRecycleBinInput, _a2 ...request.Option) (*ec2.RestoreSnapshotFromRecycleBinOutput, error) { + _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 *ec2.RestoreSnapshotFromRecycleBinOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotFromRecycleBinInput, ...request.Option) (*ec2.RestoreSnapshotFromRecycleBinOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotFromRecycleBinInput, ...request.Option) *ec2.RestoreSnapshotFromRecycleBinOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreSnapshotFromRecycleBinOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.RestoreSnapshotFromRecycleBinInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RestoreSnapshotTier provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreSnapshotTier(_a0 *ec2.RestoreSnapshotTierInput) (*ec2.RestoreSnapshotTierOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.RestoreSnapshotTierOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotTierInput) (*ec2.RestoreSnapshotTierOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotTierInput) *ec2.RestoreSnapshotTierOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreSnapshotTierOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreSnapshotTierInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RestoreSnapshotTierRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) RestoreSnapshotTierRequest(_a0 *ec2.RestoreSnapshotTierInput) (*request.Request, *ec2.RestoreSnapshotTierOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.RestoreSnapshotTierOutput + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotTierInput) (*request.Request, *ec2.RestoreSnapshotTierOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.RestoreSnapshotTierInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.RestoreSnapshotTierInput) *ec2.RestoreSnapshotTierOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.RestoreSnapshotTierOutput) + } + } + + return r0, r1 +} + +// RestoreSnapshotTierWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) RestoreSnapshotTierWithContext(_a0 context.Context, _a1 *ec2.RestoreSnapshotTierInput, _a2 ...request.Option) (*ec2.RestoreSnapshotTierOutput, error) { + _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 *ec2.RestoreSnapshotTierOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotTierInput, ...request.Option) (*ec2.RestoreSnapshotTierOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotTierInput, ...request.Option) *ec2.RestoreSnapshotTierOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.RestoreSnapshotTierOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.RestoreSnapshotTierInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // RevokeClientVpnIngress provides a mock function with given fields: _a0 func (_m *MockFakeEC2) RevokeClientVpnIngress(_a0 *ec2.RevokeClientVpnIngressInput) (*ec2.RevokeClientVpnIngressOutput, error) { ret := _m.Called(_a0) var r0 *ec2.RevokeClientVpnIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RevokeClientVpnIngressInput) (*ec2.RevokeClientVpnIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeClientVpnIngressInput) *ec2.RevokeClientVpnIngressOutput); ok { r0 = rf(_a0) } else { @@ -37163,7 +49438,6 @@ func (_m *MockFakeEC2) RevokeClientVpnIngress(_a0 *ec2.RevokeClientVpnIngressInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RevokeClientVpnIngressInput) error); ok { r1 = rf(_a0) } else { @@ -37178,6 +49452,10 @@ func (_m *MockFakeEC2) RevokeClientVpnIngressRequest(_a0 *ec2.RevokeClientVpnIng ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RevokeClientVpnIngressOutput + if rf, ok := ret.Get(0).(func(*ec2.RevokeClientVpnIngressInput) (*request.Request, *ec2.RevokeClientVpnIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeClientVpnIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37186,7 +49464,6 @@ func (_m *MockFakeEC2) RevokeClientVpnIngressRequest(_a0 *ec2.RevokeClientVpnIng } } - var r1 *ec2.RevokeClientVpnIngressOutput if rf, ok := ret.Get(1).(func(*ec2.RevokeClientVpnIngressInput) *ec2.RevokeClientVpnIngressOutput); ok { r1 = rf(_a0) } else { @@ -37210,6 +49487,10 @@ func (_m *MockFakeEC2) RevokeClientVpnIngressWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ec2.RevokeClientVpnIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeClientVpnIngressInput, ...request.Option) (*ec2.RevokeClientVpnIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeClientVpnIngressInput, ...request.Option) *ec2.RevokeClientVpnIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37218,7 +49499,6 @@ func (_m *MockFakeEC2) RevokeClientVpnIngressWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RevokeClientVpnIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37233,6 +49513,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgress(_a0 *ec2.RevokeSecurityGroupEgr ret := _m.Called(_a0) var r0 *ec2.RevokeSecurityGroupEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupEgressInput) (*ec2.RevokeSecurityGroupEgressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupEgressInput) *ec2.RevokeSecurityGroupEgressOutput); ok { r0 = rf(_a0) } else { @@ -37241,7 +49525,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgress(_a0 *ec2.RevokeSecurityGroupEgr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RevokeSecurityGroupEgressInput) error); ok { r1 = rf(_a0) } else { @@ -37256,6 +49539,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgressRequest(_a0 *ec2.RevokeSecurityG ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RevokeSecurityGroupEgressOutput + if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupEgressInput) (*request.Request, *ec2.RevokeSecurityGroupEgressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupEgressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37264,7 +49551,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgressRequest(_a0 *ec2.RevokeSecurityG } } - var r1 *ec2.RevokeSecurityGroupEgressOutput if rf, ok := ret.Get(1).(func(*ec2.RevokeSecurityGroupEgressInput) *ec2.RevokeSecurityGroupEgressOutput); ok { r1 = rf(_a0) } else { @@ -37288,6 +49574,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgressWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.RevokeSecurityGroupEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupEgressInput, ...request.Option) (*ec2.RevokeSecurityGroupEgressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupEgressInput, ...request.Option) *ec2.RevokeSecurityGroupEgressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37296,7 +49586,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupEgressWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RevokeSecurityGroupEgressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37311,6 +49600,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngress(_a0 *ec2.RevokeSecurityGroupIn ret := _m.Called(_a0) var r0 *ec2.RevokeSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupIngressInput) *ec2.RevokeSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -37319,7 +49612,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngress(_a0 *ec2.RevokeSecurityGroupIn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RevokeSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -37334,6 +49626,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngressRequest(_a0 *ec2.RevokeSecurity ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RevokeSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupIngressInput) (*request.Request, *ec2.RevokeSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RevokeSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37342,7 +49638,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngressRequest(_a0 *ec2.RevokeSecurity } } - var r1 *ec2.RevokeSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*ec2.RevokeSecurityGroupIngressInput) *ec2.RevokeSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -37366,6 +49661,10 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngressWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.RevokeSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupIngressInput, ...request.Option) (*ec2.RevokeSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupIngressInput, ...request.Option) *ec2.RevokeSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37374,7 +49673,6 @@ func (_m *MockFakeEC2) RevokeSecurityGroupIngressWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RevokeSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37389,6 +49687,10 @@ func (_m *MockFakeEC2) RunInstances(_a0 *ec2.RunInstancesInput) (*ec2.Reservatio ret := _m.Called(_a0) var r0 *ec2.Reservation + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RunInstancesInput) (*ec2.Reservation, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RunInstancesInput) *ec2.Reservation); ok { r0 = rf(_a0) } else { @@ -37397,7 +49699,6 @@ func (_m *MockFakeEC2) RunInstances(_a0 *ec2.RunInstancesInput) (*ec2.Reservatio } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RunInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -37412,6 +49713,10 @@ func (_m *MockFakeEC2) RunInstancesRequest(_a0 *ec2.RunInstancesInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.Reservation + if rf, ok := ret.Get(0).(func(*ec2.RunInstancesInput) (*request.Request, *ec2.Reservation)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RunInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37420,7 +49725,6 @@ func (_m *MockFakeEC2) RunInstancesRequest(_a0 *ec2.RunInstancesInput) (*request } } - var r1 *ec2.Reservation if rf, ok := ret.Get(1).(func(*ec2.RunInstancesInput) *ec2.Reservation); ok { r1 = rf(_a0) } else { @@ -37444,6 +49748,10 @@ func (_m *MockFakeEC2) RunInstancesWithContext(_a0 context.Context, _a1 *ec2.Run ret := _m.Called(_ca...) var r0 *ec2.Reservation + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunInstancesInput, ...request.Option) (*ec2.Reservation, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunInstancesInput, ...request.Option) *ec2.Reservation); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37452,7 +49760,6 @@ func (_m *MockFakeEC2) RunInstancesWithContext(_a0 context.Context, _a1 *ec2.Run } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RunInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37467,6 +49774,10 @@ func (_m *MockFakeEC2) RunScheduledInstances(_a0 *ec2.RunScheduledInstancesInput ret := _m.Called(_a0) var r0 *ec2.RunScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.RunScheduledInstancesInput) (*ec2.RunScheduledInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RunScheduledInstancesInput) *ec2.RunScheduledInstancesOutput); ok { r0 = rf(_a0) } else { @@ -37475,7 +49786,6 @@ func (_m *MockFakeEC2) RunScheduledInstances(_a0 *ec2.RunScheduledInstancesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.RunScheduledInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -37490,6 +49800,10 @@ func (_m *MockFakeEC2) RunScheduledInstancesRequest(_a0 *ec2.RunScheduledInstanc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.RunScheduledInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.RunScheduledInstancesInput) (*request.Request, *ec2.RunScheduledInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.RunScheduledInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37498,7 +49812,6 @@ func (_m *MockFakeEC2) RunScheduledInstancesRequest(_a0 *ec2.RunScheduledInstanc } } - var r1 *ec2.RunScheduledInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.RunScheduledInstancesInput) *ec2.RunScheduledInstancesOutput); ok { r1 = rf(_a0) } else { @@ -37522,6 +49835,10 @@ func (_m *MockFakeEC2) RunScheduledInstancesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.RunScheduledInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunScheduledInstancesInput, ...request.Option) (*ec2.RunScheduledInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunScheduledInstancesInput, ...request.Option) *ec2.RunScheduledInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37530,7 +49847,6 @@ func (_m *MockFakeEC2) RunScheduledInstancesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.RunScheduledInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37545,6 +49861,10 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutes(_a0 *ec2.SearchLocalGatewayRoute ret := _m.Called(_a0) var r0 *ec2.SearchLocalGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.SearchLocalGatewayRoutesInput) (*ec2.SearchLocalGatewayRoutesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchLocalGatewayRoutesInput) *ec2.SearchLocalGatewayRoutesOutput); ok { r0 = rf(_a0) } else { @@ -37553,7 +49873,6 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutes(_a0 *ec2.SearchLocalGatewayRoute } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.SearchLocalGatewayRoutesInput) error); ok { r1 = rf(_a0) } else { @@ -37603,6 +49922,10 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutesRequest(_a0 *ec2.SearchLocalGatew ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.SearchLocalGatewayRoutesOutput + if rf, ok := ret.Get(0).(func(*ec2.SearchLocalGatewayRoutesInput) (*request.Request, *ec2.SearchLocalGatewayRoutesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchLocalGatewayRoutesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37611,7 +49934,6 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutesRequest(_a0 *ec2.SearchLocalGatew } } - var r1 *ec2.SearchLocalGatewayRoutesOutput if rf, ok := ret.Get(1).(func(*ec2.SearchLocalGatewayRoutesInput) *ec2.SearchLocalGatewayRoutesOutput); ok { r1 = rf(_a0) } else { @@ -37635,6 +49957,10 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ec2.SearchLocalGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchLocalGatewayRoutesInput, ...request.Option) (*ec2.SearchLocalGatewayRoutesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchLocalGatewayRoutesInput, ...request.Option) *ec2.SearchLocalGatewayRoutesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37643,7 +49969,6 @@ func (_m *MockFakeEC2) SearchLocalGatewayRoutesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.SearchLocalGatewayRoutesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37658,6 +49983,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroups(_a0 *ec2.SearchTransi ret := _m.Called(_a0) var r0 *ec2.SearchTransitGatewayMulticastGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) (*ec2.SearchTransitGatewayMulticastGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) *ec2.SearchTransitGatewayMulticastGroupsOutput); ok { r0 = rf(_a0) } else { @@ -37666,7 +49995,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroups(_a0 *ec2.SearchTransi } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -37716,6 +50044,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroupsRequest(_a0 *ec2.Searc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.SearchTransitGatewayMulticastGroupsOutput + if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) (*request.Request, *ec2.SearchTransitGatewayMulticastGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37724,7 +50056,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroupsRequest(_a0 *ec2.Searc } } - var r1 *ec2.SearchTransitGatewayMulticastGroupsOutput if rf, ok := ret.Get(1).(func(*ec2.SearchTransitGatewayMulticastGroupsInput) *ec2.SearchTransitGatewayMulticastGroupsOutput); ok { r1 = rf(_a0) } else { @@ -37748,6 +50079,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroupsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *ec2.SearchTransitGatewayMulticastGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayMulticastGroupsInput, ...request.Option) (*ec2.SearchTransitGatewayMulticastGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayMulticastGroupsInput, ...request.Option) *ec2.SearchTransitGatewayMulticastGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37756,7 +50091,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayMulticastGroupsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.SearchTransitGatewayMulticastGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37771,6 +50105,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutes(_a0 *ec2.SearchTransitGatewayR ret := _m.Called(_a0) var r0 *ec2.SearchTransitGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayRoutesInput) (*ec2.SearchTransitGatewayRoutesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayRoutesInput) *ec2.SearchTransitGatewayRoutesOutput); ok { r0 = rf(_a0) } else { @@ -37779,7 +50117,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutes(_a0 *ec2.SearchTransitGatewayR } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.SearchTransitGatewayRoutesInput) error); ok { r1 = rf(_a0) } else { @@ -37794,6 +50131,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutesRequest(_a0 *ec2.SearchTransitG ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.SearchTransitGatewayRoutesOutput + if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayRoutesInput) (*request.Request, *ec2.SearchTransitGatewayRoutesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SearchTransitGatewayRoutesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37802,7 +50143,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutesRequest(_a0 *ec2.SearchTransitG } } - var r1 *ec2.SearchTransitGatewayRoutesOutput if rf, ok := ret.Get(1).(func(*ec2.SearchTransitGatewayRoutesInput) *ec2.SearchTransitGatewayRoutesOutput); ok { r1 = rf(_a0) } else { @@ -37826,6 +50166,10 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.SearchTransitGatewayRoutesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayRoutesInput, ...request.Option) (*ec2.SearchTransitGatewayRoutesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayRoutesInput, ...request.Option) *ec2.SearchTransitGatewayRoutesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37834,7 +50178,6 @@ func (_m *MockFakeEC2) SearchTransitGatewayRoutesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.SearchTransitGatewayRoutesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37849,6 +50192,10 @@ func (_m *MockFakeEC2) SendDiagnosticInterrupt(_a0 *ec2.SendDiagnosticInterruptI ret := _m.Called(_a0) var r0 *ec2.SendDiagnosticInterruptOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.SendDiagnosticInterruptInput) (*ec2.SendDiagnosticInterruptOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SendDiagnosticInterruptInput) *ec2.SendDiagnosticInterruptOutput); ok { r0 = rf(_a0) } else { @@ -37857,7 +50204,6 @@ func (_m *MockFakeEC2) SendDiagnosticInterrupt(_a0 *ec2.SendDiagnosticInterruptI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.SendDiagnosticInterruptInput) error); ok { r1 = rf(_a0) } else { @@ -37872,6 +50218,10 @@ func (_m *MockFakeEC2) SendDiagnosticInterruptRequest(_a0 *ec2.SendDiagnosticInt ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.SendDiagnosticInterruptOutput + if rf, ok := ret.Get(0).(func(*ec2.SendDiagnosticInterruptInput) (*request.Request, *ec2.SendDiagnosticInterruptOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.SendDiagnosticInterruptInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37880,7 +50230,6 @@ func (_m *MockFakeEC2) SendDiagnosticInterruptRequest(_a0 *ec2.SendDiagnosticInt } } - var r1 *ec2.SendDiagnosticInterruptOutput if rf, ok := ret.Get(1).(func(*ec2.SendDiagnosticInterruptInput) *ec2.SendDiagnosticInterruptOutput); ok { r1 = rf(_a0) } else { @@ -37904,6 +50253,10 @@ func (_m *MockFakeEC2) SendDiagnosticInterruptWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *ec2.SendDiagnosticInterruptOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.SendDiagnosticInterruptInput, ...request.Option) (*ec2.SendDiagnosticInterruptOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.SendDiagnosticInterruptInput, ...request.Option) *ec2.SendDiagnosticInterruptOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37912,7 +50265,6 @@ func (_m *MockFakeEC2) SendDiagnosticInterruptWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.SendDiagnosticInterruptInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -37927,6 +50279,10 @@ func (_m *MockFakeEC2) StartInstances(_a0 *ec2.StartInstancesInput) (*ec2.StartI ret := _m.Called(_a0) var r0 *ec2.StartInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.StartInstancesInput) (*ec2.StartInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartInstancesInput) *ec2.StartInstancesOutput); ok { r0 = rf(_a0) } else { @@ -37935,7 +50291,6 @@ func (_m *MockFakeEC2) StartInstances(_a0 *ec2.StartInstancesInput) (*ec2.StartI } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.StartInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -37950,6 +50305,10 @@ func (_m *MockFakeEC2) StartInstancesRequest(_a0 *ec2.StartInstancesInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.StartInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.StartInstancesInput) (*request.Request, *ec2.StartInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -37958,7 +50317,6 @@ func (_m *MockFakeEC2) StartInstancesRequest(_a0 *ec2.StartInstancesInput) (*req } } - var r1 *ec2.StartInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.StartInstancesInput) *ec2.StartInstancesOutput); ok { r1 = rf(_a0) } else { @@ -37982,6 +50340,10 @@ func (_m *MockFakeEC2) StartInstancesWithContext(_a0 context.Context, _a1 *ec2.S ret := _m.Called(_ca...) var r0 *ec2.StartInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartInstancesInput, ...request.Option) (*ec2.StartInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartInstancesInput, ...request.Option) *ec2.StartInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -37990,7 +50352,6 @@ func (_m *MockFakeEC2) StartInstancesWithContext(_a0 context.Context, _a1 *ec2.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.StartInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38000,11 +50361,102 @@ func (_m *MockFakeEC2) StartInstancesWithContext(_a0 context.Context, _a1 *ec2.S return r0, r1 } +// StartNetworkInsightsAccessScopeAnalysis provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) StartNetworkInsightsAccessScopeAnalysis(_a0 *ec2.StartNetworkInsightsAccessScopeAnalysisInput) (*ec2.StartNetworkInsightsAccessScopeAnalysisOutput, error) { + ret := _m.Called(_a0) + + var r0 *ec2.StartNetworkInsightsAccessScopeAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) (*ec2.StartNetworkInsightsAccessScopeAnalysisOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) *ec2.StartNetworkInsightsAccessScopeAnalysisOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.StartNetworkInsightsAccessScopeAnalysisOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// StartNetworkInsightsAccessScopeAnalysisRequest provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) StartNetworkInsightsAccessScopeAnalysisRequest(_a0 *ec2.StartNetworkInsightsAccessScopeAnalysisInput) (*request.Request, *ec2.StartNetworkInsightsAccessScopeAnalysisOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ec2.StartNetworkInsightsAccessScopeAnalysisOutput + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) (*request.Request, *ec2.StartNetworkInsightsAccessScopeAnalysisOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ec2.StartNetworkInsightsAccessScopeAnalysisInput) *ec2.StartNetworkInsightsAccessScopeAnalysisOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ec2.StartNetworkInsightsAccessScopeAnalysisOutput) + } + } + + return r0, r1 +} + +// StartNetworkInsightsAccessScopeAnalysisWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) StartNetworkInsightsAccessScopeAnalysisWithContext(_a0 context.Context, _a1 *ec2.StartNetworkInsightsAccessScopeAnalysisInput, _a2 ...request.Option) (*ec2.StartNetworkInsightsAccessScopeAnalysisOutput, error) { + _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 *ec2.StartNetworkInsightsAccessScopeAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAccessScopeAnalysisInput, ...request.Option) (*ec2.StartNetworkInsightsAccessScopeAnalysisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAccessScopeAnalysisInput, ...request.Option) *ec2.StartNetworkInsightsAccessScopeAnalysisOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ec2.StartNetworkInsightsAccessScopeAnalysisOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ec2.StartNetworkInsightsAccessScopeAnalysisInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // StartNetworkInsightsAnalysis provides a mock function with given fields: _a0 func (_m *MockFakeEC2) StartNetworkInsightsAnalysis(_a0 *ec2.StartNetworkInsightsAnalysisInput) (*ec2.StartNetworkInsightsAnalysisOutput, error) { ret := _m.Called(_a0) var r0 *ec2.StartNetworkInsightsAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAnalysisInput) (*ec2.StartNetworkInsightsAnalysisOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAnalysisInput) *ec2.StartNetworkInsightsAnalysisOutput); ok { r0 = rf(_a0) } else { @@ -38013,7 +50465,6 @@ func (_m *MockFakeEC2) StartNetworkInsightsAnalysis(_a0 *ec2.StartNetworkInsight } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.StartNetworkInsightsAnalysisInput) error); ok { r1 = rf(_a0) } else { @@ -38028,6 +50479,10 @@ func (_m *MockFakeEC2) StartNetworkInsightsAnalysisRequest(_a0 *ec2.StartNetwork ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.StartNetworkInsightsAnalysisOutput + if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAnalysisInput) (*request.Request, *ec2.StartNetworkInsightsAnalysisOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartNetworkInsightsAnalysisInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38036,7 +50491,6 @@ func (_m *MockFakeEC2) StartNetworkInsightsAnalysisRequest(_a0 *ec2.StartNetwork } } - var r1 *ec2.StartNetworkInsightsAnalysisOutput if rf, ok := ret.Get(1).(func(*ec2.StartNetworkInsightsAnalysisInput) *ec2.StartNetworkInsightsAnalysisOutput); ok { r1 = rf(_a0) } else { @@ -38060,6 +50514,10 @@ func (_m *MockFakeEC2) StartNetworkInsightsAnalysisWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *ec2.StartNetworkInsightsAnalysisOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAnalysisInput, ...request.Option) (*ec2.StartNetworkInsightsAnalysisOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAnalysisInput, ...request.Option) *ec2.StartNetworkInsightsAnalysisOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38068,7 +50526,6 @@ func (_m *MockFakeEC2) StartNetworkInsightsAnalysisWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.StartNetworkInsightsAnalysisInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38083,6 +50540,10 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerification(_a0 *ec2.St ret := _m.Called(_a0) var r0 *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) (*ec2.StartVpcEndpointServicePrivateDnsVerificationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput); ok { r0 = rf(_a0) } else { @@ -38091,7 +50552,6 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerification(_a0 *ec2.St } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) error); ok { r1 = rf(_a0) } else { @@ -38106,6 +50566,10 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerificationRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput + if rf, ok := ret.Get(0).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) (*request.Request, *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38114,7 +50578,6 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerificationRequest(_a0 } } - var r1 *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput if rf, ok := ret.Get(1).(func(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput); ok { r1 = rf(_a0) } else { @@ -38138,6 +50601,10 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerificationWithContext( ret := _m.Called(_ca...) var r0 *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartVpcEndpointServicePrivateDnsVerificationInput, ...request.Option) (*ec2.StartVpcEndpointServicePrivateDnsVerificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartVpcEndpointServicePrivateDnsVerificationInput, ...request.Option) *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38146,7 +50613,6 @@ func (_m *MockFakeEC2) StartVpcEndpointServicePrivateDnsVerificationWithContext( } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.StartVpcEndpointServicePrivateDnsVerificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38161,6 +50627,10 @@ func (_m *MockFakeEC2) StopInstances(_a0 *ec2.StopInstancesInput) (*ec2.StopInst ret := _m.Called(_a0) var r0 *ec2.StopInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.StopInstancesInput) (*ec2.StopInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StopInstancesInput) *ec2.StopInstancesOutput); ok { r0 = rf(_a0) } else { @@ -38169,7 +50639,6 @@ func (_m *MockFakeEC2) StopInstances(_a0 *ec2.StopInstancesInput) (*ec2.StopInst } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.StopInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -38184,6 +50653,10 @@ func (_m *MockFakeEC2) StopInstancesRequest(_a0 *ec2.StopInstancesInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.StopInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.StopInstancesInput) (*request.Request, *ec2.StopInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.StopInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38192,7 +50665,6 @@ func (_m *MockFakeEC2) StopInstancesRequest(_a0 *ec2.StopInstancesInput) (*reque } } - var r1 *ec2.StopInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.StopInstancesInput) *ec2.StopInstancesOutput); ok { r1 = rf(_a0) } else { @@ -38216,6 +50688,10 @@ func (_m *MockFakeEC2) StopInstancesWithContext(_a0 context.Context, _a1 *ec2.St ret := _m.Called(_ca...) var r0 *ec2.StopInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.StopInstancesInput, ...request.Option) (*ec2.StopInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.StopInstancesInput, ...request.Option) *ec2.StopInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38224,7 +50700,6 @@ func (_m *MockFakeEC2) StopInstancesWithContext(_a0 context.Context, _a1 *ec2.St } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.StopInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38239,6 +50714,10 @@ func (_m *MockFakeEC2) TerminateClientVpnConnections(_a0 *ec2.TerminateClientVpn ret := _m.Called(_a0) var r0 *ec2.TerminateClientVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.TerminateClientVpnConnectionsInput) (*ec2.TerminateClientVpnConnectionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.TerminateClientVpnConnectionsInput) *ec2.TerminateClientVpnConnectionsOutput); ok { r0 = rf(_a0) } else { @@ -38247,7 +50726,6 @@ func (_m *MockFakeEC2) TerminateClientVpnConnections(_a0 *ec2.TerminateClientVpn } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.TerminateClientVpnConnectionsInput) error); ok { r1 = rf(_a0) } else { @@ -38262,6 +50740,10 @@ func (_m *MockFakeEC2) TerminateClientVpnConnectionsRequest(_a0 *ec2.TerminateCl ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.TerminateClientVpnConnectionsOutput + if rf, ok := ret.Get(0).(func(*ec2.TerminateClientVpnConnectionsInput) (*request.Request, *ec2.TerminateClientVpnConnectionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.TerminateClientVpnConnectionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38270,7 +50752,6 @@ func (_m *MockFakeEC2) TerminateClientVpnConnectionsRequest(_a0 *ec2.TerminateCl } } - var r1 *ec2.TerminateClientVpnConnectionsOutput if rf, ok := ret.Get(1).(func(*ec2.TerminateClientVpnConnectionsInput) *ec2.TerminateClientVpnConnectionsOutput); ok { r1 = rf(_a0) } else { @@ -38294,6 +50775,10 @@ func (_m *MockFakeEC2) TerminateClientVpnConnectionsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ec2.TerminateClientVpnConnectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateClientVpnConnectionsInput, ...request.Option) (*ec2.TerminateClientVpnConnectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateClientVpnConnectionsInput, ...request.Option) *ec2.TerminateClientVpnConnectionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38302,7 +50787,6 @@ func (_m *MockFakeEC2) TerminateClientVpnConnectionsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.TerminateClientVpnConnectionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38317,6 +50801,10 @@ func (_m *MockFakeEC2) TerminateInstances(_a0 *ec2.TerminateInstancesInput) (*ec ret := _m.Called(_a0) var r0 *ec2.TerminateInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.TerminateInstancesInput) *ec2.TerminateInstancesOutput); ok { r0 = rf(_a0) } else { @@ -38325,7 +50813,6 @@ func (_m *MockFakeEC2) TerminateInstances(_a0 *ec2.TerminateInstancesInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.TerminateInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -38340,6 +50827,10 @@ func (_m *MockFakeEC2) TerminateInstancesRequest(_a0 *ec2.TerminateInstancesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.TerminateInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.TerminateInstancesInput) (*request.Request, *ec2.TerminateInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.TerminateInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38348,7 +50839,6 @@ func (_m *MockFakeEC2) TerminateInstancesRequest(_a0 *ec2.TerminateInstancesInpu } } - var r1 *ec2.TerminateInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.TerminateInstancesInput) *ec2.TerminateInstancesOutput); ok { r1 = rf(_a0) } else { @@ -38372,6 +50862,10 @@ func (_m *MockFakeEC2) TerminateInstancesWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.TerminateInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateInstancesInput, ...request.Option) (*ec2.TerminateInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateInstancesInput, ...request.Option) *ec2.TerminateInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38380,7 +50874,6 @@ func (_m *MockFakeEC2) TerminateInstancesWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.TerminateInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38395,6 +50888,10 @@ func (_m *MockFakeEC2) UnassignIpv6Addresses(_a0 *ec2.UnassignIpv6AddressesInput ret := _m.Called(_a0) var r0 *ec2.UnassignIpv6AddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.UnassignIpv6AddressesInput) (*ec2.UnassignIpv6AddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnassignIpv6AddressesInput) *ec2.UnassignIpv6AddressesOutput); ok { r0 = rf(_a0) } else { @@ -38403,7 +50900,6 @@ func (_m *MockFakeEC2) UnassignIpv6Addresses(_a0 *ec2.UnassignIpv6AddressesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.UnassignIpv6AddressesInput) error); ok { r1 = rf(_a0) } else { @@ -38418,6 +50914,10 @@ func (_m *MockFakeEC2) UnassignIpv6AddressesRequest(_a0 *ec2.UnassignIpv6Address ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.UnassignIpv6AddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.UnassignIpv6AddressesInput) (*request.Request, *ec2.UnassignIpv6AddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnassignIpv6AddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38426,7 +50926,6 @@ func (_m *MockFakeEC2) UnassignIpv6AddressesRequest(_a0 *ec2.UnassignIpv6Address } } - var r1 *ec2.UnassignIpv6AddressesOutput if rf, ok := ret.Get(1).(func(*ec2.UnassignIpv6AddressesInput) *ec2.UnassignIpv6AddressesOutput); ok { r1 = rf(_a0) } else { @@ -38450,6 +50949,10 @@ func (_m *MockFakeEC2) UnassignIpv6AddressesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ec2.UnassignIpv6AddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignIpv6AddressesInput, ...request.Option) (*ec2.UnassignIpv6AddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignIpv6AddressesInput, ...request.Option) *ec2.UnassignIpv6AddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38458,7 +50961,6 @@ func (_m *MockFakeEC2) UnassignIpv6AddressesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.UnassignIpv6AddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38473,6 +50975,10 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddresses(_a0 *ec2.UnassignPrivateIpAddr ret := _m.Called(_a0) var r0 *ec2.UnassignPrivateIpAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.UnassignPrivateIpAddressesInput) (*ec2.UnassignPrivateIpAddressesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnassignPrivateIpAddressesInput) *ec2.UnassignPrivateIpAddressesOutput); ok { r0 = rf(_a0) } else { @@ -38481,7 +50987,6 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddresses(_a0 *ec2.UnassignPrivateIpAddr } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.UnassignPrivateIpAddressesInput) error); ok { r1 = rf(_a0) } else { @@ -38496,6 +51001,10 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddressesRequest(_a0 *ec2.UnassignPrivat ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.UnassignPrivateIpAddressesOutput + if rf, ok := ret.Get(0).(func(*ec2.UnassignPrivateIpAddressesInput) (*request.Request, *ec2.UnassignPrivateIpAddressesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnassignPrivateIpAddressesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38504,7 +51013,6 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddressesRequest(_a0 *ec2.UnassignPrivat } } - var r1 *ec2.UnassignPrivateIpAddressesOutput if rf, ok := ret.Get(1).(func(*ec2.UnassignPrivateIpAddressesInput) *ec2.UnassignPrivateIpAddressesOutput); ok { r1 = rf(_a0) } else { @@ -38528,6 +51036,10 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddressesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *ec2.UnassignPrivateIpAddressesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignPrivateIpAddressesInput, ...request.Option) (*ec2.UnassignPrivateIpAddressesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignPrivateIpAddressesInput, ...request.Option) *ec2.UnassignPrivateIpAddressesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38536,7 +51048,6 @@ func (_m *MockFakeEC2) UnassignPrivateIpAddressesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.UnassignPrivateIpAddressesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38551,6 +51062,10 @@ func (_m *MockFakeEC2) UnmonitorInstances(_a0 *ec2.UnmonitorInstancesInput) (*ec ret := _m.Called(_a0) var r0 *ec2.UnmonitorInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.UnmonitorInstancesInput) (*ec2.UnmonitorInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnmonitorInstancesInput) *ec2.UnmonitorInstancesOutput); ok { r0 = rf(_a0) } else { @@ -38559,7 +51074,6 @@ func (_m *MockFakeEC2) UnmonitorInstances(_a0 *ec2.UnmonitorInstancesInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.UnmonitorInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -38574,6 +51088,10 @@ func (_m *MockFakeEC2) UnmonitorInstancesRequest(_a0 *ec2.UnmonitorInstancesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.UnmonitorInstancesOutput + if rf, ok := ret.Get(0).(func(*ec2.UnmonitorInstancesInput) (*request.Request, *ec2.UnmonitorInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UnmonitorInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38582,7 +51100,6 @@ func (_m *MockFakeEC2) UnmonitorInstancesRequest(_a0 *ec2.UnmonitorInstancesInpu } } - var r1 *ec2.UnmonitorInstancesOutput if rf, ok := ret.Get(1).(func(*ec2.UnmonitorInstancesInput) *ec2.UnmonitorInstancesOutput); ok { r1 = rf(_a0) } else { @@ -38606,6 +51123,10 @@ func (_m *MockFakeEC2) UnmonitorInstancesWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ec2.UnmonitorInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnmonitorInstancesInput, ...request.Option) (*ec2.UnmonitorInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnmonitorInstancesInput, ...request.Option) *ec2.UnmonitorInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38614,7 +51135,6 @@ func (_m *MockFakeEC2) UnmonitorInstancesWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.UnmonitorInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38629,6 +51149,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgress(_a0 *ec2.Update ret := _m.Called(_a0) var r0 *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) (*ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput); ok { r0 = rf(_a0) } else { @@ -38637,7 +51161,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgress(_a0 *ec2.Update } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) error); ok { r1 = rf(_a0) } else { @@ -38652,6 +51175,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgressRequest(_a0 *ec2 ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput + if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) (*request.Request, *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38660,7 +51187,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgressRequest(_a0 *ec2 } } - var r1 *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput if rf, ok := ret.Get(1).(func(*ec2.UpdateSecurityGroupRuleDescriptionsEgressInput) *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput); ok { r1 = rf(_a0) } else { @@ -38684,6 +51210,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgressWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsEgressInput, ...request.Option) (*ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsEgressInput, ...request.Option) *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38692,7 +51222,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsEgressWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsEgressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -38707,6 +51236,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngress(_a0 *ec2.Updat ret := _m.Called(_a0) var r0 *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) (*ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput); ok { r0 = rf(_a0) } else { @@ -38715,7 +51248,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngress(_a0 *ec2.Updat } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) error); ok { r1 = rf(_a0) } else { @@ -38730,6 +51262,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngressRequest(_a0 *ec ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput + if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) (*request.Request, *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -38738,7 +51274,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngressRequest(_a0 *ec } } - var r1 *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput if rf, ok := ret.Get(1).(func(*ec2.UpdateSecurityGroupRuleDescriptionsIngressInput) *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput); ok { r1 = rf(_a0) } else { @@ -38762,6 +51297,10 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngressWithContext(_a0 ret := _m.Called(_ca...) var r0 *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsIngressInput, ...request.Option) (*ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsIngressInput, ...request.Option) *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -38770,7 +51309,6 @@ func (_m *MockFakeEC2) UpdateSecurityGroupRuleDescriptionsIngressWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -39270,6 +51808,41 @@ func (_m *MockFakeEC2) WaitUntilInstanceTerminatedWithContext(_a0 context.Contex return r0 } +// WaitUntilInternetGatewayExists provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) WaitUntilInternetGatewayExists(_a0 *ec2.DescribeInternetGatewaysInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeInternetGatewaysInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilInternetGatewayExistsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) WaitUntilInternetGatewayExistsWithContext(_a0 context.Context, _a1 *ec2.DescribeInternetGatewaysInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInternetGatewaysInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilKeyPairExists provides a mock function with given fields: _a0 func (_m *MockFakeEC2) WaitUntilKeyPairExists(_a0 *ec2.DescribeKeyPairsInput) error { ret := _m.Called(_a0) @@ -39340,6 +51913,41 @@ func (_m *MockFakeEC2) WaitUntilNatGatewayAvailableWithContext(_a0 context.Conte return r0 } +// WaitUntilNatGatewayDeleted provides a mock function with given fields: _a0 +func (_m *MockFakeEC2) WaitUntilNatGatewayDeleted(_a0 *ec2.DescribeNatGatewaysInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*ec2.DescribeNatGatewaysInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilNatGatewayDeletedWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeEC2) WaitUntilNatGatewayDeletedWithContext(_a0 context.Context, _a1 *ec2.DescribeNatGatewaysInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNatGatewaysInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilNetworkInterfaceAvailable provides a mock function with given fields: _a0 func (_m *MockFakeEC2) WaitUntilNetworkInterfaceAvailable(_a0 *ec2.DescribeNetworkInterfacesInput) error { ret := _m.Called(_a0) @@ -39905,6 +52513,10 @@ func (_m *MockFakeEC2) WithdrawByoipCidr(_a0 *ec2.WithdrawByoipCidrInput) (*ec2. ret := _m.Called(_a0) var r0 *ec2.WithdrawByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ec2.WithdrawByoipCidrInput) (*ec2.WithdrawByoipCidrOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.WithdrawByoipCidrInput) *ec2.WithdrawByoipCidrOutput); ok { r0 = rf(_a0) } else { @@ -39913,7 +52525,6 @@ func (_m *MockFakeEC2) WithdrawByoipCidr(_a0 *ec2.WithdrawByoipCidrInput) (*ec2. } } - var r1 error if rf, ok := ret.Get(1).(func(*ec2.WithdrawByoipCidrInput) error); ok { r1 = rf(_a0) } else { @@ -39928,6 +52539,10 @@ func (_m *MockFakeEC2) WithdrawByoipCidrRequest(_a0 *ec2.WithdrawByoipCidrInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ec2.WithdrawByoipCidrOutput + if rf, ok := ret.Get(0).(func(*ec2.WithdrawByoipCidrInput) (*request.Request, *ec2.WithdrawByoipCidrOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ec2.WithdrawByoipCidrInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -39936,7 +52551,6 @@ func (_m *MockFakeEC2) WithdrawByoipCidrRequest(_a0 *ec2.WithdrawByoipCidrInput) } } - var r1 *ec2.WithdrawByoipCidrOutput if rf, ok := ret.Get(1).(func(*ec2.WithdrawByoipCidrInput) *ec2.WithdrawByoipCidrOutput); ok { r1 = rf(_a0) } else { @@ -39960,6 +52574,10 @@ func (_m *MockFakeEC2) WithdrawByoipCidrWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ec2.WithdrawByoipCidrOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ec2.WithdrawByoipCidrInput, ...request.Option) (*ec2.WithdrawByoipCidrOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ec2.WithdrawByoipCidrInput, ...request.Option) *ec2.WithdrawByoipCidrOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -39968,7 +52586,6 @@ func (_m *MockFakeEC2) WithdrawByoipCidrWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ec2.WithdrawByoipCidrInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -39977,3 +52594,18 @@ func (_m *MockFakeEC2) WithdrawByoipCidrWithContext(_a0 context.Context, _a1 *ec return r0, r1 } + +type mockConstructorTestingTNewMockFakeEC2 interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeEC2 creates a new instance of MockFakeEC2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeEC2(t mockConstructorTestingTNewMockFakeEC2) *MockFakeEC2 { + mock := &MockFakeEC2{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeECR.go b/test/aws/mock_FakeECR.go index 89b3cff0a..d3c6e6e2f 100644 --- a/test/aws/mock_FakeECR.go +++ b/test/aws/mock_FakeECR.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeECR) BatchCheckLayerAvailability(_a0 *ecr.BatchCheckLayerAvail ret := _m.Called(_a0) var r0 *ecr.BatchCheckLayerAvailabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.BatchCheckLayerAvailabilityInput) (*ecr.BatchCheckLayerAvailabilityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchCheckLayerAvailabilityInput) *ecr.BatchCheckLayerAvailabilityOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeECR) BatchCheckLayerAvailability(_a0 *ecr.BatchCheckLayerAvail } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.BatchCheckLayerAvailabilityInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeECR) BatchCheckLayerAvailabilityRequest(_a0 *ecr.BatchCheckLay ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.BatchCheckLayerAvailabilityOutput + if rf, ok := ret.Get(0).(func(*ecr.BatchCheckLayerAvailabilityInput) (*request.Request, *ecr.BatchCheckLayerAvailabilityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchCheckLayerAvailabilityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeECR) BatchCheckLayerAvailabilityRequest(_a0 *ecr.BatchCheckLay } } - var r1 *ecr.BatchCheckLayerAvailabilityOutput if rf, ok := ret.Get(1).(func(*ecr.BatchCheckLayerAvailabilityInput) *ecr.BatchCheckLayerAvailabilityOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeECR) BatchCheckLayerAvailabilityWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ecr.BatchCheckLayerAvailabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchCheckLayerAvailabilityInput, ...request.Option) (*ecr.BatchCheckLayerAvailabilityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchCheckLayerAvailabilityInput, ...request.Option) *ecr.BatchCheckLayerAvailabilityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeECR) BatchCheckLayerAvailabilityWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.BatchCheckLayerAvailabilityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeECR) BatchDeleteImage(_a0 *ecr.BatchDeleteImageInput) (*ecr.Ba ret := _m.Called(_a0) var r0 *ecr.BatchDeleteImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.BatchDeleteImageInput) (*ecr.BatchDeleteImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchDeleteImageInput) *ecr.BatchDeleteImageOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeECR) BatchDeleteImage(_a0 *ecr.BatchDeleteImageInput) (*ecr.Ba } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.BatchDeleteImageInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeECR) BatchDeleteImageRequest(_a0 *ecr.BatchDeleteImageInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.BatchDeleteImageOutput + if rf, ok := ret.Get(0).(func(*ecr.BatchDeleteImageInput) (*request.Request, *ecr.BatchDeleteImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchDeleteImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeECR) BatchDeleteImageRequest(_a0 *ecr.BatchDeleteImageInput) ( } } - var r1 *ecr.BatchDeleteImageOutput if rf, ok := ret.Get(1).(func(*ecr.BatchDeleteImageInput) *ecr.BatchDeleteImageOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeECR) BatchDeleteImageWithContext(_a0 context.Context, _a1 *ecr ret := _m.Called(_ca...) var r0 *ecr.BatchDeleteImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchDeleteImageInput, ...request.Option) (*ecr.BatchDeleteImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchDeleteImageInput, ...request.Option) *ecr.BatchDeleteImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeECR) BatchDeleteImageWithContext(_a0 context.Context, _a1 *ecr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.BatchDeleteImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeECR) BatchGetImage(_a0 *ecr.BatchGetImageInput) (*ecr.BatchGet ret := _m.Called(_a0) var r0 *ecr.BatchGetImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.BatchGetImageInput) (*ecr.BatchGetImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchGetImageInput) *ecr.BatchGetImageOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeECR) BatchGetImage(_a0 *ecr.BatchGetImageInput) (*ecr.BatchGet } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.BatchGetImageInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeECR) BatchGetImageRequest(_a0 *ecr.BatchGetImageInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.BatchGetImageOutput + if rf, ok := ret.Get(0).(func(*ecr.BatchGetImageInput) (*request.Request, *ecr.BatchGetImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.BatchGetImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeECR) BatchGetImageRequest(_a0 *ecr.BatchGetImageInput) (*reque } } - var r1 *ecr.BatchGetImageOutput if rf, ok := ret.Get(1).(func(*ecr.BatchGetImageInput) *ecr.BatchGetImageOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeECR) BatchGetImageWithContext(_a0 context.Context, _a1 *ecr.Ba ret := _m.Called(_ca...) var r0 *ecr.BatchGetImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchGetImageInput, ...request.Option) (*ecr.BatchGetImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchGetImageInput, ...request.Option) *ecr.BatchGetImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeECR) BatchGetImageWithContext(_a0 context.Context, _a1 *ecr.Ba } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.BatchGetImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -250,11 +277,102 @@ func (_m *MockFakeECR) BatchGetImageWithContext(_a0 context.Context, _a1 *ecr.Ba return r0, r1 } +// BatchGetRepositoryScanningConfiguration provides a mock function with given fields: _a0 +func (_m *MockFakeECR) BatchGetRepositoryScanningConfiguration(_a0 *ecr.BatchGetRepositoryScanningConfigurationInput) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.BatchGetRepositoryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) *ecr.BatchGetRepositoryScanningConfigurationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.BatchGetRepositoryScanningConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// BatchGetRepositoryScanningConfigurationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) BatchGetRepositoryScanningConfigurationRequest(_a0 *ecr.BatchGetRepositoryScanningConfigurationInput) (*request.Request, *ecr.BatchGetRepositoryScanningConfigurationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.BatchGetRepositoryScanningConfigurationOutput + if rf, ok := ret.Get(0).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) (*request.Request, *ecr.BatchGetRepositoryScanningConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.BatchGetRepositoryScanningConfigurationInput) *ecr.BatchGetRepositoryScanningConfigurationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.BatchGetRepositoryScanningConfigurationOutput) + } + } + + return r0, r1 +} + +// BatchGetRepositoryScanningConfigurationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) BatchGetRepositoryScanningConfigurationWithContext(_a0 context.Context, _a1 *ecr.BatchGetRepositoryScanningConfigurationInput, _a2 ...request.Option) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error) { + _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 *ecr.BatchGetRepositoryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchGetRepositoryScanningConfigurationInput, ...request.Option) (*ecr.BatchGetRepositoryScanningConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.BatchGetRepositoryScanningConfigurationInput, ...request.Option) *ecr.BatchGetRepositoryScanningConfigurationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.BatchGetRepositoryScanningConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.BatchGetRepositoryScanningConfigurationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CompleteLayerUpload provides a mock function with given fields: _a0 func (_m *MockFakeECR) CompleteLayerUpload(_a0 *ecr.CompleteLayerUploadInput) (*ecr.CompleteLayerUploadOutput, error) { ret := _m.Called(_a0) var r0 *ecr.CompleteLayerUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.CompleteLayerUploadInput) (*ecr.CompleteLayerUploadOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.CompleteLayerUploadInput) *ecr.CompleteLayerUploadOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +381,6 @@ func (_m *MockFakeECR) CompleteLayerUpload(_a0 *ecr.CompleteLayerUploadInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.CompleteLayerUploadInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +395,10 @@ func (_m *MockFakeECR) CompleteLayerUploadRequest(_a0 *ecr.CompleteLayerUploadIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.CompleteLayerUploadOutput + if rf, ok := ret.Get(0).(func(*ecr.CompleteLayerUploadInput) (*request.Request, *ecr.CompleteLayerUploadOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.CompleteLayerUploadInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +407,6 @@ func (_m *MockFakeECR) CompleteLayerUploadRequest(_a0 *ecr.CompleteLayerUploadIn } } - var r1 *ecr.CompleteLayerUploadOutput if rf, ok := ret.Get(1).(func(*ecr.CompleteLayerUploadInput) *ecr.CompleteLayerUploadOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +430,10 @@ func (_m *MockFakeECR) CompleteLayerUploadWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ecr.CompleteLayerUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.CompleteLayerUploadInput, ...request.Option) (*ecr.CompleteLayerUploadOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.CompleteLayerUploadInput, ...request.Option) *ecr.CompleteLayerUploadOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +442,6 @@ func (_m *MockFakeECR) CompleteLayerUploadWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.CompleteLayerUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -328,11 +451,102 @@ func (_m *MockFakeECR) CompleteLayerUploadWithContext(_a0 context.Context, _a1 * return r0, r1 } +// CreatePullThroughCacheRule provides a mock function with given fields: _a0 +func (_m *MockFakeECR) CreatePullThroughCacheRule(_a0 *ecr.CreatePullThroughCacheRuleInput) (*ecr.CreatePullThroughCacheRuleOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.CreatePullThroughCacheRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.CreatePullThroughCacheRuleInput) (*ecr.CreatePullThroughCacheRuleOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.CreatePullThroughCacheRuleInput) *ecr.CreatePullThroughCacheRuleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.CreatePullThroughCacheRuleOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.CreatePullThroughCacheRuleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreatePullThroughCacheRuleRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) CreatePullThroughCacheRuleRequest(_a0 *ecr.CreatePullThroughCacheRuleInput) (*request.Request, *ecr.CreatePullThroughCacheRuleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.CreatePullThroughCacheRuleOutput + if rf, ok := ret.Get(0).(func(*ecr.CreatePullThroughCacheRuleInput) (*request.Request, *ecr.CreatePullThroughCacheRuleOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.CreatePullThroughCacheRuleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.CreatePullThroughCacheRuleInput) *ecr.CreatePullThroughCacheRuleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.CreatePullThroughCacheRuleOutput) + } + } + + return r0, r1 +} + +// CreatePullThroughCacheRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) CreatePullThroughCacheRuleWithContext(_a0 context.Context, _a1 *ecr.CreatePullThroughCacheRuleInput, _a2 ...request.Option) (*ecr.CreatePullThroughCacheRuleOutput, error) { + _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 *ecr.CreatePullThroughCacheRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.CreatePullThroughCacheRuleInput, ...request.Option) (*ecr.CreatePullThroughCacheRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.CreatePullThroughCacheRuleInput, ...request.Option) *ecr.CreatePullThroughCacheRuleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.CreatePullThroughCacheRuleOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.CreatePullThroughCacheRuleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateRepository provides a mock function with given fields: _a0 func (_m *MockFakeECR) CreateRepository(_a0 *ecr.CreateRepositoryInput) (*ecr.CreateRepositoryOutput, error) { ret := _m.Called(_a0) var r0 *ecr.CreateRepositoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.CreateRepositoryInput) (*ecr.CreateRepositoryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.CreateRepositoryInput) *ecr.CreateRepositoryOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +555,6 @@ func (_m *MockFakeECR) CreateRepository(_a0 *ecr.CreateRepositoryInput) (*ecr.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.CreateRepositoryInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +569,10 @@ func (_m *MockFakeECR) CreateRepositoryRequest(_a0 *ecr.CreateRepositoryInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.CreateRepositoryOutput + if rf, ok := ret.Get(0).(func(*ecr.CreateRepositoryInput) (*request.Request, *ecr.CreateRepositoryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.CreateRepositoryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +581,6 @@ func (_m *MockFakeECR) CreateRepositoryRequest(_a0 *ecr.CreateRepositoryInput) ( } } - var r1 *ecr.CreateRepositoryOutput if rf, ok := ret.Get(1).(func(*ecr.CreateRepositoryInput) *ecr.CreateRepositoryOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +604,10 @@ func (_m *MockFakeECR) CreateRepositoryWithContext(_a0 context.Context, _a1 *ecr ret := _m.Called(_ca...) var r0 *ecr.CreateRepositoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.CreateRepositoryInput, ...request.Option) (*ecr.CreateRepositoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.CreateRepositoryInput, ...request.Option) *ecr.CreateRepositoryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +616,6 @@ func (_m *MockFakeECR) CreateRepositoryWithContext(_a0 context.Context, _a1 *ecr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.CreateRepositoryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +630,10 @@ func (_m *MockFakeECR) DeleteLifecyclePolicy(_a0 *ecr.DeleteLifecyclePolicyInput ret := _m.Called(_a0) var r0 *ecr.DeleteLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DeleteLifecyclePolicyInput) (*ecr.DeleteLifecyclePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteLifecyclePolicyInput) *ecr.DeleteLifecyclePolicyOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +642,6 @@ func (_m *MockFakeECR) DeleteLifecyclePolicy(_a0 *ecr.DeleteLifecyclePolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DeleteLifecyclePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +656,10 @@ func (_m *MockFakeECR) DeleteLifecyclePolicyRequest(_a0 *ecr.DeleteLifecyclePoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DeleteLifecyclePolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.DeleteLifecyclePolicyInput) (*request.Request, *ecr.DeleteLifecyclePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteLifecyclePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +668,6 @@ func (_m *MockFakeECR) DeleteLifecyclePolicyRequest(_a0 *ecr.DeleteLifecyclePoli } } - var r1 *ecr.DeleteLifecyclePolicyOutput if rf, ok := ret.Get(1).(func(*ecr.DeleteLifecyclePolicyInput) *ecr.DeleteLifecyclePolicyOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +691,10 @@ func (_m *MockFakeECR) DeleteLifecyclePolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ecr.DeleteLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteLifecyclePolicyInput, ...request.Option) (*ecr.DeleteLifecyclePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteLifecyclePolicyInput, ...request.Option) *ecr.DeleteLifecyclePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +703,6 @@ func (_m *MockFakeECR) DeleteLifecyclePolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeleteLifecyclePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -484,11 +712,102 @@ func (_m *MockFakeECR) DeleteLifecyclePolicyWithContext(_a0 context.Context, _a1 return r0, r1 } +// DeletePullThroughCacheRule provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DeletePullThroughCacheRule(_a0 *ecr.DeletePullThroughCacheRuleInput) (*ecr.DeletePullThroughCacheRuleOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.DeletePullThroughCacheRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DeletePullThroughCacheRuleInput) (*ecr.DeletePullThroughCacheRuleOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DeletePullThroughCacheRuleInput) *ecr.DeletePullThroughCacheRuleOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DeletePullThroughCacheRuleOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DeletePullThroughCacheRuleInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeletePullThroughCacheRuleRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DeletePullThroughCacheRuleRequest(_a0 *ecr.DeletePullThroughCacheRuleInput) (*request.Request, *ecr.DeletePullThroughCacheRuleOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.DeletePullThroughCacheRuleOutput + if rf, ok := ret.Get(0).(func(*ecr.DeletePullThroughCacheRuleInput) (*request.Request, *ecr.DeletePullThroughCacheRuleOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DeletePullThroughCacheRuleInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DeletePullThroughCacheRuleInput) *ecr.DeletePullThroughCacheRuleOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.DeletePullThroughCacheRuleOutput) + } + } + + return r0, r1 +} + +// DeletePullThroughCacheRuleWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) DeletePullThroughCacheRuleWithContext(_a0 context.Context, _a1 *ecr.DeletePullThroughCacheRuleInput, _a2 ...request.Option) (*ecr.DeletePullThroughCacheRuleOutput, error) { + _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 *ecr.DeletePullThroughCacheRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeletePullThroughCacheRuleInput, ...request.Option) (*ecr.DeletePullThroughCacheRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeletePullThroughCacheRuleInput, ...request.Option) *ecr.DeletePullThroughCacheRuleOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DeletePullThroughCacheRuleOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeletePullThroughCacheRuleInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteRegistryPolicy provides a mock function with given fields: _a0 func (_m *MockFakeECR) DeleteRegistryPolicy(_a0 *ecr.DeleteRegistryPolicyInput) (*ecr.DeleteRegistryPolicyOutput, error) { ret := _m.Called(_a0) var r0 *ecr.DeleteRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DeleteRegistryPolicyInput) (*ecr.DeleteRegistryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteRegistryPolicyInput) *ecr.DeleteRegistryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +816,6 @@ func (_m *MockFakeECR) DeleteRegistryPolicy(_a0 *ecr.DeleteRegistryPolicyInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DeleteRegistryPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +830,10 @@ func (_m *MockFakeECR) DeleteRegistryPolicyRequest(_a0 *ecr.DeleteRegistryPolicy ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DeleteRegistryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.DeleteRegistryPolicyInput) (*request.Request, *ecr.DeleteRegistryPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteRegistryPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +842,6 @@ func (_m *MockFakeECR) DeleteRegistryPolicyRequest(_a0 *ecr.DeleteRegistryPolicy } } - var r1 *ecr.DeleteRegistryPolicyOutput if rf, ok := ret.Get(1).(func(*ecr.DeleteRegistryPolicyInput) *ecr.DeleteRegistryPolicyOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +865,10 @@ func (_m *MockFakeECR) DeleteRegistryPolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ecr.DeleteRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRegistryPolicyInput, ...request.Option) (*ecr.DeleteRegistryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRegistryPolicyInput, ...request.Option) *ecr.DeleteRegistryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +877,6 @@ func (_m *MockFakeECR) DeleteRegistryPolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeleteRegistryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +891,10 @@ func (_m *MockFakeECR) DeleteRepository(_a0 *ecr.DeleteRepositoryInput) (*ecr.De ret := _m.Called(_a0) var r0 *ecr.DeleteRepositoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryInput) (*ecr.DeleteRepositoryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryInput) *ecr.DeleteRepositoryOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +903,6 @@ func (_m *MockFakeECR) DeleteRepository(_a0 *ecr.DeleteRepositoryInput) (*ecr.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DeleteRepositoryInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +917,10 @@ func (_m *MockFakeECR) DeleteRepositoryPolicy(_a0 *ecr.DeleteRepositoryPolicyInp ret := _m.Called(_a0) var r0 *ecr.DeleteRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryPolicyInput) (*ecr.DeleteRepositoryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryPolicyInput) *ecr.DeleteRepositoryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -598,7 +929,6 @@ func (_m *MockFakeECR) DeleteRepositoryPolicy(_a0 *ecr.DeleteRepositoryPolicyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DeleteRepositoryPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -613,6 +943,10 @@ func (_m *MockFakeECR) DeleteRepositoryPolicyRequest(_a0 *ecr.DeleteRepositoryPo ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DeleteRepositoryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryPolicyInput) (*request.Request, *ecr.DeleteRepositoryPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -621,7 +955,6 @@ func (_m *MockFakeECR) DeleteRepositoryPolicyRequest(_a0 *ecr.DeleteRepositoryPo } } - var r1 *ecr.DeleteRepositoryPolicyOutput if rf, ok := ret.Get(1).(func(*ecr.DeleteRepositoryPolicyInput) *ecr.DeleteRepositoryPolicyOutput); ok { r1 = rf(_a0) } else { @@ -645,6 +978,10 @@ func (_m *MockFakeECR) DeleteRepositoryPolicyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ecr.DeleteRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRepositoryPolicyInput, ...request.Option) (*ecr.DeleteRepositoryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRepositoryPolicyInput, ...request.Option) *ecr.DeleteRepositoryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -653,7 +990,6 @@ func (_m *MockFakeECR) DeleteRepositoryPolicyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeleteRepositoryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -668,7 +1004,98 @@ func (_m *MockFakeECR) DeleteRepositoryRequest(_a0 *ecr.DeleteRepositoryInput) ( ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryInput) *request.Request); ok { + var r1 *ecr.DeleteRepositoryOutput + if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryInput) (*request.Request, *ecr.DeleteRepositoryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DeleteRepositoryInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DeleteRepositoryInput) *ecr.DeleteRepositoryOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.DeleteRepositoryOutput) + } + } + + return r0, r1 +} + +// DeleteRepositoryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) DeleteRepositoryWithContext(_a0 context.Context, _a1 *ecr.DeleteRepositoryInput, _a2 ...request.Option) (*ecr.DeleteRepositoryOutput, error) { + _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 *ecr.DeleteRepositoryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRepositoryInput, ...request.Option) (*ecr.DeleteRepositoryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRepositoryInput, ...request.Option) *ecr.DeleteRepositoryOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DeleteRepositoryOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeleteRepositoryInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeImageReplicationStatus provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DescribeImageReplicationStatus(_a0 *ecr.DescribeImageReplicationStatusInput) (*ecr.DescribeImageReplicationStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.DescribeImageReplicationStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageReplicationStatusInput) (*ecr.DescribeImageReplicationStatusOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageReplicationStatusInput) *ecr.DescribeImageReplicationStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DescribeImageReplicationStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DescribeImageReplicationStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeImageReplicationStatusRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DescribeImageReplicationStatusRequest(_a0 *ecr.DescribeImageReplicationStatusInput) (*request.Request, *ecr.DescribeImageReplicationStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.DescribeImageReplicationStatusOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageReplicationStatusInput) (*request.Request, *ecr.DescribeImageReplicationStatusOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageReplicationStatusInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -676,20 +1103,19 @@ func (_m *MockFakeECR) DeleteRepositoryRequest(_a0 *ecr.DeleteRepositoryInput) ( } } - var r1 *ecr.DeleteRepositoryOutput - if rf, ok := ret.Get(1).(func(*ecr.DeleteRepositoryInput) *ecr.DeleteRepositoryOutput); ok { + if rf, ok := ret.Get(1).(func(*ecr.DescribeImageReplicationStatusInput) *ecr.DescribeImageReplicationStatusOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ecr.DeleteRepositoryOutput) + r1 = ret.Get(1).(*ecr.DescribeImageReplicationStatusOutput) } } return r0, r1 } -// DeleteRepositoryWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeECR) DeleteRepositoryWithContext(_a0 context.Context, _a1 *ecr.DeleteRepositoryInput, _a2 ...request.Option) (*ecr.DeleteRepositoryOutput, error) { +// DescribeImageReplicationStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) DescribeImageReplicationStatusWithContext(_a0 context.Context, _a1 *ecr.DescribeImageReplicationStatusInput, _a2 ...request.Option) (*ecr.DescribeImageReplicationStatusOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -699,17 +1125,20 @@ func (_m *MockFakeECR) DeleteRepositoryWithContext(_a0 context.Context, _a1 *ecr _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ecr.DeleteRepositoryOutput - if rf, ok := ret.Get(0).(func(context.Context, *ecr.DeleteRepositoryInput, ...request.Option) *ecr.DeleteRepositoryOutput); ok { + var r0 *ecr.DescribeImageReplicationStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImageReplicationStatusInput, ...request.Option) (*ecr.DescribeImageReplicationStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImageReplicationStatusInput, ...request.Option) *ecr.DescribeImageReplicationStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ecr.DeleteRepositoryOutput) + r0 = ret.Get(0).(*ecr.DescribeImageReplicationStatusOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ecr.DeleteRepositoryInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribeImageReplicationStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -723,6 +1152,10 @@ func (_m *MockFakeECR) DescribeImageScanFindings(_a0 *ecr.DescribeImageScanFindi ret := _m.Called(_a0) var r0 *ecr.DescribeImageScanFindingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageScanFindingsInput) (*ecr.DescribeImageScanFindingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeImageScanFindingsInput) *ecr.DescribeImageScanFindingsOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +1164,6 @@ func (_m *MockFakeECR) DescribeImageScanFindings(_a0 *ecr.DescribeImageScanFindi } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DescribeImageScanFindingsInput) error); ok { r1 = rf(_a0) } else { @@ -781,6 +1213,10 @@ func (_m *MockFakeECR) DescribeImageScanFindingsRequest(_a0 *ecr.DescribeImageSc ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DescribeImageScanFindingsOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribeImageScanFindingsInput) (*request.Request, *ecr.DescribeImageScanFindingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeImageScanFindingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -789,7 +1225,6 @@ func (_m *MockFakeECR) DescribeImageScanFindingsRequest(_a0 *ecr.DescribeImageSc } } - var r1 *ecr.DescribeImageScanFindingsOutput if rf, ok := ret.Get(1).(func(*ecr.DescribeImageScanFindingsInput) *ecr.DescribeImageScanFindingsOutput); ok { r1 = rf(_a0) } else { @@ -813,6 +1248,10 @@ func (_m *MockFakeECR) DescribeImageScanFindingsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ecr.DescribeImageScanFindingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImageScanFindingsInput, ...request.Option) (*ecr.DescribeImageScanFindingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImageScanFindingsInput, ...request.Option) *ecr.DescribeImageScanFindingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -821,7 +1260,6 @@ func (_m *MockFakeECR) DescribeImageScanFindingsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribeImageScanFindingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -836,6 +1274,10 @@ func (_m *MockFakeECR) DescribeImages(_a0 *ecr.DescribeImagesInput) (*ecr.Descri ret := _m.Called(_a0) var r0 *ecr.DescribeImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribeImagesInput) (*ecr.DescribeImagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeImagesInput) *ecr.DescribeImagesOutput); ok { r0 = rf(_a0) } else { @@ -844,7 +1286,6 @@ func (_m *MockFakeECR) DescribeImages(_a0 *ecr.DescribeImagesInput) (*ecr.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DescribeImagesInput) error); ok { r1 = rf(_a0) } else { @@ -894,6 +1335,10 @@ func (_m *MockFakeECR) DescribeImagesRequest(_a0 *ecr.DescribeImagesInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DescribeImagesOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribeImagesInput) (*request.Request, *ecr.DescribeImagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeImagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -902,7 +1347,6 @@ func (_m *MockFakeECR) DescribeImagesRequest(_a0 *ecr.DescribeImagesInput) (*req } } - var r1 *ecr.DescribeImagesOutput if rf, ok := ret.Get(1).(func(*ecr.DescribeImagesInput) *ecr.DescribeImagesOutput); ok { r1 = rf(_a0) } else { @@ -926,6 +1370,10 @@ func (_m *MockFakeECR) DescribeImagesWithContext(_a0 context.Context, _a1 *ecr.D ret := _m.Called(_ca...) var r0 *ecr.DescribeImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImagesInput, ...request.Option) (*ecr.DescribeImagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeImagesInput, ...request.Option) *ecr.DescribeImagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -934,7 +1382,6 @@ func (_m *MockFakeECR) DescribeImagesWithContext(_a0 context.Context, _a1 *ecr.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribeImagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -944,11 +1391,137 @@ func (_m *MockFakeECR) DescribeImagesWithContext(_a0 context.Context, _a1 *ecr.D return r0, r1 } +// DescribePullThroughCacheRules provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DescribePullThroughCacheRules(_a0 *ecr.DescribePullThroughCacheRulesInput) (*ecr.DescribePullThroughCacheRulesOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.DescribePullThroughCacheRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribePullThroughCacheRulesInput) (*ecr.DescribePullThroughCacheRulesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DescribePullThroughCacheRulesInput) *ecr.DescribePullThroughCacheRulesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DescribePullThroughCacheRulesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DescribePullThroughCacheRulesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribePullThroughCacheRulesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeECR) DescribePullThroughCacheRulesPages(_a0 *ecr.DescribePullThroughCacheRulesInput, _a1 func(*ecr.DescribePullThroughCacheRulesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*ecr.DescribePullThroughCacheRulesInput, func(*ecr.DescribePullThroughCacheRulesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribePullThroughCacheRulesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeECR) DescribePullThroughCacheRulesPagesWithContext(_a0 context.Context, _a1 *ecr.DescribePullThroughCacheRulesInput, _a2 func(*ecr.DescribePullThroughCacheRulesOutput, bool) bool, _a3 ...request.Option) error { + _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, *ecr.DescribePullThroughCacheRulesInput, func(*ecr.DescribePullThroughCacheRulesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribePullThroughCacheRulesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) DescribePullThroughCacheRulesRequest(_a0 *ecr.DescribePullThroughCacheRulesInput) (*request.Request, *ecr.DescribePullThroughCacheRulesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.DescribePullThroughCacheRulesOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribePullThroughCacheRulesInput) (*request.Request, *ecr.DescribePullThroughCacheRulesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.DescribePullThroughCacheRulesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.DescribePullThroughCacheRulesInput) *ecr.DescribePullThroughCacheRulesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.DescribePullThroughCacheRulesOutput) + } + } + + return r0, r1 +} + +// DescribePullThroughCacheRulesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) DescribePullThroughCacheRulesWithContext(_a0 context.Context, _a1 *ecr.DescribePullThroughCacheRulesInput, _a2 ...request.Option) (*ecr.DescribePullThroughCacheRulesOutput, error) { + _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 *ecr.DescribePullThroughCacheRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribePullThroughCacheRulesInput, ...request.Option) (*ecr.DescribePullThroughCacheRulesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribePullThroughCacheRulesInput, ...request.Option) *ecr.DescribePullThroughCacheRulesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.DescribePullThroughCacheRulesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribePullThroughCacheRulesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeRegistry provides a mock function with given fields: _a0 func (_m *MockFakeECR) DescribeRegistry(_a0 *ecr.DescribeRegistryInput) (*ecr.DescribeRegistryOutput, error) { ret := _m.Called(_a0) var r0 *ecr.DescribeRegistryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribeRegistryInput) (*ecr.DescribeRegistryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeRegistryInput) *ecr.DescribeRegistryOutput); ok { r0 = rf(_a0) } else { @@ -957,7 +1530,6 @@ func (_m *MockFakeECR) DescribeRegistry(_a0 *ecr.DescribeRegistryInput) (*ecr.De } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DescribeRegistryInput) error); ok { r1 = rf(_a0) } else { @@ -972,6 +1544,10 @@ func (_m *MockFakeECR) DescribeRegistryRequest(_a0 *ecr.DescribeRegistryInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DescribeRegistryOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribeRegistryInput) (*request.Request, *ecr.DescribeRegistryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeRegistryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -980,7 +1556,6 @@ func (_m *MockFakeECR) DescribeRegistryRequest(_a0 *ecr.DescribeRegistryInput) ( } } - var r1 *ecr.DescribeRegistryOutput if rf, ok := ret.Get(1).(func(*ecr.DescribeRegistryInput) *ecr.DescribeRegistryOutput); ok { r1 = rf(_a0) } else { @@ -1004,6 +1579,10 @@ func (_m *MockFakeECR) DescribeRegistryWithContext(_a0 context.Context, _a1 *ecr ret := _m.Called(_ca...) var r0 *ecr.DescribeRegistryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeRegistryInput, ...request.Option) (*ecr.DescribeRegistryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeRegistryInput, ...request.Option) *ecr.DescribeRegistryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1012,7 +1591,6 @@ func (_m *MockFakeECR) DescribeRegistryWithContext(_a0 context.Context, _a1 *ecr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribeRegistryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1027,6 +1605,10 @@ func (_m *MockFakeECR) DescribeRepositories(_a0 *ecr.DescribeRepositoriesInput) ret := _m.Called(_a0) var r0 *ecr.DescribeRepositoriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.DescribeRepositoriesInput) (*ecr.DescribeRepositoriesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeRepositoriesInput) *ecr.DescribeRepositoriesOutput); ok { r0 = rf(_a0) } else { @@ -1035,7 +1617,6 @@ func (_m *MockFakeECR) DescribeRepositories(_a0 *ecr.DescribeRepositoriesInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.DescribeRepositoriesInput) error); ok { r1 = rf(_a0) } else { @@ -1085,6 +1666,10 @@ func (_m *MockFakeECR) DescribeRepositoriesRequest(_a0 *ecr.DescribeRepositories ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.DescribeRepositoriesOutput + if rf, ok := ret.Get(0).(func(*ecr.DescribeRepositoriesInput) (*request.Request, *ecr.DescribeRepositoriesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.DescribeRepositoriesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1093,7 +1678,6 @@ func (_m *MockFakeECR) DescribeRepositoriesRequest(_a0 *ecr.DescribeRepositories } } - var r1 *ecr.DescribeRepositoriesOutput if rf, ok := ret.Get(1).(func(*ecr.DescribeRepositoriesInput) *ecr.DescribeRepositoriesOutput); ok { r1 = rf(_a0) } else { @@ -1117,6 +1701,10 @@ func (_m *MockFakeECR) DescribeRepositoriesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ecr.DescribeRepositoriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeRepositoriesInput, ...request.Option) (*ecr.DescribeRepositoriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.DescribeRepositoriesInput, ...request.Option) *ecr.DescribeRepositoriesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1125,7 +1713,6 @@ func (_m *MockFakeECR) DescribeRepositoriesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.DescribeRepositoriesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1140,6 +1727,10 @@ func (_m *MockFakeECR) GetAuthorizationToken(_a0 *ecr.GetAuthorizationTokenInput ret := _m.Called(_a0) var r0 *ecr.GetAuthorizationTokenOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetAuthorizationTokenInput) (*ecr.GetAuthorizationTokenOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetAuthorizationTokenInput) *ecr.GetAuthorizationTokenOutput); ok { r0 = rf(_a0) } else { @@ -1148,7 +1739,6 @@ func (_m *MockFakeECR) GetAuthorizationToken(_a0 *ecr.GetAuthorizationTokenInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.GetAuthorizationTokenInput) error); ok { r1 = rf(_a0) } else { @@ -1163,6 +1753,10 @@ func (_m *MockFakeECR) GetAuthorizationTokenRequest(_a0 *ecr.GetAuthorizationTok ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.GetAuthorizationTokenOutput + if rf, ok := ret.Get(0).(func(*ecr.GetAuthorizationTokenInput) (*request.Request, *ecr.GetAuthorizationTokenOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetAuthorizationTokenInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1171,7 +1765,6 @@ func (_m *MockFakeECR) GetAuthorizationTokenRequest(_a0 *ecr.GetAuthorizationTok } } - var r1 *ecr.GetAuthorizationTokenOutput if rf, ok := ret.Get(1).(func(*ecr.GetAuthorizationTokenInput) *ecr.GetAuthorizationTokenOutput); ok { r1 = rf(_a0) } else { @@ -1195,6 +1788,10 @@ func (_m *MockFakeECR) GetAuthorizationTokenWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ecr.GetAuthorizationTokenOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetAuthorizationTokenInput, ...request.Option) (*ecr.GetAuthorizationTokenOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetAuthorizationTokenInput, ...request.Option) *ecr.GetAuthorizationTokenOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1203,7 +1800,6 @@ func (_m *MockFakeECR) GetAuthorizationTokenWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetAuthorizationTokenInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1218,6 +1814,10 @@ func (_m *MockFakeECR) GetDownloadUrlForLayer(_a0 *ecr.GetDownloadUrlForLayerInp ret := _m.Called(_a0) var r0 *ecr.GetDownloadUrlForLayerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetDownloadUrlForLayerInput) (*ecr.GetDownloadUrlForLayerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetDownloadUrlForLayerInput) *ecr.GetDownloadUrlForLayerOutput); ok { r0 = rf(_a0) } else { @@ -1226,7 +1826,6 @@ func (_m *MockFakeECR) GetDownloadUrlForLayer(_a0 *ecr.GetDownloadUrlForLayerInp } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.GetDownloadUrlForLayerInput) error); ok { r1 = rf(_a0) } else { @@ -1241,6 +1840,10 @@ func (_m *MockFakeECR) GetDownloadUrlForLayerRequest(_a0 *ecr.GetDownloadUrlForL ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.GetDownloadUrlForLayerOutput + if rf, ok := ret.Get(0).(func(*ecr.GetDownloadUrlForLayerInput) (*request.Request, *ecr.GetDownloadUrlForLayerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetDownloadUrlForLayerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1249,7 +1852,6 @@ func (_m *MockFakeECR) GetDownloadUrlForLayerRequest(_a0 *ecr.GetDownloadUrlForL } } - var r1 *ecr.GetDownloadUrlForLayerOutput if rf, ok := ret.Get(1).(func(*ecr.GetDownloadUrlForLayerInput) *ecr.GetDownloadUrlForLayerOutput); ok { r1 = rf(_a0) } else { @@ -1273,6 +1875,10 @@ func (_m *MockFakeECR) GetDownloadUrlForLayerWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *ecr.GetDownloadUrlForLayerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetDownloadUrlForLayerInput, ...request.Option) (*ecr.GetDownloadUrlForLayerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetDownloadUrlForLayerInput, ...request.Option) *ecr.GetDownloadUrlForLayerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1281,7 +1887,6 @@ func (_m *MockFakeECR) GetDownloadUrlForLayerWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetDownloadUrlForLayerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1296,6 +1901,10 @@ func (_m *MockFakeECR) GetLifecyclePolicy(_a0 *ecr.GetLifecyclePolicyInput) (*ec ret := _m.Called(_a0) var r0 *ecr.GetLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyInput) (*ecr.GetLifecyclePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyInput) *ecr.GetLifecyclePolicyOutput); ok { r0 = rf(_a0) } else { @@ -1304,7 +1913,6 @@ func (_m *MockFakeECR) GetLifecyclePolicy(_a0 *ecr.GetLifecyclePolicyInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.GetLifecyclePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1319,6 +1927,10 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreview(_a0 *ecr.GetLifecyclePolicyPrev ret := _m.Called(_a0) var r0 *ecr.GetLifecyclePolicyPreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyPreviewInput) (*ecr.GetLifecyclePolicyPreviewOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyPreviewInput) *ecr.GetLifecyclePolicyPreviewOutput); ok { r0 = rf(_a0) } else { @@ -1327,7 +1939,6 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreview(_a0 *ecr.GetLifecyclePolicyPrev } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.GetLifecyclePolicyPreviewInput) error); ok { r1 = rf(_a0) } else { @@ -1377,6 +1988,10 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreviewRequest(_a0 *ecr.GetLifecyclePol ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.GetLifecyclePolicyPreviewOutput + if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyPreviewInput) (*request.Request, *ecr.GetLifecyclePolicyPreviewOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyPreviewInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1385,7 +2000,6 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreviewRequest(_a0 *ecr.GetLifecyclePol } } - var r1 *ecr.GetLifecyclePolicyPreviewOutput if rf, ok := ret.Get(1).(func(*ecr.GetLifecyclePolicyPreviewInput) *ecr.GetLifecyclePolicyPreviewOutput); ok { r1 = rf(_a0) } else { @@ -1409,6 +2023,10 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreviewWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *ecr.GetLifecyclePolicyPreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetLifecyclePolicyPreviewInput, ...request.Option) (*ecr.GetLifecyclePolicyPreviewOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetLifecyclePolicyPreviewInput, ...request.Option) *ecr.GetLifecyclePolicyPreviewOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1417,7 +2035,6 @@ func (_m *MockFakeECR) GetLifecyclePolicyPreviewWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetLifecyclePolicyPreviewInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1432,6 +2049,10 @@ func (_m *MockFakeECR) GetLifecyclePolicyRequest(_a0 *ecr.GetLifecyclePolicyInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.GetLifecyclePolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyInput) (*request.Request, *ecr.GetLifecyclePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetLifecyclePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1440,20 +2061,106 @@ func (_m *MockFakeECR) GetLifecyclePolicyRequest(_a0 *ecr.GetLifecyclePolicyInpu } } - var r1 *ecr.GetLifecyclePolicyOutput if rf, ok := ret.Get(1).(func(*ecr.GetLifecyclePolicyInput) *ecr.GetLifecyclePolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ecr.GetLifecyclePolicyOutput) + r1 = ret.Get(1).(*ecr.GetLifecyclePolicyOutput) + } + } + + return r0, r1 +} + +// GetLifecyclePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) GetLifecyclePolicyWithContext(_a0 context.Context, _a1 *ecr.GetLifecyclePolicyInput, _a2 ...request.Option) (*ecr.GetLifecyclePolicyOutput, error) { + _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 *ecr.GetLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetLifecyclePolicyInput, ...request.Option) (*ecr.GetLifecyclePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetLifecyclePolicyInput, ...request.Option) *ecr.GetLifecyclePolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.GetLifecyclePolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetLifecyclePolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetRegistryPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeECR) GetRegistryPolicy(_a0 *ecr.GetRegistryPolicyInput) (*ecr.GetRegistryPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.GetRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) (*ecr.GetRegistryPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) *ecr.GetRegistryPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.GetRegistryPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.GetRegistryPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetRegistryPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) GetRegistryPolicyRequest(_a0 *ecr.GetRegistryPolicyInput) (*request.Request, *ecr.GetRegistryPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.GetRegistryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) (*request.Request, *ecr.GetRegistryPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.GetRegistryPolicyInput) *ecr.GetRegistryPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.GetRegistryPolicyOutput) } } return r0, r1 } -// GetLifecyclePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeECR) GetLifecyclePolicyWithContext(_a0 context.Context, _a1 *ecr.GetLifecyclePolicyInput, _a2 ...request.Option) (*ecr.GetLifecyclePolicyOutput, error) { +// GetRegistryPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) GetRegistryPolicyWithContext(_a0 context.Context, _a1 *ecr.GetRegistryPolicyInput, _a2 ...request.Option) (*ecr.GetRegistryPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1463,17 +2170,20 @@ func (_m *MockFakeECR) GetLifecyclePolicyWithContext(_a0 context.Context, _a1 *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ecr.GetLifecyclePolicyOutput - if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetLifecyclePolicyInput, ...request.Option) *ecr.GetLifecyclePolicyOutput); ok { + var r0 *ecr.GetRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRegistryPolicyInput, ...request.Option) (*ecr.GetRegistryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRegistryPolicyInput, ...request.Option) *ecr.GetRegistryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ecr.GetLifecyclePolicyOutput) + r0 = ret.Get(0).(*ecr.GetRegistryPolicyOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetLifecyclePolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetRegistryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1482,21 +2192,24 @@ func (_m *MockFakeECR) GetLifecyclePolicyWithContext(_a0 context.Context, _a1 *e return r0, r1 } -// GetRegistryPolicy provides a mock function with given fields: _a0 -func (_m *MockFakeECR) GetRegistryPolicy(_a0 *ecr.GetRegistryPolicyInput) (*ecr.GetRegistryPolicyOutput, error) { +// GetRegistryScanningConfiguration provides a mock function with given fields: _a0 +func (_m *MockFakeECR) GetRegistryScanningConfiguration(_a0 *ecr.GetRegistryScanningConfigurationInput) (*ecr.GetRegistryScanningConfigurationOutput, error) { ret := _m.Called(_a0) - var r0 *ecr.GetRegistryPolicyOutput - if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) *ecr.GetRegistryPolicyOutput); ok { + var r0 *ecr.GetRegistryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryScanningConfigurationInput) (*ecr.GetRegistryScanningConfigurationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryScanningConfigurationInput) *ecr.GetRegistryScanningConfigurationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ecr.GetRegistryPolicyOutput) + r0 = ret.Get(0).(*ecr.GetRegistryScanningConfigurationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*ecr.GetRegistryPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*ecr.GetRegistryScanningConfigurationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1505,12 +2218,16 @@ func (_m *MockFakeECR) GetRegistryPolicy(_a0 *ecr.GetRegistryPolicyInput) (*ecr. return r0, r1 } -// GetRegistryPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockFakeECR) GetRegistryPolicyRequest(_a0 *ecr.GetRegistryPolicyInput) (*request.Request, *ecr.GetRegistryPolicyOutput) { +// GetRegistryScanningConfigurationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) GetRegistryScanningConfigurationRequest(_a0 *ecr.GetRegistryScanningConfigurationInput) (*request.Request, *ecr.GetRegistryScanningConfigurationOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*ecr.GetRegistryPolicyInput) *request.Request); ok { + var r1 *ecr.GetRegistryScanningConfigurationOutput + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryScanningConfigurationInput) (*request.Request, *ecr.GetRegistryScanningConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.GetRegistryScanningConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1518,20 +2235,19 @@ func (_m *MockFakeECR) GetRegistryPolicyRequest(_a0 *ecr.GetRegistryPolicyInput) } } - var r1 *ecr.GetRegistryPolicyOutput - if rf, ok := ret.Get(1).(func(*ecr.GetRegistryPolicyInput) *ecr.GetRegistryPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*ecr.GetRegistryScanningConfigurationInput) *ecr.GetRegistryScanningConfigurationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*ecr.GetRegistryPolicyOutput) + r1 = ret.Get(1).(*ecr.GetRegistryScanningConfigurationOutput) } } return r0, r1 } -// GetRegistryPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeECR) GetRegistryPolicyWithContext(_a0 context.Context, _a1 *ecr.GetRegistryPolicyInput, _a2 ...request.Option) (*ecr.GetRegistryPolicyOutput, error) { +// GetRegistryScanningConfigurationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) GetRegistryScanningConfigurationWithContext(_a0 context.Context, _a1 *ecr.GetRegistryScanningConfigurationInput, _a2 ...request.Option) (*ecr.GetRegistryScanningConfigurationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1541,17 +2257,20 @@ func (_m *MockFakeECR) GetRegistryPolicyWithContext(_a0 context.Context, _a1 *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *ecr.GetRegistryPolicyOutput - if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRegistryPolicyInput, ...request.Option) *ecr.GetRegistryPolicyOutput); ok { + var r0 *ecr.GetRegistryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRegistryScanningConfigurationInput, ...request.Option) (*ecr.GetRegistryScanningConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRegistryScanningConfigurationInput, ...request.Option) *ecr.GetRegistryScanningConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*ecr.GetRegistryPolicyOutput) + r0 = ret.Get(0).(*ecr.GetRegistryScanningConfigurationOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetRegistryPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetRegistryScanningConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1565,6 +2284,10 @@ func (_m *MockFakeECR) GetRepositoryPolicy(_a0 *ecr.GetRepositoryPolicyInput) (* ret := _m.Called(_a0) var r0 *ecr.GetRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.GetRepositoryPolicyInput) (*ecr.GetRepositoryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetRepositoryPolicyInput) *ecr.GetRepositoryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1573,7 +2296,6 @@ func (_m *MockFakeECR) GetRepositoryPolicy(_a0 *ecr.GetRepositoryPolicyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.GetRepositoryPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1588,6 +2310,10 @@ func (_m *MockFakeECR) GetRepositoryPolicyRequest(_a0 *ecr.GetRepositoryPolicyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.GetRepositoryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.GetRepositoryPolicyInput) (*request.Request, *ecr.GetRepositoryPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.GetRepositoryPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1596,7 +2322,6 @@ func (_m *MockFakeECR) GetRepositoryPolicyRequest(_a0 *ecr.GetRepositoryPolicyIn } } - var r1 *ecr.GetRepositoryPolicyOutput if rf, ok := ret.Get(1).(func(*ecr.GetRepositoryPolicyInput) *ecr.GetRepositoryPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1620,6 +2345,10 @@ func (_m *MockFakeECR) GetRepositoryPolicyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ecr.GetRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRepositoryPolicyInput, ...request.Option) (*ecr.GetRepositoryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.GetRepositoryPolicyInput, ...request.Option) *ecr.GetRepositoryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1628,7 +2357,6 @@ func (_m *MockFakeECR) GetRepositoryPolicyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.GetRepositoryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1643,6 +2371,10 @@ func (_m *MockFakeECR) InitiateLayerUpload(_a0 *ecr.InitiateLayerUploadInput) (* ret := _m.Called(_a0) var r0 *ecr.InitiateLayerUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.InitiateLayerUploadInput) (*ecr.InitiateLayerUploadOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.InitiateLayerUploadInput) *ecr.InitiateLayerUploadOutput); ok { r0 = rf(_a0) } else { @@ -1651,7 +2383,6 @@ func (_m *MockFakeECR) InitiateLayerUpload(_a0 *ecr.InitiateLayerUploadInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.InitiateLayerUploadInput) error); ok { r1 = rf(_a0) } else { @@ -1666,6 +2397,10 @@ func (_m *MockFakeECR) InitiateLayerUploadRequest(_a0 *ecr.InitiateLayerUploadIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.InitiateLayerUploadOutput + if rf, ok := ret.Get(0).(func(*ecr.InitiateLayerUploadInput) (*request.Request, *ecr.InitiateLayerUploadOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.InitiateLayerUploadInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1674,7 +2409,6 @@ func (_m *MockFakeECR) InitiateLayerUploadRequest(_a0 *ecr.InitiateLayerUploadIn } } - var r1 *ecr.InitiateLayerUploadOutput if rf, ok := ret.Get(1).(func(*ecr.InitiateLayerUploadInput) *ecr.InitiateLayerUploadOutput); ok { r1 = rf(_a0) } else { @@ -1698,6 +2432,10 @@ func (_m *MockFakeECR) InitiateLayerUploadWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ecr.InitiateLayerUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.InitiateLayerUploadInput, ...request.Option) (*ecr.InitiateLayerUploadOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.InitiateLayerUploadInput, ...request.Option) *ecr.InitiateLayerUploadOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1706,7 +2444,6 @@ func (_m *MockFakeECR) InitiateLayerUploadWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.InitiateLayerUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1721,6 +2458,10 @@ func (_m *MockFakeECR) ListImages(_a0 *ecr.ListImagesInput) (*ecr.ListImagesOutp ret := _m.Called(_a0) var r0 *ecr.ListImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.ListImagesInput) (*ecr.ListImagesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.ListImagesInput) *ecr.ListImagesOutput); ok { r0 = rf(_a0) } else { @@ -1729,7 +2470,6 @@ func (_m *MockFakeECR) ListImages(_a0 *ecr.ListImagesInput) (*ecr.ListImagesOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.ListImagesInput) error); ok { r1 = rf(_a0) } else { @@ -1779,6 +2519,10 @@ func (_m *MockFakeECR) ListImagesRequest(_a0 *ecr.ListImagesInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.ListImagesOutput + if rf, ok := ret.Get(0).(func(*ecr.ListImagesInput) (*request.Request, *ecr.ListImagesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.ListImagesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1787,7 +2531,6 @@ func (_m *MockFakeECR) ListImagesRequest(_a0 *ecr.ListImagesInput) (*request.Req } } - var r1 *ecr.ListImagesOutput if rf, ok := ret.Get(1).(func(*ecr.ListImagesInput) *ecr.ListImagesOutput); ok { r1 = rf(_a0) } else { @@ -1811,6 +2554,10 @@ func (_m *MockFakeECR) ListImagesWithContext(_a0 context.Context, _a1 *ecr.ListI ret := _m.Called(_ca...) var r0 *ecr.ListImagesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.ListImagesInput, ...request.Option) (*ecr.ListImagesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.ListImagesInput, ...request.Option) *ecr.ListImagesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1819,7 +2566,6 @@ func (_m *MockFakeECR) ListImagesWithContext(_a0 context.Context, _a1 *ecr.ListI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.ListImagesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1834,6 +2580,10 @@ func (_m *MockFakeECR) ListTagsForResource(_a0 *ecr.ListTagsForResourceInput) (* ret := _m.Called(_a0) var r0 *ecr.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.ListTagsForResourceInput) (*ecr.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.ListTagsForResourceInput) *ecr.ListTagsForResourceOutput); ok { r0 = rf(_a0) } else { @@ -1842,7 +2592,6 @@ func (_m *MockFakeECR) ListTagsForResource(_a0 *ecr.ListTagsForResourceInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -1857,6 +2606,10 @@ func (_m *MockFakeECR) ListTagsForResourceRequest(_a0 *ecr.ListTagsForResourceIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*ecr.ListTagsForResourceInput) (*request.Request, *ecr.ListTagsForResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1865,7 +2618,6 @@ func (_m *MockFakeECR) ListTagsForResourceRequest(_a0 *ecr.ListTagsForResourceIn } } - var r1 *ecr.ListTagsForResourceOutput if rf, ok := ret.Get(1).(func(*ecr.ListTagsForResourceInput) *ecr.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { @@ -1889,6 +2641,10 @@ func (_m *MockFakeECR) ListTagsForResourceWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ecr.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.ListTagsForResourceInput, ...request.Option) (*ecr.ListTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.ListTagsForResourceInput, ...request.Option) *ecr.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1897,7 +2653,6 @@ func (_m *MockFakeECR) ListTagsForResourceWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1912,6 +2667,10 @@ func (_m *MockFakeECR) PutImage(_a0 *ecr.PutImageInput) (*ecr.PutImageOutput, er ret := _m.Called(_a0) var r0 *ecr.PutImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutImageInput) (*ecr.PutImageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageInput) *ecr.PutImageOutput); ok { r0 = rf(_a0) } else { @@ -1920,7 +2679,6 @@ func (_m *MockFakeECR) PutImage(_a0 *ecr.PutImageInput) (*ecr.PutImageOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutImageInput) error); ok { r1 = rf(_a0) } else { @@ -1935,6 +2693,10 @@ func (_m *MockFakeECR) PutImageRequest(_a0 *ecr.PutImageInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutImageOutput + if rf, ok := ret.Get(0).(func(*ecr.PutImageInput) (*request.Request, *ecr.PutImageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1943,7 +2705,6 @@ func (_m *MockFakeECR) PutImageRequest(_a0 *ecr.PutImageInput) (*request.Request } } - var r1 *ecr.PutImageOutput if rf, ok := ret.Get(1).(func(*ecr.PutImageInput) *ecr.PutImageOutput); ok { r1 = rf(_a0) } else { @@ -1960,6 +2721,10 @@ func (_m *MockFakeECR) PutImageScanningConfiguration(_a0 *ecr.PutImageScanningCo ret := _m.Called(_a0) var r0 *ecr.PutImageScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutImageScanningConfigurationInput) (*ecr.PutImageScanningConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageScanningConfigurationInput) *ecr.PutImageScanningConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1968,7 +2733,6 @@ func (_m *MockFakeECR) PutImageScanningConfiguration(_a0 *ecr.PutImageScanningCo } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutImageScanningConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1983,6 +2747,10 @@ func (_m *MockFakeECR) PutImageScanningConfigurationRequest(_a0 *ecr.PutImageSca ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutImageScanningConfigurationOutput + if rf, ok := ret.Get(0).(func(*ecr.PutImageScanningConfigurationInput) (*request.Request, *ecr.PutImageScanningConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageScanningConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1991,7 +2759,6 @@ func (_m *MockFakeECR) PutImageScanningConfigurationRequest(_a0 *ecr.PutImageSca } } - var r1 *ecr.PutImageScanningConfigurationOutput if rf, ok := ret.Get(1).(func(*ecr.PutImageScanningConfigurationInput) *ecr.PutImageScanningConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2015,6 +2782,10 @@ func (_m *MockFakeECR) PutImageScanningConfigurationWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *ecr.PutImageScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageScanningConfigurationInput, ...request.Option) (*ecr.PutImageScanningConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageScanningConfigurationInput, ...request.Option) *ecr.PutImageScanningConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2023,7 +2794,6 @@ func (_m *MockFakeECR) PutImageScanningConfigurationWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutImageScanningConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2038,6 +2808,10 @@ func (_m *MockFakeECR) PutImageTagMutability(_a0 *ecr.PutImageTagMutabilityInput ret := _m.Called(_a0) var r0 *ecr.PutImageTagMutabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutImageTagMutabilityInput) (*ecr.PutImageTagMutabilityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageTagMutabilityInput) *ecr.PutImageTagMutabilityOutput); ok { r0 = rf(_a0) } else { @@ -2046,7 +2820,6 @@ func (_m *MockFakeECR) PutImageTagMutability(_a0 *ecr.PutImageTagMutabilityInput } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutImageTagMutabilityInput) error); ok { r1 = rf(_a0) } else { @@ -2061,6 +2834,10 @@ func (_m *MockFakeECR) PutImageTagMutabilityRequest(_a0 *ecr.PutImageTagMutabili ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutImageTagMutabilityOutput + if rf, ok := ret.Get(0).(func(*ecr.PutImageTagMutabilityInput) (*request.Request, *ecr.PutImageTagMutabilityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutImageTagMutabilityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2069,7 +2846,6 @@ func (_m *MockFakeECR) PutImageTagMutabilityRequest(_a0 *ecr.PutImageTagMutabili } } - var r1 *ecr.PutImageTagMutabilityOutput if rf, ok := ret.Get(1).(func(*ecr.PutImageTagMutabilityInput) *ecr.PutImageTagMutabilityOutput); ok { r1 = rf(_a0) } else { @@ -2093,6 +2869,10 @@ func (_m *MockFakeECR) PutImageTagMutabilityWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *ecr.PutImageTagMutabilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageTagMutabilityInput, ...request.Option) (*ecr.PutImageTagMutabilityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageTagMutabilityInput, ...request.Option) *ecr.PutImageTagMutabilityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2101,7 +2881,6 @@ func (_m *MockFakeECR) PutImageTagMutabilityWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutImageTagMutabilityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2123,6 +2902,10 @@ func (_m *MockFakeECR) PutImageWithContext(_a0 context.Context, _a1 *ecr.PutImag ret := _m.Called(_ca...) var r0 *ecr.PutImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageInput, ...request.Option) (*ecr.PutImageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutImageInput, ...request.Option) *ecr.PutImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2131,7 +2914,6 @@ func (_m *MockFakeECR) PutImageWithContext(_a0 context.Context, _a1 *ecr.PutImag } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2146,6 +2928,10 @@ func (_m *MockFakeECR) PutLifecyclePolicy(_a0 *ecr.PutLifecyclePolicyInput) (*ec ret := _m.Called(_a0) var r0 *ecr.PutLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutLifecyclePolicyInput) (*ecr.PutLifecyclePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutLifecyclePolicyInput) *ecr.PutLifecyclePolicyOutput); ok { r0 = rf(_a0) } else { @@ -2154,7 +2940,6 @@ func (_m *MockFakeECR) PutLifecyclePolicy(_a0 *ecr.PutLifecyclePolicyInput) (*ec } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutLifecyclePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2169,6 +2954,10 @@ func (_m *MockFakeECR) PutLifecyclePolicyRequest(_a0 *ecr.PutLifecyclePolicyInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutLifecyclePolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.PutLifecyclePolicyInput) (*request.Request, *ecr.PutLifecyclePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutLifecyclePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2177,7 +2966,6 @@ func (_m *MockFakeECR) PutLifecyclePolicyRequest(_a0 *ecr.PutLifecyclePolicyInpu } } - var r1 *ecr.PutLifecyclePolicyOutput if rf, ok := ret.Get(1).(func(*ecr.PutLifecyclePolicyInput) *ecr.PutLifecyclePolicyOutput); ok { r1 = rf(_a0) } else { @@ -2201,6 +2989,10 @@ func (_m *MockFakeECR) PutLifecyclePolicyWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *ecr.PutLifecyclePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutLifecyclePolicyInput, ...request.Option) (*ecr.PutLifecyclePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutLifecyclePolicyInput, ...request.Option) *ecr.PutLifecyclePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2209,7 +3001,6 @@ func (_m *MockFakeECR) PutLifecyclePolicyWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutLifecyclePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2224,6 +3015,10 @@ func (_m *MockFakeECR) PutRegistryPolicy(_a0 *ecr.PutRegistryPolicyInput) (*ecr. ret := _m.Called(_a0) var r0 *ecr.PutRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryPolicyInput) (*ecr.PutRegistryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutRegistryPolicyInput) *ecr.PutRegistryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2232,7 +3027,6 @@ func (_m *MockFakeECR) PutRegistryPolicy(_a0 *ecr.PutRegistryPolicyInput) (*ecr. } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutRegistryPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2247,6 +3041,10 @@ func (_m *MockFakeECR) PutRegistryPolicyRequest(_a0 *ecr.PutRegistryPolicyInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutRegistryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryPolicyInput) (*request.Request, *ecr.PutRegistryPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutRegistryPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2255,7 +3053,6 @@ func (_m *MockFakeECR) PutRegistryPolicyRequest(_a0 *ecr.PutRegistryPolicyInput) } } - var r1 *ecr.PutRegistryPolicyOutput if rf, ok := ret.Get(1).(func(*ecr.PutRegistryPolicyInput) *ecr.PutRegistryPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2279,6 +3076,10 @@ func (_m *MockFakeECR) PutRegistryPolicyWithContext(_a0 context.Context, _a1 *ec ret := _m.Called(_ca...) var r0 *ecr.PutRegistryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutRegistryPolicyInput, ...request.Option) (*ecr.PutRegistryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutRegistryPolicyInput, ...request.Option) *ecr.PutRegistryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2287,7 +3088,6 @@ func (_m *MockFakeECR) PutRegistryPolicyWithContext(_a0 context.Context, _a1 *ec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutRegistryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2297,11 +3097,102 @@ func (_m *MockFakeECR) PutRegistryPolicyWithContext(_a0 context.Context, _a1 *ec return r0, r1 } +// PutRegistryScanningConfiguration provides a mock function with given fields: _a0 +func (_m *MockFakeECR) PutRegistryScanningConfiguration(_a0 *ecr.PutRegistryScanningConfigurationInput) (*ecr.PutRegistryScanningConfigurationOutput, error) { + ret := _m.Called(_a0) + + var r0 *ecr.PutRegistryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryScanningConfigurationInput) (*ecr.PutRegistryScanningConfigurationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryScanningConfigurationInput) *ecr.PutRegistryScanningConfigurationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.PutRegistryScanningConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.PutRegistryScanningConfigurationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutRegistryScanningConfigurationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeECR) PutRegistryScanningConfigurationRequest(_a0 *ecr.PutRegistryScanningConfigurationInput) (*request.Request, *ecr.PutRegistryScanningConfigurationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *ecr.PutRegistryScanningConfigurationOutput + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryScanningConfigurationInput) (*request.Request, *ecr.PutRegistryScanningConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*ecr.PutRegistryScanningConfigurationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*ecr.PutRegistryScanningConfigurationInput) *ecr.PutRegistryScanningConfigurationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*ecr.PutRegistryScanningConfigurationOutput) + } + } + + return r0, r1 +} + +// PutRegistryScanningConfigurationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeECR) PutRegistryScanningConfigurationWithContext(_a0 context.Context, _a1 *ecr.PutRegistryScanningConfigurationInput, _a2 ...request.Option) (*ecr.PutRegistryScanningConfigurationOutput, error) { + _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 *ecr.PutRegistryScanningConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutRegistryScanningConfigurationInput, ...request.Option) (*ecr.PutRegistryScanningConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutRegistryScanningConfigurationInput, ...request.Option) *ecr.PutRegistryScanningConfigurationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*ecr.PutRegistryScanningConfigurationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutRegistryScanningConfigurationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PutReplicationConfiguration provides a mock function with given fields: _a0 func (_m *MockFakeECR) PutReplicationConfiguration(_a0 *ecr.PutReplicationConfigurationInput) (*ecr.PutReplicationConfigurationOutput, error) { ret := _m.Called(_a0) var r0 *ecr.PutReplicationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.PutReplicationConfigurationInput) (*ecr.PutReplicationConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutReplicationConfigurationInput) *ecr.PutReplicationConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2310,7 +3201,6 @@ func (_m *MockFakeECR) PutReplicationConfiguration(_a0 *ecr.PutReplicationConfig } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.PutReplicationConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2325,6 +3215,10 @@ func (_m *MockFakeECR) PutReplicationConfigurationRequest(_a0 *ecr.PutReplicatio ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.PutReplicationConfigurationOutput + if rf, ok := ret.Get(0).(func(*ecr.PutReplicationConfigurationInput) (*request.Request, *ecr.PutReplicationConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.PutReplicationConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2333,7 +3227,6 @@ func (_m *MockFakeECR) PutReplicationConfigurationRequest(_a0 *ecr.PutReplicatio } } - var r1 *ecr.PutReplicationConfigurationOutput if rf, ok := ret.Get(1).(func(*ecr.PutReplicationConfigurationInput) *ecr.PutReplicationConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2357,6 +3250,10 @@ func (_m *MockFakeECR) PutReplicationConfigurationWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ecr.PutReplicationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutReplicationConfigurationInput, ...request.Option) (*ecr.PutReplicationConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.PutReplicationConfigurationInput, ...request.Option) *ecr.PutReplicationConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2365,7 +3262,6 @@ func (_m *MockFakeECR) PutReplicationConfigurationWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.PutReplicationConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2380,6 +3276,10 @@ func (_m *MockFakeECR) SetRepositoryPolicy(_a0 *ecr.SetRepositoryPolicyInput) (* ret := _m.Called(_a0) var r0 *ecr.SetRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.SetRepositoryPolicyInput) (*ecr.SetRepositoryPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.SetRepositoryPolicyInput) *ecr.SetRepositoryPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2388,7 +3288,6 @@ func (_m *MockFakeECR) SetRepositoryPolicy(_a0 *ecr.SetRepositoryPolicyInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.SetRepositoryPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2403,6 +3302,10 @@ func (_m *MockFakeECR) SetRepositoryPolicyRequest(_a0 *ecr.SetRepositoryPolicyIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.SetRepositoryPolicyOutput + if rf, ok := ret.Get(0).(func(*ecr.SetRepositoryPolicyInput) (*request.Request, *ecr.SetRepositoryPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.SetRepositoryPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2411,7 +3314,6 @@ func (_m *MockFakeECR) SetRepositoryPolicyRequest(_a0 *ecr.SetRepositoryPolicyIn } } - var r1 *ecr.SetRepositoryPolicyOutput if rf, ok := ret.Get(1).(func(*ecr.SetRepositoryPolicyInput) *ecr.SetRepositoryPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2435,6 +3337,10 @@ func (_m *MockFakeECR) SetRepositoryPolicyWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *ecr.SetRepositoryPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.SetRepositoryPolicyInput, ...request.Option) (*ecr.SetRepositoryPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.SetRepositoryPolicyInput, ...request.Option) *ecr.SetRepositoryPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2443,7 +3349,6 @@ func (_m *MockFakeECR) SetRepositoryPolicyWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.SetRepositoryPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2458,6 +3363,10 @@ func (_m *MockFakeECR) StartImageScan(_a0 *ecr.StartImageScanInput) (*ecr.StartI ret := _m.Called(_a0) var r0 *ecr.StartImageScanOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.StartImageScanInput) (*ecr.StartImageScanOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.StartImageScanInput) *ecr.StartImageScanOutput); ok { r0 = rf(_a0) } else { @@ -2466,7 +3375,6 @@ func (_m *MockFakeECR) StartImageScan(_a0 *ecr.StartImageScanInput) (*ecr.StartI } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.StartImageScanInput) error); ok { r1 = rf(_a0) } else { @@ -2481,6 +3389,10 @@ func (_m *MockFakeECR) StartImageScanRequest(_a0 *ecr.StartImageScanInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.StartImageScanOutput + if rf, ok := ret.Get(0).(func(*ecr.StartImageScanInput) (*request.Request, *ecr.StartImageScanOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.StartImageScanInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2489,7 +3401,6 @@ func (_m *MockFakeECR) StartImageScanRequest(_a0 *ecr.StartImageScanInput) (*req } } - var r1 *ecr.StartImageScanOutput if rf, ok := ret.Get(1).(func(*ecr.StartImageScanInput) *ecr.StartImageScanOutput); ok { r1 = rf(_a0) } else { @@ -2513,6 +3424,10 @@ func (_m *MockFakeECR) StartImageScanWithContext(_a0 context.Context, _a1 *ecr.S ret := _m.Called(_ca...) var r0 *ecr.StartImageScanOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.StartImageScanInput, ...request.Option) (*ecr.StartImageScanOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.StartImageScanInput, ...request.Option) *ecr.StartImageScanOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2521,7 +3436,6 @@ func (_m *MockFakeECR) StartImageScanWithContext(_a0 context.Context, _a1 *ecr.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.StartImageScanInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2536,6 +3450,10 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreview(_a0 *ecr.StartLifecyclePolicy ret := _m.Called(_a0) var r0 *ecr.StartLifecyclePolicyPreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.StartLifecyclePolicyPreviewInput) (*ecr.StartLifecyclePolicyPreviewOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.StartLifecyclePolicyPreviewInput) *ecr.StartLifecyclePolicyPreviewOutput); ok { r0 = rf(_a0) } else { @@ -2544,7 +3462,6 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreview(_a0 *ecr.StartLifecyclePolicy } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.StartLifecyclePolicyPreviewInput) error); ok { r1 = rf(_a0) } else { @@ -2559,6 +3476,10 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreviewRequest(_a0 *ecr.StartLifecycl ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.StartLifecyclePolicyPreviewOutput + if rf, ok := ret.Get(0).(func(*ecr.StartLifecyclePolicyPreviewInput) (*request.Request, *ecr.StartLifecyclePolicyPreviewOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.StartLifecyclePolicyPreviewInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2567,7 +3488,6 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreviewRequest(_a0 *ecr.StartLifecycl } } - var r1 *ecr.StartLifecyclePolicyPreviewOutput if rf, ok := ret.Get(1).(func(*ecr.StartLifecyclePolicyPreviewInput) *ecr.StartLifecyclePolicyPreviewOutput); ok { r1 = rf(_a0) } else { @@ -2591,6 +3511,10 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreviewWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *ecr.StartLifecyclePolicyPreviewOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.StartLifecyclePolicyPreviewInput, ...request.Option) (*ecr.StartLifecyclePolicyPreviewOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.StartLifecyclePolicyPreviewInput, ...request.Option) *ecr.StartLifecyclePolicyPreviewOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2599,7 +3523,6 @@ func (_m *MockFakeECR) StartLifecyclePolicyPreviewWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.StartLifecyclePolicyPreviewInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2614,6 +3537,10 @@ func (_m *MockFakeECR) TagResource(_a0 *ecr.TagResourceInput) (*ecr.TagResourceO ret := _m.Called(_a0) var r0 *ecr.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.TagResourceInput) (*ecr.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.TagResourceInput) *ecr.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -2622,7 +3549,6 @@ func (_m *MockFakeECR) TagResource(_a0 *ecr.TagResourceInput) (*ecr.TagResourceO } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -2637,6 +3563,10 @@ func (_m *MockFakeECR) TagResourceRequest(_a0 *ecr.TagResourceInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.TagResourceOutput + if rf, ok := ret.Get(0).(func(*ecr.TagResourceInput) (*request.Request, *ecr.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2645,7 +3575,6 @@ func (_m *MockFakeECR) TagResourceRequest(_a0 *ecr.TagResourceInput) (*request.R } } - var r1 *ecr.TagResourceOutput if rf, ok := ret.Get(1).(func(*ecr.TagResourceInput) *ecr.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -2669,6 +3598,10 @@ func (_m *MockFakeECR) TagResourceWithContext(_a0 context.Context, _a1 *ecr.TagR ret := _m.Called(_ca...) var r0 *ecr.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.TagResourceInput, ...request.Option) (*ecr.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.TagResourceInput, ...request.Option) *ecr.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2677,7 +3610,6 @@ func (_m *MockFakeECR) TagResourceWithContext(_a0 context.Context, _a1 *ecr.TagR } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2692,6 +3624,10 @@ func (_m *MockFakeECR) UntagResource(_a0 *ecr.UntagResourceInput) (*ecr.UntagRes ret := _m.Called(_a0) var r0 *ecr.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.UntagResourceInput) (*ecr.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.UntagResourceInput) *ecr.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -2700,7 +3636,6 @@ func (_m *MockFakeECR) UntagResource(_a0 *ecr.UntagResourceInput) (*ecr.UntagRes } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -2715,6 +3650,10 @@ func (_m *MockFakeECR) UntagResourceRequest(_a0 *ecr.UntagResourceInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*ecr.UntagResourceInput) (*request.Request, *ecr.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2723,7 +3662,6 @@ func (_m *MockFakeECR) UntagResourceRequest(_a0 *ecr.UntagResourceInput) (*reque } } - var r1 *ecr.UntagResourceOutput if rf, ok := ret.Get(1).(func(*ecr.UntagResourceInput) *ecr.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -2747,6 +3685,10 @@ func (_m *MockFakeECR) UntagResourceWithContext(_a0 context.Context, _a1 *ecr.Un ret := _m.Called(_ca...) var r0 *ecr.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.UntagResourceInput, ...request.Option) (*ecr.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.UntagResourceInput, ...request.Option) *ecr.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2755,7 +3697,6 @@ func (_m *MockFakeECR) UntagResourceWithContext(_a0 context.Context, _a1 *ecr.Un } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2770,6 +3711,10 @@ func (_m *MockFakeECR) UploadLayerPart(_a0 *ecr.UploadLayerPartInput) (*ecr.Uplo ret := _m.Called(_a0) var r0 *ecr.UploadLayerPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(*ecr.UploadLayerPartInput) (*ecr.UploadLayerPartOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.UploadLayerPartInput) *ecr.UploadLayerPartOutput); ok { r0 = rf(_a0) } else { @@ -2778,7 +3723,6 @@ func (_m *MockFakeECR) UploadLayerPart(_a0 *ecr.UploadLayerPartInput) (*ecr.Uplo } } - var r1 error if rf, ok := ret.Get(1).(func(*ecr.UploadLayerPartInput) error); ok { r1 = rf(_a0) } else { @@ -2793,6 +3737,10 @@ func (_m *MockFakeECR) UploadLayerPartRequest(_a0 *ecr.UploadLayerPartInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *ecr.UploadLayerPartOutput + if rf, ok := ret.Get(0).(func(*ecr.UploadLayerPartInput) (*request.Request, *ecr.UploadLayerPartOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*ecr.UploadLayerPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2801,7 +3749,6 @@ func (_m *MockFakeECR) UploadLayerPartRequest(_a0 *ecr.UploadLayerPartInput) (*r } } - var r1 *ecr.UploadLayerPartOutput if rf, ok := ret.Get(1).(func(*ecr.UploadLayerPartInput) *ecr.UploadLayerPartOutput); ok { r1 = rf(_a0) } else { @@ -2825,6 +3772,10 @@ func (_m *MockFakeECR) UploadLayerPartWithContext(_a0 context.Context, _a1 *ecr. ret := _m.Called(_ca...) var r0 *ecr.UploadLayerPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *ecr.UploadLayerPartInput, ...request.Option) (*ecr.UploadLayerPartOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *ecr.UploadLayerPartInput, ...request.Option) *ecr.UploadLayerPartOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2833,7 +3784,6 @@ func (_m *MockFakeECR) UploadLayerPartWithContext(_a0 context.Context, _a1 *ecr. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *ecr.UploadLayerPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2912,3 +3862,18 @@ func (_m *MockFakeECR) WaitUntilLifecyclePolicyPreviewCompleteWithContext(_a0 co return r0 } + +type mockConstructorTestingTNewMockFakeECR interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeECR creates a new instance of MockFakeECR. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeECR(t mockConstructorTestingTNewMockFakeECR) *MockFakeECR { + mock := &MockFakeECR{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeELB.go b/test/aws/mock_FakeELB.go index 7da537de2..be4323b98 100644 --- a/test/aws/mock_FakeELB.go +++ b/test/aws/mock_FakeELB.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeELB) AddTags(_a0 *elb.AddTagsInput) (*elb.AddTagsOutput, error ret := _m.Called(_a0) var r0 *elb.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.AddTagsInput) (*elb.AddTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.AddTagsInput) *elb.AddTagsOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeELB) AddTags(_a0 *elb.AddTagsInput) (*elb.AddTagsOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.AddTagsInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeELB) AddTagsRequest(_a0 *elb.AddTagsInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.AddTagsOutput + if rf, ok := ret.Get(0).(func(*elb.AddTagsInput) (*request.Request, *elb.AddTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.AddTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeELB) AddTagsRequest(_a0 *elb.AddTagsInput) (*request.Request, } } - var r1 *elb.AddTagsOutput if rf, ok := ret.Get(1).(func(*elb.AddTagsInput) *elb.AddTagsOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeELB) AddTagsWithContext(_a0 context.Context, _a1 *elb.AddTagsI ret := _m.Called(_ca...) var r0 *elb.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.AddTagsInput, ...request.Option) (*elb.AddTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.AddTagsInput, ...request.Option) *elb.AddTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeELB) AddTagsWithContext(_a0 context.Context, _a1 *elb.AddTagsI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.AddTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancer(_a0 *elb.ApplySecurityG ret := _m.Called(_a0) var r0 *elb.ApplySecurityGroupsToLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) (*elb.ApplySecurityGroupsToLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) *elb.ApplySecurityGroupsToLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancer(_a0 *elb.ApplySecurityG } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancerRequest(_a0 *elb.ApplySe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.ApplySecurityGroupsToLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) (*request.Request, *elb.ApplySecurityGroupsToLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancerRequest(_a0 *elb.ApplySe } } - var r1 *elb.ApplySecurityGroupsToLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.ApplySecurityGroupsToLoadBalancerInput) *elb.ApplySecurityGroupsToLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancerWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elb.ApplySecurityGroupsToLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.ApplySecurityGroupsToLoadBalancerInput, ...request.Option) (*elb.ApplySecurityGroupsToLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.ApplySecurityGroupsToLoadBalancerInput, ...request.Option) *elb.ApplySecurityGroupsToLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeELB) ApplySecurityGroupsToLoadBalancerWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.ApplySecurityGroupsToLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnets(_a0 *elb.AttachLoadBalancerTo ret := _m.Called(_a0) var r0 *elb.AttachLoadBalancerToSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.AttachLoadBalancerToSubnetsInput) (*elb.AttachLoadBalancerToSubnetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.AttachLoadBalancerToSubnetsInput) *elb.AttachLoadBalancerToSubnetsOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnets(_a0 *elb.AttachLoadBalancerTo } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.AttachLoadBalancerToSubnetsInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnetsRequest(_a0 *elb.AttachLoadBal ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.AttachLoadBalancerToSubnetsOutput + if rf, ok := ret.Get(0).(func(*elb.AttachLoadBalancerToSubnetsInput) (*request.Request, *elb.AttachLoadBalancerToSubnetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.AttachLoadBalancerToSubnetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnetsRequest(_a0 *elb.AttachLoadBal } } - var r1 *elb.AttachLoadBalancerToSubnetsOutput if rf, ok := ret.Get(1).(func(*elb.AttachLoadBalancerToSubnetsInput) *elb.AttachLoadBalancerToSubnetsOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnetsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *elb.AttachLoadBalancerToSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.AttachLoadBalancerToSubnetsInput, ...request.Option) (*elb.AttachLoadBalancerToSubnetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.AttachLoadBalancerToSubnetsInput, ...request.Option) *elb.AttachLoadBalancerToSubnetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeELB) AttachLoadBalancerToSubnetsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.AttachLoadBalancerToSubnetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeELB) ConfigureHealthCheck(_a0 *elb.ConfigureHealthCheckInput) ret := _m.Called(_a0) var r0 *elb.ConfigureHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.ConfigureHealthCheckInput) (*elb.ConfigureHealthCheckOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ConfigureHealthCheckInput) *elb.ConfigureHealthCheckOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeELB) ConfigureHealthCheck(_a0 *elb.ConfigureHealthCheckInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.ConfigureHealthCheckInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeELB) ConfigureHealthCheckRequest(_a0 *elb.ConfigureHealthCheck ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.ConfigureHealthCheckOutput + if rf, ok := ret.Get(0).(func(*elb.ConfigureHealthCheckInput) (*request.Request, *elb.ConfigureHealthCheckOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ConfigureHealthCheckInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeELB) ConfigureHealthCheckRequest(_a0 *elb.ConfigureHealthCheck } } - var r1 *elb.ConfigureHealthCheckOutput if rf, ok := ret.Get(1).(func(*elb.ConfigureHealthCheckInput) *elb.ConfigureHealthCheckOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeELB) ConfigureHealthCheckWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elb.ConfigureHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.ConfigureHealthCheckInput, ...request.Option) (*elb.ConfigureHealthCheckOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.ConfigureHealthCheckInput, ...request.Option) *elb.ConfigureHealthCheckOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeELB) ConfigureHealthCheckWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.ConfigureHealthCheckInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicy(_a0 *elb.CreateAppCookieS ret := _m.Called(_a0) var r0 *elb.CreateAppCookieStickinessPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.CreateAppCookieStickinessPolicyInput) (*elb.CreateAppCookieStickinessPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateAppCookieStickinessPolicyInput) *elb.CreateAppCookieStickinessPolicyOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicy(_a0 *elb.CreateAppCookieS } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.CreateAppCookieStickinessPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicyRequest(_a0 *elb.CreateApp ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.CreateAppCookieStickinessPolicyOutput + if rf, ok := ret.Get(0).(func(*elb.CreateAppCookieStickinessPolicyInput) (*request.Request, *elb.CreateAppCookieStickinessPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateAppCookieStickinessPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicyRequest(_a0 *elb.CreateApp } } - var r1 *elb.CreateAppCookieStickinessPolicyOutput if rf, ok := ret.Get(1).(func(*elb.CreateAppCookieStickinessPolicyInput) *elb.CreateAppCookieStickinessPolicyOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicyWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *elb.CreateAppCookieStickinessPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateAppCookieStickinessPolicyInput, ...request.Option) (*elb.CreateAppCookieStickinessPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateAppCookieStickinessPolicyInput, ...request.Option) *elb.CreateAppCookieStickinessPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeELB) CreateAppCookieStickinessPolicyWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.CreateAppCookieStickinessPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicy(_a0 *elb.CreateLBCookieSti ret := _m.Called(_a0) var r0 *elb.CreateLBCookieStickinessPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.CreateLBCookieStickinessPolicyInput) (*elb.CreateLBCookieStickinessPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLBCookieStickinessPolicyInput) *elb.CreateLBCookieStickinessPolicyOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicy(_a0 *elb.CreateLBCookieSti } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.CreateLBCookieStickinessPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicyRequest(_a0 *elb.CreateLBCo ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.CreateLBCookieStickinessPolicyOutput + if rf, ok := ret.Get(0).(func(*elb.CreateLBCookieStickinessPolicyInput) (*request.Request, *elb.CreateLBCookieStickinessPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLBCookieStickinessPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicyRequest(_a0 *elb.CreateLBCo } } - var r1 *elb.CreateLBCookieStickinessPolicyOutput if rf, ok := ret.Get(1).(func(*elb.CreateLBCookieStickinessPolicyInput) *elb.CreateLBCookieStickinessPolicyOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicyWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elb.CreateLBCookieStickinessPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLBCookieStickinessPolicyInput, ...request.Option) (*elb.CreateLBCookieStickinessPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLBCookieStickinessPolicyInput, ...request.Option) *elb.CreateLBCookieStickinessPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeELB) CreateLBCookieStickinessPolicyWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.CreateLBCookieStickinessPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeELB) CreateLoadBalancer(_a0 *elb.CreateLoadBalancerInput) (*el ret := _m.Called(_a0) var r0 *elb.CreateLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerInput) (*elb.CreateLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerInput) *elb.CreateLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeELB) CreateLoadBalancer(_a0 *elb.CreateLoadBalancerInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeELB) CreateLoadBalancerListeners(_a0 *elb.CreateLoadBalancerLi ret := _m.Called(_a0) var r0 *elb.CreateLoadBalancerListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerListenersInput) (*elb.CreateLoadBalancerListenersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerListenersInput) *elb.CreateLoadBalancerListenersOutput); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeELB) CreateLoadBalancerListeners(_a0 *elb.CreateLoadBalancerLi } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerListenersInput) error); ok { r1 = rf(_a0) } else { @@ -535,6 +595,10 @@ func (_m *MockFakeELB) CreateLoadBalancerListenersRequest(_a0 *elb.CreateLoadBal ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.CreateLoadBalancerListenersOutput + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerListenersInput) (*request.Request, *elb.CreateLoadBalancerListenersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerListenersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -543,7 +607,6 @@ func (_m *MockFakeELB) CreateLoadBalancerListenersRequest(_a0 *elb.CreateLoadBal } } - var r1 *elb.CreateLoadBalancerListenersOutput if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerListenersInput) *elb.CreateLoadBalancerListenersOutput); ok { r1 = rf(_a0) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeELB) CreateLoadBalancerListenersWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *elb.CreateLoadBalancerListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerListenersInput, ...request.Option) (*elb.CreateLoadBalancerListenersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerListenersInput, ...request.Option) *elb.CreateLoadBalancerListenersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeELB) CreateLoadBalancerListenersWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.CreateLoadBalancerListenersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicy(_a0 *elb.CreateLoadBalancerPolic ret := _m.Called(_a0) var r0 *elb.CreateLoadBalancerPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerPolicyInput) (*elb.CreateLoadBalancerPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerPolicyInput) *elb.CreateLoadBalancerPolicyOutput); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicy(_a0 *elb.CreateLoadBalancerPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -613,6 +682,10 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicyRequest(_a0 *elb.CreateLoadBalanc ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.CreateLoadBalancerPolicyOutput + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerPolicyInput) (*request.Request, *elb.CreateLoadBalancerPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -621,7 +694,6 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicyRequest(_a0 *elb.CreateLoadBalanc } } - var r1 *elb.CreateLoadBalancerPolicyOutput if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerPolicyInput) *elb.CreateLoadBalancerPolicyOutput); ok { r1 = rf(_a0) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elb.CreateLoadBalancerPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerPolicyInput, ...request.Option) (*elb.CreateLoadBalancerPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerPolicyInput, ...request.Option) *elb.CreateLoadBalancerPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeELB) CreateLoadBalancerPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.CreateLoadBalancerPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeELB) CreateLoadBalancerRequest(_a0 *elb.CreateLoadBalancerInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.CreateLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerInput) (*request.Request, *elb.CreateLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.CreateLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeELB) CreateLoadBalancerRequest(_a0 *elb.CreateLoadBalancerInpu } } - var r1 *elb.CreateLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.CreateLoadBalancerInput) *elb.CreateLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeELB) CreateLoadBalancerWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elb.CreateLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerInput, ...request.Option) (*elb.CreateLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.CreateLoadBalancerInput, ...request.Option) *elb.CreateLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeELB) CreateLoadBalancerWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.CreateLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeELB) DeleteLoadBalancer(_a0 *elb.DeleteLoadBalancerInput) (*el ret := _m.Called(_a0) var r0 *elb.DeleteLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerInput) (*elb.DeleteLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerInput) *elb.DeleteLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeELB) DeleteLoadBalancer(_a0 *elb.DeleteLoadBalancerInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerListeners(_a0 *elb.DeleteLoadBalancerLi ret := _m.Called(_a0) var r0 *elb.DeleteLoadBalancerListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerListenersInput) (*elb.DeleteLoadBalancerListenersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerListenersInput) *elb.DeleteLoadBalancerListenersOutput); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerListeners(_a0 *elb.DeleteLoadBalancerLi } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerListenersInput) error); ok { r1 = rf(_a0) } else { @@ -769,6 +856,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerListenersRequest(_a0 *elb.DeleteLoadBal ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DeleteLoadBalancerListenersOutput + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerListenersInput) (*request.Request, *elb.DeleteLoadBalancerListenersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerListenersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -777,7 +868,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerListenersRequest(_a0 *elb.DeleteLoadBal } } - var r1 *elb.DeleteLoadBalancerListenersOutput if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerListenersInput) *elb.DeleteLoadBalancerListenersOutput); ok { r1 = rf(_a0) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerListenersWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *elb.DeleteLoadBalancerListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerListenersInput, ...request.Option) (*elb.DeleteLoadBalancerListenersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerListenersInput, ...request.Option) *elb.DeleteLoadBalancerListenersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerListenersWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DeleteLoadBalancerListenersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicy(_a0 *elb.DeleteLoadBalancerPolic ret := _m.Called(_a0) var r0 *elb.DeleteLoadBalancerPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerPolicyInput) (*elb.DeleteLoadBalancerPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerPolicyInput) *elb.DeleteLoadBalancerPolicyOutput); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicy(_a0 *elb.DeleteLoadBalancerPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -847,6 +943,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicyRequest(_a0 *elb.DeleteLoadBalanc ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DeleteLoadBalancerPolicyOutput + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerPolicyInput) (*request.Request, *elb.DeleteLoadBalancerPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -855,7 +955,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicyRequest(_a0 *elb.DeleteLoadBalanc } } - var r1 *elb.DeleteLoadBalancerPolicyOutput if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerPolicyInput) *elb.DeleteLoadBalancerPolicyOutput); ok { r1 = rf(_a0) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elb.DeleteLoadBalancerPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerPolicyInput, ...request.Option) (*elb.DeleteLoadBalancerPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerPolicyInput, ...request.Option) *elb.DeleteLoadBalancerPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DeleteLoadBalancerPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerRequest(_a0 *elb.DeleteLoadBalancerInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DeleteLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerInput) (*request.Request, *elb.DeleteLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeleteLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerRequest(_a0 *elb.DeleteLoadBalancerInpu } } - var r1 *elb.DeleteLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.DeleteLoadBalancerInput) *elb.DeleteLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1039,10 @@ func (_m *MockFakeELB) DeleteLoadBalancerWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elb.DeleteLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerInput, ...request.Option) (*elb.DeleteLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DeleteLoadBalancerInput, ...request.Option) *elb.DeleteLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1051,6 @@ func (_m *MockFakeELB) DeleteLoadBalancerWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DeleteLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancer(_a0 *elb.DeregisterIn ret := _m.Called(_a0) var r0 *elb.DeregisterInstancesFromLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DeregisterInstancesFromLoadBalancerInput) (*elb.DeregisterInstancesFromLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeregisterInstancesFromLoadBalancerInput) *elb.DeregisterInstancesFromLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancer(_a0 *elb.DeregisterIn } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DeregisterInstancesFromLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancerRequest(_a0 *elb.Dereg ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DeregisterInstancesFromLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.DeregisterInstancesFromLoadBalancerInput) (*request.Request, *elb.DeregisterInstancesFromLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DeregisterInstancesFromLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancerRequest(_a0 *elb.Dereg } } - var r1 *elb.DeregisterInstancesFromLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.DeregisterInstancesFromLoadBalancerInput) *elb.DeregisterInstancesFromLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1126,10 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancerWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *elb.DeregisterInstancesFromLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DeregisterInstancesFromLoadBalancerInput, ...request.Option) (*elb.DeregisterInstancesFromLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DeregisterInstancesFromLoadBalancerInput, ...request.Option) *elb.DeregisterInstancesFromLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1138,6 @@ func (_m *MockFakeELB) DeregisterInstancesFromLoadBalancerWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DeregisterInstancesFromLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1152,10 @@ func (_m *MockFakeELB) DescribeAccountLimits(_a0 *elb.DescribeAccountLimitsInput ret := _m.Called(_a0) var r0 *elb.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeAccountLimitsInput) (*elb.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeAccountLimitsInput) *elb.DescribeAccountLimitsOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1164,6 @@ func (_m *MockFakeELB) DescribeAccountLimits(_a0 *elb.DescribeAccountLimitsInput } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeAccountLimitsInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1178,10 @@ func (_m *MockFakeELB) DescribeAccountLimitsRequest(_a0 *elb.DescribeAccountLimi ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeAccountLimitsOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeAccountLimitsInput) (*request.Request, *elb.DescribeAccountLimitsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeAccountLimitsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1190,6 @@ func (_m *MockFakeELB) DescribeAccountLimitsRequest(_a0 *elb.DescribeAccountLimi } } - var r1 *elb.DescribeAccountLimitsOutput if rf, ok := ret.Get(1).(func(*elb.DescribeAccountLimitsInput) *elb.DescribeAccountLimitsOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1213,10 @@ func (_m *MockFakeELB) DescribeAccountLimitsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elb.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeAccountLimitsInput, ...request.Option) (*elb.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeAccountLimitsInput, ...request.Option) *elb.DescribeAccountLimitsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1225,6 @@ func (_m *MockFakeELB) DescribeAccountLimitsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeAccountLimitsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1239,10 @@ func (_m *MockFakeELB) DescribeInstanceHealth(_a0 *elb.DescribeInstanceHealthInp ret := _m.Called(_a0) var r0 *elb.DescribeInstanceHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeInstanceHealthInput) (*elb.DescribeInstanceHealthOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeInstanceHealthInput) *elb.DescribeInstanceHealthOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1251,6 @@ func (_m *MockFakeELB) DescribeInstanceHealth(_a0 *elb.DescribeInstanceHealthInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeInstanceHealthInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1265,10 @@ func (_m *MockFakeELB) DescribeInstanceHealthRequest(_a0 *elb.DescribeInstanceHe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeInstanceHealthOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeInstanceHealthInput) (*request.Request, *elb.DescribeInstanceHealthOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeInstanceHealthInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1277,6 @@ func (_m *MockFakeELB) DescribeInstanceHealthRequest(_a0 *elb.DescribeInstanceHe } } - var r1 *elb.DescribeInstanceHealthOutput if rf, ok := ret.Get(1).(func(*elb.DescribeInstanceHealthInput) *elb.DescribeInstanceHealthOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1300,10 @@ func (_m *MockFakeELB) DescribeInstanceHealthWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elb.DescribeInstanceHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeInstanceHealthInput, ...request.Option) (*elb.DescribeInstanceHealthOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeInstanceHealthInput, ...request.Option) *elb.DescribeInstanceHealthOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1312,6 @@ func (_m *MockFakeELB) DescribeInstanceHealthWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeInstanceHealthInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1326,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributes(_a0 *elb.DescribeLoadBalan ret := _m.Called(_a0) var r0 *elb.DescribeLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerAttributesInput) (*elb.DescribeLoadBalancerAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerAttributesInput) *elb.DescribeLoadBalancerAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1338,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributes(_a0 *elb.DescribeLoadBalan } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1352,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributesRequest(_a0 *elb.DescribeLo ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeLoadBalancerAttributesOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerAttributesInput) (*request.Request, *elb.DescribeLoadBalancerAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1364,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributesRequest(_a0 *elb.DescribeLo } } - var r1 *elb.DescribeLoadBalancerAttributesOutput if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerAttributesInput) *elb.DescribeLoadBalancerAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1387,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributesWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elb.DescribeLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerAttributesInput, ...request.Option) (*elb.DescribeLoadBalancerAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerAttributesInput, ...request.Option) *elb.DescribeLoadBalancerAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1399,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerAttributesWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeLoadBalancerAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1413,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicies(_a0 *elb.DescribeLoadBalance ret := _m.Called(_a0) var r0 *elb.DescribeLoadBalancerPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPoliciesInput) (*elb.DescribeLoadBalancerPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPoliciesInput) *elb.DescribeLoadBalancerPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1425,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicies(_a0 *elb.DescribeLoadBalance } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1439,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPoliciesRequest(_a0 *elb.DescribeLoad ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeLoadBalancerPoliciesOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPoliciesInput) (*request.Request, *elb.DescribeLoadBalancerPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1451,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPoliciesRequest(_a0 *elb.DescribeLoad } } - var r1 *elb.DescribeLoadBalancerPoliciesOutput if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerPoliciesInput) *elb.DescribeLoadBalancerPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1474,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPoliciesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *elb.DescribeLoadBalancerPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerPoliciesInput, ...request.Option) (*elb.DescribeLoadBalancerPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerPoliciesInput, ...request.Option) *elb.DescribeLoadBalancerPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1486,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPoliciesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeLoadBalancerPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1500,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypes(_a0 *elb.DescribeLoadBala ret := _m.Called(_a0) var r0 *elb.DescribeLoadBalancerPolicyTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPolicyTypesInput) (*elb.DescribeLoadBalancerPolicyTypesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPolicyTypesInput) *elb.DescribeLoadBalancerPolicyTypesOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1512,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypes(_a0 *elb.DescribeLoadBala } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerPolicyTypesInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1526,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypesRequest(_a0 *elb.DescribeL ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeLoadBalancerPolicyTypesOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPolicyTypesInput) (*request.Request, *elb.DescribeLoadBalancerPolicyTypesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancerPolicyTypesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1538,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypesRequest(_a0 *elb.DescribeL } } - var r1 *elb.DescribeLoadBalancerPolicyTypesOutput if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancerPolicyTypesInput) *elb.DescribeLoadBalancerPolicyTypesOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1561,10 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *elb.DescribeLoadBalancerPolicyTypesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerPolicyTypesInput, ...request.Option) (*elb.DescribeLoadBalancerPolicyTypesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancerPolicyTypesInput, ...request.Option) *elb.DescribeLoadBalancerPolicyTypesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1573,6 @@ func (_m *MockFakeELB) DescribeLoadBalancerPolicyTypesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeLoadBalancerPolicyTypesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1587,10 @@ func (_m *MockFakeELB) DescribeLoadBalancers(_a0 *elb.DescribeLoadBalancersInput ret := _m.Called(_a0) var r0 *elb.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancersInput) (*elb.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancersInput) *elb.DescribeLoadBalancersOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1599,6 @@ func (_m *MockFakeELB) DescribeLoadBalancers(_a0 *elb.DescribeLoadBalancersInput } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancersInput) error); ok { r1 = rf(_a0) } else { @@ -1483,6 +1648,10 @@ func (_m *MockFakeELB) DescribeLoadBalancersRequest(_a0 *elb.DescribeLoadBalance ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeLoadBalancersOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancersInput) (*request.Request, *elb.DescribeLoadBalancersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeLoadBalancersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1491,7 +1660,6 @@ func (_m *MockFakeELB) DescribeLoadBalancersRequest(_a0 *elb.DescribeLoadBalance } } - var r1 *elb.DescribeLoadBalancersOutput if rf, ok := ret.Get(1).(func(*elb.DescribeLoadBalancersInput) *elb.DescribeLoadBalancersOutput); ok { r1 = rf(_a0) } else { @@ -1515,6 +1683,10 @@ func (_m *MockFakeELB) DescribeLoadBalancersWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elb.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancersInput, ...request.Option) (*elb.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeLoadBalancersInput, ...request.Option) *elb.DescribeLoadBalancersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1523,7 +1695,6 @@ func (_m *MockFakeELB) DescribeLoadBalancersWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeLoadBalancersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1538,6 +1709,10 @@ func (_m *MockFakeELB) DescribeTags(_a0 *elb.DescribeTagsInput) (*elb.DescribeTa ret := _m.Called(_a0) var r0 *elb.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DescribeTagsInput) (*elb.DescribeTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeTagsInput) *elb.DescribeTagsOutput); ok { r0 = rf(_a0) } else { @@ -1546,7 +1721,6 @@ func (_m *MockFakeELB) DescribeTags(_a0 *elb.DescribeTagsInput) (*elb.DescribeTa } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DescribeTagsInput) error); ok { r1 = rf(_a0) } else { @@ -1561,6 +1735,10 @@ func (_m *MockFakeELB) DescribeTagsRequest(_a0 *elb.DescribeTagsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DescribeTagsOutput + if rf, ok := ret.Get(0).(func(*elb.DescribeTagsInput) (*request.Request, *elb.DescribeTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DescribeTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1569,7 +1747,6 @@ func (_m *MockFakeELB) DescribeTagsRequest(_a0 *elb.DescribeTagsInput) (*request } } - var r1 *elb.DescribeTagsOutput if rf, ok := ret.Get(1).(func(*elb.DescribeTagsInput) *elb.DescribeTagsOutput); ok { r1 = rf(_a0) } else { @@ -1593,6 +1770,10 @@ func (_m *MockFakeELB) DescribeTagsWithContext(_a0 context.Context, _a1 *elb.Des ret := _m.Called(_ca...) var r0 *elb.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeTagsInput, ...request.Option) (*elb.DescribeTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DescribeTagsInput, ...request.Option) *elb.DescribeTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1601,7 +1782,6 @@ func (_m *MockFakeELB) DescribeTagsWithContext(_a0 context.Context, _a1 *elb.Des } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DescribeTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1616,6 +1796,10 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnets(_a0 *elb.DetachLoadBalancer ret := _m.Called(_a0) var r0 *elb.DetachLoadBalancerFromSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DetachLoadBalancerFromSubnetsInput) (*elb.DetachLoadBalancerFromSubnetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DetachLoadBalancerFromSubnetsInput) *elb.DetachLoadBalancerFromSubnetsOutput); ok { r0 = rf(_a0) } else { @@ -1624,7 +1808,6 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnets(_a0 *elb.DetachLoadBalancer } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DetachLoadBalancerFromSubnetsInput) error); ok { r1 = rf(_a0) } else { @@ -1639,6 +1822,10 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnetsRequest(_a0 *elb.DetachLoadB ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DetachLoadBalancerFromSubnetsOutput + if rf, ok := ret.Get(0).(func(*elb.DetachLoadBalancerFromSubnetsInput) (*request.Request, *elb.DetachLoadBalancerFromSubnetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DetachLoadBalancerFromSubnetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1647,7 +1834,6 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnetsRequest(_a0 *elb.DetachLoadB } } - var r1 *elb.DetachLoadBalancerFromSubnetsOutput if rf, ok := ret.Get(1).(func(*elb.DetachLoadBalancerFromSubnetsInput) *elb.DetachLoadBalancerFromSubnetsOutput); ok { r1 = rf(_a0) } else { @@ -1671,6 +1857,10 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnetsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *elb.DetachLoadBalancerFromSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DetachLoadBalancerFromSubnetsInput, ...request.Option) (*elb.DetachLoadBalancerFromSubnetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DetachLoadBalancerFromSubnetsInput, ...request.Option) *elb.DetachLoadBalancerFromSubnetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1679,7 +1869,6 @@ func (_m *MockFakeELB) DetachLoadBalancerFromSubnetsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DetachLoadBalancerFromSubnetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1694,6 +1883,10 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancer(_a0 *elb.DisableA ret := _m.Called(_a0) var r0 *elb.DisableAvailabilityZonesForLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) (*elb.DisableAvailabilityZonesForLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) *elb.DisableAvailabilityZonesForLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -1702,7 +1895,6 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancer(_a0 *elb.DisableA } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -1717,6 +1909,10 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancerRequest(_a0 *elb.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.DisableAvailabilityZonesForLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) (*request.Request, *elb.DisableAvailabilityZonesForLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1725,7 +1921,6 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancerRequest(_a0 *elb.D } } - var r1 *elb.DisableAvailabilityZonesForLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.DisableAvailabilityZonesForLoadBalancerInput) *elb.DisableAvailabilityZonesForLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -1749,6 +1944,10 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancerWithContext(_a0 co ret := _m.Called(_ca...) var r0 *elb.DisableAvailabilityZonesForLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.DisableAvailabilityZonesForLoadBalancerInput, ...request.Option) (*elb.DisableAvailabilityZonesForLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.DisableAvailabilityZonesForLoadBalancerInput, ...request.Option) *elb.DisableAvailabilityZonesForLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1757,7 +1956,6 @@ func (_m *MockFakeELB) DisableAvailabilityZonesForLoadBalancerWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.DisableAvailabilityZonesForLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1772,6 +1970,10 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancer(_a0 *elb.EnableAva ret := _m.Called(_a0) var r0 *elb.EnableAvailabilityZonesForLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) (*elb.EnableAvailabilityZonesForLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) *elb.EnableAvailabilityZonesForLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -1780,7 +1982,6 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancer(_a0 *elb.EnableAva } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -1795,6 +1996,10 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancerRequest(_a0 *elb.En ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.EnableAvailabilityZonesForLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) (*request.Request, *elb.EnableAvailabilityZonesForLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1803,7 +2008,6 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancerRequest(_a0 *elb.En } } - var r1 *elb.EnableAvailabilityZonesForLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.EnableAvailabilityZonesForLoadBalancerInput) *elb.EnableAvailabilityZonesForLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -1827,6 +2031,10 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancerWithContext(_a0 con ret := _m.Called(_ca...) var r0 *elb.EnableAvailabilityZonesForLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.EnableAvailabilityZonesForLoadBalancerInput, ...request.Option) (*elb.EnableAvailabilityZonesForLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.EnableAvailabilityZonesForLoadBalancerInput, ...request.Option) *elb.EnableAvailabilityZonesForLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1835,7 +2043,6 @@ func (_m *MockFakeELB) EnableAvailabilityZonesForLoadBalancerWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.EnableAvailabilityZonesForLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1850,6 +2057,10 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributes(_a0 *elb.ModifyLoadBalancerA ret := _m.Called(_a0) var r0 *elb.ModifyLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.ModifyLoadBalancerAttributesInput) (*elb.ModifyLoadBalancerAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ModifyLoadBalancerAttributesInput) *elb.ModifyLoadBalancerAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1858,7 +2069,6 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributes(_a0 *elb.ModifyLoadBalancerA } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.ModifyLoadBalancerAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1873,6 +2083,10 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributesRequest(_a0 *elb.ModifyLoadBa ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.ModifyLoadBalancerAttributesOutput + if rf, ok := ret.Get(0).(func(*elb.ModifyLoadBalancerAttributesInput) (*request.Request, *elb.ModifyLoadBalancerAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.ModifyLoadBalancerAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1881,7 +2095,6 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributesRequest(_a0 *elb.ModifyLoadBa } } - var r1 *elb.ModifyLoadBalancerAttributesOutput if rf, ok := ret.Get(1).(func(*elb.ModifyLoadBalancerAttributesInput) *elb.ModifyLoadBalancerAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1905,6 +2118,10 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *elb.ModifyLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.ModifyLoadBalancerAttributesInput, ...request.Option) (*elb.ModifyLoadBalancerAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.ModifyLoadBalancerAttributesInput, ...request.Option) *elb.ModifyLoadBalancerAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1913,7 +2130,6 @@ func (_m *MockFakeELB) ModifyLoadBalancerAttributesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.ModifyLoadBalancerAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1928,6 +2144,10 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancer(_a0 *elb.RegisterInstan ret := _m.Called(_a0) var r0 *elb.RegisterInstancesWithLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.RegisterInstancesWithLoadBalancerInput) (*elb.RegisterInstancesWithLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.RegisterInstancesWithLoadBalancerInput) *elb.RegisterInstancesWithLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -1936,7 +2156,6 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancer(_a0 *elb.RegisterInstan } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.RegisterInstancesWithLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -1951,6 +2170,10 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancerRequest(_a0 *elb.Registe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.RegisterInstancesWithLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elb.RegisterInstancesWithLoadBalancerInput) (*request.Request, *elb.RegisterInstancesWithLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.RegisterInstancesWithLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1959,7 +2182,6 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancerRequest(_a0 *elb.Registe } } - var r1 *elb.RegisterInstancesWithLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elb.RegisterInstancesWithLoadBalancerInput) *elb.RegisterInstancesWithLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -1983,6 +2205,10 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancerWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elb.RegisterInstancesWithLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.RegisterInstancesWithLoadBalancerInput, ...request.Option) (*elb.RegisterInstancesWithLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.RegisterInstancesWithLoadBalancerInput, ...request.Option) *elb.RegisterInstancesWithLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1991,7 +2217,6 @@ func (_m *MockFakeELB) RegisterInstancesWithLoadBalancerWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.RegisterInstancesWithLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2006,6 +2231,10 @@ func (_m *MockFakeELB) RemoveTags(_a0 *elb.RemoveTagsInput) (*elb.RemoveTagsOutp ret := _m.Called(_a0) var r0 *elb.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.RemoveTagsInput) (*elb.RemoveTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.RemoveTagsInput) *elb.RemoveTagsOutput); ok { r0 = rf(_a0) } else { @@ -2014,7 +2243,6 @@ func (_m *MockFakeELB) RemoveTags(_a0 *elb.RemoveTagsInput) (*elb.RemoveTagsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.RemoveTagsInput) error); ok { r1 = rf(_a0) } else { @@ -2029,6 +2257,10 @@ func (_m *MockFakeELB) RemoveTagsRequest(_a0 *elb.RemoveTagsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.RemoveTagsOutput + if rf, ok := ret.Get(0).(func(*elb.RemoveTagsInput) (*request.Request, *elb.RemoveTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.RemoveTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2037,7 +2269,6 @@ func (_m *MockFakeELB) RemoveTagsRequest(_a0 *elb.RemoveTagsInput) (*request.Req } } - var r1 *elb.RemoveTagsOutput if rf, ok := ret.Get(1).(func(*elb.RemoveTagsInput) *elb.RemoveTagsOutput); ok { r1 = rf(_a0) } else { @@ -2061,6 +2292,10 @@ func (_m *MockFakeELB) RemoveTagsWithContext(_a0 context.Context, _a1 *elb.Remov ret := _m.Called(_ca...) var r0 *elb.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.RemoveTagsInput, ...request.Option) (*elb.RemoveTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.RemoveTagsInput, ...request.Option) *elb.RemoveTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2069,7 +2304,6 @@ func (_m *MockFakeELB) RemoveTagsWithContext(_a0 context.Context, _a1 *elb.Remov } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.RemoveTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2084,6 +2318,10 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificate(_a0 *elb.SetLoadBal ret := _m.Called(_a0) var r0 *elb.SetLoadBalancerListenerSSLCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) (*elb.SetLoadBalancerListenerSSLCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) *elb.SetLoadBalancerListenerSSLCertificateOutput); ok { r0 = rf(_a0) } else { @@ -2092,7 +2330,6 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificate(_a0 *elb.SetLoadBal } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -2107,6 +2344,10 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificateRequest(_a0 *elb.Set ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.SetLoadBalancerListenerSSLCertificateOutput + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) (*request.Request, *elb.SetLoadBalancerListenerSSLCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2115,7 +2356,6 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificateRequest(_a0 *elb.Set } } - var r1 *elb.SetLoadBalancerListenerSSLCertificateOutput if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerListenerSSLCertificateInput) *elb.SetLoadBalancerListenerSSLCertificateOutput); ok { r1 = rf(_a0) } else { @@ -2139,6 +2379,10 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificateWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *elb.SetLoadBalancerListenerSSLCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerListenerSSLCertificateInput, ...request.Option) (*elb.SetLoadBalancerListenerSSLCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerListenerSSLCertificateInput, ...request.Option) *elb.SetLoadBalancerListenerSSLCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2147,7 +2391,6 @@ func (_m *MockFakeELB) SetLoadBalancerListenerSSLCertificateWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.SetLoadBalancerListenerSSLCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2162,6 +2405,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServer(_a0 *elb.SetLoadB ret := _m.Called(_a0) var r0 *elb.SetLoadBalancerPoliciesForBackendServerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) (*elb.SetLoadBalancerPoliciesForBackendServerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) *elb.SetLoadBalancerPoliciesForBackendServerOutput); ok { r0 = rf(_a0) } else { @@ -2170,7 +2417,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServer(_a0 *elb.SetLoadB } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) error); ok { r1 = rf(_a0) } else { @@ -2185,6 +2431,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServerRequest(_a0 *elb.S ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.SetLoadBalancerPoliciesForBackendServerOutput + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) (*request.Request, *elb.SetLoadBalancerPoliciesForBackendServerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2193,7 +2443,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServerRequest(_a0 *elb.S } } - var r1 *elb.SetLoadBalancerPoliciesForBackendServerOutput if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerPoliciesForBackendServerInput) *elb.SetLoadBalancerPoliciesForBackendServerOutput); ok { r1 = rf(_a0) } else { @@ -2217,6 +2466,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServerWithContext(_a0 co ret := _m.Called(_ca...) var r0 *elb.SetLoadBalancerPoliciesForBackendServerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerPoliciesForBackendServerInput, ...request.Option) (*elb.SetLoadBalancerPoliciesForBackendServerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerPoliciesForBackendServerInput, ...request.Option) *elb.SetLoadBalancerPoliciesForBackendServerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2225,7 +2478,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesForBackendServerWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.SetLoadBalancerPoliciesForBackendServerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2240,6 +2492,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListener(_a0 *elb.SetLoadBalance ret := _m.Called(_a0) var r0 *elb.SetLoadBalancerPoliciesOfListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) (*elb.SetLoadBalancerPoliciesOfListenerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) *elb.SetLoadBalancerPoliciesOfListenerOutput); ok { r0 = rf(_a0) } else { @@ -2248,7 +2504,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListener(_a0 *elb.SetLoadBalance } } - var r1 error if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) error); ok { r1 = rf(_a0) } else { @@ -2263,6 +2518,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListenerRequest(_a0 *elb.SetLoad ret := _m.Called(_a0) var r0 *request.Request + var r1 *elb.SetLoadBalancerPoliciesOfListenerOutput + if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) (*request.Request, *elb.SetLoadBalancerPoliciesOfListenerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2271,7 +2530,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListenerRequest(_a0 *elb.SetLoad } } - var r1 *elb.SetLoadBalancerPoliciesOfListenerOutput if rf, ok := ret.Get(1).(func(*elb.SetLoadBalancerPoliciesOfListenerInput) *elb.SetLoadBalancerPoliciesOfListenerOutput); ok { r1 = rf(_a0) } else { @@ -2295,6 +2553,10 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListenerWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elb.SetLoadBalancerPoliciesOfListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerPoliciesOfListenerInput, ...request.Option) (*elb.SetLoadBalancerPoliciesOfListenerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elb.SetLoadBalancerPoliciesOfListenerInput, ...request.Option) *elb.SetLoadBalancerPoliciesOfListenerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2303,7 +2565,6 @@ func (_m *MockFakeELB) SetLoadBalancerPoliciesOfListenerWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elb.SetLoadBalancerPoliciesOfListenerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2417,3 +2678,18 @@ func (_m *MockFakeELB) WaitUntilInstanceInServiceWithContext(_a0 context.Context return r0 } + +type mockConstructorTestingTNewMockFakeELB interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeELB creates a new instance of MockFakeELB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeELB(t mockConstructorTestingTNewMockFakeELB) *MockFakeELB { + mock := &MockFakeELB{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeELBV2.go b/test/aws/mock_FakeELBV2.go index abe1996c7..3e1110dfb 100644 --- a/test/aws/mock_FakeELBV2.go +++ b/test/aws/mock_FakeELBV2.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeELBV2) AddListenerCertificates(_a0 *elbv2.AddListenerCertifica ret := _m.Called(_a0) var r0 *elbv2.AddListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.AddListenerCertificatesInput) (*elbv2.AddListenerCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.AddListenerCertificatesInput) *elbv2.AddListenerCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeELBV2) AddListenerCertificates(_a0 *elbv2.AddListenerCertifica } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.AddListenerCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeELBV2) AddListenerCertificatesRequest(_a0 *elbv2.AddListenerCe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.AddListenerCertificatesOutput + if rf, ok := ret.Get(0).(func(*elbv2.AddListenerCertificatesInput) (*request.Request, *elbv2.AddListenerCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.AddListenerCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeELBV2) AddListenerCertificatesRequest(_a0 *elbv2.AddListenerCe } } - var r1 *elbv2.AddListenerCertificatesOutput if rf, ok := ret.Get(1).(func(*elbv2.AddListenerCertificatesInput) *elbv2.AddListenerCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeELBV2) AddListenerCertificatesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elbv2.AddListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.AddListenerCertificatesInput, ...request.Option) (*elbv2.AddListenerCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.AddListenerCertificatesInput, ...request.Option) *elbv2.AddListenerCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeELBV2) AddListenerCertificatesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.AddListenerCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeELBV2) AddTags(_a0 *elbv2.AddTagsInput) (*elbv2.AddTagsOutput, ret := _m.Called(_a0) var r0 *elbv2.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.AddTagsInput) (*elbv2.AddTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.AddTagsInput) *elbv2.AddTagsOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeELBV2) AddTags(_a0 *elbv2.AddTagsInput) (*elbv2.AddTagsOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.AddTagsInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeELBV2) AddTagsRequest(_a0 *elbv2.AddTagsInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.AddTagsOutput + if rf, ok := ret.Get(0).(func(*elbv2.AddTagsInput) (*request.Request, *elbv2.AddTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.AddTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeELBV2) AddTagsRequest(_a0 *elbv2.AddTagsInput) (*request.Reque } } - var r1 *elbv2.AddTagsOutput if rf, ok := ret.Get(1).(func(*elbv2.AddTagsInput) *elbv2.AddTagsOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeELBV2) AddTagsWithContext(_a0 context.Context, _a1 *elbv2.AddT ret := _m.Called(_ca...) var r0 *elbv2.AddTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.AddTagsInput, ...request.Option) (*elbv2.AddTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.AddTagsInput, ...request.Option) *elbv2.AddTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeELBV2) AddTagsWithContext(_a0 context.Context, _a1 *elbv2.AddT } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.AddTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeELBV2) CreateListener(_a0 *elbv2.CreateListenerInput) (*elbv2. ret := _m.Called(_a0) var r0 *elbv2.CreateListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.CreateListenerInput) (*elbv2.CreateListenerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateListenerInput) *elbv2.CreateListenerOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeELBV2) CreateListener(_a0 *elbv2.CreateListenerInput) (*elbv2. } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.CreateListenerInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeELBV2) CreateListenerRequest(_a0 *elbv2.CreateListenerInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.CreateListenerOutput + if rf, ok := ret.Get(0).(func(*elbv2.CreateListenerInput) (*request.Request, *elbv2.CreateListenerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateListenerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeELBV2) CreateListenerRequest(_a0 *elbv2.CreateListenerInput) ( } } - var r1 *elbv2.CreateListenerOutput if rf, ok := ret.Get(1).(func(*elbv2.CreateListenerInput) *elbv2.CreateListenerOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeELBV2) CreateListenerWithContext(_a0 context.Context, _a1 *elb ret := _m.Called(_ca...) var r0 *elbv2.CreateListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateListenerInput, ...request.Option) (*elbv2.CreateListenerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateListenerInput, ...request.Option) *elbv2.CreateListenerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeELBV2) CreateListenerWithContext(_a0 context.Context, _a1 *elb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.CreateListenerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeELBV2) CreateLoadBalancer(_a0 *elbv2.CreateLoadBalancerInput) ret := _m.Called(_a0) var r0 *elbv2.CreateLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.CreateLoadBalancerInput) (*elbv2.CreateLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateLoadBalancerInput) *elbv2.CreateLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeELBV2) CreateLoadBalancer(_a0 *elbv2.CreateLoadBalancerInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.CreateLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeELBV2) CreateLoadBalancerRequest(_a0 *elbv2.CreateLoadBalancer ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.CreateLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elbv2.CreateLoadBalancerInput) (*request.Request, *elbv2.CreateLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeELBV2) CreateLoadBalancerRequest(_a0 *elbv2.CreateLoadBalancer } } - var r1 *elbv2.CreateLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elbv2.CreateLoadBalancerInput) *elbv2.CreateLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeELBV2) CreateLoadBalancerWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elbv2.CreateLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateLoadBalancerInput, ...request.Option) (*elbv2.CreateLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateLoadBalancerInput, ...request.Option) *elbv2.CreateLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeELBV2) CreateLoadBalancerWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.CreateLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeELBV2) CreateRule(_a0 *elbv2.CreateRuleInput) (*elbv2.CreateRu ret := _m.Called(_a0) var r0 *elbv2.CreateRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.CreateRuleInput) (*elbv2.CreateRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateRuleInput) *elbv2.CreateRuleOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeELBV2) CreateRule(_a0 *elbv2.CreateRuleInput) (*elbv2.CreateRu } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.CreateRuleInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeELBV2) CreateRuleRequest(_a0 *elbv2.CreateRuleInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.CreateRuleOutput + if rf, ok := ret.Get(0).(func(*elbv2.CreateRuleInput) (*request.Request, *elbv2.CreateRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeELBV2) CreateRuleRequest(_a0 *elbv2.CreateRuleInput) (*request } } - var r1 *elbv2.CreateRuleOutput if rf, ok := ret.Get(1).(func(*elbv2.CreateRuleInput) *elbv2.CreateRuleOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeELBV2) CreateRuleWithContext(_a0 context.Context, _a1 *elbv2.C ret := _m.Called(_ca...) var r0 *elbv2.CreateRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateRuleInput, ...request.Option) (*elbv2.CreateRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateRuleInput, ...request.Option) *elbv2.CreateRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeELBV2) CreateRuleWithContext(_a0 context.Context, _a1 *elbv2.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.CreateRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeELBV2) CreateTargetGroup(_a0 *elbv2.CreateTargetGroupInput) (* ret := _m.Called(_a0) var r0 *elbv2.CreateTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.CreateTargetGroupInput) (*elbv2.CreateTargetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateTargetGroupInput) *elbv2.CreateTargetGroupOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeELBV2) CreateTargetGroup(_a0 *elbv2.CreateTargetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.CreateTargetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeELBV2) CreateTargetGroupRequest(_a0 *elbv2.CreateTargetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.CreateTargetGroupOutput + if rf, ok := ret.Get(0).(func(*elbv2.CreateTargetGroupInput) (*request.Request, *elbv2.CreateTargetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.CreateTargetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeELBV2) CreateTargetGroupRequest(_a0 *elbv2.CreateTargetGroupIn } } - var r1 *elbv2.CreateTargetGroupOutput if rf, ok := ret.Get(1).(func(*elbv2.CreateTargetGroupInput) *elbv2.CreateTargetGroupOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeELBV2) CreateTargetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.CreateTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateTargetGroupInput, ...request.Option) (*elbv2.CreateTargetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.CreateTargetGroupInput, ...request.Option) *elbv2.CreateTargetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeELBV2) CreateTargetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.CreateTargetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeELBV2) DeleteListener(_a0 *elbv2.DeleteListenerInput) (*elbv2. ret := _m.Called(_a0) var r0 *elbv2.DeleteListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DeleteListenerInput) (*elbv2.DeleteListenerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteListenerInput) *elbv2.DeleteListenerOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeELBV2) DeleteListener(_a0 *elbv2.DeleteListenerInput) (*elbv2. } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DeleteListenerInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeELBV2) DeleteListenerRequest(_a0 *elbv2.DeleteListenerInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DeleteListenerOutput + if rf, ok := ret.Get(0).(func(*elbv2.DeleteListenerInput) (*request.Request, *elbv2.DeleteListenerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteListenerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeELBV2) DeleteListenerRequest(_a0 *elbv2.DeleteListenerInput) ( } } - var r1 *elbv2.DeleteListenerOutput if rf, ok := ret.Get(1).(func(*elbv2.DeleteListenerInput) *elbv2.DeleteListenerOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeELBV2) DeleteListenerWithContext(_a0 context.Context, _a1 *elb ret := _m.Called(_ca...) var r0 *elbv2.DeleteListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteListenerInput, ...request.Option) (*elbv2.DeleteListenerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteListenerInput, ...request.Option) *elbv2.DeleteListenerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeELBV2) DeleteListenerWithContext(_a0 context.Context, _a1 *elb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DeleteListenerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeELBV2) DeleteLoadBalancer(_a0 *elbv2.DeleteLoadBalancerInput) ret := _m.Called(_a0) var r0 *elbv2.DeleteLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DeleteLoadBalancerInput) (*elbv2.DeleteLoadBalancerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteLoadBalancerInput) *elbv2.DeleteLoadBalancerOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeELBV2) DeleteLoadBalancer(_a0 *elbv2.DeleteLoadBalancerInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DeleteLoadBalancerInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeELBV2) DeleteLoadBalancerRequest(_a0 *elbv2.DeleteLoadBalancer ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DeleteLoadBalancerOutput + if rf, ok := ret.Get(0).(func(*elbv2.DeleteLoadBalancerInput) (*request.Request, *elbv2.DeleteLoadBalancerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteLoadBalancerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeELBV2) DeleteLoadBalancerRequest(_a0 *elbv2.DeleteLoadBalancer } } - var r1 *elbv2.DeleteLoadBalancerOutput if rf, ok := ret.Get(1).(func(*elbv2.DeleteLoadBalancerInput) *elbv2.DeleteLoadBalancerOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeELBV2) DeleteLoadBalancerWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elbv2.DeleteLoadBalancerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteLoadBalancerInput, ...request.Option) (*elbv2.DeleteLoadBalancerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteLoadBalancerInput, ...request.Option) *elbv2.DeleteLoadBalancerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeELBV2) DeleteLoadBalancerWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DeleteLoadBalancerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeELBV2) DeleteRule(_a0 *elbv2.DeleteRuleInput) (*elbv2.DeleteRu ret := _m.Called(_a0) var r0 *elbv2.DeleteRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DeleteRuleInput) (*elbv2.DeleteRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteRuleInput) *elbv2.DeleteRuleOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeELBV2) DeleteRule(_a0 *elbv2.DeleteRuleInput) (*elbv2.DeleteRu } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DeleteRuleInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeELBV2) DeleteRuleRequest(_a0 *elbv2.DeleteRuleInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DeleteRuleOutput + if rf, ok := ret.Get(0).(func(*elbv2.DeleteRuleInput) (*request.Request, *elbv2.DeleteRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeELBV2) DeleteRuleRequest(_a0 *elbv2.DeleteRuleInput) (*request } } - var r1 *elbv2.DeleteRuleOutput if rf, ok := ret.Get(1).(func(*elbv2.DeleteRuleInput) *elbv2.DeleteRuleOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeELBV2) DeleteRuleWithContext(_a0 context.Context, _a1 *elbv2.D ret := _m.Called(_ca...) var r0 *elbv2.DeleteRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteRuleInput, ...request.Option) (*elbv2.DeleteRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteRuleInput, ...request.Option) *elbv2.DeleteRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeELBV2) DeleteRuleWithContext(_a0 context.Context, _a1 *elbv2.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DeleteRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeELBV2) DeleteTargetGroup(_a0 *elbv2.DeleteTargetGroupInput) (* ret := _m.Called(_a0) var r0 *elbv2.DeleteTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DeleteTargetGroupInput) (*elbv2.DeleteTargetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteTargetGroupInput) *elbv2.DeleteTargetGroupOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeELBV2) DeleteTargetGroup(_a0 *elbv2.DeleteTargetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DeleteTargetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeELBV2) DeleteTargetGroupRequest(_a0 *elbv2.DeleteTargetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DeleteTargetGroupOutput + if rf, ok := ret.Get(0).(func(*elbv2.DeleteTargetGroupInput) (*request.Request, *elbv2.DeleteTargetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeleteTargetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeELBV2) DeleteTargetGroupRequest(_a0 *elbv2.DeleteTargetGroupIn } } - var r1 *elbv2.DeleteTargetGroupOutput if rf, ok := ret.Get(1).(func(*elbv2.DeleteTargetGroupInput) *elbv2.DeleteTargetGroupOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeELBV2) DeleteTargetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.DeleteTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteTargetGroupInput, ...request.Option) (*elbv2.DeleteTargetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeleteTargetGroupInput, ...request.Option) *elbv2.DeleteTargetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeELBV2) DeleteTargetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DeleteTargetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeELBV2) DeregisterTargets(_a0 *elbv2.DeregisterTargetsInput) (* ret := _m.Called(_a0) var r0 *elbv2.DeregisterTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DeregisterTargetsInput) (*elbv2.DeregisterTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeregisterTargetsInput) *elbv2.DeregisterTargetsOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeELBV2) DeregisterTargets(_a0 *elbv2.DeregisterTargetsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DeregisterTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeELBV2) DeregisterTargetsRequest(_a0 *elbv2.DeregisterTargetsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DeregisterTargetsOutput + if rf, ok := ret.Get(0).(func(*elbv2.DeregisterTargetsInput) (*request.Request, *elbv2.DeregisterTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DeregisterTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeELBV2) DeregisterTargetsRequest(_a0 *elbv2.DeregisterTargetsIn } } - var r1 *elbv2.DeregisterTargetsOutput if rf, ok := ret.Get(1).(func(*elbv2.DeregisterTargetsInput) *elbv2.DeregisterTargetsOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +952,10 @@ func (_m *MockFakeELBV2) DeregisterTargetsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.DeregisterTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeregisterTargetsInput, ...request.Option) (*elbv2.DeregisterTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DeregisterTargetsInput, ...request.Option) *elbv2.DeregisterTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +964,6 @@ func (_m *MockFakeELBV2) DeregisterTargetsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DeregisterTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeELBV2) DescribeAccountLimits(_a0 *elbv2.DescribeAccountLimitsI ret := _m.Called(_a0) var r0 *elbv2.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeAccountLimitsInput) (*elbv2.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeAccountLimitsInput) *elbv2.DescribeAccountLimitsOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeELBV2) DescribeAccountLimits(_a0 *elbv2.DescribeAccountLimitsI } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeAccountLimitsInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeELBV2) DescribeAccountLimitsRequest(_a0 *elbv2.DescribeAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeAccountLimitsOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeAccountLimitsInput) (*request.Request, *elbv2.DescribeAccountLimitsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeAccountLimitsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeELBV2) DescribeAccountLimitsRequest(_a0 *elbv2.DescribeAccount } } - var r1 *elbv2.DescribeAccountLimitsOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeAccountLimitsInput) *elbv2.DescribeAccountLimitsOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1039,10 @@ func (_m *MockFakeELBV2) DescribeAccountLimitsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *elbv2.DescribeAccountLimitsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeAccountLimitsInput, ...request.Option) (*elbv2.DescribeAccountLimitsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeAccountLimitsInput, ...request.Option) *elbv2.DescribeAccountLimitsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1051,6 @@ func (_m *MockFakeELBV2) DescribeAccountLimitsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeAccountLimitsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeELBV2) DescribeListenerCertificates(_a0 *elbv2.DescribeListene ret := _m.Called(_a0) var r0 *elbv2.DescribeListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenerCertificatesInput) (*elbv2.DescribeListenerCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenerCertificatesInput) *elbv2.DescribeListenerCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeELBV2) DescribeListenerCertificates(_a0 *elbv2.DescribeListene } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeListenerCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeELBV2) DescribeListenerCertificatesRequest(_a0 *elbv2.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeListenerCertificatesOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenerCertificatesInput) (*request.Request, *elbv2.DescribeListenerCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenerCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeELBV2) DescribeListenerCertificatesRequest(_a0 *elbv2.Describe } } - var r1 *elbv2.DescribeListenerCertificatesOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeListenerCertificatesInput) *elbv2.DescribeListenerCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1126,10 @@ func (_m *MockFakeELBV2) DescribeListenerCertificatesWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elbv2.DescribeListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeListenerCertificatesInput, ...request.Option) (*elbv2.DescribeListenerCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeListenerCertificatesInput, ...request.Option) *elbv2.DescribeListenerCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1138,6 @@ func (_m *MockFakeELBV2) DescribeListenerCertificatesWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeListenerCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1152,10 @@ func (_m *MockFakeELBV2) DescribeListeners(_a0 *elbv2.DescribeListenersInput) (* ret := _m.Called(_a0) var r0 *elbv2.DescribeListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenersInput) (*elbv2.DescribeListenersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenersInput) *elbv2.DescribeListenersOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1164,6 @@ func (_m *MockFakeELBV2) DescribeListeners(_a0 *elbv2.DescribeListenersInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeListenersInput) error); ok { r1 = rf(_a0) } else { @@ -1093,6 +1213,10 @@ func (_m *MockFakeELBV2) DescribeListenersRequest(_a0 *elbv2.DescribeListenersIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeListenersOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenersInput) (*request.Request, *elbv2.DescribeListenersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeListenersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1101,7 +1225,6 @@ func (_m *MockFakeELBV2) DescribeListenersRequest(_a0 *elbv2.DescribeListenersIn } } - var r1 *elbv2.DescribeListenersOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeListenersInput) *elbv2.DescribeListenersOutput); ok { r1 = rf(_a0) } else { @@ -1125,6 +1248,10 @@ func (_m *MockFakeELBV2) DescribeListenersWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.DescribeListenersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeListenersInput, ...request.Option) (*elbv2.DescribeListenersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeListenersInput, ...request.Option) *elbv2.DescribeListenersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1133,7 +1260,6 @@ func (_m *MockFakeELBV2) DescribeListenersWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeListenersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1148,6 +1274,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributes(_a0 *elbv2.DescribeLoadB ret := _m.Called(_a0) var r0 *elbv2.DescribeLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancerAttributesInput) (*elbv2.DescribeLoadBalancerAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancerAttributesInput) *elbv2.DescribeLoadBalancerAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1156,7 +1286,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributes(_a0 *elbv2.DescribeLoadB } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeLoadBalancerAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1171,6 +1300,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributesRequest(_a0 *elbv2.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeLoadBalancerAttributesOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancerAttributesInput) (*request.Request, *elbv2.DescribeLoadBalancerAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancerAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1179,7 +1312,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributesRequest(_a0 *elbv2.Descri } } - var r1 *elbv2.DescribeLoadBalancerAttributesOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeLoadBalancerAttributesInput) *elbv2.DescribeLoadBalancerAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1203,6 +1335,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *elbv2.DescribeLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeLoadBalancerAttributesInput, ...request.Option) (*elbv2.DescribeLoadBalancerAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeLoadBalancerAttributesInput, ...request.Option) *elbv2.DescribeLoadBalancerAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1211,7 +1347,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancerAttributesWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeLoadBalancerAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1226,6 +1361,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancers(_a0 *elbv2.DescribeLoadBalancersI ret := _m.Called(_a0) var r0 *elbv2.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancersInput) (*elbv2.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancersInput) *elbv2.DescribeLoadBalancersOutput); ok { r0 = rf(_a0) } else { @@ -1234,7 +1373,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancers(_a0 *elbv2.DescribeLoadBalancersI } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeLoadBalancersInput) error); ok { r1 = rf(_a0) } else { @@ -1284,6 +1422,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancersRequest(_a0 *elbv2.DescribeLoadBal ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeLoadBalancersOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancersInput) (*request.Request, *elbv2.DescribeLoadBalancersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeLoadBalancersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1292,7 +1434,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancersRequest(_a0 *elbv2.DescribeLoadBal } } - var r1 *elbv2.DescribeLoadBalancersOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeLoadBalancersInput) *elbv2.DescribeLoadBalancersOutput); ok { r1 = rf(_a0) } else { @@ -1316,6 +1457,10 @@ func (_m *MockFakeELBV2) DescribeLoadBalancersWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *elbv2.DescribeLoadBalancersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeLoadBalancersInput, ...request.Option) (*elbv2.DescribeLoadBalancersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeLoadBalancersInput, ...request.Option) *elbv2.DescribeLoadBalancersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1324,7 +1469,6 @@ func (_m *MockFakeELBV2) DescribeLoadBalancersWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeLoadBalancersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1339,6 +1483,10 @@ func (_m *MockFakeELBV2) DescribeRules(_a0 *elbv2.DescribeRulesInput) (*elbv2.De ret := _m.Called(_a0) var r0 *elbv2.DescribeRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeRulesInput) (*elbv2.DescribeRulesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeRulesInput) *elbv2.DescribeRulesOutput); ok { r0 = rf(_a0) } else { @@ -1347,7 +1495,6 @@ func (_m *MockFakeELBV2) DescribeRules(_a0 *elbv2.DescribeRulesInput) (*elbv2.De } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeRulesInput) error); ok { r1 = rf(_a0) } else { @@ -1362,6 +1509,10 @@ func (_m *MockFakeELBV2) DescribeRulesRequest(_a0 *elbv2.DescribeRulesInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeRulesOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeRulesInput) (*request.Request, *elbv2.DescribeRulesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeRulesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1370,7 +1521,6 @@ func (_m *MockFakeELBV2) DescribeRulesRequest(_a0 *elbv2.DescribeRulesInput) (*r } } - var r1 *elbv2.DescribeRulesOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeRulesInput) *elbv2.DescribeRulesOutput); ok { r1 = rf(_a0) } else { @@ -1394,6 +1544,10 @@ func (_m *MockFakeELBV2) DescribeRulesWithContext(_a0 context.Context, _a1 *elbv ret := _m.Called(_ca...) var r0 *elbv2.DescribeRulesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeRulesInput, ...request.Option) (*elbv2.DescribeRulesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeRulesInput, ...request.Option) *elbv2.DescribeRulesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1402,7 +1556,6 @@ func (_m *MockFakeELBV2) DescribeRulesWithContext(_a0 context.Context, _a1 *elbv } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeRulesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1417,6 +1570,10 @@ func (_m *MockFakeELBV2) DescribeSSLPolicies(_a0 *elbv2.DescribeSSLPoliciesInput ret := _m.Called(_a0) var r0 *elbv2.DescribeSSLPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeSSLPoliciesInput) (*elbv2.DescribeSSLPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeSSLPoliciesInput) *elbv2.DescribeSSLPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -1425,7 +1582,6 @@ func (_m *MockFakeELBV2) DescribeSSLPolicies(_a0 *elbv2.DescribeSSLPoliciesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeSSLPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -1440,6 +1596,10 @@ func (_m *MockFakeELBV2) DescribeSSLPoliciesRequest(_a0 *elbv2.DescribeSSLPolici ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeSSLPoliciesOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeSSLPoliciesInput) (*request.Request, *elbv2.DescribeSSLPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeSSLPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1448,7 +1608,6 @@ func (_m *MockFakeELBV2) DescribeSSLPoliciesRequest(_a0 *elbv2.DescribeSSLPolici } } - var r1 *elbv2.DescribeSSLPoliciesOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeSSLPoliciesInput) *elbv2.DescribeSSLPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -1472,6 +1631,10 @@ func (_m *MockFakeELBV2) DescribeSSLPoliciesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elbv2.DescribeSSLPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeSSLPoliciesInput, ...request.Option) (*elbv2.DescribeSSLPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeSSLPoliciesInput, ...request.Option) *elbv2.DescribeSSLPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1480,7 +1643,6 @@ func (_m *MockFakeELBV2) DescribeSSLPoliciesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeSSLPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1495,6 +1657,10 @@ func (_m *MockFakeELBV2) DescribeTags(_a0 *elbv2.DescribeTagsInput) (*elbv2.Desc ret := _m.Called(_a0) var r0 *elbv2.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTagsInput) (*elbv2.DescribeTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTagsInput) *elbv2.DescribeTagsOutput); ok { r0 = rf(_a0) } else { @@ -1503,7 +1669,6 @@ func (_m *MockFakeELBV2) DescribeTags(_a0 *elbv2.DescribeTagsInput) (*elbv2.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeTagsInput) error); ok { r1 = rf(_a0) } else { @@ -1518,6 +1683,10 @@ func (_m *MockFakeELBV2) DescribeTagsRequest(_a0 *elbv2.DescribeTagsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeTagsOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTagsInput) (*request.Request, *elbv2.DescribeTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1526,7 +1695,6 @@ func (_m *MockFakeELBV2) DescribeTagsRequest(_a0 *elbv2.DescribeTagsInput) (*req } } - var r1 *elbv2.DescribeTagsOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeTagsInput) *elbv2.DescribeTagsOutput); ok { r1 = rf(_a0) } else { @@ -1550,6 +1718,10 @@ func (_m *MockFakeELBV2) DescribeTagsWithContext(_a0 context.Context, _a1 *elbv2 ret := _m.Called(_ca...) var r0 *elbv2.DescribeTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTagsInput, ...request.Option) (*elbv2.DescribeTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTagsInput, ...request.Option) *elbv2.DescribeTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1558,7 +1730,6 @@ func (_m *MockFakeELBV2) DescribeTagsWithContext(_a0 context.Context, _a1 *elbv2 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1573,6 +1744,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributes(_a0 *elbv2.DescribeTarget ret := _m.Called(_a0) var r0 *elbv2.DescribeTargetGroupAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupAttributesInput) (*elbv2.DescribeTargetGroupAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupAttributesInput) *elbv2.DescribeTargetGroupAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1581,7 +1756,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributes(_a0 *elbv2.DescribeTarget } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetGroupAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1596,6 +1770,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributesRequest(_a0 *elbv2.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeTargetGroupAttributesOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupAttributesInput) (*request.Request, *elbv2.DescribeTargetGroupAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1604,7 +1782,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributesRequest(_a0 *elbv2.Describ } } - var r1 *elbv2.DescribeTargetGroupAttributesOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetGroupAttributesInput) *elbv2.DescribeTargetGroupAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1628,6 +1805,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributesWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *elbv2.DescribeTargetGroupAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetGroupAttributesInput, ...request.Option) (*elbv2.DescribeTargetGroupAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetGroupAttributesInput, ...request.Option) *elbv2.DescribeTargetGroupAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1636,7 +1817,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroupAttributesWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeTargetGroupAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1651,6 +1831,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroups(_a0 *elbv2.DescribeTargetGroupsInp ret := _m.Called(_a0) var r0 *elbv2.DescribeTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupsInput) (*elbv2.DescribeTargetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupsInput) *elbv2.DescribeTargetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -1659,7 +1843,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroups(_a0 *elbv2.DescribeTargetGroupsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -1709,6 +1892,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroupsRequest(_a0 *elbv2.DescribeTargetGr ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeTargetGroupsOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupsInput) (*request.Request, *elbv2.DescribeTargetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1717,7 +1904,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroupsRequest(_a0 *elbv2.DescribeTargetGr } } - var r1 *elbv2.DescribeTargetGroupsOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetGroupsInput) *elbv2.DescribeTargetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -1741,6 +1927,10 @@ func (_m *MockFakeELBV2) DescribeTargetGroupsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elbv2.DescribeTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetGroupsInput, ...request.Option) (*elbv2.DescribeTargetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetGroupsInput, ...request.Option) *elbv2.DescribeTargetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1749,7 +1939,6 @@ func (_m *MockFakeELBV2) DescribeTargetGroupsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeTargetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1764,6 +1953,10 @@ func (_m *MockFakeELBV2) DescribeTargetHealth(_a0 *elbv2.DescribeTargetHealthInp ret := _m.Called(_a0) var r0 *elbv2.DescribeTargetHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetHealthInput) (*elbv2.DescribeTargetHealthOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetHealthInput) *elbv2.DescribeTargetHealthOutput); ok { r0 = rf(_a0) } else { @@ -1772,7 +1965,6 @@ func (_m *MockFakeELBV2) DescribeTargetHealth(_a0 *elbv2.DescribeTargetHealthInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetHealthInput) error); ok { r1 = rf(_a0) } else { @@ -1787,6 +1979,10 @@ func (_m *MockFakeELBV2) DescribeTargetHealthRequest(_a0 *elbv2.DescribeTargetHe ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.DescribeTargetHealthOutput + if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetHealthInput) (*request.Request, *elbv2.DescribeTargetHealthOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.DescribeTargetHealthInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1795,7 +1991,6 @@ func (_m *MockFakeELBV2) DescribeTargetHealthRequest(_a0 *elbv2.DescribeTargetHe } } - var r1 *elbv2.DescribeTargetHealthOutput if rf, ok := ret.Get(1).(func(*elbv2.DescribeTargetHealthInput) *elbv2.DescribeTargetHealthOutput); ok { r1 = rf(_a0) } else { @@ -1819,6 +2014,10 @@ func (_m *MockFakeELBV2) DescribeTargetHealthWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elbv2.DescribeTargetHealthOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetHealthInput, ...request.Option) (*elbv2.DescribeTargetHealthOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.DescribeTargetHealthInput, ...request.Option) *elbv2.DescribeTargetHealthOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1827,7 +2026,6 @@ func (_m *MockFakeELBV2) DescribeTargetHealthWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.DescribeTargetHealthInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1842,6 +2040,10 @@ func (_m *MockFakeELBV2) ModifyListener(_a0 *elbv2.ModifyListenerInput) (*elbv2. ret := _m.Called(_a0) var r0 *elbv2.ModifyListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.ModifyListenerInput) (*elbv2.ModifyListenerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyListenerInput) *elbv2.ModifyListenerOutput); ok { r0 = rf(_a0) } else { @@ -1850,7 +2052,6 @@ func (_m *MockFakeELBV2) ModifyListener(_a0 *elbv2.ModifyListenerInput) (*elbv2. } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.ModifyListenerInput) error); ok { r1 = rf(_a0) } else { @@ -1865,6 +2066,10 @@ func (_m *MockFakeELBV2) ModifyListenerRequest(_a0 *elbv2.ModifyListenerInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.ModifyListenerOutput + if rf, ok := ret.Get(0).(func(*elbv2.ModifyListenerInput) (*request.Request, *elbv2.ModifyListenerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyListenerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1873,7 +2078,6 @@ func (_m *MockFakeELBV2) ModifyListenerRequest(_a0 *elbv2.ModifyListenerInput) ( } } - var r1 *elbv2.ModifyListenerOutput if rf, ok := ret.Get(1).(func(*elbv2.ModifyListenerInput) *elbv2.ModifyListenerOutput); ok { r1 = rf(_a0) } else { @@ -1897,6 +2101,10 @@ func (_m *MockFakeELBV2) ModifyListenerWithContext(_a0 context.Context, _a1 *elb ret := _m.Called(_ca...) var r0 *elbv2.ModifyListenerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyListenerInput, ...request.Option) (*elbv2.ModifyListenerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyListenerInput, ...request.Option) *elbv2.ModifyListenerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1905,7 +2113,6 @@ func (_m *MockFakeELBV2) ModifyListenerWithContext(_a0 context.Context, _a1 *elb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.ModifyListenerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1920,6 +2127,10 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributes(_a0 *elbv2.ModifyLoadBalan ret := _m.Called(_a0) var r0 *elbv2.ModifyLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.ModifyLoadBalancerAttributesInput) (*elbv2.ModifyLoadBalancerAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyLoadBalancerAttributesInput) *elbv2.ModifyLoadBalancerAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1928,7 +2139,6 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributes(_a0 *elbv2.ModifyLoadBalan } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.ModifyLoadBalancerAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1943,6 +2153,10 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributesRequest(_a0 *elbv2.ModifyLo ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.ModifyLoadBalancerAttributesOutput + if rf, ok := ret.Get(0).(func(*elbv2.ModifyLoadBalancerAttributesInput) (*request.Request, *elbv2.ModifyLoadBalancerAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyLoadBalancerAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1951,7 +2165,6 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributesRequest(_a0 *elbv2.ModifyLo } } - var r1 *elbv2.ModifyLoadBalancerAttributesOutput if rf, ok := ret.Get(1).(func(*elbv2.ModifyLoadBalancerAttributesInput) *elbv2.ModifyLoadBalancerAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1975,6 +2188,10 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributesWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elbv2.ModifyLoadBalancerAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyLoadBalancerAttributesInput, ...request.Option) (*elbv2.ModifyLoadBalancerAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyLoadBalancerAttributesInput, ...request.Option) *elbv2.ModifyLoadBalancerAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1983,7 +2200,6 @@ func (_m *MockFakeELBV2) ModifyLoadBalancerAttributesWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.ModifyLoadBalancerAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1998,6 +2214,10 @@ func (_m *MockFakeELBV2) ModifyRule(_a0 *elbv2.ModifyRuleInput) (*elbv2.ModifyRu ret := _m.Called(_a0) var r0 *elbv2.ModifyRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.ModifyRuleInput) (*elbv2.ModifyRuleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyRuleInput) *elbv2.ModifyRuleOutput); ok { r0 = rf(_a0) } else { @@ -2006,7 +2226,6 @@ func (_m *MockFakeELBV2) ModifyRule(_a0 *elbv2.ModifyRuleInput) (*elbv2.ModifyRu } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.ModifyRuleInput) error); ok { r1 = rf(_a0) } else { @@ -2021,6 +2240,10 @@ func (_m *MockFakeELBV2) ModifyRuleRequest(_a0 *elbv2.ModifyRuleInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.ModifyRuleOutput + if rf, ok := ret.Get(0).(func(*elbv2.ModifyRuleInput) (*request.Request, *elbv2.ModifyRuleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyRuleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2029,7 +2252,6 @@ func (_m *MockFakeELBV2) ModifyRuleRequest(_a0 *elbv2.ModifyRuleInput) (*request } } - var r1 *elbv2.ModifyRuleOutput if rf, ok := ret.Get(1).(func(*elbv2.ModifyRuleInput) *elbv2.ModifyRuleOutput); ok { r1 = rf(_a0) } else { @@ -2053,6 +2275,10 @@ func (_m *MockFakeELBV2) ModifyRuleWithContext(_a0 context.Context, _a1 *elbv2.M ret := _m.Called(_ca...) var r0 *elbv2.ModifyRuleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyRuleInput, ...request.Option) (*elbv2.ModifyRuleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyRuleInput, ...request.Option) *elbv2.ModifyRuleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2061,7 +2287,6 @@ func (_m *MockFakeELBV2) ModifyRuleWithContext(_a0 context.Context, _a1 *elbv2.M } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.ModifyRuleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2076,6 +2301,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroup(_a0 *elbv2.ModifyTargetGroupInput) (* ret := _m.Called(_a0) var r0 *elbv2.ModifyTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupInput) (*elbv2.ModifyTargetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupInput) *elbv2.ModifyTargetGroupOutput); ok { r0 = rf(_a0) } else { @@ -2084,7 +2313,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroup(_a0 *elbv2.ModifyTargetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.ModifyTargetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -2099,6 +2327,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributes(_a0 *elbv2.ModifyTargetGrou ret := _m.Called(_a0) var r0 *elbv2.ModifyTargetGroupAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupAttributesInput) (*elbv2.ModifyTargetGroupAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupAttributesInput) *elbv2.ModifyTargetGroupAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2107,7 +2339,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributes(_a0 *elbv2.ModifyTargetGrou } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.ModifyTargetGroupAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2122,6 +2353,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributesRequest(_a0 *elbv2.ModifyTar ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.ModifyTargetGroupAttributesOutput + if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupAttributesInput) (*request.Request, *elbv2.ModifyTargetGroupAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2130,7 +2365,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributesRequest(_a0 *elbv2.ModifyTar } } - var r1 *elbv2.ModifyTargetGroupAttributesOutput if rf, ok := ret.Get(1).(func(*elbv2.ModifyTargetGroupAttributesInput) *elbv2.ModifyTargetGroupAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2154,6 +2388,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributesWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *elbv2.ModifyTargetGroupAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyTargetGroupAttributesInput, ...request.Option) (*elbv2.ModifyTargetGroupAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyTargetGroupAttributesInput, ...request.Option) *elbv2.ModifyTargetGroupAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2162,7 +2400,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroupAttributesWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.ModifyTargetGroupAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2177,6 +2414,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroupRequest(_a0 *elbv2.ModifyTargetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.ModifyTargetGroupOutput + if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupInput) (*request.Request, *elbv2.ModifyTargetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.ModifyTargetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2185,7 +2426,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroupRequest(_a0 *elbv2.ModifyTargetGroupIn } } - var r1 *elbv2.ModifyTargetGroupOutput if rf, ok := ret.Get(1).(func(*elbv2.ModifyTargetGroupInput) *elbv2.ModifyTargetGroupOutput); ok { r1 = rf(_a0) } else { @@ -2209,6 +2449,10 @@ func (_m *MockFakeELBV2) ModifyTargetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.ModifyTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyTargetGroupInput, ...request.Option) (*elbv2.ModifyTargetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.ModifyTargetGroupInput, ...request.Option) *elbv2.ModifyTargetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2217,7 +2461,6 @@ func (_m *MockFakeELBV2) ModifyTargetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.ModifyTargetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2232,6 +2475,10 @@ func (_m *MockFakeELBV2) RegisterTargets(_a0 *elbv2.RegisterTargetsInput) (*elbv ret := _m.Called(_a0) var r0 *elbv2.RegisterTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.RegisterTargetsInput) (*elbv2.RegisterTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RegisterTargetsInput) *elbv2.RegisterTargetsOutput); ok { r0 = rf(_a0) } else { @@ -2240,7 +2487,6 @@ func (_m *MockFakeELBV2) RegisterTargets(_a0 *elbv2.RegisterTargetsInput) (*elbv } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.RegisterTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -2255,6 +2501,10 @@ func (_m *MockFakeELBV2) RegisterTargetsRequest(_a0 *elbv2.RegisterTargetsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.RegisterTargetsOutput + if rf, ok := ret.Get(0).(func(*elbv2.RegisterTargetsInput) (*request.Request, *elbv2.RegisterTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RegisterTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2263,7 +2513,6 @@ func (_m *MockFakeELBV2) RegisterTargetsRequest(_a0 *elbv2.RegisterTargetsInput) } } - var r1 *elbv2.RegisterTargetsOutput if rf, ok := ret.Get(1).(func(*elbv2.RegisterTargetsInput) *elbv2.RegisterTargetsOutput); ok { r1 = rf(_a0) } else { @@ -2287,6 +2536,10 @@ func (_m *MockFakeELBV2) RegisterTargetsWithContext(_a0 context.Context, _a1 *el ret := _m.Called(_ca...) var r0 *elbv2.RegisterTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RegisterTargetsInput, ...request.Option) (*elbv2.RegisterTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RegisterTargetsInput, ...request.Option) *elbv2.RegisterTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2295,7 +2548,6 @@ func (_m *MockFakeELBV2) RegisterTargetsWithContext(_a0 context.Context, _a1 *el } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.RegisterTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2310,6 +2562,10 @@ func (_m *MockFakeELBV2) RemoveListenerCertificates(_a0 *elbv2.RemoveListenerCer ret := _m.Called(_a0) var r0 *elbv2.RemoveListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.RemoveListenerCertificatesInput) (*elbv2.RemoveListenerCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RemoveListenerCertificatesInput) *elbv2.RemoveListenerCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -2318,7 +2574,6 @@ func (_m *MockFakeELBV2) RemoveListenerCertificates(_a0 *elbv2.RemoveListenerCer } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.RemoveListenerCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -2333,6 +2588,10 @@ func (_m *MockFakeELBV2) RemoveListenerCertificatesRequest(_a0 *elbv2.RemoveList ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.RemoveListenerCertificatesOutput + if rf, ok := ret.Get(0).(func(*elbv2.RemoveListenerCertificatesInput) (*request.Request, *elbv2.RemoveListenerCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RemoveListenerCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2341,7 +2600,6 @@ func (_m *MockFakeELBV2) RemoveListenerCertificatesRequest(_a0 *elbv2.RemoveList } } - var r1 *elbv2.RemoveListenerCertificatesOutput if rf, ok := ret.Get(1).(func(*elbv2.RemoveListenerCertificatesInput) *elbv2.RemoveListenerCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -2365,6 +2623,10 @@ func (_m *MockFakeELBV2) RemoveListenerCertificatesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *elbv2.RemoveListenerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RemoveListenerCertificatesInput, ...request.Option) (*elbv2.RemoveListenerCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RemoveListenerCertificatesInput, ...request.Option) *elbv2.RemoveListenerCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2373,7 +2635,6 @@ func (_m *MockFakeELBV2) RemoveListenerCertificatesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.RemoveListenerCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2388,6 +2649,10 @@ func (_m *MockFakeELBV2) RemoveTags(_a0 *elbv2.RemoveTagsInput) (*elbv2.RemoveTa ret := _m.Called(_a0) var r0 *elbv2.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.RemoveTagsInput) (*elbv2.RemoveTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RemoveTagsInput) *elbv2.RemoveTagsOutput); ok { r0 = rf(_a0) } else { @@ -2396,7 +2661,6 @@ func (_m *MockFakeELBV2) RemoveTags(_a0 *elbv2.RemoveTagsInput) (*elbv2.RemoveTa } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.RemoveTagsInput) error); ok { r1 = rf(_a0) } else { @@ -2411,6 +2675,10 @@ func (_m *MockFakeELBV2) RemoveTagsRequest(_a0 *elbv2.RemoveTagsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.RemoveTagsOutput + if rf, ok := ret.Get(0).(func(*elbv2.RemoveTagsInput) (*request.Request, *elbv2.RemoveTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.RemoveTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2419,7 +2687,6 @@ func (_m *MockFakeELBV2) RemoveTagsRequest(_a0 *elbv2.RemoveTagsInput) (*request } } - var r1 *elbv2.RemoveTagsOutput if rf, ok := ret.Get(1).(func(*elbv2.RemoveTagsInput) *elbv2.RemoveTagsOutput); ok { r1 = rf(_a0) } else { @@ -2443,6 +2710,10 @@ func (_m *MockFakeELBV2) RemoveTagsWithContext(_a0 context.Context, _a1 *elbv2.R ret := _m.Called(_ca...) var r0 *elbv2.RemoveTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RemoveTagsInput, ...request.Option) (*elbv2.RemoveTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.RemoveTagsInput, ...request.Option) *elbv2.RemoveTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2451,7 +2722,6 @@ func (_m *MockFakeELBV2) RemoveTagsWithContext(_a0 context.Context, _a1 *elbv2.R } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.RemoveTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2466,6 +2736,10 @@ func (_m *MockFakeELBV2) SetIpAddressType(_a0 *elbv2.SetIpAddressTypeInput) (*el ret := _m.Called(_a0) var r0 *elbv2.SetIpAddressTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.SetIpAddressTypeInput) (*elbv2.SetIpAddressTypeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetIpAddressTypeInput) *elbv2.SetIpAddressTypeOutput); ok { r0 = rf(_a0) } else { @@ -2474,7 +2748,6 @@ func (_m *MockFakeELBV2) SetIpAddressType(_a0 *elbv2.SetIpAddressTypeInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.SetIpAddressTypeInput) error); ok { r1 = rf(_a0) } else { @@ -2489,6 +2762,10 @@ func (_m *MockFakeELBV2) SetIpAddressTypeRequest(_a0 *elbv2.SetIpAddressTypeInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.SetIpAddressTypeOutput + if rf, ok := ret.Get(0).(func(*elbv2.SetIpAddressTypeInput) (*request.Request, *elbv2.SetIpAddressTypeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetIpAddressTypeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2497,7 +2774,6 @@ func (_m *MockFakeELBV2) SetIpAddressTypeRequest(_a0 *elbv2.SetIpAddressTypeInpu } } - var r1 *elbv2.SetIpAddressTypeOutput if rf, ok := ret.Get(1).(func(*elbv2.SetIpAddressTypeInput) *elbv2.SetIpAddressTypeOutput); ok { r1 = rf(_a0) } else { @@ -2521,6 +2797,10 @@ func (_m *MockFakeELBV2) SetIpAddressTypeWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elbv2.SetIpAddressTypeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetIpAddressTypeInput, ...request.Option) (*elbv2.SetIpAddressTypeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetIpAddressTypeInput, ...request.Option) *elbv2.SetIpAddressTypeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2529,7 +2809,6 @@ func (_m *MockFakeELBV2) SetIpAddressTypeWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.SetIpAddressTypeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2544,6 +2823,10 @@ func (_m *MockFakeELBV2) SetRulePriorities(_a0 *elbv2.SetRulePrioritiesInput) (* ret := _m.Called(_a0) var r0 *elbv2.SetRulePrioritiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.SetRulePrioritiesInput) (*elbv2.SetRulePrioritiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetRulePrioritiesInput) *elbv2.SetRulePrioritiesOutput); ok { r0 = rf(_a0) } else { @@ -2552,7 +2835,6 @@ func (_m *MockFakeELBV2) SetRulePriorities(_a0 *elbv2.SetRulePrioritiesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.SetRulePrioritiesInput) error); ok { r1 = rf(_a0) } else { @@ -2567,6 +2849,10 @@ func (_m *MockFakeELBV2) SetRulePrioritiesRequest(_a0 *elbv2.SetRulePrioritiesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.SetRulePrioritiesOutput + if rf, ok := ret.Get(0).(func(*elbv2.SetRulePrioritiesInput) (*request.Request, *elbv2.SetRulePrioritiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetRulePrioritiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2575,7 +2861,6 @@ func (_m *MockFakeELBV2) SetRulePrioritiesRequest(_a0 *elbv2.SetRulePrioritiesIn } } - var r1 *elbv2.SetRulePrioritiesOutput if rf, ok := ret.Get(1).(func(*elbv2.SetRulePrioritiesInput) *elbv2.SetRulePrioritiesOutput); ok { r1 = rf(_a0) } else { @@ -2599,6 +2884,10 @@ func (_m *MockFakeELBV2) SetRulePrioritiesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.SetRulePrioritiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetRulePrioritiesInput, ...request.Option) (*elbv2.SetRulePrioritiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetRulePrioritiesInput, ...request.Option) *elbv2.SetRulePrioritiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2607,7 +2896,6 @@ func (_m *MockFakeELBV2) SetRulePrioritiesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.SetRulePrioritiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2622,6 +2910,10 @@ func (_m *MockFakeELBV2) SetSecurityGroups(_a0 *elbv2.SetSecurityGroupsInput) (* ret := _m.Called(_a0) var r0 *elbv2.SetSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.SetSecurityGroupsInput) (*elbv2.SetSecurityGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetSecurityGroupsInput) *elbv2.SetSecurityGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2630,7 +2922,6 @@ func (_m *MockFakeELBV2) SetSecurityGroups(_a0 *elbv2.SetSecurityGroupsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.SetSecurityGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -2645,6 +2936,10 @@ func (_m *MockFakeELBV2) SetSecurityGroupsRequest(_a0 *elbv2.SetSecurityGroupsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.SetSecurityGroupsOutput + if rf, ok := ret.Get(0).(func(*elbv2.SetSecurityGroupsInput) (*request.Request, *elbv2.SetSecurityGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetSecurityGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2653,7 +2948,6 @@ func (_m *MockFakeELBV2) SetSecurityGroupsRequest(_a0 *elbv2.SetSecurityGroupsIn } } - var r1 *elbv2.SetSecurityGroupsOutput if rf, ok := ret.Get(1).(func(*elbv2.SetSecurityGroupsInput) *elbv2.SetSecurityGroupsOutput); ok { r1 = rf(_a0) } else { @@ -2677,6 +2971,10 @@ func (_m *MockFakeELBV2) SetSecurityGroupsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *elbv2.SetSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetSecurityGroupsInput, ...request.Option) (*elbv2.SetSecurityGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetSecurityGroupsInput, ...request.Option) *elbv2.SetSecurityGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2685,7 +2983,6 @@ func (_m *MockFakeELBV2) SetSecurityGroupsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.SetSecurityGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2700,6 +2997,10 @@ func (_m *MockFakeELBV2) SetSubnets(_a0 *elbv2.SetSubnetsInput) (*elbv2.SetSubne ret := _m.Called(_a0) var r0 *elbv2.SetSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elbv2.SetSubnetsInput) (*elbv2.SetSubnetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetSubnetsInput) *elbv2.SetSubnetsOutput); ok { r0 = rf(_a0) } else { @@ -2708,7 +3009,6 @@ func (_m *MockFakeELBV2) SetSubnets(_a0 *elbv2.SetSubnetsInput) (*elbv2.SetSubne } } - var r1 error if rf, ok := ret.Get(1).(func(*elbv2.SetSubnetsInput) error); ok { r1 = rf(_a0) } else { @@ -2723,6 +3023,10 @@ func (_m *MockFakeELBV2) SetSubnetsRequest(_a0 *elbv2.SetSubnetsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *elbv2.SetSubnetsOutput + if rf, ok := ret.Get(0).(func(*elbv2.SetSubnetsInput) (*request.Request, *elbv2.SetSubnetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elbv2.SetSubnetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2731,7 +3035,6 @@ func (_m *MockFakeELBV2) SetSubnetsRequest(_a0 *elbv2.SetSubnetsInput) (*request } } - var r1 *elbv2.SetSubnetsOutput if rf, ok := ret.Get(1).(func(*elbv2.SetSubnetsInput) *elbv2.SetSubnetsOutput); ok { r1 = rf(_a0) } else { @@ -2755,6 +3058,10 @@ func (_m *MockFakeELBV2) SetSubnetsWithContext(_a0 context.Context, _a1 *elbv2.S ret := _m.Called(_ca...) var r0 *elbv2.SetSubnetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetSubnetsInput, ...request.Option) (*elbv2.SetSubnetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elbv2.SetSubnetsInput, ...request.Option) *elbv2.SetSubnetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2763,7 +3070,6 @@ func (_m *MockFakeELBV2) SetSubnetsWithContext(_a0 context.Context, _a1 *elbv2.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elbv2.SetSubnetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2947,3 +3253,18 @@ func (_m *MockFakeELBV2) WaitUntilTargetInServiceWithContext(_a0 context.Context return r0 } + +type mockConstructorTestingTNewMockFakeELBV2 interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeELBV2 creates a new instance of MockFakeELBV2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeELBV2(t mockConstructorTestingTNewMockFakeELBV2) *MockFakeELBV2 { + mock := &MockFakeELBV2{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeElastiCache.go b/test/aws/mock_FakeElastiCache.go index ba2179f97..c81c67633 100644 --- a/test/aws/mock_FakeElastiCache.go +++ b/test/aws/mock_FakeElastiCache.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.10.4. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeElastiCache) AddTagsToResource(_a0 *elasticache.AddTagsToResou ret := _m.Called(_a0) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.AddTagsToResourceInput) (*elasticache.TagListMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.AddTagsToResourceInput) *elasticache.TagListMessage); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeElastiCache) AddTagsToResource(_a0 *elasticache.AddTagsToResou } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.AddTagsToResourceInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeElastiCache) AddTagsToResourceRequest(_a0 *elasticache.AddTags ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.TagListMessage + if rf, ok := ret.Get(0).(func(*elasticache.AddTagsToResourceInput) (*request.Request, *elasticache.TagListMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.AddTagsToResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeElastiCache) AddTagsToResourceRequest(_a0 *elasticache.AddTags } } - var r1 *elasticache.TagListMessage if rf, ok := ret.Get(1).(func(*elasticache.AddTagsToResourceInput) *elasticache.TagListMessage); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeElastiCache) AddTagsToResourceWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.AddTagsToResourceInput, ...request.Option) (*elasticache.TagListMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.AddTagsToResourceInput, ...request.Option) *elasticache.TagListMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeElastiCache) AddTagsToResourceWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.AddTagsToResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngress(_a0 *elasticac ret := _m.Called(_a0) var r0 *elasticache.AuthorizeCacheSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) (*elasticache.AuthorizeCacheSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) *elasticache.AuthorizeCacheSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngress(_a0 *elasticac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngressRequest(_a0 *el ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.AuthorizeCacheSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) (*request.Request, *elasticache.AuthorizeCacheSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngressRequest(_a0 *el } } - var r1 *elasticache.AuthorizeCacheSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*elasticache.AuthorizeCacheSecurityGroupIngressInput) *elasticache.AuthorizeCacheSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngressWithContext(_a0 ret := _m.Called(_ca...) var r0 *elasticache.AuthorizeCacheSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.AuthorizeCacheSecurityGroupIngressInput, ...request.Option) (*elasticache.AuthorizeCacheSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.AuthorizeCacheSecurityGroupIngressInput, ...request.Option) *elasticache.AuthorizeCacheSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeElastiCache) AuthorizeCacheSecurityGroupIngressWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.AuthorizeCacheSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateAction(_a0 *elasticache.BatchAppl ret := _m.Called(_a0) var r0 *elasticache.BatchApplyUpdateActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.BatchApplyUpdateActionInput) (*elasticache.BatchApplyUpdateActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.BatchApplyUpdateActionInput) *elasticache.BatchApplyUpdateActionOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateAction(_a0 *elasticache.BatchAppl } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.BatchApplyUpdateActionInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateActionRequest(_a0 *elasticache.Ba ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.BatchApplyUpdateActionOutput + if rf, ok := ret.Get(0).(func(*elasticache.BatchApplyUpdateActionInput) (*request.Request, *elasticache.BatchApplyUpdateActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.BatchApplyUpdateActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateActionRequest(_a0 *elasticache.Ba } } - var r1 *elasticache.BatchApplyUpdateActionOutput if rf, ok := ret.Get(1).(func(*elasticache.BatchApplyUpdateActionInput) *elasticache.BatchApplyUpdateActionOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateActionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.BatchApplyUpdateActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.BatchApplyUpdateActionInput, ...request.Option) (*elasticache.BatchApplyUpdateActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.BatchApplyUpdateActionInput, ...request.Option) *elasticache.BatchApplyUpdateActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeElastiCache) BatchApplyUpdateActionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.BatchApplyUpdateActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeElastiCache) BatchStopUpdateAction(_a0 *elasticache.BatchStopU ret := _m.Called(_a0) var r0 *elasticache.BatchStopUpdateActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.BatchStopUpdateActionInput) (*elasticache.BatchStopUpdateActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.BatchStopUpdateActionInput) *elasticache.BatchStopUpdateActionOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeElastiCache) BatchStopUpdateAction(_a0 *elasticache.BatchStopU } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.BatchStopUpdateActionInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeElastiCache) BatchStopUpdateActionRequest(_a0 *elasticache.Bat ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.BatchStopUpdateActionOutput + if rf, ok := ret.Get(0).(func(*elasticache.BatchStopUpdateActionInput) (*request.Request, *elasticache.BatchStopUpdateActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.BatchStopUpdateActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeElastiCache) BatchStopUpdateActionRequest(_a0 *elasticache.Bat } } - var r1 *elasticache.BatchStopUpdateActionOutput if rf, ok := ret.Get(1).(func(*elasticache.BatchStopUpdateActionInput) *elasticache.BatchStopUpdateActionOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeElastiCache) BatchStopUpdateActionWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *elasticache.BatchStopUpdateActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.BatchStopUpdateActionInput, ...request.Option) (*elasticache.BatchStopUpdateActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.BatchStopUpdateActionInput, ...request.Option) *elasticache.BatchStopUpdateActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeElastiCache) BatchStopUpdateActionWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.BatchStopUpdateActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeElastiCache) CompleteMigration(_a0 *elasticache.CompleteMigrat ret := _m.Called(_a0) var r0 *elasticache.CompleteMigrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CompleteMigrationInput) (*elasticache.CompleteMigrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CompleteMigrationInput) *elasticache.CompleteMigrationOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeElastiCache) CompleteMigration(_a0 *elasticache.CompleteMigrat } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CompleteMigrationInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeElastiCache) CompleteMigrationRequest(_a0 *elasticache.Complet ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CompleteMigrationOutput + if rf, ok := ret.Get(0).(func(*elasticache.CompleteMigrationInput) (*request.Request, *elasticache.CompleteMigrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CompleteMigrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeElastiCache) CompleteMigrationRequest(_a0 *elasticache.Complet } } - var r1 *elasticache.CompleteMigrationOutput if rf, ok := ret.Get(1).(func(*elasticache.CompleteMigrationInput) *elasticache.CompleteMigrationOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeElastiCache) CompleteMigrationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elasticache.CompleteMigrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CompleteMigrationInput, ...request.Option) (*elasticache.CompleteMigrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CompleteMigrationInput, ...request.Option) *elasticache.CompleteMigrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeElastiCache) CompleteMigrationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CompleteMigrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeElastiCache) CopySnapshot(_a0 *elasticache.CopySnapshotInput) ret := _m.Called(_a0) var r0 *elasticache.CopySnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CopySnapshotInput) (*elasticache.CopySnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CopySnapshotInput) *elasticache.CopySnapshotOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeElastiCache) CopySnapshot(_a0 *elasticache.CopySnapshotInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CopySnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeElastiCache) CopySnapshotRequest(_a0 *elasticache.CopySnapshot ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CopySnapshotOutput + if rf, ok := ret.Get(0).(func(*elasticache.CopySnapshotInput) (*request.Request, *elasticache.CopySnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CopySnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeElastiCache) CopySnapshotRequest(_a0 *elasticache.CopySnapshot } } - var r1 *elasticache.CopySnapshotOutput if rf, ok := ret.Get(1).(func(*elasticache.CopySnapshotInput) *elasticache.CopySnapshotOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeElastiCache) CopySnapshotWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elasticache.CopySnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CopySnapshotInput, ...request.Option) (*elasticache.CopySnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CopySnapshotInput, ...request.Option) *elasticache.CopySnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeElastiCache) CopySnapshotWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CopySnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeElastiCache) CreateCacheCluster(_a0 *elasticache.CreateCacheCl ret := _m.Called(_a0) var r0 *elasticache.CreateCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheClusterInput) (*elasticache.CreateCacheClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheClusterInput) *elasticache.CreateCacheClusterOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeElastiCache) CreateCacheCluster(_a0 *elasticache.CreateCacheCl } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheClusterInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeElastiCache) CreateCacheClusterRequest(_a0 *elasticache.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateCacheClusterOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheClusterInput) (*request.Request, *elasticache.CreateCacheClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeElastiCache) CreateCacheClusterRequest(_a0 *elasticache.Create } } - var r1 *elasticache.CreateCacheClusterOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheClusterInput) *elasticache.CreateCacheClusterOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeElastiCache) CreateCacheClusterWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *elasticache.CreateCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheClusterInput, ...request.Option) (*elasticache.CreateCacheClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheClusterInput, ...request.Option) *elasticache.CreateCacheClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeElastiCache) CreateCacheClusterWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateCacheClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroup(_a0 *elasticache.Create ret := _m.Called(_a0) var r0 *elasticache.CreateCacheParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheParameterGroupInput) (*elasticache.CreateCacheParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheParameterGroupInput) *elasticache.CreateCacheParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroup(_a0 *elasticache.Create } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroupRequest(_a0 *elasticache ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateCacheParameterGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheParameterGroupInput) (*request.Request, *elasticache.CreateCacheParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroupRequest(_a0 *elasticache } } - var r1 *elasticache.CreateCacheParameterGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheParameterGroupInput) *elasticache.CreateCacheParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroupWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elasticache.CreateCacheParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheParameterGroupInput, ...request.Option) (*elasticache.CreateCacheParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheParameterGroupInput, ...request.Option) *elasticache.CreateCacheParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeElastiCache) CreateCacheParameterGroupWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateCacheParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroup(_a0 *elasticache.CreateC ret := _m.Called(_a0) var r0 *elasticache.CreateCacheSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSecurityGroupInput) (*elasticache.CreateCacheSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSecurityGroupInput) *elasticache.CreateCacheSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroup(_a0 *elasticache.CreateC } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroupRequest(_a0 *elasticache. ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateCacheSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSecurityGroupInput) (*request.Request, *elasticache.CreateCacheSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroupRequest(_a0 *elasticache. } } - var r1 *elasticache.CreateCacheSecurityGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheSecurityGroupInput) *elasticache.CreateCacheSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroupWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *elasticache.CreateCacheSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheSecurityGroupInput, ...request.Option) (*elasticache.CreateCacheSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheSecurityGroupInput, ...request.Option) *elasticache.CreateCacheSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeElastiCache) CreateCacheSecurityGroupWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateCacheSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroup(_a0 *elasticache.CreateCac ret := _m.Called(_a0) var r0 *elasticache.CreateCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSubnetGroupInput) (*elasticache.CreateCacheSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSubnetGroupInput) *elasticache.CreateCacheSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroup(_a0 *elasticache.CreateCac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroupRequest(_a0 *elasticache.Cr ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateCacheSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSubnetGroupInput) (*request.Request, *elasticache.CreateCacheSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateCacheSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroupRequest(_a0 *elasticache.Cr } } - var r1 *elasticache.CreateCacheSubnetGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateCacheSubnetGroupInput) *elasticache.CreateCacheSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.CreateCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheSubnetGroupInput, ...request.Option) (*elasticache.CreateCacheSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateCacheSubnetGroupInput, ...request.Option) *elasticache.CreateCacheSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeElastiCache) CreateCacheSubnetGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateCacheSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroup(_a0 *elasticache.Cre ret := _m.Called(_a0) var r0 *elasticache.CreateGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateGlobalReplicationGroupInput) (*elasticache.CreateGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateGlobalReplicationGroupInput) *elasticache.CreateGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroup(_a0 *elasticache.Cre } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroupRequest(_a0 *elastica ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateGlobalReplicationGroupInput) (*request.Request, *elasticache.CreateGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroupRequest(_a0 *elastica } } - var r1 *elasticache.CreateGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateGlobalReplicationGroupInput) *elasticache.CreateGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +952,10 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroupWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *elasticache.CreateGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateGlobalReplicationGroupInput, ...request.Option) (*elasticache.CreateGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateGlobalReplicationGroupInput, ...request.Option) *elasticache.CreateGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +964,6 @@ func (_m *MockFakeElastiCache) CreateGlobalReplicationGroupWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeElastiCache) CreateReplicationGroup(_a0 *elasticache.CreateRep ret := _m.Called(_a0) var r0 *elasticache.CreateReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateReplicationGroupInput) (*elasticache.CreateReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateReplicationGroupInput) *elasticache.CreateReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeElastiCache) CreateReplicationGroup(_a0 *elasticache.CreateRep } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeElastiCache) CreateReplicationGroupRequest(_a0 *elasticache.Cr ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateReplicationGroupInput) (*request.Request, *elasticache.CreateReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeElastiCache) CreateReplicationGroupRequest(_a0 *elasticache.Cr } } - var r1 *elasticache.CreateReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateReplicationGroupInput) *elasticache.CreateReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1039,10 @@ func (_m *MockFakeElastiCache) CreateReplicationGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.CreateReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateReplicationGroupInput, ...request.Option) (*elasticache.CreateReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateReplicationGroupInput, ...request.Option) *elasticache.CreateReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1051,6 @@ func (_m *MockFakeElastiCache) CreateReplicationGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeElastiCache) CreateSnapshot(_a0 *elasticache.CreateSnapshotInp ret := _m.Called(_a0) var r0 *elasticache.CreateSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateSnapshotInput) (*elasticache.CreateSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateSnapshotInput) *elasticache.CreateSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeElastiCache) CreateSnapshot(_a0 *elasticache.CreateSnapshotInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeElastiCache) CreateSnapshotRequest(_a0 *elasticache.CreateSnap ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateSnapshotOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateSnapshotInput) (*request.Request, *elasticache.CreateSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeElastiCache) CreateSnapshotRequest(_a0 *elasticache.CreateSnap } } - var r1 *elasticache.CreateSnapshotOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateSnapshotInput) *elasticache.CreateSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1126,10 @@ func (_m *MockFakeElastiCache) CreateSnapshotWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elasticache.CreateSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateSnapshotInput, ...request.Option) (*elasticache.CreateSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateSnapshotInput, ...request.Option) *elasticache.CreateSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1138,6 @@ func (_m *MockFakeElastiCache) CreateSnapshotWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1152,10 @@ func (_m *MockFakeElastiCache) CreateUser(_a0 *elasticache.CreateUserInput) (*el ret := _m.Called(_a0) var r0 *elasticache.CreateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateUserInput) (*elasticache.CreateUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateUserInput) *elasticache.CreateUserOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1164,6 @@ func (_m *MockFakeElastiCache) CreateUser(_a0 *elasticache.CreateUserInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateUserInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1178,10 @@ func (_m *MockFakeElastiCache) CreateUserGroup(_a0 *elasticache.CreateUserGroupI ret := _m.Called(_a0) var r0 *elasticache.CreateUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.CreateUserGroupInput) (*elasticache.CreateUserGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateUserGroupInput) *elasticache.CreateUserGroupOutput); ok { r0 = rf(_a0) } else { @@ -1066,7 +1190,6 @@ func (_m *MockFakeElastiCache) CreateUserGroup(_a0 *elasticache.CreateUserGroupI } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.CreateUserGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1081,6 +1204,10 @@ func (_m *MockFakeElastiCache) CreateUserGroupRequest(_a0 *elasticache.CreateUse ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateUserGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateUserGroupInput) (*request.Request, *elasticache.CreateUserGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateUserGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1089,7 +1216,6 @@ func (_m *MockFakeElastiCache) CreateUserGroupRequest(_a0 *elasticache.CreateUse } } - var r1 *elasticache.CreateUserGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateUserGroupInput) *elasticache.CreateUserGroupOutput); ok { r1 = rf(_a0) } else { @@ -1113,6 +1239,10 @@ func (_m *MockFakeElastiCache) CreateUserGroupWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *elasticache.CreateUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateUserGroupInput, ...request.Option) (*elasticache.CreateUserGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateUserGroupInput, ...request.Option) *elasticache.CreateUserGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1121,7 +1251,6 @@ func (_m *MockFakeElastiCache) CreateUserGroupWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateUserGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1136,6 +1265,10 @@ func (_m *MockFakeElastiCache) CreateUserRequest(_a0 *elasticache.CreateUserInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CreateUserOutput + if rf, ok := ret.Get(0).(func(*elasticache.CreateUserInput) (*request.Request, *elasticache.CreateUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.CreateUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1277,6 @@ func (_m *MockFakeElastiCache) CreateUserRequest(_a0 *elasticache.CreateUserInpu } } - var r1 *elasticache.CreateUserOutput if rf, ok := ret.Get(1).(func(*elasticache.CreateUserInput) *elasticache.CreateUserOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1300,10 @@ func (_m *MockFakeElastiCache) CreateUserWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elasticache.CreateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateUserInput, ...request.Option) (*elasticache.CreateUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.CreateUserInput, ...request.Option) *elasticache.CreateUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1312,6 @@ func (_m *MockFakeElastiCache) CreateUserWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.CreateUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1326,10 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroup(_a0 *e ret := _m.Called(_a0) var r0 *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) (*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1338,6 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroup(_a0 *e } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1352,10 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupRequest ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) (*request.Request, *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1364,6 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupRequest } } - var r1 *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput) *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1387,10 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupWithCon ret := _m.Called(_ca...) var r0 *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) (*elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1399,6 @@ func (_m *MockFakeElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupWithCon } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DecreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1413,10 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCount(_a0 *elasticache.DecreaseRep ret := _m.Called(_a0) var r0 *elasticache.DecreaseReplicaCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DecreaseReplicaCountInput) (*elasticache.DecreaseReplicaCountOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DecreaseReplicaCountInput) *elasticache.DecreaseReplicaCountOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1425,6 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCount(_a0 *elasticache.DecreaseRep } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DecreaseReplicaCountInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1439,10 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCountRequest(_a0 *elasticache.Decr ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DecreaseReplicaCountOutput + if rf, ok := ret.Get(0).(func(*elasticache.DecreaseReplicaCountInput) (*request.Request, *elasticache.DecreaseReplicaCountOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DecreaseReplicaCountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1451,6 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCountRequest(_a0 *elasticache.Decr } } - var r1 *elasticache.DecreaseReplicaCountOutput if rf, ok := ret.Get(1).(func(*elasticache.DecreaseReplicaCountInput) *elasticache.DecreaseReplicaCountOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1474,10 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCountWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *elasticache.DecreaseReplicaCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DecreaseReplicaCountInput, ...request.Option) (*elasticache.DecreaseReplicaCountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DecreaseReplicaCountInput, ...request.Option) *elasticache.DecreaseReplicaCountOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1486,6 @@ func (_m *MockFakeElastiCache) DecreaseReplicaCountWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DecreaseReplicaCountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1500,10 @@ func (_m *MockFakeElastiCache) DeleteCacheCluster(_a0 *elasticache.DeleteCacheCl ret := _m.Called(_a0) var r0 *elasticache.DeleteCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheClusterInput) (*elasticache.DeleteCacheClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheClusterInput) *elasticache.DeleteCacheClusterOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1512,6 @@ func (_m *MockFakeElastiCache) DeleteCacheCluster(_a0 *elasticache.DeleteCacheCl } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheClusterInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1526,10 @@ func (_m *MockFakeElastiCache) DeleteCacheClusterRequest(_a0 *elasticache.Delete ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteCacheClusterOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheClusterInput) (*request.Request, *elasticache.DeleteCacheClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1538,6 @@ func (_m *MockFakeElastiCache) DeleteCacheClusterRequest(_a0 *elasticache.Delete } } - var r1 *elasticache.DeleteCacheClusterOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheClusterInput) *elasticache.DeleteCacheClusterOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1561,10 @@ func (_m *MockFakeElastiCache) DeleteCacheClusterWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *elasticache.DeleteCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheClusterInput, ...request.Option) (*elasticache.DeleteCacheClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheClusterInput, ...request.Option) *elasticache.DeleteCacheClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1573,6 @@ func (_m *MockFakeElastiCache) DeleteCacheClusterWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteCacheClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1587,10 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroup(_a0 *elasticache.Delete ret := _m.Called(_a0) var r0 *elasticache.DeleteCacheParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheParameterGroupInput) (*elasticache.DeleteCacheParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheParameterGroupInput) *elasticache.DeleteCacheParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1599,6 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroup(_a0 *elasticache.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1613,10 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroupRequest(_a0 *elasticache ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteCacheParameterGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheParameterGroupInput) (*request.Request, *elasticache.DeleteCacheParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1625,6 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroupRequest(_a0 *elasticache } } - var r1 *elasticache.DeleteCacheParameterGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheParameterGroupInput) *elasticache.DeleteCacheParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -1480,6 +1648,10 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroupWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elasticache.DeleteCacheParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheParameterGroupInput, ...request.Option) (*elasticache.DeleteCacheParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheParameterGroupInput, ...request.Option) *elasticache.DeleteCacheParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1488,7 +1660,6 @@ func (_m *MockFakeElastiCache) DeleteCacheParameterGroupWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteCacheParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1503,6 +1674,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroup(_a0 *elasticache.DeleteC ret := _m.Called(_a0) var r0 *elasticache.DeleteCacheSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSecurityGroupInput) (*elasticache.DeleteCacheSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSecurityGroupInput) *elasticache.DeleteCacheSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -1511,7 +1686,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroup(_a0 *elasticache.DeleteC } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1526,6 +1700,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroupRequest(_a0 *elasticache. ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteCacheSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSecurityGroupInput) (*request.Request, *elasticache.DeleteCacheSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1534,7 +1712,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroupRequest(_a0 *elasticache. } } - var r1 *elasticache.DeleteCacheSecurityGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheSecurityGroupInput) *elasticache.DeleteCacheSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -1558,6 +1735,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroupWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *elasticache.DeleteCacheSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheSecurityGroupInput, ...request.Option) (*elasticache.DeleteCacheSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheSecurityGroupInput, ...request.Option) *elasticache.DeleteCacheSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1566,7 +1747,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSecurityGroupWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteCacheSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1581,6 +1761,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroup(_a0 *elasticache.DeleteCac ret := _m.Called(_a0) var r0 *elasticache.DeleteCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSubnetGroupInput) (*elasticache.DeleteCacheSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSubnetGroupInput) *elasticache.DeleteCacheSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -1589,7 +1773,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroup(_a0 *elasticache.DeleteCac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1604,6 +1787,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroupRequest(_a0 *elasticache.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteCacheSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSubnetGroupInput) (*request.Request, *elasticache.DeleteCacheSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteCacheSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +1799,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroupRequest(_a0 *elasticache.De } } - var r1 *elasticache.DeleteCacheSubnetGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteCacheSubnetGroupInput) *elasticache.DeleteCacheSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +1822,10 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.DeleteCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheSubnetGroupInput, ...request.Option) (*elasticache.DeleteCacheSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteCacheSubnetGroupInput, ...request.Option) *elasticache.DeleteCacheSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +1834,6 @@ func (_m *MockFakeElastiCache) DeleteCacheSubnetGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteCacheSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +1848,10 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroup(_a0 *elasticache.Del ret := _m.Called(_a0) var r0 *elasticache.DeleteGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteGlobalReplicationGroupInput) (*elasticache.DeleteGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteGlobalReplicationGroupInput) *elasticache.DeleteGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +1860,6 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroup(_a0 *elasticache.Del } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +1874,10 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroupRequest(_a0 *elastica ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteGlobalReplicationGroupInput) (*request.Request, *elasticache.DeleteGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +1886,6 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroupRequest(_a0 *elastica } } - var r1 *elasticache.DeleteGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteGlobalReplicationGroupInput) *elasticache.DeleteGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +1909,10 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroupWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *elasticache.DeleteGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteGlobalReplicationGroupInput, ...request.Option) (*elasticache.DeleteGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteGlobalReplicationGroupInput, ...request.Option) *elasticache.DeleteGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +1921,6 @@ func (_m *MockFakeElastiCache) DeleteGlobalReplicationGroupWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1737,6 +1935,10 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroup(_a0 *elasticache.DeleteRep ret := _m.Called(_a0) var r0 *elasticache.DeleteReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteReplicationGroupInput) (*elasticache.DeleteReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteReplicationGroupInput) *elasticache.DeleteReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -1745,7 +1947,6 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroup(_a0 *elasticache.DeleteRep } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1760,6 +1961,10 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroupRequest(_a0 *elasticache.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteReplicationGroupInput) (*request.Request, *elasticache.DeleteReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +1973,6 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroupRequest(_a0 *elasticache.De } } - var r1 *elasticache.DeleteReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteReplicationGroupInput) *elasticache.DeleteReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +1996,10 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.DeleteReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteReplicationGroupInput, ...request.Option) (*elasticache.DeleteReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteReplicationGroupInput, ...request.Option) *elasticache.DeleteReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2008,6 @@ func (_m *MockFakeElastiCache) DeleteReplicationGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2022,10 @@ func (_m *MockFakeElastiCache) DeleteSnapshot(_a0 *elasticache.DeleteSnapshotInp ret := _m.Called(_a0) var r0 *elasticache.DeleteSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteSnapshotInput) (*elasticache.DeleteSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteSnapshotInput) *elasticache.DeleteSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2034,6 @@ func (_m *MockFakeElastiCache) DeleteSnapshot(_a0 *elasticache.DeleteSnapshotInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2048,10 @@ func (_m *MockFakeElastiCache) DeleteSnapshotRequest(_a0 *elasticache.DeleteSnap ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteSnapshotOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteSnapshotInput) (*request.Request, *elasticache.DeleteSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2060,6 @@ func (_m *MockFakeElastiCache) DeleteSnapshotRequest(_a0 *elasticache.DeleteSnap } } - var r1 *elasticache.DeleteSnapshotOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteSnapshotInput) *elasticache.DeleteSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2083,10 @@ func (_m *MockFakeElastiCache) DeleteSnapshotWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elasticache.DeleteSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteSnapshotInput, ...request.Option) (*elasticache.DeleteSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteSnapshotInput, ...request.Option) *elasticache.DeleteSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2095,6 @@ func (_m *MockFakeElastiCache) DeleteSnapshotWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2109,10 @@ func (_m *MockFakeElastiCache) DeleteUser(_a0 *elasticache.DeleteUserInput) (*el ret := _m.Called(_a0) var r0 *elasticache.DeleteUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserInput) (*elasticache.DeleteUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserInput) *elasticache.DeleteUserOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2121,6 @@ func (_m *MockFakeElastiCache) DeleteUser(_a0 *elasticache.DeleteUserInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteUserInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2135,10 @@ func (_m *MockFakeElastiCache) DeleteUserGroup(_a0 *elasticache.DeleteUserGroupI ret := _m.Called(_a0) var r0 *elasticache.DeleteUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserGroupInput) (*elasticache.DeleteUserGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserGroupInput) *elasticache.DeleteUserGroupOutput); ok { r0 = rf(_a0) } else { @@ -1924,7 +2147,6 @@ func (_m *MockFakeElastiCache) DeleteUserGroup(_a0 *elasticache.DeleteUserGroupI } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DeleteUserGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1939,6 +2161,10 @@ func (_m *MockFakeElastiCache) DeleteUserGroupRequest(_a0 *elasticache.DeleteUse ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteUserGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserGroupInput) (*request.Request, *elasticache.DeleteUserGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1947,7 +2173,6 @@ func (_m *MockFakeElastiCache) DeleteUserGroupRequest(_a0 *elasticache.DeleteUse } } - var r1 *elasticache.DeleteUserGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteUserGroupInput) *elasticache.DeleteUserGroupOutput); ok { r1 = rf(_a0) } else { @@ -1971,6 +2196,10 @@ func (_m *MockFakeElastiCache) DeleteUserGroupWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *elasticache.DeleteUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteUserGroupInput, ...request.Option) (*elasticache.DeleteUserGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteUserGroupInput, ...request.Option) *elasticache.DeleteUserGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1979,7 +2208,6 @@ func (_m *MockFakeElastiCache) DeleteUserGroupWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteUserGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1994,6 +2222,10 @@ func (_m *MockFakeElastiCache) DeleteUserRequest(_a0 *elasticache.DeleteUserInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DeleteUserOutput + if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserInput) (*request.Request, *elasticache.DeleteUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DeleteUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2234,6 @@ func (_m *MockFakeElastiCache) DeleteUserRequest(_a0 *elasticache.DeleteUserInpu } } - var r1 *elasticache.DeleteUserOutput if rf, ok := ret.Get(1).(func(*elasticache.DeleteUserInput) *elasticache.DeleteUserOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2257,10 @@ func (_m *MockFakeElastiCache) DeleteUserWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elasticache.DeleteUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteUserInput, ...request.Option) (*elasticache.DeleteUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DeleteUserInput, ...request.Option) *elasticache.DeleteUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2269,6 @@ func (_m *MockFakeElastiCache) DeleteUserWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DeleteUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2283,10 @@ func (_m *MockFakeElastiCache) DescribeCacheClusters(_a0 *elasticache.DescribeCa ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheClustersInput) (*elasticache.DescribeCacheClustersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheClustersInput) *elasticache.DescribeCacheClustersOutput); ok { r0 = rf(_a0) } else { @@ -2057,7 +2295,6 @@ func (_m *MockFakeElastiCache) DescribeCacheClusters(_a0 *elasticache.DescribeCa } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheClustersInput) error); ok { r1 = rf(_a0) } else { @@ -2107,6 +2344,10 @@ func (_m *MockFakeElastiCache) DescribeCacheClustersRequest(_a0 *elasticache.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheClustersOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheClustersInput) (*request.Request, *elasticache.DescribeCacheClustersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheClustersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2115,7 +2356,6 @@ func (_m *MockFakeElastiCache) DescribeCacheClustersRequest(_a0 *elasticache.Des } } - var r1 *elasticache.DescribeCacheClustersOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheClustersInput) *elasticache.DescribeCacheClustersOutput); ok { r1 = rf(_a0) } else { @@ -2139,6 +2379,10 @@ func (_m *MockFakeElastiCache) DescribeCacheClustersWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheClustersInput, ...request.Option) (*elasticache.DescribeCacheClustersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheClustersInput, ...request.Option) *elasticache.DescribeCacheClustersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2147,7 +2391,6 @@ func (_m *MockFakeElastiCache) DescribeCacheClustersWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheClustersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2162,6 +2405,10 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersions(_a0 *elasticache.Desc ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheEngineVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheEngineVersionsInput) (*elasticache.DescribeCacheEngineVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheEngineVersionsInput) *elasticache.DescribeCacheEngineVersionsOutput); ok { r0 = rf(_a0) } else { @@ -2170,7 +2417,6 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersions(_a0 *elasticache.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheEngineVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -2220,6 +2466,10 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersionsRequest(_a0 *elasticac ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheEngineVersionsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheEngineVersionsInput) (*request.Request, *elasticache.DescribeCacheEngineVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheEngineVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2228,7 +2478,6 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersionsRequest(_a0 *elasticac } } - var r1 *elasticache.DescribeCacheEngineVersionsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheEngineVersionsInput) *elasticache.DescribeCacheEngineVersionsOutput); ok { r1 = rf(_a0) } else { @@ -2252,6 +2501,10 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersionsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheEngineVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheEngineVersionsInput, ...request.Option) (*elasticache.DescribeCacheEngineVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheEngineVersionsInput, ...request.Option) *elasticache.DescribeCacheEngineVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2260,7 +2513,6 @@ func (_m *MockFakeElastiCache) DescribeCacheEngineVersionsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheEngineVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2275,6 +2527,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroups(_a0 *elasticache.Des ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParameterGroupsInput) (*elasticache.DescribeCacheParameterGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParameterGroupsInput) *elasticache.DescribeCacheParameterGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2283,7 +2539,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroups(_a0 *elasticache.Des } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheParameterGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -2333,6 +2588,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroupsRequest(_a0 *elastica ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheParameterGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParameterGroupsInput) (*request.Request, *elasticache.DescribeCacheParameterGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParameterGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2341,7 +2600,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroupsRequest(_a0 *elastica } } - var r1 *elasticache.DescribeCacheParameterGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheParameterGroupsInput) *elasticache.DescribeCacheParameterGroupsOutput); ok { r1 = rf(_a0) } else { @@ -2365,6 +2623,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroupsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheParameterGroupsInput, ...request.Option) (*elasticache.DescribeCacheParameterGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheParameterGroupsInput, ...request.Option) *elasticache.DescribeCacheParameterGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2373,7 +2635,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParameterGroupsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheParameterGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2388,6 +2649,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParameters(_a0 *elasticache.Describe ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParametersInput) (*elasticache.DescribeCacheParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParametersInput) *elasticache.DescribeCacheParametersOutput); ok { r0 = rf(_a0) } else { @@ -2396,7 +2661,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParameters(_a0 *elasticache.Describe } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheParametersInput) error); ok { r1 = rf(_a0) } else { @@ -2446,6 +2710,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParametersRequest(_a0 *elasticache.D ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheParametersOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParametersInput) (*request.Request, *elasticache.DescribeCacheParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2454,7 +2722,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParametersRequest(_a0 *elasticache.D } } - var r1 *elasticache.DescribeCacheParametersOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheParametersInput) *elasticache.DescribeCacheParametersOutput); ok { r1 = rf(_a0) } else { @@ -2478,6 +2745,10 @@ func (_m *MockFakeElastiCache) DescribeCacheParametersWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheParametersInput, ...request.Option) (*elasticache.DescribeCacheParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheParametersInput, ...request.Option) *elasticache.DescribeCacheParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2486,7 +2757,6 @@ func (_m *MockFakeElastiCache) DescribeCacheParametersWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2501,6 +2771,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroups(_a0 *elasticache.Desc ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSecurityGroupsInput) (*elasticache.DescribeCacheSecurityGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSecurityGroupsInput) *elasticache.DescribeCacheSecurityGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2509,7 +2783,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroups(_a0 *elasticache.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheSecurityGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -2559,6 +2832,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroupsRequest(_a0 *elasticac ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheSecurityGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSecurityGroupsInput) (*request.Request, *elasticache.DescribeCacheSecurityGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSecurityGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2567,7 +2844,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroupsRequest(_a0 *elasticac } } - var r1 *elasticache.DescribeCacheSecurityGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheSecurityGroupsInput) *elasticache.DescribeCacheSecurityGroupsOutput); ok { r1 = rf(_a0) } else { @@ -2591,6 +2867,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroupsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheSecurityGroupsInput, ...request.Option) (*elasticache.DescribeCacheSecurityGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheSecurityGroupsInput, ...request.Option) *elasticache.DescribeCacheSecurityGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2599,7 +2879,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSecurityGroupsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheSecurityGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2614,6 +2893,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroups(_a0 *elasticache.Descri ret := _m.Called(_a0) var r0 *elasticache.DescribeCacheSubnetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSubnetGroupsInput) (*elasticache.DescribeCacheSubnetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSubnetGroupsInput) *elasticache.DescribeCacheSubnetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2622,7 +2905,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroups(_a0 *elasticache.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheSubnetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -2672,6 +2954,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroupsRequest(_a0 *elasticache ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeCacheSubnetGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSubnetGroupsInput) (*request.Request, *elasticache.DescribeCacheSubnetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeCacheSubnetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2680,7 +2966,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroupsRequest(_a0 *elasticache } } - var r1 *elasticache.DescribeCacheSubnetGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeCacheSubnetGroupsInput) *elasticache.DescribeCacheSubnetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -2704,6 +2989,10 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroupsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elasticache.DescribeCacheSubnetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheSubnetGroupsInput, ...request.Option) (*elasticache.DescribeCacheSubnetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeCacheSubnetGroupsInput, ...request.Option) *elasticache.DescribeCacheSubnetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2712,7 +3001,6 @@ func (_m *MockFakeElastiCache) DescribeCacheSubnetGroupsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeCacheSubnetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2727,6 +3015,10 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParameters(_a0 *elasticache. ret := _m.Called(_a0) var r0 *elasticache.DescribeEngineDefaultParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeEngineDefaultParametersInput) (*elasticache.DescribeEngineDefaultParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeEngineDefaultParametersInput) *elasticache.DescribeEngineDefaultParametersOutput); ok { r0 = rf(_a0) } else { @@ -2735,7 +3027,6 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParameters(_a0 *elasticache. } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeEngineDefaultParametersInput) error); ok { r1 = rf(_a0) } else { @@ -2785,6 +3076,10 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParametersRequest(_a0 *elast ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeEngineDefaultParametersOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeEngineDefaultParametersInput) (*request.Request, *elasticache.DescribeEngineDefaultParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeEngineDefaultParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2793,7 +3088,6 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParametersRequest(_a0 *elast } } - var r1 *elasticache.DescribeEngineDefaultParametersOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeEngineDefaultParametersInput) *elasticache.DescribeEngineDefaultParametersOutput); ok { r1 = rf(_a0) } else { @@ -2817,6 +3111,10 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParametersWithContext(_a0 co ret := _m.Called(_ca...) var r0 *elasticache.DescribeEngineDefaultParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeEngineDefaultParametersInput, ...request.Option) (*elasticache.DescribeEngineDefaultParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeEngineDefaultParametersInput, ...request.Option) *elasticache.DescribeEngineDefaultParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2825,7 +3123,6 @@ func (_m *MockFakeElastiCache) DescribeEngineDefaultParametersWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeEngineDefaultParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2840,6 +3137,10 @@ func (_m *MockFakeElastiCache) DescribeEvents(_a0 *elasticache.DescribeEventsInp ret := _m.Called(_a0) var r0 *elasticache.DescribeEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeEventsInput) (*elasticache.DescribeEventsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeEventsInput) *elasticache.DescribeEventsOutput); ok { r0 = rf(_a0) } else { @@ -2848,7 +3149,6 @@ func (_m *MockFakeElastiCache) DescribeEvents(_a0 *elasticache.DescribeEventsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeEventsInput) error); ok { r1 = rf(_a0) } else { @@ -2898,6 +3198,10 @@ func (_m *MockFakeElastiCache) DescribeEventsRequest(_a0 *elasticache.DescribeEv ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeEventsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeEventsInput) (*request.Request, *elasticache.DescribeEventsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeEventsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2906,7 +3210,6 @@ func (_m *MockFakeElastiCache) DescribeEventsRequest(_a0 *elasticache.DescribeEv } } - var r1 *elasticache.DescribeEventsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeEventsInput) *elasticache.DescribeEventsOutput); ok { r1 = rf(_a0) } else { @@ -2930,6 +3233,10 @@ func (_m *MockFakeElastiCache) DescribeEventsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elasticache.DescribeEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeEventsInput, ...request.Option) (*elasticache.DescribeEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeEventsInput, ...request.Option) *elasticache.DescribeEventsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2938,7 +3245,6 @@ func (_m *MockFakeElastiCache) DescribeEventsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeEventsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2953,6 +3259,10 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroups(_a0 *elasticache. ret := _m.Called(_a0) var r0 *elasticache.DescribeGlobalReplicationGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeGlobalReplicationGroupsInput) (*elasticache.DescribeGlobalReplicationGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeGlobalReplicationGroupsInput) *elasticache.DescribeGlobalReplicationGroupsOutput); ok { r0 = rf(_a0) } else { @@ -2961,7 +3271,6 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroups(_a0 *elasticache. } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeGlobalReplicationGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -3011,6 +3320,10 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroupsRequest(_a0 *elast ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeGlobalReplicationGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeGlobalReplicationGroupsInput) (*request.Request, *elasticache.DescribeGlobalReplicationGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeGlobalReplicationGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3019,7 +3332,6 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroupsRequest(_a0 *elast } } - var r1 *elasticache.DescribeGlobalReplicationGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeGlobalReplicationGroupsInput) *elasticache.DescribeGlobalReplicationGroupsOutput); ok { r1 = rf(_a0) } else { @@ -3043,6 +3355,10 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroupsWithContext(_a0 co ret := _m.Called(_ca...) var r0 *elasticache.DescribeGlobalReplicationGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeGlobalReplicationGroupsInput, ...request.Option) (*elasticache.DescribeGlobalReplicationGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeGlobalReplicationGroupsInput, ...request.Option) *elasticache.DescribeGlobalReplicationGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3051,7 +3367,6 @@ func (_m *MockFakeElastiCache) DescribeGlobalReplicationGroupsWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeGlobalReplicationGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3066,6 +3381,10 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroups(_a0 *elasticache.Descri ret := _m.Called(_a0) var r0 *elasticache.DescribeReplicationGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReplicationGroupsInput) (*elasticache.DescribeReplicationGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReplicationGroupsInput) *elasticache.DescribeReplicationGroupsOutput); ok { r0 = rf(_a0) } else { @@ -3074,7 +3393,6 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroups(_a0 *elasticache.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeReplicationGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -3124,6 +3442,10 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroupsRequest(_a0 *elasticache ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeReplicationGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReplicationGroupsInput) (*request.Request, *elasticache.DescribeReplicationGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReplicationGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3132,7 +3454,6 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroupsRequest(_a0 *elasticache } } - var r1 *elasticache.DescribeReplicationGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeReplicationGroupsInput) *elasticache.DescribeReplicationGroupsOutput); ok { r1 = rf(_a0) } else { @@ -3156,6 +3477,10 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroupsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elasticache.DescribeReplicationGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReplicationGroupsInput, ...request.Option) (*elasticache.DescribeReplicationGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReplicationGroupsInput, ...request.Option) *elasticache.DescribeReplicationGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3164,7 +3489,6 @@ func (_m *MockFakeElastiCache) DescribeReplicationGroupsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeReplicationGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3179,6 +3503,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodes(_a0 *elasticache.Descr ret := _m.Called(_a0) var r0 *elasticache.DescribeReservedCacheNodesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesInput) (*elasticache.DescribeReservedCacheNodesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesInput) *elasticache.DescribeReservedCacheNodesOutput); ok { r0 = rf(_a0) } else { @@ -3187,7 +3515,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodes(_a0 *elasticache.Descr } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeReservedCacheNodesInput) error); ok { r1 = rf(_a0) } else { @@ -3202,6 +3529,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferings(_a0 *elastica ret := _m.Called(_a0) var r0 *elasticache.DescribeReservedCacheNodesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) (*elasticache.DescribeReservedCacheNodesOfferingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) *elasticache.DescribeReservedCacheNodesOfferingsOutput); ok { r0 = rf(_a0) } else { @@ -3210,7 +3541,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferings(_a0 *elastica } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) error); ok { r1 = rf(_a0) } else { @@ -3260,6 +3590,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferingsRequest(_a0 *e ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeReservedCacheNodesOfferingsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) (*request.Request, *elasticache.DescribeReservedCacheNodesOfferingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3268,7 +3602,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferingsRequest(_a0 *e } } - var r1 *elasticache.DescribeReservedCacheNodesOfferingsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeReservedCacheNodesOfferingsInput) *elasticache.DescribeReservedCacheNodesOfferingsOutput); ok { r1 = rf(_a0) } else { @@ -3292,6 +3625,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferingsWithContext(_a ret := _m.Called(_ca...) var r0 *elasticache.DescribeReservedCacheNodesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReservedCacheNodesOfferingsInput, ...request.Option) (*elasticache.DescribeReservedCacheNodesOfferingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReservedCacheNodesOfferingsInput, ...request.Option) *elasticache.DescribeReservedCacheNodesOfferingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3300,7 +3637,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesOfferingsWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeReservedCacheNodesOfferingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3350,6 +3686,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesRequest(_a0 *elasticach ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeReservedCacheNodesOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesInput) (*request.Request, *elasticache.DescribeReservedCacheNodesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeReservedCacheNodesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3358,7 +3698,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesRequest(_a0 *elasticach } } - var r1 *elasticache.DescribeReservedCacheNodesOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeReservedCacheNodesInput) *elasticache.DescribeReservedCacheNodesOutput); ok { r1 = rf(_a0) } else { @@ -3382,6 +3721,10 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesWithContext(_a0 context ret := _m.Called(_ca...) var r0 *elasticache.DescribeReservedCacheNodesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReservedCacheNodesInput, ...request.Option) (*elasticache.DescribeReservedCacheNodesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeReservedCacheNodesInput, ...request.Option) *elasticache.DescribeReservedCacheNodesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3390,7 +3733,6 @@ func (_m *MockFakeElastiCache) DescribeReservedCacheNodesWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeReservedCacheNodesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3405,6 +3747,10 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdates(_a0 *elasticache.DescribeS ret := _m.Called(_a0) var r0 *elasticache.DescribeServiceUpdatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeServiceUpdatesInput) (*elasticache.DescribeServiceUpdatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeServiceUpdatesInput) *elasticache.DescribeServiceUpdatesOutput); ok { r0 = rf(_a0) } else { @@ -3413,7 +3759,6 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdates(_a0 *elasticache.DescribeS } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeServiceUpdatesInput) error); ok { r1 = rf(_a0) } else { @@ -3463,6 +3808,10 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdatesRequest(_a0 *elasticache.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeServiceUpdatesOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeServiceUpdatesInput) (*request.Request, *elasticache.DescribeServiceUpdatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeServiceUpdatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3471,7 +3820,6 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdatesRequest(_a0 *elasticache.De } } - var r1 *elasticache.DescribeServiceUpdatesOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeServiceUpdatesInput) *elasticache.DescribeServiceUpdatesOutput); ok { r1 = rf(_a0) } else { @@ -3495,6 +3843,10 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdatesWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.DescribeServiceUpdatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeServiceUpdatesInput, ...request.Option) (*elasticache.DescribeServiceUpdatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeServiceUpdatesInput, ...request.Option) *elasticache.DescribeServiceUpdatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3503,7 +3855,6 @@ func (_m *MockFakeElastiCache) DescribeServiceUpdatesWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeServiceUpdatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3518,6 +3869,10 @@ func (_m *MockFakeElastiCache) DescribeSnapshots(_a0 *elasticache.DescribeSnapsh ret := _m.Called(_a0) var r0 *elasticache.DescribeSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeSnapshotsInput) (*elasticache.DescribeSnapshotsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeSnapshotsInput) *elasticache.DescribeSnapshotsOutput); ok { r0 = rf(_a0) } else { @@ -3526,7 +3881,6 @@ func (_m *MockFakeElastiCache) DescribeSnapshots(_a0 *elasticache.DescribeSnapsh } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeSnapshotsInput) error); ok { r1 = rf(_a0) } else { @@ -3576,6 +3930,10 @@ func (_m *MockFakeElastiCache) DescribeSnapshotsRequest(_a0 *elasticache.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeSnapshotsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeSnapshotsInput) (*request.Request, *elasticache.DescribeSnapshotsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeSnapshotsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3584,7 +3942,6 @@ func (_m *MockFakeElastiCache) DescribeSnapshotsRequest(_a0 *elasticache.Describ } } - var r1 *elasticache.DescribeSnapshotsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeSnapshotsInput) *elasticache.DescribeSnapshotsOutput); ok { r1 = rf(_a0) } else { @@ -3608,6 +3965,10 @@ func (_m *MockFakeElastiCache) DescribeSnapshotsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *elasticache.DescribeSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeSnapshotsInput, ...request.Option) (*elasticache.DescribeSnapshotsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeSnapshotsInput, ...request.Option) *elasticache.DescribeSnapshotsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3616,7 +3977,6 @@ func (_m *MockFakeElastiCache) DescribeSnapshotsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeSnapshotsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3631,6 +3991,10 @@ func (_m *MockFakeElastiCache) DescribeUpdateActions(_a0 *elasticache.DescribeUp ret := _m.Called(_a0) var r0 *elasticache.DescribeUpdateActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUpdateActionsInput) (*elasticache.DescribeUpdateActionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUpdateActionsInput) *elasticache.DescribeUpdateActionsOutput); ok { r0 = rf(_a0) } else { @@ -3639,7 +4003,6 @@ func (_m *MockFakeElastiCache) DescribeUpdateActions(_a0 *elasticache.DescribeUp } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeUpdateActionsInput) error); ok { r1 = rf(_a0) } else { @@ -3689,6 +4052,10 @@ func (_m *MockFakeElastiCache) DescribeUpdateActionsRequest(_a0 *elasticache.Des ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeUpdateActionsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUpdateActionsInput) (*request.Request, *elasticache.DescribeUpdateActionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUpdateActionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3697,7 +4064,6 @@ func (_m *MockFakeElastiCache) DescribeUpdateActionsRequest(_a0 *elasticache.Des } } - var r1 *elasticache.DescribeUpdateActionsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeUpdateActionsInput) *elasticache.DescribeUpdateActionsOutput); ok { r1 = rf(_a0) } else { @@ -3721,6 +4087,10 @@ func (_m *MockFakeElastiCache) DescribeUpdateActionsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *elasticache.DescribeUpdateActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUpdateActionsInput, ...request.Option) (*elasticache.DescribeUpdateActionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUpdateActionsInput, ...request.Option) *elasticache.DescribeUpdateActionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3729,7 +4099,6 @@ func (_m *MockFakeElastiCache) DescribeUpdateActionsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeUpdateActionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3744,6 +4113,10 @@ func (_m *MockFakeElastiCache) DescribeUserGroups(_a0 *elasticache.DescribeUserG ret := _m.Called(_a0) var r0 *elasticache.DescribeUserGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUserGroupsInput) (*elasticache.DescribeUserGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUserGroupsInput) *elasticache.DescribeUserGroupsOutput); ok { r0 = rf(_a0) } else { @@ -3752,7 +4125,6 @@ func (_m *MockFakeElastiCache) DescribeUserGroups(_a0 *elasticache.DescribeUserG } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeUserGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -3802,6 +4174,10 @@ func (_m *MockFakeElastiCache) DescribeUserGroupsRequest(_a0 *elasticache.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeUserGroupsOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUserGroupsInput) (*request.Request, *elasticache.DescribeUserGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUserGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3810,7 +4186,6 @@ func (_m *MockFakeElastiCache) DescribeUserGroupsRequest(_a0 *elasticache.Descri } } - var r1 *elasticache.DescribeUserGroupsOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeUserGroupsInput) *elasticache.DescribeUserGroupsOutput); ok { r1 = rf(_a0) } else { @@ -3834,6 +4209,10 @@ func (_m *MockFakeElastiCache) DescribeUserGroupsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *elasticache.DescribeUserGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUserGroupsInput, ...request.Option) (*elasticache.DescribeUserGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUserGroupsInput, ...request.Option) *elasticache.DescribeUserGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3842,7 +4221,6 @@ func (_m *MockFakeElastiCache) DescribeUserGroupsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeUserGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3857,6 +4235,10 @@ func (_m *MockFakeElastiCache) DescribeUsers(_a0 *elasticache.DescribeUsersInput ret := _m.Called(_a0) var r0 *elasticache.DescribeUsersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUsersInput) (*elasticache.DescribeUsersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUsersInput) *elasticache.DescribeUsersOutput); ok { r0 = rf(_a0) } else { @@ -3865,7 +4247,6 @@ func (_m *MockFakeElastiCache) DescribeUsers(_a0 *elasticache.DescribeUsersInput } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DescribeUsersInput) error); ok { r1 = rf(_a0) } else { @@ -3915,6 +4296,10 @@ func (_m *MockFakeElastiCache) DescribeUsersRequest(_a0 *elasticache.DescribeUse ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DescribeUsersOutput + if rf, ok := ret.Get(0).(func(*elasticache.DescribeUsersInput) (*request.Request, *elasticache.DescribeUsersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DescribeUsersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3923,7 +4308,6 @@ func (_m *MockFakeElastiCache) DescribeUsersRequest(_a0 *elasticache.DescribeUse } } - var r1 *elasticache.DescribeUsersOutput if rf, ok := ret.Get(1).(func(*elasticache.DescribeUsersInput) *elasticache.DescribeUsersOutput); ok { r1 = rf(_a0) } else { @@ -3947,6 +4331,10 @@ func (_m *MockFakeElastiCache) DescribeUsersWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elasticache.DescribeUsersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUsersInput, ...request.Option) (*elasticache.DescribeUsersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DescribeUsersInput, ...request.Option) *elasticache.DescribeUsersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3955,7 +4343,6 @@ func (_m *MockFakeElastiCache) DescribeUsersWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DescribeUsersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3970,6 +4357,10 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroup(_a0 *elasticac ret := _m.Called(_a0) var r0 *elasticache.DisassociateGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.DisassociateGlobalReplicationGroupInput) (*elasticache.DisassociateGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DisassociateGlobalReplicationGroupInput) *elasticache.DisassociateGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -3978,7 +4369,6 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroup(_a0 *elasticac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.DisassociateGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -3993,6 +4383,10 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroupRequest(_a0 *el ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.DisassociateGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.DisassociateGlobalReplicationGroupInput) (*request.Request, *elasticache.DisassociateGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.DisassociateGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4001,7 +4395,6 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroupRequest(_a0 *el } } - var r1 *elasticache.DisassociateGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.DisassociateGlobalReplicationGroupInput) *elasticache.DisassociateGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -4025,6 +4418,10 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroupWithContext(_a0 ret := _m.Called(_ca...) var r0 *elasticache.DisassociateGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DisassociateGlobalReplicationGroupInput, ...request.Option) (*elasticache.DisassociateGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.DisassociateGlobalReplicationGroupInput, ...request.Option) *elasticache.DisassociateGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4033,7 +4430,6 @@ func (_m *MockFakeElastiCache) DisassociateGlobalReplicationGroupWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.DisassociateGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4048,6 +4444,10 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroup(_a0 *elasticache.F ret := _m.Called(_a0) var r0 *elasticache.FailoverGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.FailoverGlobalReplicationGroupInput) (*elasticache.FailoverGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.FailoverGlobalReplicationGroupInput) *elasticache.FailoverGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -4056,7 +4456,6 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroup(_a0 *elasticache.F } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.FailoverGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4071,6 +4470,10 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroupRequest(_a0 *elasti ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.FailoverGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.FailoverGlobalReplicationGroupInput) (*request.Request, *elasticache.FailoverGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.FailoverGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4079,7 +4482,6 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroupRequest(_a0 *elasti } } - var r1 *elasticache.FailoverGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.FailoverGlobalReplicationGroupInput) *elasticache.FailoverGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -4103,6 +4505,10 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroupWithContext(_a0 con ret := _m.Called(_ca...) var r0 *elasticache.FailoverGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.FailoverGlobalReplicationGroupInput, ...request.Option) (*elasticache.FailoverGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.FailoverGlobalReplicationGroupInput, ...request.Option) *elasticache.FailoverGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4111,7 +4517,6 @@ func (_m *MockFakeElastiCache) FailoverGlobalReplicationGroupWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.FailoverGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4126,6 +4531,10 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroup(_a0 *e ret := _m.Called(_a0) var r0 *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) (*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -4134,7 +4543,6 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroup(_a0 *e } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4149,6 +4557,10 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupRequest ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) (*request.Request, *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4157,7 +4569,6 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupRequest } } - var r1 *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput) *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -4181,6 +4592,10 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupWithCon ret := _m.Called(_ca...) var r0 *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) (*elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4189,7 +4604,6 @@ func (_m *MockFakeElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupWithCon } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.IncreaseNodeGroupsInGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4204,6 +4618,10 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCount(_a0 *elasticache.IncreaseRep ret := _m.Called(_a0) var r0 *elasticache.IncreaseReplicaCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.IncreaseReplicaCountInput) (*elasticache.IncreaseReplicaCountOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.IncreaseReplicaCountInput) *elasticache.IncreaseReplicaCountOutput); ok { r0 = rf(_a0) } else { @@ -4212,7 +4630,6 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCount(_a0 *elasticache.IncreaseRep } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.IncreaseReplicaCountInput) error); ok { r1 = rf(_a0) } else { @@ -4227,6 +4644,10 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCountRequest(_a0 *elasticache.Incr ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.IncreaseReplicaCountOutput + if rf, ok := ret.Get(0).(func(*elasticache.IncreaseReplicaCountInput) (*request.Request, *elasticache.IncreaseReplicaCountOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.IncreaseReplicaCountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4235,7 +4656,6 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCountRequest(_a0 *elasticache.Incr } } - var r1 *elasticache.IncreaseReplicaCountOutput if rf, ok := ret.Get(1).(func(*elasticache.IncreaseReplicaCountInput) *elasticache.IncreaseReplicaCountOutput); ok { r1 = rf(_a0) } else { @@ -4259,6 +4679,10 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCountWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *elasticache.IncreaseReplicaCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.IncreaseReplicaCountInput, ...request.Option) (*elasticache.IncreaseReplicaCountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.IncreaseReplicaCountInput, ...request.Option) *elasticache.IncreaseReplicaCountOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4267,7 +4691,6 @@ func (_m *MockFakeElastiCache) IncreaseReplicaCountWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.IncreaseReplicaCountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4282,6 +4705,10 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModifications(_a0 *elasticache ret := _m.Called(_a0) var r0 *elasticache.ListAllowedNodeTypeModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ListAllowedNodeTypeModificationsInput) (*elasticache.ListAllowedNodeTypeModificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ListAllowedNodeTypeModificationsInput) *elasticache.ListAllowedNodeTypeModificationsOutput); ok { r0 = rf(_a0) } else { @@ -4290,7 +4717,6 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModifications(_a0 *elasticache } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ListAllowedNodeTypeModificationsInput) error); ok { r1 = rf(_a0) } else { @@ -4305,6 +4731,10 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModificationsRequest(_a0 *elas ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ListAllowedNodeTypeModificationsOutput + if rf, ok := ret.Get(0).(func(*elasticache.ListAllowedNodeTypeModificationsInput) (*request.Request, *elasticache.ListAllowedNodeTypeModificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ListAllowedNodeTypeModificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4313,7 +4743,6 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModificationsRequest(_a0 *elas } } - var r1 *elasticache.ListAllowedNodeTypeModificationsOutput if rf, ok := ret.Get(1).(func(*elasticache.ListAllowedNodeTypeModificationsInput) *elasticache.ListAllowedNodeTypeModificationsOutput); ok { r1 = rf(_a0) } else { @@ -4337,6 +4766,10 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModificationsWithContext(_a0 c ret := _m.Called(_ca...) var r0 *elasticache.ListAllowedNodeTypeModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ListAllowedNodeTypeModificationsInput, ...request.Option) (*elasticache.ListAllowedNodeTypeModificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ListAllowedNodeTypeModificationsInput, ...request.Option) *elasticache.ListAllowedNodeTypeModificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4345,7 +4778,6 @@ func (_m *MockFakeElastiCache) ListAllowedNodeTypeModificationsWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ListAllowedNodeTypeModificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4360,6 +4792,10 @@ func (_m *MockFakeElastiCache) ListTagsForResource(_a0 *elasticache.ListTagsForR ret := _m.Called(_a0) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ListTagsForResourceInput) (*elasticache.TagListMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ListTagsForResourceInput) *elasticache.TagListMessage); ok { r0 = rf(_a0) } else { @@ -4368,7 +4804,6 @@ func (_m *MockFakeElastiCache) ListTagsForResource(_a0 *elasticache.ListTagsForR } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4383,6 +4818,10 @@ func (_m *MockFakeElastiCache) ListTagsForResourceRequest(_a0 *elasticache.ListT ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.TagListMessage + if rf, ok := ret.Get(0).(func(*elasticache.ListTagsForResourceInput) (*request.Request, *elasticache.TagListMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4391,7 +4830,6 @@ func (_m *MockFakeElastiCache) ListTagsForResourceRequest(_a0 *elasticache.ListT } } - var r1 *elasticache.TagListMessage if rf, ok := ret.Get(1).(func(*elasticache.ListTagsForResourceInput) *elasticache.TagListMessage); ok { r1 = rf(_a0) } else { @@ -4415,6 +4853,10 @@ func (_m *MockFakeElastiCache) ListTagsForResourceWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ListTagsForResourceInput, ...request.Option) (*elasticache.TagListMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ListTagsForResourceInput, ...request.Option) *elasticache.TagListMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4423,7 +4865,6 @@ func (_m *MockFakeElastiCache) ListTagsForResourceWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4438,6 +4879,10 @@ func (_m *MockFakeElastiCache) ModifyCacheCluster(_a0 *elasticache.ModifyCacheCl ret := _m.Called(_a0) var r0 *elasticache.ModifyCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheClusterInput) (*elasticache.ModifyCacheClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheClusterInput) *elasticache.ModifyCacheClusterOutput); ok { r0 = rf(_a0) } else { @@ -4446,7 +4891,6 @@ func (_m *MockFakeElastiCache) ModifyCacheCluster(_a0 *elasticache.ModifyCacheCl } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheClusterInput) error); ok { r1 = rf(_a0) } else { @@ -4461,6 +4905,10 @@ func (_m *MockFakeElastiCache) ModifyCacheClusterRequest(_a0 *elasticache.Modify ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyCacheClusterOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheClusterInput) (*request.Request, *elasticache.ModifyCacheClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4469,7 +4917,6 @@ func (_m *MockFakeElastiCache) ModifyCacheClusterRequest(_a0 *elasticache.Modify } } - var r1 *elasticache.ModifyCacheClusterOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheClusterInput) *elasticache.ModifyCacheClusterOutput); ok { r1 = rf(_a0) } else { @@ -4493,6 +4940,10 @@ func (_m *MockFakeElastiCache) ModifyCacheClusterWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *elasticache.ModifyCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheClusterInput, ...request.Option) (*elasticache.ModifyCacheClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheClusterInput, ...request.Option) *elasticache.ModifyCacheClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4501,7 +4952,6 @@ func (_m *MockFakeElastiCache) ModifyCacheClusterWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyCacheClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4516,6 +4966,10 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroup(_a0 *elasticache.Modify ret := _m.Called(_a0) var r0 *elasticache.CacheParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheParameterGroupInput) (*elasticache.CacheParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheParameterGroupInput) *elasticache.CacheParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -4524,7 +4978,6 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroup(_a0 *elasticache.Modify } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4539,6 +4992,10 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroupRequest(_a0 *elasticache ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CacheParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheParameterGroupInput) (*request.Request, *elasticache.CacheParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4547,7 +5004,6 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroupRequest(_a0 *elasticache } } - var r1 *elasticache.CacheParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheParameterGroupInput) *elasticache.CacheParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -4571,6 +5027,10 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroupWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *elasticache.CacheParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheParameterGroupInput, ...request.Option) (*elasticache.CacheParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheParameterGroupInput, ...request.Option) *elasticache.CacheParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4579,7 +5039,6 @@ func (_m *MockFakeElastiCache) ModifyCacheParameterGroupWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyCacheParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4594,6 +5053,10 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroup(_a0 *elasticache.ModifyCac ret := _m.Called(_a0) var r0 *elasticache.ModifyCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheSubnetGroupInput) (*elasticache.ModifyCacheSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheSubnetGroupInput) *elasticache.ModifyCacheSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -4602,7 +5065,6 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroup(_a0 *elasticache.ModifyCac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4617,6 +5079,10 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroupRequest(_a0 *elasticache.Mo ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyCacheSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheSubnetGroupInput) (*request.Request, *elasticache.ModifyCacheSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyCacheSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4625,7 +5091,6 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroupRequest(_a0 *elasticache.Mo } } - var r1 *elasticache.ModifyCacheSubnetGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyCacheSubnetGroupInput) *elasticache.ModifyCacheSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -4649,6 +5114,10 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.ModifyCacheSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheSubnetGroupInput, ...request.Option) (*elasticache.ModifyCacheSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyCacheSubnetGroupInput, ...request.Option) *elasticache.ModifyCacheSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4657,7 +5126,6 @@ func (_m *MockFakeElastiCache) ModifyCacheSubnetGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyCacheSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4672,6 +5140,10 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroup(_a0 *elasticache.Mod ret := _m.Called(_a0) var r0 *elasticache.ModifyGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyGlobalReplicationGroupInput) (*elasticache.ModifyGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyGlobalReplicationGroupInput) *elasticache.ModifyGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -4680,7 +5152,6 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroup(_a0 *elasticache.Mod } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4695,6 +5166,10 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroupRequest(_a0 *elastica ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyGlobalReplicationGroupInput) (*request.Request, *elasticache.ModifyGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4703,7 +5178,6 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroupRequest(_a0 *elastica } } - var r1 *elasticache.ModifyGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyGlobalReplicationGroupInput) *elasticache.ModifyGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -4727,6 +5201,10 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroupWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *elasticache.ModifyGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyGlobalReplicationGroupInput, ...request.Option) (*elasticache.ModifyGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyGlobalReplicationGroupInput, ...request.Option) *elasticache.ModifyGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4735,7 +5213,6 @@ func (_m *MockFakeElastiCache) ModifyGlobalReplicationGroupWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4750,6 +5227,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroup(_a0 *elasticache.ModifyRep ret := _m.Called(_a0) var r0 *elasticache.ModifyReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupInput) (*elasticache.ModifyReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupInput) *elasticache.ModifyReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -4758,7 +5239,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroup(_a0 *elasticache.ModifyRep } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4773,6 +5253,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupRequest(_a0 *elasticache.Mo ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupInput) (*request.Request, *elasticache.ModifyReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4781,7 +5265,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupRequest(_a0 *elasticache.Mo } } - var r1 *elasticache.ModifyReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyReplicationGroupInput) *elasticache.ModifyReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -4798,6 +5281,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfiguration(_a0 *ela ret := _m.Called(_a0) var r0 *elasticache.ModifyReplicationGroupShardConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) (*elasticache.ModifyReplicationGroupShardConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) *elasticache.ModifyReplicationGroupShardConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -4806,7 +5293,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfiguration(_a0 *ela } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -4821,6 +5307,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfigurationRequest(_ ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyReplicationGroupShardConfigurationOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) (*request.Request, *elasticache.ModifyReplicationGroupShardConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4829,7 +5319,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfigurationRequest(_ } } - var r1 *elasticache.ModifyReplicationGroupShardConfigurationOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyReplicationGroupShardConfigurationInput) *elasticache.ModifyReplicationGroupShardConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -4853,6 +5342,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfigurationWithConte ret := _m.Called(_ca...) var r0 *elasticache.ModifyReplicationGroupShardConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyReplicationGroupShardConfigurationInput, ...request.Option) (*elasticache.ModifyReplicationGroupShardConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyReplicationGroupShardConfigurationInput, ...request.Option) *elasticache.ModifyReplicationGroupShardConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4861,7 +5354,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupShardConfigurationWithConte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyReplicationGroupShardConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4883,6 +5375,10 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.ModifyReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyReplicationGroupInput, ...request.Option) (*elasticache.ModifyReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyReplicationGroupInput, ...request.Option) *elasticache.ModifyReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4891,7 +5387,6 @@ func (_m *MockFakeElastiCache) ModifyReplicationGroupWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4906,6 +5401,10 @@ func (_m *MockFakeElastiCache) ModifyUser(_a0 *elasticache.ModifyUserInput) (*el ret := _m.Called(_a0) var r0 *elasticache.ModifyUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserInput) (*elasticache.ModifyUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserInput) *elasticache.ModifyUserOutput); ok { r0 = rf(_a0) } else { @@ -4914,7 +5413,6 @@ func (_m *MockFakeElastiCache) ModifyUser(_a0 *elasticache.ModifyUserInput) (*el } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyUserInput) error); ok { r1 = rf(_a0) } else { @@ -4929,6 +5427,10 @@ func (_m *MockFakeElastiCache) ModifyUserGroup(_a0 *elasticache.ModifyUserGroupI ret := _m.Called(_a0) var r0 *elasticache.ModifyUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserGroupInput) (*elasticache.ModifyUserGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserGroupInput) *elasticache.ModifyUserGroupOutput); ok { r0 = rf(_a0) } else { @@ -4937,7 +5439,6 @@ func (_m *MockFakeElastiCache) ModifyUserGroup(_a0 *elasticache.ModifyUserGroupI } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ModifyUserGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4952,6 +5453,10 @@ func (_m *MockFakeElastiCache) ModifyUserGroupRequest(_a0 *elasticache.ModifyUse ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyUserGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserGroupInput) (*request.Request, *elasticache.ModifyUserGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4960,7 +5465,6 @@ func (_m *MockFakeElastiCache) ModifyUserGroupRequest(_a0 *elasticache.ModifyUse } } - var r1 *elasticache.ModifyUserGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyUserGroupInput) *elasticache.ModifyUserGroupOutput); ok { r1 = rf(_a0) } else { @@ -4984,6 +5488,10 @@ func (_m *MockFakeElastiCache) ModifyUserGroupWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *elasticache.ModifyUserGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyUserGroupInput, ...request.Option) (*elasticache.ModifyUserGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyUserGroupInput, ...request.Option) *elasticache.ModifyUserGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4992,7 +5500,6 @@ func (_m *MockFakeElastiCache) ModifyUserGroupWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyUserGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5007,6 +5514,10 @@ func (_m *MockFakeElastiCache) ModifyUserRequest(_a0 *elasticache.ModifyUserInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.ModifyUserOutput + if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserInput) (*request.Request, *elasticache.ModifyUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ModifyUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5015,7 +5526,6 @@ func (_m *MockFakeElastiCache) ModifyUserRequest(_a0 *elasticache.ModifyUserInpu } } - var r1 *elasticache.ModifyUserOutput if rf, ok := ret.Get(1).(func(*elasticache.ModifyUserInput) *elasticache.ModifyUserOutput); ok { r1 = rf(_a0) } else { @@ -5039,6 +5549,10 @@ func (_m *MockFakeElastiCache) ModifyUserWithContext(_a0 context.Context, _a1 *e ret := _m.Called(_ca...) var r0 *elasticache.ModifyUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyUserInput, ...request.Option) (*elasticache.ModifyUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ModifyUserInput, ...request.Option) *elasticache.ModifyUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5047,7 +5561,6 @@ func (_m *MockFakeElastiCache) ModifyUserWithContext(_a0 context.Context, _a1 *e } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ModifyUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5062,6 +5575,10 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOffering(_a0 *elasticac ret := _m.Called(_a0) var r0 *elasticache.PurchaseReservedCacheNodesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) (*elasticache.PurchaseReservedCacheNodesOfferingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) *elasticache.PurchaseReservedCacheNodesOfferingOutput); ok { r0 = rf(_a0) } else { @@ -5070,7 +5587,6 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOffering(_a0 *elasticac } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) error); ok { r1 = rf(_a0) } else { @@ -5085,6 +5601,10 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOfferingRequest(_a0 *el ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.PurchaseReservedCacheNodesOfferingOutput + if rf, ok := ret.Get(0).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) (*request.Request, *elasticache.PurchaseReservedCacheNodesOfferingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5093,7 +5613,6 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOfferingRequest(_a0 *el } } - var r1 *elasticache.PurchaseReservedCacheNodesOfferingOutput if rf, ok := ret.Get(1).(func(*elasticache.PurchaseReservedCacheNodesOfferingInput) *elasticache.PurchaseReservedCacheNodesOfferingOutput); ok { r1 = rf(_a0) } else { @@ -5117,6 +5636,10 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOfferingWithContext(_a0 ret := _m.Called(_ca...) var r0 *elasticache.PurchaseReservedCacheNodesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.PurchaseReservedCacheNodesOfferingInput, ...request.Option) (*elasticache.PurchaseReservedCacheNodesOfferingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.PurchaseReservedCacheNodesOfferingInput, ...request.Option) *elasticache.PurchaseReservedCacheNodesOfferingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5125,7 +5648,6 @@ func (_m *MockFakeElastiCache) PurchaseReservedCacheNodesOfferingWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.PurchaseReservedCacheNodesOfferingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5140,6 +5662,10 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroup(_a0 *elast ret := _m.Called(_a0) var r0 *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) (*elasticache.RebalanceSlotsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0) } else { @@ -5148,7 +5674,6 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroup(_a0 *elast } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) error); ok { r1 = rf(_a0) } else { @@ -5163,6 +5688,10 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroupRequest(_a0 ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput + if rf, ok := ret.Get(0).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) (*request.Request, *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5171,7 +5700,6 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroupRequest(_a0 } } - var r1 *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput if rf, ok := ret.Get(1).(func(*elasticache.RebalanceSlotsInGlobalReplicationGroupInput) *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput); ok { r1 = rf(_a0) } else { @@ -5195,6 +5723,10 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroupWithContext ret := _m.Called(_ca...) var r0 *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RebalanceSlotsInGlobalReplicationGroupInput, ...request.Option) (*elasticache.RebalanceSlotsInGlobalReplicationGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RebalanceSlotsInGlobalReplicationGroupInput, ...request.Option) *elasticache.RebalanceSlotsInGlobalReplicationGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5203,7 +5735,6 @@ func (_m *MockFakeElastiCache) RebalanceSlotsInGlobalReplicationGroupWithContext } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.RebalanceSlotsInGlobalReplicationGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5218,6 +5749,10 @@ func (_m *MockFakeElastiCache) RebootCacheCluster(_a0 *elasticache.RebootCacheCl ret := _m.Called(_a0) var r0 *elasticache.RebootCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.RebootCacheClusterInput) (*elasticache.RebootCacheClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RebootCacheClusterInput) *elasticache.RebootCacheClusterOutput); ok { r0 = rf(_a0) } else { @@ -5226,7 +5761,6 @@ func (_m *MockFakeElastiCache) RebootCacheCluster(_a0 *elasticache.RebootCacheCl } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.RebootCacheClusterInput) error); ok { r1 = rf(_a0) } else { @@ -5241,6 +5775,10 @@ func (_m *MockFakeElastiCache) RebootCacheClusterRequest(_a0 *elasticache.Reboot ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.RebootCacheClusterOutput + if rf, ok := ret.Get(0).(func(*elasticache.RebootCacheClusterInput) (*request.Request, *elasticache.RebootCacheClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RebootCacheClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5249,7 +5787,6 @@ func (_m *MockFakeElastiCache) RebootCacheClusterRequest(_a0 *elasticache.Reboot } } - var r1 *elasticache.RebootCacheClusterOutput if rf, ok := ret.Get(1).(func(*elasticache.RebootCacheClusterInput) *elasticache.RebootCacheClusterOutput); ok { r1 = rf(_a0) } else { @@ -5273,6 +5810,10 @@ func (_m *MockFakeElastiCache) RebootCacheClusterWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *elasticache.RebootCacheClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RebootCacheClusterInput, ...request.Option) (*elasticache.RebootCacheClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RebootCacheClusterInput, ...request.Option) *elasticache.RebootCacheClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5281,7 +5822,6 @@ func (_m *MockFakeElastiCache) RebootCacheClusterWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.RebootCacheClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5296,6 +5836,10 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResource(_a0 *elasticache.RemoveTag ret := _m.Called(_a0) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.RemoveTagsFromResourceInput) (*elasticache.TagListMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RemoveTagsFromResourceInput) *elasticache.TagListMessage); ok { r0 = rf(_a0) } else { @@ -5304,7 +5848,6 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResource(_a0 *elasticache.RemoveTag } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.RemoveTagsFromResourceInput) error); ok { r1 = rf(_a0) } else { @@ -5319,6 +5862,10 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResourceRequest(_a0 *elasticache.Re ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.TagListMessage + if rf, ok := ret.Get(0).(func(*elasticache.RemoveTagsFromResourceInput) (*request.Request, *elasticache.TagListMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RemoveTagsFromResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5327,7 +5874,6 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResourceRequest(_a0 *elasticache.Re } } - var r1 *elasticache.TagListMessage if rf, ok := ret.Get(1).(func(*elasticache.RemoveTagsFromResourceInput) *elasticache.TagListMessage); ok { r1 = rf(_a0) } else { @@ -5351,6 +5897,10 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResourceWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *elasticache.TagListMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RemoveTagsFromResourceInput, ...request.Option) (*elasticache.TagListMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RemoveTagsFromResourceInput, ...request.Option) *elasticache.TagListMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5359,7 +5909,6 @@ func (_m *MockFakeElastiCache) RemoveTagsFromResourceWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.RemoveTagsFromResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5374,6 +5923,10 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroup(_a0 *elasticache.ResetCa ret := _m.Called(_a0) var r0 *elasticache.CacheParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.ResetCacheParameterGroupInput) (*elasticache.CacheParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ResetCacheParameterGroupInput) *elasticache.CacheParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -5382,7 +5935,6 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroup(_a0 *elasticache.ResetCa } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.ResetCacheParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -5397,6 +5949,10 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroupRequest(_a0 *elasticache. ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.CacheParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*elasticache.ResetCacheParameterGroupInput) (*request.Request, *elasticache.CacheParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.ResetCacheParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5405,7 +5961,6 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroupRequest(_a0 *elasticache. } } - var r1 *elasticache.CacheParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*elasticache.ResetCacheParameterGroupInput) *elasticache.CacheParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -5429,6 +5984,10 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroupWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *elasticache.CacheParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ResetCacheParameterGroupInput, ...request.Option) (*elasticache.CacheParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.ResetCacheParameterGroupInput, ...request.Option) *elasticache.CacheParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5437,7 +5996,6 @@ func (_m *MockFakeElastiCache) ResetCacheParameterGroupWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.ResetCacheParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5452,6 +6010,10 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngress(_a0 *elasticache. ret := _m.Called(_a0) var r0 *elasticache.RevokeCacheSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) (*elasticache.RevokeCacheSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) *elasticache.RevokeCacheSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -5460,7 +6022,6 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngress(_a0 *elasticache. } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -5475,6 +6036,10 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngressRequest(_a0 *elast ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.RevokeCacheSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) (*request.Request, *elasticache.RevokeCacheSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5483,7 +6048,6 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngressRequest(_a0 *elast } } - var r1 *elasticache.RevokeCacheSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*elasticache.RevokeCacheSecurityGroupIngressInput) *elasticache.RevokeCacheSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -5507,6 +6071,10 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngressWithContext(_a0 co ret := _m.Called(_ca...) var r0 *elasticache.RevokeCacheSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RevokeCacheSecurityGroupIngressInput, ...request.Option) (*elasticache.RevokeCacheSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.RevokeCacheSecurityGroupIngressInput, ...request.Option) *elasticache.RevokeCacheSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5515,7 +6083,6 @@ func (_m *MockFakeElastiCache) RevokeCacheSecurityGroupIngressWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.RevokeCacheSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5530,6 +6097,10 @@ func (_m *MockFakeElastiCache) StartMigration(_a0 *elasticache.StartMigrationInp ret := _m.Called(_a0) var r0 *elasticache.StartMigrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.StartMigrationInput) (*elasticache.StartMigrationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.StartMigrationInput) *elasticache.StartMigrationOutput); ok { r0 = rf(_a0) } else { @@ -5538,7 +6109,6 @@ func (_m *MockFakeElastiCache) StartMigration(_a0 *elasticache.StartMigrationInp } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.StartMigrationInput) error); ok { r1 = rf(_a0) } else { @@ -5553,6 +6123,10 @@ func (_m *MockFakeElastiCache) StartMigrationRequest(_a0 *elasticache.StartMigra ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.StartMigrationOutput + if rf, ok := ret.Get(0).(func(*elasticache.StartMigrationInput) (*request.Request, *elasticache.StartMigrationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.StartMigrationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5561,7 +6135,6 @@ func (_m *MockFakeElastiCache) StartMigrationRequest(_a0 *elasticache.StartMigra } } - var r1 *elasticache.StartMigrationOutput if rf, ok := ret.Get(1).(func(*elasticache.StartMigrationInput) *elasticache.StartMigrationOutput); ok { r1 = rf(_a0) } else { @@ -5585,6 +6158,10 @@ func (_m *MockFakeElastiCache) StartMigrationWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *elasticache.StartMigrationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.StartMigrationInput, ...request.Option) (*elasticache.StartMigrationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.StartMigrationInput, ...request.Option) *elasticache.StartMigrationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5593,7 +6170,6 @@ func (_m *MockFakeElastiCache) StartMigrationWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.StartMigrationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5608,6 +6184,10 @@ func (_m *MockFakeElastiCache) TestFailover(_a0 *elasticache.TestFailoverInput) ret := _m.Called(_a0) var r0 *elasticache.TestFailoverOutput + var r1 error + if rf, ok := ret.Get(0).(func(*elasticache.TestFailoverInput) (*elasticache.TestFailoverOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.TestFailoverInput) *elasticache.TestFailoverOutput); ok { r0 = rf(_a0) } else { @@ -5616,7 +6196,6 @@ func (_m *MockFakeElastiCache) TestFailover(_a0 *elasticache.TestFailoverInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*elasticache.TestFailoverInput) error); ok { r1 = rf(_a0) } else { @@ -5631,6 +6210,10 @@ func (_m *MockFakeElastiCache) TestFailoverRequest(_a0 *elasticache.TestFailover ret := _m.Called(_a0) var r0 *request.Request + var r1 *elasticache.TestFailoverOutput + if rf, ok := ret.Get(0).(func(*elasticache.TestFailoverInput) (*request.Request, *elasticache.TestFailoverOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*elasticache.TestFailoverInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5639,7 +6222,6 @@ func (_m *MockFakeElastiCache) TestFailoverRequest(_a0 *elasticache.TestFailover } } - var r1 *elasticache.TestFailoverOutput if rf, ok := ret.Get(1).(func(*elasticache.TestFailoverInput) *elasticache.TestFailoverOutput); ok { r1 = rf(_a0) } else { @@ -5663,6 +6245,10 @@ func (_m *MockFakeElastiCache) TestFailoverWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *elasticache.TestFailoverOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *elasticache.TestFailoverInput, ...request.Option) (*elasticache.TestFailoverOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *elasticache.TestFailoverInput, ...request.Option) *elasticache.TestFailoverOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5671,7 +6257,6 @@ func (_m *MockFakeElastiCache) TestFailoverWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *elasticache.TestFailoverInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5820,3 +6405,18 @@ func (_m *MockFakeElastiCache) WaitUntilReplicationGroupDeletedWithContext(_a0 c return r0 } + +type mockConstructorTestingTNewMockFakeElastiCache interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeElastiCache creates a new instance of MockFakeElastiCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeElastiCache(t mockConstructorTestingTNewMockFakeElastiCache) *MockFakeElastiCache { + mock := &MockFakeElastiCache{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeIAM.go b/test/aws/mock_FakeIAM.go index 40cd2d5d4..0aa6be44e 100644 --- a/test/aws/mock_FakeIAM.go +++ b/test/aws/mock_FakeIAM.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProvider(_a0 *iam.AddClientIDTo ret := _m.Called(_a0) var r0 *iam.AddClientIDToOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AddClientIDToOpenIDConnectProviderInput) (*iam.AddClientIDToOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddClientIDToOpenIDConnectProviderInput) *iam.AddClientIDToOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProvider(_a0 *iam.AddClientIDTo } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AddClientIDToOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProviderRequest(_a0 *iam.AddCli ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AddClientIDToOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.AddClientIDToOpenIDConnectProviderInput) (*request.Request, *iam.AddClientIDToOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddClientIDToOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProviderRequest(_a0 *iam.AddCli } } - var r1 *iam.AddClientIDToOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.AddClientIDToOpenIDConnectProviderInput) *iam.AddClientIDToOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProviderWithContext(_a0 context ret := _m.Called(_ca...) var r0 *iam.AddClientIDToOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AddClientIDToOpenIDConnectProviderInput, ...request.Option) (*iam.AddClientIDToOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AddClientIDToOpenIDConnectProviderInput, ...request.Option) *iam.AddClientIDToOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeIAM) AddClientIDToOpenIDConnectProviderWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AddClientIDToOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfile(_a0 *iam.AddRoleToInstanceProfil ret := _m.Called(_a0) var r0 *iam.AddRoleToInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AddRoleToInstanceProfileInput) (*iam.AddRoleToInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddRoleToInstanceProfileInput) *iam.AddRoleToInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfile(_a0 *iam.AddRoleToInstanceProfil } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AddRoleToInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfileRequest(_a0 *iam.AddRoleToInstanc ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AddRoleToInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.AddRoleToInstanceProfileInput) (*request.Request, *iam.AddRoleToInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddRoleToInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfileRequest(_a0 *iam.AddRoleToInstanc } } - var r1 *iam.AddRoleToInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.AddRoleToInstanceProfileInput) *iam.AddRoleToInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfileWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.AddRoleToInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AddRoleToInstanceProfileInput, ...request.Option) (*iam.AddRoleToInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AddRoleToInstanceProfileInput, ...request.Option) *iam.AddRoleToInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeIAM) AddRoleToInstanceProfileWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AddRoleToInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeIAM) AddUserToGroup(_a0 *iam.AddUserToGroupInput) (*iam.AddUse ret := _m.Called(_a0) var r0 *iam.AddUserToGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AddUserToGroupInput) (*iam.AddUserToGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddUserToGroupInput) *iam.AddUserToGroupOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeIAM) AddUserToGroup(_a0 *iam.AddUserToGroupInput) (*iam.AddUse } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AddUserToGroupInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeIAM) AddUserToGroupRequest(_a0 *iam.AddUserToGroupInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AddUserToGroupOutput + if rf, ok := ret.Get(0).(func(*iam.AddUserToGroupInput) (*request.Request, *iam.AddUserToGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AddUserToGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeIAM) AddUserToGroupRequest(_a0 *iam.AddUserToGroupInput) (*req } } - var r1 *iam.AddUserToGroupOutput if rf, ok := ret.Get(1).(func(*iam.AddUserToGroupInput) *iam.AddUserToGroupOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeIAM) AddUserToGroupWithContext(_a0 context.Context, _a1 *iam.A ret := _m.Called(_ca...) var r0 *iam.AddUserToGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AddUserToGroupInput, ...request.Option) (*iam.AddUserToGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AddUserToGroupInput, ...request.Option) *iam.AddUserToGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeIAM) AddUserToGroupWithContext(_a0 context.Context, _a1 *iam.A } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AddUserToGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeIAM) AttachGroupPolicy(_a0 *iam.AttachGroupPolicyInput) (*iam. ret := _m.Called(_a0) var r0 *iam.AttachGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AttachGroupPolicyInput) (*iam.AttachGroupPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachGroupPolicyInput) *iam.AttachGroupPolicyOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeIAM) AttachGroupPolicy(_a0 *iam.AttachGroupPolicyInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AttachGroupPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeIAM) AttachGroupPolicyRequest(_a0 *iam.AttachGroupPolicyInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AttachGroupPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.AttachGroupPolicyInput) (*request.Request, *iam.AttachGroupPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachGroupPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeIAM) AttachGroupPolicyRequest(_a0 *iam.AttachGroupPolicyInput) } } - var r1 *iam.AttachGroupPolicyOutput if rf, ok := ret.Get(1).(func(*iam.AttachGroupPolicyInput) *iam.AttachGroupPolicyOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeIAM) AttachGroupPolicyWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.AttachGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachGroupPolicyInput, ...request.Option) (*iam.AttachGroupPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachGroupPolicyInput, ...request.Option) *iam.AttachGroupPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeIAM) AttachGroupPolicyWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AttachGroupPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeIAM) AttachRolePolicy(_a0 *iam.AttachRolePolicyInput) (*iam.At ret := _m.Called(_a0) var r0 *iam.AttachRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachRolePolicyInput) *iam.AttachRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeIAM) AttachRolePolicy(_a0 *iam.AttachRolePolicyInput) (*iam.At } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AttachRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeIAM) AttachRolePolicyRequest(_a0 *iam.AttachRolePolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AttachRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.AttachRolePolicyInput) (*request.Request, *iam.AttachRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeIAM) AttachRolePolicyRequest(_a0 *iam.AttachRolePolicyInput) ( } } - var r1 *iam.AttachRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.AttachRolePolicyInput) *iam.AttachRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeIAM) AttachRolePolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.AttachRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachRolePolicyInput, ...request.Option) (*iam.AttachRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachRolePolicyInput, ...request.Option) *iam.AttachRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeIAM) AttachRolePolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AttachRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeIAM) AttachUserPolicy(_a0 *iam.AttachUserPolicyInput) (*iam.At ret := _m.Called(_a0) var r0 *iam.AttachUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachUserPolicyInput) *iam.AttachUserPolicyOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeIAM) AttachUserPolicy(_a0 *iam.AttachUserPolicyInput) (*iam.At } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.AttachUserPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeIAM) AttachUserPolicyRequest(_a0 *iam.AttachUserPolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.AttachUserPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.AttachUserPolicyInput) (*request.Request, *iam.AttachUserPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.AttachUserPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeIAM) AttachUserPolicyRequest(_a0 *iam.AttachUserPolicyInput) ( } } - var r1 *iam.AttachUserPolicyOutput if rf, ok := ret.Get(1).(func(*iam.AttachUserPolicyInput) *iam.AttachUserPolicyOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeIAM) AttachUserPolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.AttachUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachUserPolicyInput, ...request.Option) (*iam.AttachUserPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachUserPolicyInput, ...request.Option) *iam.AttachUserPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeIAM) AttachUserPolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.AttachUserPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeIAM) ChangePassword(_a0 *iam.ChangePasswordInput) (*iam.Change ret := _m.Called(_a0) var r0 *iam.ChangePasswordOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ChangePasswordInput) (*iam.ChangePasswordOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ChangePasswordInput) *iam.ChangePasswordOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeIAM) ChangePassword(_a0 *iam.ChangePasswordInput) (*iam.Change } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ChangePasswordInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeIAM) ChangePasswordRequest(_a0 *iam.ChangePasswordInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ChangePasswordOutput + if rf, ok := ret.Get(0).(func(*iam.ChangePasswordInput) (*request.Request, *iam.ChangePasswordOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ChangePasswordInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeIAM) ChangePasswordRequest(_a0 *iam.ChangePasswordInput) (*req } } - var r1 *iam.ChangePasswordOutput if rf, ok := ret.Get(1).(func(*iam.ChangePasswordInput) *iam.ChangePasswordOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeIAM) ChangePasswordWithContext(_a0 context.Context, _a1 *iam.C ret := _m.Called(_ca...) var r0 *iam.ChangePasswordOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ChangePasswordInput, ...request.Option) (*iam.ChangePasswordOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ChangePasswordInput, ...request.Option) *iam.ChangePasswordOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeIAM) ChangePasswordWithContext(_a0 context.Context, _a1 *iam.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ChangePasswordInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeIAM) CreateAccessKey(_a0 *iam.CreateAccessKeyInput) (*iam.Crea ret := _m.Called(_a0) var r0 *iam.CreateAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateAccessKeyInput) *iam.CreateAccessKeyOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeIAM) CreateAccessKey(_a0 *iam.CreateAccessKeyInput) (*iam.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateAccessKeyInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeIAM) CreateAccessKeyRequest(_a0 *iam.CreateAccessKeyInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateAccessKeyOutput + if rf, ok := ret.Get(0).(func(*iam.CreateAccessKeyInput) (*request.Request, *iam.CreateAccessKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateAccessKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeIAM) CreateAccessKeyRequest(_a0 *iam.CreateAccessKeyInput) (*r } } - var r1 *iam.CreateAccessKeyOutput if rf, ok := ret.Get(1).(func(*iam.CreateAccessKeyInput) *iam.CreateAccessKeyOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeIAM) CreateAccessKeyWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.CreateAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccessKeyInput, ...request.Option) (*iam.CreateAccessKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccessKeyInput, ...request.Option) *iam.CreateAccessKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeIAM) CreateAccessKeyWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateAccessKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeIAM) CreateAccountAlias(_a0 *iam.CreateAccountAliasInput) (*ia ret := _m.Called(_a0) var r0 *iam.CreateAccountAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateAccountAliasInput) (*iam.CreateAccountAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateAccountAliasInput) *iam.CreateAccountAliasOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeIAM) CreateAccountAlias(_a0 *iam.CreateAccountAliasInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateAccountAliasInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeIAM) CreateAccountAliasRequest(_a0 *iam.CreateAccountAliasInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateAccountAliasOutput + if rf, ok := ret.Get(0).(func(*iam.CreateAccountAliasInput) (*request.Request, *iam.CreateAccountAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateAccountAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeIAM) CreateAccountAliasRequest(_a0 *iam.CreateAccountAliasInpu } } - var r1 *iam.CreateAccountAliasOutput if rf, ok := ret.Get(1).(func(*iam.CreateAccountAliasInput) *iam.CreateAccountAliasOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeIAM) CreateAccountAliasWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.CreateAccountAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccountAliasInput, ...request.Option) (*iam.CreateAccountAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccountAliasInput, ...request.Option) *iam.CreateAccountAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeIAM) CreateAccountAliasWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateAccountAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeIAM) CreateGroup(_a0 *iam.CreateGroupInput) (*iam.CreateGroupO ret := _m.Called(_a0) var r0 *iam.CreateGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateGroupInput) (*iam.CreateGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateGroupInput) *iam.CreateGroupOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeIAM) CreateGroup(_a0 *iam.CreateGroupInput) (*iam.CreateGroupO } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateGroupInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeIAM) CreateGroupRequest(_a0 *iam.CreateGroupInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateGroupOutput + if rf, ok := ret.Get(0).(func(*iam.CreateGroupInput) (*request.Request, *iam.CreateGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeIAM) CreateGroupRequest(_a0 *iam.CreateGroupInput) (*request.R } } - var r1 *iam.CreateGroupOutput if rf, ok := ret.Get(1).(func(*iam.CreateGroupInput) *iam.CreateGroupOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeIAM) CreateGroupWithContext(_a0 context.Context, _a1 *iam.Crea ret := _m.Called(_ca...) var r0 *iam.CreateGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateGroupInput, ...request.Option) (*iam.CreateGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateGroupInput, ...request.Option) *iam.CreateGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeIAM) CreateGroupWithContext(_a0 context.Context, _a1 *iam.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeIAM) CreateInstanceProfile(_a0 *iam.CreateInstanceProfileInput ret := _m.Called(_a0) var r0 *iam.CreateInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateInstanceProfileInput) (*iam.CreateInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateInstanceProfileInput) *iam.CreateInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeIAM) CreateInstanceProfile(_a0 *iam.CreateInstanceProfileInput } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeIAM) CreateInstanceProfileRequest(_a0 *iam.CreateInstanceProfi ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.CreateInstanceProfileInput) (*request.Request, *iam.CreateInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeIAM) CreateInstanceProfileRequest(_a0 *iam.CreateInstanceProfi } } - var r1 *iam.CreateInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.CreateInstanceProfileInput) *iam.CreateInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +952,10 @@ func (_m *MockFakeIAM) CreateInstanceProfileWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.CreateInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateInstanceProfileInput, ...request.Option) (*iam.CreateInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateInstanceProfileInput, ...request.Option) *iam.CreateInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +964,6 @@ func (_m *MockFakeIAM) CreateInstanceProfileWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeIAM) CreateLoginProfile(_a0 *iam.CreateLoginProfileInput) (*ia ret := _m.Called(_a0) var r0 *iam.CreateLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateLoginProfileInput) (*iam.CreateLoginProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateLoginProfileInput) *iam.CreateLoginProfileOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeIAM) CreateLoginProfile(_a0 *iam.CreateLoginProfileInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateLoginProfileInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeIAM) CreateLoginProfileRequest(_a0 *iam.CreateLoginProfileInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateLoginProfileOutput + if rf, ok := ret.Get(0).(func(*iam.CreateLoginProfileInput) (*request.Request, *iam.CreateLoginProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateLoginProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeIAM) CreateLoginProfileRequest(_a0 *iam.CreateLoginProfileInpu } } - var r1 *iam.CreateLoginProfileOutput if rf, ok := ret.Get(1).(func(*iam.CreateLoginProfileInput) *iam.CreateLoginProfileOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1039,10 @@ func (_m *MockFakeIAM) CreateLoginProfileWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.CreateLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateLoginProfileInput, ...request.Option) (*iam.CreateLoginProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateLoginProfileInput, ...request.Option) *iam.CreateLoginProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1051,6 @@ func (_m *MockFakeIAM) CreateLoginProfileWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateLoginProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProvider(_a0 *iam.CreateOpenIDConnectP ret := _m.Called(_a0) var r0 *iam.CreateOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateOpenIDConnectProviderInput) (*iam.CreateOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateOpenIDConnectProviderInput) *iam.CreateOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProvider(_a0 *iam.CreateOpenIDConnectP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProviderRequest(_a0 *iam.CreateOpenIDC ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.CreateOpenIDConnectProviderInput) (*request.Request, *iam.CreateOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProviderRequest(_a0 *iam.CreateOpenIDC } } - var r1 *iam.CreateOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.CreateOpenIDConnectProviderInput) *iam.CreateOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1126,10 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProviderWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *iam.CreateOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateOpenIDConnectProviderInput, ...request.Option) (*iam.CreateOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateOpenIDConnectProviderInput, ...request.Option) *iam.CreateOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1138,6 @@ func (_m *MockFakeIAM) CreateOpenIDConnectProviderWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1152,10 @@ func (_m *MockFakeIAM) CreatePolicy(_a0 *iam.CreatePolicyInput) (*iam.CreatePoli ret := _m.Called(_a0) var r0 *iam.CreatePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreatePolicyInput) *iam.CreatePolicyOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1164,6 @@ func (_m *MockFakeIAM) CreatePolicy(_a0 *iam.CreatePolicyInput) (*iam.CreatePoli } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreatePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1178,10 @@ func (_m *MockFakeIAM) CreatePolicyRequest(_a0 *iam.CreatePolicyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreatePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.CreatePolicyInput) (*request.Request, *iam.CreatePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreatePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1190,6 @@ func (_m *MockFakeIAM) CreatePolicyRequest(_a0 *iam.CreatePolicyInput) (*request } } - var r1 *iam.CreatePolicyOutput if rf, ok := ret.Get(1).(func(*iam.CreatePolicyInput) *iam.CreatePolicyOutput); ok { r1 = rf(_a0) } else { @@ -1083,6 +1206,10 @@ func (_m *MockFakeIAM) CreatePolicyVersion(_a0 *iam.CreatePolicyVersionInput) (* ret := _m.Called(_a0) var r0 *iam.CreatePolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreatePolicyVersionInput) (*iam.CreatePolicyVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreatePolicyVersionInput) *iam.CreatePolicyVersionOutput); ok { r0 = rf(_a0) } else { @@ -1091,7 +1218,6 @@ func (_m *MockFakeIAM) CreatePolicyVersion(_a0 *iam.CreatePolicyVersionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreatePolicyVersionInput) error); ok { r1 = rf(_a0) } else { @@ -1106,6 +1232,10 @@ func (_m *MockFakeIAM) CreatePolicyVersionRequest(_a0 *iam.CreatePolicyVersionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreatePolicyVersionOutput + if rf, ok := ret.Get(0).(func(*iam.CreatePolicyVersionInput) (*request.Request, *iam.CreatePolicyVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreatePolicyVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1114,7 +1244,6 @@ func (_m *MockFakeIAM) CreatePolicyVersionRequest(_a0 *iam.CreatePolicyVersionIn } } - var r1 *iam.CreatePolicyVersionOutput if rf, ok := ret.Get(1).(func(*iam.CreatePolicyVersionInput) *iam.CreatePolicyVersionOutput); ok { r1 = rf(_a0) } else { @@ -1138,6 +1267,10 @@ func (_m *MockFakeIAM) CreatePolicyVersionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *iam.CreatePolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyVersionInput, ...request.Option) (*iam.CreatePolicyVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyVersionInput, ...request.Option) *iam.CreatePolicyVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1146,7 +1279,6 @@ func (_m *MockFakeIAM) CreatePolicyVersionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreatePolicyVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1168,6 +1300,10 @@ func (_m *MockFakeIAM) CreatePolicyWithContext(_a0 context.Context, _a1 *iam.Cre ret := _m.Called(_ca...) var r0 *iam.CreatePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyInput, ...request.Option) (*iam.CreatePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyInput, ...request.Option) *iam.CreatePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1312,6 @@ func (_m *MockFakeIAM) CreatePolicyWithContext(_a0 context.Context, _a1 *iam.Cre } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreatePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1326,10 @@ func (_m *MockFakeIAM) CreateRole(_a0 *iam.CreateRoleInput) (*iam.CreateRoleOutp ret := _m.Called(_a0) var r0 *iam.CreateRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateRoleInput) (*iam.CreateRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateRoleInput) *iam.CreateRoleOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1338,6 @@ func (_m *MockFakeIAM) CreateRole(_a0 *iam.CreateRoleInput) (*iam.CreateRoleOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateRoleInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1352,10 @@ func (_m *MockFakeIAM) CreateRoleRequest(_a0 *iam.CreateRoleInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateRoleOutput + if rf, ok := ret.Get(0).(func(*iam.CreateRoleInput) (*request.Request, *iam.CreateRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1364,6 @@ func (_m *MockFakeIAM) CreateRoleRequest(_a0 *iam.CreateRoleInput) (*request.Req } } - var r1 *iam.CreateRoleOutput if rf, ok := ret.Get(1).(func(*iam.CreateRoleInput) *iam.CreateRoleOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1387,10 @@ func (_m *MockFakeIAM) CreateRoleWithContext(_a0 context.Context, _a1 *iam.Creat ret := _m.Called(_ca...) var r0 *iam.CreateRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateRoleInput, ...request.Option) (*iam.CreateRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateRoleInput, ...request.Option) *iam.CreateRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1399,6 @@ func (_m *MockFakeIAM) CreateRoleWithContext(_a0 context.Context, _a1 *iam.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1413,10 @@ func (_m *MockFakeIAM) CreateSAMLProvider(_a0 *iam.CreateSAMLProviderInput) (*ia ret := _m.Called(_a0) var r0 *iam.CreateSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateSAMLProviderInput) (*iam.CreateSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateSAMLProviderInput) *iam.CreateSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1425,6 @@ func (_m *MockFakeIAM) CreateSAMLProvider(_a0 *iam.CreateSAMLProviderInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1439,10 @@ func (_m *MockFakeIAM) CreateSAMLProviderRequest(_a0 *iam.CreateSAMLProviderInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.CreateSAMLProviderInput) (*request.Request, *iam.CreateSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1451,6 @@ func (_m *MockFakeIAM) CreateSAMLProviderRequest(_a0 *iam.CreateSAMLProviderInpu } } - var r1 *iam.CreateSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.CreateSAMLProviderInput) *iam.CreateSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1474,10 @@ func (_m *MockFakeIAM) CreateSAMLProviderWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.CreateSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateSAMLProviderInput, ...request.Option) (*iam.CreateSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateSAMLProviderInput, ...request.Option) *iam.CreateSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1486,6 @@ func (_m *MockFakeIAM) CreateSAMLProviderWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1500,10 @@ func (_m *MockFakeIAM) CreateServiceLinkedRole(_a0 *iam.CreateServiceLinkedRoleI ret := _m.Called(_a0) var r0 *iam.CreateServiceLinkedRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateServiceLinkedRoleInput) (*iam.CreateServiceLinkedRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateServiceLinkedRoleInput) *iam.CreateServiceLinkedRoleOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1512,6 @@ func (_m *MockFakeIAM) CreateServiceLinkedRole(_a0 *iam.CreateServiceLinkedRoleI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateServiceLinkedRoleInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1526,10 @@ func (_m *MockFakeIAM) CreateServiceLinkedRoleRequest(_a0 *iam.CreateServiceLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateServiceLinkedRoleOutput + if rf, ok := ret.Get(0).(func(*iam.CreateServiceLinkedRoleInput) (*request.Request, *iam.CreateServiceLinkedRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateServiceLinkedRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1538,6 @@ func (_m *MockFakeIAM) CreateServiceLinkedRoleRequest(_a0 *iam.CreateServiceLink } } - var r1 *iam.CreateServiceLinkedRoleOutput if rf, ok := ret.Get(1).(func(*iam.CreateServiceLinkedRoleInput) *iam.CreateServiceLinkedRoleOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1561,10 @@ func (_m *MockFakeIAM) CreateServiceLinkedRoleWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.CreateServiceLinkedRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceLinkedRoleInput, ...request.Option) (*iam.CreateServiceLinkedRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceLinkedRoleInput, ...request.Option) *iam.CreateServiceLinkedRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1573,6 @@ func (_m *MockFakeIAM) CreateServiceLinkedRoleWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateServiceLinkedRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1587,10 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredential(_a0 *iam.CreateServiceSpe ret := _m.Called(_a0) var r0 *iam.CreateServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateServiceSpecificCredentialInput) (*iam.CreateServiceSpecificCredentialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateServiceSpecificCredentialInput) *iam.CreateServiceSpecificCredentialOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1599,6 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredential(_a0 *iam.CreateServiceSpe } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateServiceSpecificCredentialInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1613,10 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredentialRequest(_a0 *iam.CreateSer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateServiceSpecificCredentialOutput + if rf, ok := ret.Get(0).(func(*iam.CreateServiceSpecificCredentialInput) (*request.Request, *iam.CreateServiceSpecificCredentialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateServiceSpecificCredentialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1625,6 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredentialRequest(_a0 *iam.CreateSer } } - var r1 *iam.CreateServiceSpecificCredentialOutput if rf, ok := ret.Get(1).(func(*iam.CreateServiceSpecificCredentialInput) *iam.CreateServiceSpecificCredentialOutput); ok { r1 = rf(_a0) } else { @@ -1480,6 +1648,10 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredentialWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *iam.CreateServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceSpecificCredentialInput, ...request.Option) (*iam.CreateServiceSpecificCredentialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceSpecificCredentialInput, ...request.Option) *iam.CreateServiceSpecificCredentialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1488,7 +1660,6 @@ func (_m *MockFakeIAM) CreateServiceSpecificCredentialWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateServiceSpecificCredentialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1503,6 +1674,10 @@ func (_m *MockFakeIAM) CreateUser(_a0 *iam.CreateUserInput) (*iam.CreateUserOutp ret := _m.Called(_a0) var r0 *iam.CreateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateUserInput) (*iam.CreateUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateUserInput) *iam.CreateUserOutput); ok { r0 = rf(_a0) } else { @@ -1511,7 +1686,6 @@ func (_m *MockFakeIAM) CreateUser(_a0 *iam.CreateUserInput) (*iam.CreateUserOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateUserInput) error); ok { r1 = rf(_a0) } else { @@ -1526,6 +1700,10 @@ func (_m *MockFakeIAM) CreateUserRequest(_a0 *iam.CreateUserInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateUserOutput + if rf, ok := ret.Get(0).(func(*iam.CreateUserInput) (*request.Request, *iam.CreateUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1534,7 +1712,6 @@ func (_m *MockFakeIAM) CreateUserRequest(_a0 *iam.CreateUserInput) (*request.Req } } - var r1 *iam.CreateUserOutput if rf, ok := ret.Get(1).(func(*iam.CreateUserInput) *iam.CreateUserOutput); ok { r1 = rf(_a0) } else { @@ -1558,6 +1735,10 @@ func (_m *MockFakeIAM) CreateUserWithContext(_a0 context.Context, _a1 *iam.Creat ret := _m.Called(_ca...) var r0 *iam.CreateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateUserInput, ...request.Option) (*iam.CreateUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateUserInput, ...request.Option) *iam.CreateUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1566,7 +1747,6 @@ func (_m *MockFakeIAM) CreateUserWithContext(_a0 context.Context, _a1 *iam.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1581,6 +1761,10 @@ func (_m *MockFakeIAM) CreateVirtualMFADevice(_a0 *iam.CreateVirtualMFADeviceInp ret := _m.Called(_a0) var r0 *iam.CreateVirtualMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.CreateVirtualMFADeviceInput) (*iam.CreateVirtualMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateVirtualMFADeviceInput) *iam.CreateVirtualMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -1589,7 +1773,6 @@ func (_m *MockFakeIAM) CreateVirtualMFADevice(_a0 *iam.CreateVirtualMFADeviceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.CreateVirtualMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -1604,6 +1787,10 @@ func (_m *MockFakeIAM) CreateVirtualMFADeviceRequest(_a0 *iam.CreateVirtualMFADe ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.CreateVirtualMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.CreateVirtualMFADeviceInput) (*request.Request, *iam.CreateVirtualMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.CreateVirtualMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +1799,6 @@ func (_m *MockFakeIAM) CreateVirtualMFADeviceRequest(_a0 *iam.CreateVirtualMFADe } } - var r1 *iam.CreateVirtualMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.CreateVirtualMFADeviceInput) *iam.CreateVirtualMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +1822,10 @@ func (_m *MockFakeIAM) CreateVirtualMFADeviceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *iam.CreateVirtualMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateVirtualMFADeviceInput, ...request.Option) (*iam.CreateVirtualMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateVirtualMFADeviceInput, ...request.Option) *iam.CreateVirtualMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +1834,6 @@ func (_m *MockFakeIAM) CreateVirtualMFADeviceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.CreateVirtualMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +1848,10 @@ func (_m *MockFakeIAM) DeactivateMFADevice(_a0 *iam.DeactivateMFADeviceInput) (* ret := _m.Called(_a0) var r0 *iam.DeactivateMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeactivateMFADeviceInput) (*iam.DeactivateMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeactivateMFADeviceInput) *iam.DeactivateMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +1860,6 @@ func (_m *MockFakeIAM) DeactivateMFADevice(_a0 *iam.DeactivateMFADeviceInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeactivateMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +1874,10 @@ func (_m *MockFakeIAM) DeactivateMFADeviceRequest(_a0 *iam.DeactivateMFADeviceIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeactivateMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.DeactivateMFADeviceInput) (*request.Request, *iam.DeactivateMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeactivateMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +1886,6 @@ func (_m *MockFakeIAM) DeactivateMFADeviceRequest(_a0 *iam.DeactivateMFADeviceIn } } - var r1 *iam.DeactivateMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.DeactivateMFADeviceInput) *iam.DeactivateMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +1909,10 @@ func (_m *MockFakeIAM) DeactivateMFADeviceWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *iam.DeactivateMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeactivateMFADeviceInput, ...request.Option) (*iam.DeactivateMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeactivateMFADeviceInput, ...request.Option) *iam.DeactivateMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +1921,6 @@ func (_m *MockFakeIAM) DeactivateMFADeviceWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeactivateMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1737,6 +1935,10 @@ func (_m *MockFakeIAM) DeleteAccessKey(_a0 *iam.DeleteAccessKeyInput) (*iam.Dele ret := _m.Called(_a0) var r0 *iam.DeleteAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccessKeyInput) *iam.DeleteAccessKeyOutput); ok { r0 = rf(_a0) } else { @@ -1745,7 +1947,6 @@ func (_m *MockFakeIAM) DeleteAccessKey(_a0 *iam.DeleteAccessKeyInput) (*iam.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteAccessKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1760,6 +1961,10 @@ func (_m *MockFakeIAM) DeleteAccessKeyRequest(_a0 *iam.DeleteAccessKeyInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteAccessKeyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteAccessKeyInput) (*request.Request, *iam.DeleteAccessKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccessKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +1973,6 @@ func (_m *MockFakeIAM) DeleteAccessKeyRequest(_a0 *iam.DeleteAccessKeyInput) (*r } } - var r1 *iam.DeleteAccessKeyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteAccessKeyInput) *iam.DeleteAccessKeyOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +1996,10 @@ func (_m *MockFakeIAM) DeleteAccessKeyWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.DeleteAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccessKeyInput, ...request.Option) (*iam.DeleteAccessKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccessKeyInput, ...request.Option) *iam.DeleteAccessKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2008,6 @@ func (_m *MockFakeIAM) DeleteAccessKeyWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteAccessKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2022,10 @@ func (_m *MockFakeIAM) DeleteAccountAlias(_a0 *iam.DeleteAccountAliasInput) (*ia ret := _m.Called(_a0) var r0 *iam.DeleteAccountAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteAccountAliasInput) (*iam.DeleteAccountAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccountAliasInput) *iam.DeleteAccountAliasOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2034,6 @@ func (_m *MockFakeIAM) DeleteAccountAlias(_a0 *iam.DeleteAccountAliasInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteAccountAliasInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2048,10 @@ func (_m *MockFakeIAM) DeleteAccountAliasRequest(_a0 *iam.DeleteAccountAliasInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteAccountAliasOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteAccountAliasInput) (*request.Request, *iam.DeleteAccountAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccountAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2060,6 @@ func (_m *MockFakeIAM) DeleteAccountAliasRequest(_a0 *iam.DeleteAccountAliasInpu } } - var r1 *iam.DeleteAccountAliasOutput if rf, ok := ret.Get(1).(func(*iam.DeleteAccountAliasInput) *iam.DeleteAccountAliasOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2083,10 @@ func (_m *MockFakeIAM) DeleteAccountAliasWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.DeleteAccountAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountAliasInput, ...request.Option) (*iam.DeleteAccountAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountAliasInput, ...request.Option) *iam.DeleteAccountAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2095,6 @@ func (_m *MockFakeIAM) DeleteAccountAliasWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteAccountAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2109,10 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicy(_a0 *iam.DeleteAccountPasswor ret := _m.Called(_a0) var r0 *iam.DeleteAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteAccountPasswordPolicyInput) (*iam.DeleteAccountPasswordPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccountPasswordPolicyInput) *iam.DeleteAccountPasswordPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2121,6 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicy(_a0 *iam.DeleteAccountPasswor } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteAccountPasswordPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2135,10 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicyRequest(_a0 *iam.DeleteAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteAccountPasswordPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteAccountPasswordPolicyInput) (*request.Request, *iam.DeleteAccountPasswordPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteAccountPasswordPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2147,6 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicyRequest(_a0 *iam.DeleteAccount } } - var r1 *iam.DeleteAccountPasswordPolicyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteAccountPasswordPolicyInput) *iam.DeleteAccountPasswordPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2170,10 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicyWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *iam.DeleteAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountPasswordPolicyInput, ...request.Option) (*iam.DeleteAccountPasswordPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountPasswordPolicyInput, ...request.Option) *iam.DeleteAccountPasswordPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2182,6 @@ func (_m *MockFakeIAM) DeleteAccountPasswordPolicyWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteAccountPasswordPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2196,10 @@ func (_m *MockFakeIAM) DeleteGroup(_a0 *iam.DeleteGroupInput) (*iam.DeleteGroupO ret := _m.Called(_a0) var r0 *iam.DeleteGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteGroupInput) (*iam.DeleteGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteGroupInput) *iam.DeleteGroupOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2208,6 @@ func (_m *MockFakeIAM) DeleteGroup(_a0 *iam.DeleteGroupInput) (*iam.DeleteGroupO } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2222,10 @@ func (_m *MockFakeIAM) DeleteGroupPolicy(_a0 *iam.DeleteGroupPolicyInput) (*iam. ret := _m.Called(_a0) var r0 *iam.DeleteGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteGroupPolicyInput) (*iam.DeleteGroupPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteGroupPolicyInput) *iam.DeleteGroupPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2002,7 +2234,6 @@ func (_m *MockFakeIAM) DeleteGroupPolicy(_a0 *iam.DeleteGroupPolicyInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteGroupPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2017,6 +2248,10 @@ func (_m *MockFakeIAM) DeleteGroupPolicyRequest(_a0 *iam.DeleteGroupPolicyInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteGroupPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteGroupPolicyInput) (*request.Request, *iam.DeleteGroupPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteGroupPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2025,7 +2260,6 @@ func (_m *MockFakeIAM) DeleteGroupPolicyRequest(_a0 *iam.DeleteGroupPolicyInput) } } - var r1 *iam.DeleteGroupPolicyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteGroupPolicyInput) *iam.DeleteGroupPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2049,6 +2283,10 @@ func (_m *MockFakeIAM) DeleteGroupPolicyWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.DeleteGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupPolicyInput, ...request.Option) (*iam.DeleteGroupPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupPolicyInput, ...request.Option) *iam.DeleteGroupPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2057,7 +2295,6 @@ func (_m *MockFakeIAM) DeleteGroupPolicyWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteGroupPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2072,6 +2309,10 @@ func (_m *MockFakeIAM) DeleteGroupRequest(_a0 *iam.DeleteGroupInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteGroupOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteGroupInput) (*request.Request, *iam.DeleteGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2321,6 @@ func (_m *MockFakeIAM) DeleteGroupRequest(_a0 *iam.DeleteGroupInput) (*request.R } } - var r1 *iam.DeleteGroupOutput if rf, ok := ret.Get(1).(func(*iam.DeleteGroupInput) *iam.DeleteGroupOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2344,10 @@ func (_m *MockFakeIAM) DeleteGroupWithContext(_a0 context.Context, _a1 *iam.Dele ret := _m.Called(_ca...) var r0 *iam.DeleteGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupInput, ...request.Option) (*iam.DeleteGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupInput, ...request.Option) *iam.DeleteGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2356,6 @@ func (_m *MockFakeIAM) DeleteGroupWithContext(_a0 context.Context, _a1 *iam.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2370,10 @@ func (_m *MockFakeIAM) DeleteInstanceProfile(_a0 *iam.DeleteInstanceProfileInput ret := _m.Called(_a0) var r0 *iam.DeleteInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteInstanceProfileInput) (*iam.DeleteInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteInstanceProfileInput) *iam.DeleteInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2382,6 @@ func (_m *MockFakeIAM) DeleteInstanceProfile(_a0 *iam.DeleteInstanceProfileInput } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2396,10 @@ func (_m *MockFakeIAM) DeleteInstanceProfileRequest(_a0 *iam.DeleteInstanceProfi ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteInstanceProfileInput) (*request.Request, *iam.DeleteInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2408,6 @@ func (_m *MockFakeIAM) DeleteInstanceProfileRequest(_a0 *iam.DeleteInstanceProfi } } - var r1 *iam.DeleteInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.DeleteInstanceProfileInput) *iam.DeleteInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2431,10 @@ func (_m *MockFakeIAM) DeleteInstanceProfileWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.DeleteInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteInstanceProfileInput, ...request.Option) (*iam.DeleteInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteInstanceProfileInput, ...request.Option) *iam.DeleteInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2443,6 @@ func (_m *MockFakeIAM) DeleteInstanceProfileWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2457,10 @@ func (_m *MockFakeIAM) DeleteLoginProfile(_a0 *iam.DeleteLoginProfileInput) (*ia ret := _m.Called(_a0) var r0 *iam.DeleteLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteLoginProfileInput) (*iam.DeleteLoginProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteLoginProfileInput) *iam.DeleteLoginProfileOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2469,6 @@ func (_m *MockFakeIAM) DeleteLoginProfile(_a0 *iam.DeleteLoginProfileInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteLoginProfileInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2483,10 @@ func (_m *MockFakeIAM) DeleteLoginProfileRequest(_a0 *iam.DeleteLoginProfileInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteLoginProfileOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteLoginProfileInput) (*request.Request, *iam.DeleteLoginProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteLoginProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2495,6 @@ func (_m *MockFakeIAM) DeleteLoginProfileRequest(_a0 *iam.DeleteLoginProfileInpu } } - var r1 *iam.DeleteLoginProfileOutput if rf, ok := ret.Get(1).(func(*iam.DeleteLoginProfileInput) *iam.DeleteLoginProfileOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2518,10 @@ func (_m *MockFakeIAM) DeleteLoginProfileWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.DeleteLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteLoginProfileInput, ...request.Option) (*iam.DeleteLoginProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteLoginProfileInput, ...request.Option) *iam.DeleteLoginProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2530,6 @@ func (_m *MockFakeIAM) DeleteLoginProfileWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteLoginProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2283,6 +2544,10 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProvider(_a0 *iam.DeleteOpenIDConnectP ret := _m.Called(_a0) var r0 *iam.DeleteOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteOpenIDConnectProviderInput) (*iam.DeleteOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteOpenIDConnectProviderInput) *iam.DeleteOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +2556,6 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProvider(_a0 *iam.DeleteOpenIDConnectP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +2570,10 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProviderRequest(_a0 *iam.DeleteOpenIDC ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteOpenIDConnectProviderInput) (*request.Request, *iam.DeleteOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2314,7 +2582,6 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProviderRequest(_a0 *iam.DeleteOpenIDC } } - var r1 *iam.DeleteOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.DeleteOpenIDConnectProviderInput) *iam.DeleteOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -2338,6 +2605,10 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProviderWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *iam.DeleteOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteOpenIDConnectProviderInput, ...request.Option) (*iam.DeleteOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteOpenIDConnectProviderInput, ...request.Option) *iam.DeleteOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2346,7 +2617,6 @@ func (_m *MockFakeIAM) DeleteOpenIDConnectProviderWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2361,6 +2631,10 @@ func (_m *MockFakeIAM) DeletePolicy(_a0 *iam.DeletePolicyInput) (*iam.DeletePoli ret := _m.Called(_a0) var r0 *iam.DeletePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeletePolicyInput) *iam.DeletePolicyOutput); ok { r0 = rf(_a0) } else { @@ -2369,7 +2643,6 @@ func (_m *MockFakeIAM) DeletePolicy(_a0 *iam.DeletePolicyInput) (*iam.DeletePoli } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeletePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2384,6 +2657,10 @@ func (_m *MockFakeIAM) DeletePolicyRequest(_a0 *iam.DeletePolicyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeletePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DeletePolicyInput) (*request.Request, *iam.DeletePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeletePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2392,7 +2669,6 @@ func (_m *MockFakeIAM) DeletePolicyRequest(_a0 *iam.DeletePolicyInput) (*request } } - var r1 *iam.DeletePolicyOutput if rf, ok := ret.Get(1).(func(*iam.DeletePolicyInput) *iam.DeletePolicyOutput); ok { r1 = rf(_a0) } else { @@ -2409,6 +2685,10 @@ func (_m *MockFakeIAM) DeletePolicyVersion(_a0 *iam.DeletePolicyVersionInput) (* ret := _m.Called(_a0) var r0 *iam.DeletePolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeletePolicyVersionInput) (*iam.DeletePolicyVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeletePolicyVersionInput) *iam.DeletePolicyVersionOutput); ok { r0 = rf(_a0) } else { @@ -2417,7 +2697,6 @@ func (_m *MockFakeIAM) DeletePolicyVersion(_a0 *iam.DeletePolicyVersionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeletePolicyVersionInput) error); ok { r1 = rf(_a0) } else { @@ -2432,6 +2711,10 @@ func (_m *MockFakeIAM) DeletePolicyVersionRequest(_a0 *iam.DeletePolicyVersionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeletePolicyVersionOutput + if rf, ok := ret.Get(0).(func(*iam.DeletePolicyVersionInput) (*request.Request, *iam.DeletePolicyVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeletePolicyVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2440,7 +2723,6 @@ func (_m *MockFakeIAM) DeletePolicyVersionRequest(_a0 *iam.DeletePolicyVersionIn } } - var r1 *iam.DeletePolicyVersionOutput if rf, ok := ret.Get(1).(func(*iam.DeletePolicyVersionInput) *iam.DeletePolicyVersionOutput); ok { r1 = rf(_a0) } else { @@ -2464,6 +2746,10 @@ func (_m *MockFakeIAM) DeletePolicyVersionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *iam.DeletePolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyVersionInput, ...request.Option) (*iam.DeletePolicyVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyVersionInput, ...request.Option) *iam.DeletePolicyVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2472,7 +2758,6 @@ func (_m *MockFakeIAM) DeletePolicyVersionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeletePolicyVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2494,6 +2779,10 @@ func (_m *MockFakeIAM) DeletePolicyWithContext(_a0 context.Context, _a1 *iam.Del ret := _m.Called(_ca...) var r0 *iam.DeletePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyInput, ...request.Option) (*iam.DeletePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyInput, ...request.Option) *iam.DeletePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2502,7 +2791,6 @@ func (_m *MockFakeIAM) DeletePolicyWithContext(_a0 context.Context, _a1 *iam.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeletePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2517,6 +2805,10 @@ func (_m *MockFakeIAM) DeleteRole(_a0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutp ret := _m.Called(_a0) var r0 *iam.DeleteRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRoleInput) *iam.DeleteRoleOutput); ok { r0 = rf(_a0) } else { @@ -2525,7 +2817,6 @@ func (_m *MockFakeIAM) DeleteRole(_a0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteRoleInput) error); ok { r1 = rf(_a0) } else { @@ -2540,6 +2831,10 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundary(_a0 *iam.DeleteRolePermissi ret := _m.Called(_a0) var r0 *iam.DeleteRolePermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteRolePermissionsBoundaryInput) (*iam.DeleteRolePermissionsBoundaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRolePermissionsBoundaryInput) *iam.DeleteRolePermissionsBoundaryOutput); ok { r0 = rf(_a0) } else { @@ -2548,7 +2843,6 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundary(_a0 *iam.DeleteRolePermissi } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteRolePermissionsBoundaryInput) error); ok { r1 = rf(_a0) } else { @@ -2563,6 +2857,10 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundaryRequest(_a0 *iam.DeleteRoleP ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteRolePermissionsBoundaryOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteRolePermissionsBoundaryInput) (*request.Request, *iam.DeleteRolePermissionsBoundaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRolePermissionsBoundaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2571,7 +2869,6 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundaryRequest(_a0 *iam.DeleteRoleP } } - var r1 *iam.DeleteRolePermissionsBoundaryOutput if rf, ok := ret.Get(1).(func(*iam.DeleteRolePermissionsBoundaryInput) *iam.DeleteRolePermissionsBoundaryOutput); ok { r1 = rf(_a0) } else { @@ -2595,6 +2892,10 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundaryWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.DeleteRolePermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePermissionsBoundaryInput, ...request.Option) (*iam.DeleteRolePermissionsBoundaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePermissionsBoundaryInput, ...request.Option) *iam.DeleteRolePermissionsBoundaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2603,7 +2904,6 @@ func (_m *MockFakeIAM) DeleteRolePermissionsBoundaryWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteRolePermissionsBoundaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2618,6 +2918,10 @@ func (_m *MockFakeIAM) DeleteRolePolicy(_a0 *iam.DeleteRolePolicyInput) (*iam.De ret := _m.Called(_a0) var r0 *iam.DeleteRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRolePolicyInput) *iam.DeleteRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -2626,7 +2930,6 @@ func (_m *MockFakeIAM) DeleteRolePolicy(_a0 *iam.DeleteRolePolicyInput) (*iam.De } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2641,6 +2944,10 @@ func (_m *MockFakeIAM) DeleteRolePolicyRequest(_a0 *iam.DeleteRolePolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteRolePolicyInput) (*request.Request, *iam.DeleteRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2649,7 +2956,6 @@ func (_m *MockFakeIAM) DeleteRolePolicyRequest(_a0 *iam.DeleteRolePolicyInput) ( } } - var r1 *iam.DeleteRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteRolePolicyInput) *iam.DeleteRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -2673,6 +2979,10 @@ func (_m *MockFakeIAM) DeleteRolePolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.DeleteRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePolicyInput, ...request.Option) (*iam.DeleteRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePolicyInput, ...request.Option) *iam.DeleteRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2681,7 +2991,6 @@ func (_m *MockFakeIAM) DeleteRolePolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2696,6 +3005,10 @@ func (_m *MockFakeIAM) DeleteRoleRequest(_a0 *iam.DeleteRoleInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteRoleOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteRoleInput) (*request.Request, *iam.DeleteRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2704,7 +3017,6 @@ func (_m *MockFakeIAM) DeleteRoleRequest(_a0 *iam.DeleteRoleInput) (*request.Req } } - var r1 *iam.DeleteRoleOutput if rf, ok := ret.Get(1).(func(*iam.DeleteRoleInput) *iam.DeleteRoleOutput); ok { r1 = rf(_a0) } else { @@ -2728,6 +3040,10 @@ func (_m *MockFakeIAM) DeleteRoleWithContext(_a0 context.Context, _a1 *iam.Delet ret := _m.Called(_ca...) var r0 *iam.DeleteRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRoleInput, ...request.Option) (*iam.DeleteRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRoleInput, ...request.Option) *iam.DeleteRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2736,7 +3052,6 @@ func (_m *MockFakeIAM) DeleteRoleWithContext(_a0 context.Context, _a1 *iam.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2751,6 +3066,10 @@ func (_m *MockFakeIAM) DeleteSAMLProvider(_a0 *iam.DeleteSAMLProviderInput) (*ia ret := _m.Called(_a0) var r0 *iam.DeleteSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteSAMLProviderInput) (*iam.DeleteSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSAMLProviderInput) *iam.DeleteSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -2759,7 +3078,6 @@ func (_m *MockFakeIAM) DeleteSAMLProvider(_a0 *iam.DeleteSAMLProviderInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -2774,6 +3092,10 @@ func (_m *MockFakeIAM) DeleteSAMLProviderRequest(_a0 *iam.DeleteSAMLProviderInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteSAMLProviderInput) (*request.Request, *iam.DeleteSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2782,7 +3104,6 @@ func (_m *MockFakeIAM) DeleteSAMLProviderRequest(_a0 *iam.DeleteSAMLProviderInpu } } - var r1 *iam.DeleteSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.DeleteSAMLProviderInput) *iam.DeleteSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -2806,6 +3127,10 @@ func (_m *MockFakeIAM) DeleteSAMLProviderWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.DeleteSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSAMLProviderInput, ...request.Option) (*iam.DeleteSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSAMLProviderInput, ...request.Option) *iam.DeleteSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2814,7 +3139,6 @@ func (_m *MockFakeIAM) DeleteSAMLProviderWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2829,6 +3153,10 @@ func (_m *MockFakeIAM) DeleteSSHPublicKey(_a0 *iam.DeleteSSHPublicKeyInput) (*ia ret := _m.Called(_a0) var r0 *iam.DeleteSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteSSHPublicKeyInput) (*iam.DeleteSSHPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSSHPublicKeyInput) *iam.DeleteSSHPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -2837,7 +3165,6 @@ func (_m *MockFakeIAM) DeleteSSHPublicKey(_a0 *iam.DeleteSSHPublicKeyInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteSSHPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -2852,6 +3179,10 @@ func (_m *MockFakeIAM) DeleteSSHPublicKeyRequest(_a0 *iam.DeleteSSHPublicKeyInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteSSHPublicKeyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteSSHPublicKeyInput) (*request.Request, *iam.DeleteSSHPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSSHPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2860,7 +3191,6 @@ func (_m *MockFakeIAM) DeleteSSHPublicKeyRequest(_a0 *iam.DeleteSSHPublicKeyInpu } } - var r1 *iam.DeleteSSHPublicKeyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteSSHPublicKeyInput) *iam.DeleteSSHPublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -2884,6 +3214,10 @@ func (_m *MockFakeIAM) DeleteSSHPublicKeyWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.DeleteSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSSHPublicKeyInput, ...request.Option) (*iam.DeleteSSHPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSSHPublicKeyInput, ...request.Option) *iam.DeleteSSHPublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2892,7 +3226,6 @@ func (_m *MockFakeIAM) DeleteSSHPublicKeyWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteSSHPublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2907,6 +3240,10 @@ func (_m *MockFakeIAM) DeleteServerCertificate(_a0 *iam.DeleteServerCertificateI ret := _m.Called(_a0) var r0 *iam.DeleteServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteServerCertificateInput) (*iam.DeleteServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServerCertificateInput) *iam.DeleteServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -2915,7 +3252,6 @@ func (_m *MockFakeIAM) DeleteServerCertificate(_a0 *iam.DeleteServerCertificateI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -2930,6 +3266,10 @@ func (_m *MockFakeIAM) DeleteServerCertificateRequest(_a0 *iam.DeleteServerCerti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteServerCertificateInput) (*request.Request, *iam.DeleteServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2938,7 +3278,6 @@ func (_m *MockFakeIAM) DeleteServerCertificateRequest(_a0 *iam.DeleteServerCerti } } - var r1 *iam.DeleteServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.DeleteServerCertificateInput) *iam.DeleteServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -2962,6 +3301,10 @@ func (_m *MockFakeIAM) DeleteServerCertificateWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.DeleteServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServerCertificateInput, ...request.Option) (*iam.DeleteServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServerCertificateInput, ...request.Option) *iam.DeleteServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2970,7 +3313,6 @@ func (_m *MockFakeIAM) DeleteServerCertificateWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2985,6 +3327,10 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRole(_a0 *iam.DeleteServiceLinkedRoleI ret := _m.Called(_a0) var r0 *iam.DeleteServiceLinkedRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteServiceLinkedRoleInput) (*iam.DeleteServiceLinkedRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServiceLinkedRoleInput) *iam.DeleteServiceLinkedRoleOutput); ok { r0 = rf(_a0) } else { @@ -2993,7 +3339,6 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRole(_a0 *iam.DeleteServiceLinkedRoleI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteServiceLinkedRoleInput) error); ok { r1 = rf(_a0) } else { @@ -3008,6 +3353,10 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRoleRequest(_a0 *iam.DeleteServiceLink ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteServiceLinkedRoleOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteServiceLinkedRoleInput) (*request.Request, *iam.DeleteServiceLinkedRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServiceLinkedRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3016,7 +3365,6 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRoleRequest(_a0 *iam.DeleteServiceLink } } - var r1 *iam.DeleteServiceLinkedRoleOutput if rf, ok := ret.Get(1).(func(*iam.DeleteServiceLinkedRoleInput) *iam.DeleteServiceLinkedRoleOutput); ok { r1 = rf(_a0) } else { @@ -3040,6 +3388,10 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRoleWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.DeleteServiceLinkedRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceLinkedRoleInput, ...request.Option) (*iam.DeleteServiceLinkedRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceLinkedRoleInput, ...request.Option) *iam.DeleteServiceLinkedRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3048,7 +3400,6 @@ func (_m *MockFakeIAM) DeleteServiceLinkedRoleWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteServiceLinkedRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3063,6 +3414,10 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredential(_a0 *iam.DeleteServiceSpe ret := _m.Called(_a0) var r0 *iam.DeleteServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteServiceSpecificCredentialInput) (*iam.DeleteServiceSpecificCredentialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServiceSpecificCredentialInput) *iam.DeleteServiceSpecificCredentialOutput); ok { r0 = rf(_a0) } else { @@ -3071,7 +3426,6 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredential(_a0 *iam.DeleteServiceSpe } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteServiceSpecificCredentialInput) error); ok { r1 = rf(_a0) } else { @@ -3086,6 +3440,10 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredentialRequest(_a0 *iam.DeleteSer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteServiceSpecificCredentialOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteServiceSpecificCredentialInput) (*request.Request, *iam.DeleteServiceSpecificCredentialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteServiceSpecificCredentialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3094,7 +3452,6 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredentialRequest(_a0 *iam.DeleteSer } } - var r1 *iam.DeleteServiceSpecificCredentialOutput if rf, ok := ret.Get(1).(func(*iam.DeleteServiceSpecificCredentialInput) *iam.DeleteServiceSpecificCredentialOutput); ok { r1 = rf(_a0) } else { @@ -3118,6 +3475,10 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredentialWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *iam.DeleteServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceSpecificCredentialInput, ...request.Option) (*iam.DeleteServiceSpecificCredentialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceSpecificCredentialInput, ...request.Option) *iam.DeleteServiceSpecificCredentialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3126,7 +3487,6 @@ func (_m *MockFakeIAM) DeleteServiceSpecificCredentialWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteServiceSpecificCredentialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3141,6 +3501,10 @@ func (_m *MockFakeIAM) DeleteSigningCertificate(_a0 *iam.DeleteSigningCertificat ret := _m.Called(_a0) var r0 *iam.DeleteSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteSigningCertificateInput) (*iam.DeleteSigningCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSigningCertificateInput) *iam.DeleteSigningCertificateOutput); ok { r0 = rf(_a0) } else { @@ -3149,7 +3513,6 @@ func (_m *MockFakeIAM) DeleteSigningCertificate(_a0 *iam.DeleteSigningCertificat } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteSigningCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -3164,6 +3527,10 @@ func (_m *MockFakeIAM) DeleteSigningCertificateRequest(_a0 *iam.DeleteSigningCer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteSigningCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteSigningCertificateInput) (*request.Request, *iam.DeleteSigningCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteSigningCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3172,7 +3539,6 @@ func (_m *MockFakeIAM) DeleteSigningCertificateRequest(_a0 *iam.DeleteSigningCer } } - var r1 *iam.DeleteSigningCertificateOutput if rf, ok := ret.Get(1).(func(*iam.DeleteSigningCertificateInput) *iam.DeleteSigningCertificateOutput); ok { r1 = rf(_a0) } else { @@ -3196,6 +3562,10 @@ func (_m *MockFakeIAM) DeleteSigningCertificateWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.DeleteSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSigningCertificateInput, ...request.Option) (*iam.DeleteSigningCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSigningCertificateInput, ...request.Option) *iam.DeleteSigningCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3204,7 +3574,6 @@ func (_m *MockFakeIAM) DeleteSigningCertificateWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteSigningCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3219,6 +3588,10 @@ func (_m *MockFakeIAM) DeleteUser(_a0 *iam.DeleteUserInput) (*iam.DeleteUserOutp ret := _m.Called(_a0) var r0 *iam.DeleteUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteUserInput) (*iam.DeleteUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserInput) *iam.DeleteUserOutput); ok { r0 = rf(_a0) } else { @@ -3227,7 +3600,6 @@ func (_m *MockFakeIAM) DeleteUser(_a0 *iam.DeleteUserInput) (*iam.DeleteUserOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteUserInput) error); ok { r1 = rf(_a0) } else { @@ -3242,6 +3614,10 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundary(_a0 *iam.DeleteUserPermissi ret := _m.Called(_a0) var r0 *iam.DeleteUserPermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteUserPermissionsBoundaryInput) (*iam.DeleteUserPermissionsBoundaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserPermissionsBoundaryInput) *iam.DeleteUserPermissionsBoundaryOutput); ok { r0 = rf(_a0) } else { @@ -3250,7 +3626,6 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundary(_a0 *iam.DeleteUserPermissi } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteUserPermissionsBoundaryInput) error); ok { r1 = rf(_a0) } else { @@ -3265,6 +3640,10 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundaryRequest(_a0 *iam.DeleteUserP ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteUserPermissionsBoundaryOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteUserPermissionsBoundaryInput) (*request.Request, *iam.DeleteUserPermissionsBoundaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserPermissionsBoundaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3273,7 +3652,6 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundaryRequest(_a0 *iam.DeleteUserP } } - var r1 *iam.DeleteUserPermissionsBoundaryOutput if rf, ok := ret.Get(1).(func(*iam.DeleteUserPermissionsBoundaryInput) *iam.DeleteUserPermissionsBoundaryOutput); ok { r1 = rf(_a0) } else { @@ -3297,6 +3675,10 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundaryWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.DeleteUserPermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPermissionsBoundaryInput, ...request.Option) (*iam.DeleteUserPermissionsBoundaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPermissionsBoundaryInput, ...request.Option) *iam.DeleteUserPermissionsBoundaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3305,7 +3687,6 @@ func (_m *MockFakeIAM) DeleteUserPermissionsBoundaryWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteUserPermissionsBoundaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3320,6 +3701,10 @@ func (_m *MockFakeIAM) DeleteUserPolicy(_a0 *iam.DeleteUserPolicyInput) (*iam.De ret := _m.Called(_a0) var r0 *iam.DeleteUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteUserPolicyInput) (*iam.DeleteUserPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserPolicyInput) *iam.DeleteUserPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3328,7 +3713,6 @@ func (_m *MockFakeIAM) DeleteUserPolicy(_a0 *iam.DeleteUserPolicyInput) (*iam.De } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteUserPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3343,6 +3727,10 @@ func (_m *MockFakeIAM) DeleteUserPolicyRequest(_a0 *iam.DeleteUserPolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteUserPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteUserPolicyInput) (*request.Request, *iam.DeleteUserPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3351,7 +3739,6 @@ func (_m *MockFakeIAM) DeleteUserPolicyRequest(_a0 *iam.DeleteUserPolicyInput) ( } } - var r1 *iam.DeleteUserPolicyOutput if rf, ok := ret.Get(1).(func(*iam.DeleteUserPolicyInput) *iam.DeleteUserPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3375,6 +3762,10 @@ func (_m *MockFakeIAM) DeleteUserPolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.DeleteUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPolicyInput, ...request.Option) (*iam.DeleteUserPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPolicyInput, ...request.Option) *iam.DeleteUserPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3383,7 +3774,6 @@ func (_m *MockFakeIAM) DeleteUserPolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteUserPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3398,6 +3788,10 @@ func (_m *MockFakeIAM) DeleteUserRequest(_a0 *iam.DeleteUserInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteUserOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteUserInput) (*request.Request, *iam.DeleteUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3406,7 +3800,6 @@ func (_m *MockFakeIAM) DeleteUserRequest(_a0 *iam.DeleteUserInput) (*request.Req } } - var r1 *iam.DeleteUserOutput if rf, ok := ret.Get(1).(func(*iam.DeleteUserInput) *iam.DeleteUserOutput); ok { r1 = rf(_a0) } else { @@ -3430,6 +3823,10 @@ func (_m *MockFakeIAM) DeleteUserWithContext(_a0 context.Context, _a1 *iam.Delet ret := _m.Called(_ca...) var r0 *iam.DeleteUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserInput, ...request.Option) (*iam.DeleteUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserInput, ...request.Option) *iam.DeleteUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3438,7 +3835,6 @@ func (_m *MockFakeIAM) DeleteUserWithContext(_a0 context.Context, _a1 *iam.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3453,6 +3849,10 @@ func (_m *MockFakeIAM) DeleteVirtualMFADevice(_a0 *iam.DeleteVirtualMFADeviceInp ret := _m.Called(_a0) var r0 *iam.DeleteVirtualMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DeleteVirtualMFADeviceInput) (*iam.DeleteVirtualMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteVirtualMFADeviceInput) *iam.DeleteVirtualMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -3461,7 +3861,6 @@ func (_m *MockFakeIAM) DeleteVirtualMFADevice(_a0 *iam.DeleteVirtualMFADeviceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DeleteVirtualMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -3476,6 +3875,10 @@ func (_m *MockFakeIAM) DeleteVirtualMFADeviceRequest(_a0 *iam.DeleteVirtualMFADe ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DeleteVirtualMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.DeleteVirtualMFADeviceInput) (*request.Request, *iam.DeleteVirtualMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DeleteVirtualMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3484,7 +3887,6 @@ func (_m *MockFakeIAM) DeleteVirtualMFADeviceRequest(_a0 *iam.DeleteVirtualMFADe } } - var r1 *iam.DeleteVirtualMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.DeleteVirtualMFADeviceInput) *iam.DeleteVirtualMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -3508,6 +3910,10 @@ func (_m *MockFakeIAM) DeleteVirtualMFADeviceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *iam.DeleteVirtualMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteVirtualMFADeviceInput, ...request.Option) (*iam.DeleteVirtualMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteVirtualMFADeviceInput, ...request.Option) *iam.DeleteVirtualMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3516,7 +3922,6 @@ func (_m *MockFakeIAM) DeleteVirtualMFADeviceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DeleteVirtualMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3531,6 +3936,10 @@ func (_m *MockFakeIAM) DetachGroupPolicy(_a0 *iam.DetachGroupPolicyInput) (*iam. ret := _m.Called(_a0) var r0 *iam.DetachGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DetachGroupPolicyInput) (*iam.DetachGroupPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachGroupPolicyInput) *iam.DetachGroupPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3539,7 +3948,6 @@ func (_m *MockFakeIAM) DetachGroupPolicy(_a0 *iam.DetachGroupPolicyInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DetachGroupPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3554,6 +3962,10 @@ func (_m *MockFakeIAM) DetachGroupPolicyRequest(_a0 *iam.DetachGroupPolicyInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DetachGroupPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DetachGroupPolicyInput) (*request.Request, *iam.DetachGroupPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachGroupPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3562,7 +3974,6 @@ func (_m *MockFakeIAM) DetachGroupPolicyRequest(_a0 *iam.DetachGroupPolicyInput) } } - var r1 *iam.DetachGroupPolicyOutput if rf, ok := ret.Get(1).(func(*iam.DetachGroupPolicyInput) *iam.DetachGroupPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3586,6 +3997,10 @@ func (_m *MockFakeIAM) DetachGroupPolicyWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.DetachGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachGroupPolicyInput, ...request.Option) (*iam.DetachGroupPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachGroupPolicyInput, ...request.Option) *iam.DetachGroupPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3594,7 +4009,6 @@ func (_m *MockFakeIAM) DetachGroupPolicyWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DetachGroupPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3609,6 +4023,10 @@ func (_m *MockFakeIAM) DetachRolePolicy(_a0 *iam.DetachRolePolicyInput) (*iam.De ret := _m.Called(_a0) var r0 *iam.DetachRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachRolePolicyInput) *iam.DetachRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -3617,7 +4035,6 @@ func (_m *MockFakeIAM) DetachRolePolicy(_a0 *iam.DetachRolePolicyInput) (*iam.De } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DetachRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3632,6 +4049,10 @@ func (_m *MockFakeIAM) DetachRolePolicyRequest(_a0 *iam.DetachRolePolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DetachRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DetachRolePolicyInput) (*request.Request, *iam.DetachRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3640,7 +4061,6 @@ func (_m *MockFakeIAM) DetachRolePolicyRequest(_a0 *iam.DetachRolePolicyInput) ( } } - var r1 *iam.DetachRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.DetachRolePolicyInput) *iam.DetachRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -3664,6 +4084,10 @@ func (_m *MockFakeIAM) DetachRolePolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.DetachRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachRolePolicyInput, ...request.Option) (*iam.DetachRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachRolePolicyInput, ...request.Option) *iam.DetachRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3672,7 +4096,6 @@ func (_m *MockFakeIAM) DetachRolePolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DetachRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3687,6 +4110,10 @@ func (_m *MockFakeIAM) DetachUserPolicy(_a0 *iam.DetachUserPolicyInput) (*iam.De ret := _m.Called(_a0) var r0 *iam.DetachUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.DetachUserPolicyInput) (*iam.DetachUserPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachUserPolicyInput) *iam.DetachUserPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3695,7 +4122,6 @@ func (_m *MockFakeIAM) DetachUserPolicy(_a0 *iam.DetachUserPolicyInput) (*iam.De } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.DetachUserPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3710,6 +4136,10 @@ func (_m *MockFakeIAM) DetachUserPolicyRequest(_a0 *iam.DetachUserPolicyInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.DetachUserPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.DetachUserPolicyInput) (*request.Request, *iam.DetachUserPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.DetachUserPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3718,7 +4148,6 @@ func (_m *MockFakeIAM) DetachUserPolicyRequest(_a0 *iam.DetachUserPolicyInput) ( } } - var r1 *iam.DetachUserPolicyOutput if rf, ok := ret.Get(1).(func(*iam.DetachUserPolicyInput) *iam.DetachUserPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3742,6 +4171,10 @@ func (_m *MockFakeIAM) DetachUserPolicyWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.DetachUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachUserPolicyInput, ...request.Option) (*iam.DetachUserPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachUserPolicyInput, ...request.Option) *iam.DetachUserPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3750,7 +4183,6 @@ func (_m *MockFakeIAM) DetachUserPolicyWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.DetachUserPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3765,6 +4197,10 @@ func (_m *MockFakeIAM) EnableMFADevice(_a0 *iam.EnableMFADeviceInput) (*iam.Enab ret := _m.Called(_a0) var r0 *iam.EnableMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.EnableMFADeviceInput) (*iam.EnableMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.EnableMFADeviceInput) *iam.EnableMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -3773,7 +4209,6 @@ func (_m *MockFakeIAM) EnableMFADevice(_a0 *iam.EnableMFADeviceInput) (*iam.Enab } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.EnableMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -3788,6 +4223,10 @@ func (_m *MockFakeIAM) EnableMFADeviceRequest(_a0 *iam.EnableMFADeviceInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.EnableMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.EnableMFADeviceInput) (*request.Request, *iam.EnableMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.EnableMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3796,7 +4235,6 @@ func (_m *MockFakeIAM) EnableMFADeviceRequest(_a0 *iam.EnableMFADeviceInput) (*r } } - var r1 *iam.EnableMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.EnableMFADeviceInput) *iam.EnableMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -3820,6 +4258,10 @@ func (_m *MockFakeIAM) EnableMFADeviceWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.EnableMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.EnableMFADeviceInput, ...request.Option) (*iam.EnableMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.EnableMFADeviceInput, ...request.Option) *iam.EnableMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3828,7 +4270,6 @@ func (_m *MockFakeIAM) EnableMFADeviceWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.EnableMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3843,6 +4284,10 @@ func (_m *MockFakeIAM) GenerateCredentialReport(_a0 *iam.GenerateCredentialRepor ret := _m.Called(_a0) var r0 *iam.GenerateCredentialReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GenerateCredentialReportInput) (*iam.GenerateCredentialReportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateCredentialReportInput) *iam.GenerateCredentialReportOutput); ok { r0 = rf(_a0) } else { @@ -3851,7 +4296,6 @@ func (_m *MockFakeIAM) GenerateCredentialReport(_a0 *iam.GenerateCredentialRepor } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GenerateCredentialReportInput) error); ok { r1 = rf(_a0) } else { @@ -3866,6 +4310,10 @@ func (_m *MockFakeIAM) GenerateCredentialReportRequest(_a0 *iam.GenerateCredenti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GenerateCredentialReportOutput + if rf, ok := ret.Get(0).(func(*iam.GenerateCredentialReportInput) (*request.Request, *iam.GenerateCredentialReportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateCredentialReportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3874,7 +4322,6 @@ func (_m *MockFakeIAM) GenerateCredentialReportRequest(_a0 *iam.GenerateCredenti } } - var r1 *iam.GenerateCredentialReportOutput if rf, ok := ret.Get(1).(func(*iam.GenerateCredentialReportInput) *iam.GenerateCredentialReportOutput); ok { r1 = rf(_a0) } else { @@ -3898,6 +4345,10 @@ func (_m *MockFakeIAM) GenerateCredentialReportWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.GenerateCredentialReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateCredentialReportInput, ...request.Option) (*iam.GenerateCredentialReportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateCredentialReportInput, ...request.Option) *iam.GenerateCredentialReportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3906,7 +4357,6 @@ func (_m *MockFakeIAM) GenerateCredentialReportWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GenerateCredentialReportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3921,6 +4371,10 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReport(_a0 *iam.GenerateOrgani ret := _m.Called(_a0) var r0 *iam.GenerateOrganizationsAccessReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GenerateOrganizationsAccessReportInput) (*iam.GenerateOrganizationsAccessReportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateOrganizationsAccessReportInput) *iam.GenerateOrganizationsAccessReportOutput); ok { r0 = rf(_a0) } else { @@ -3929,7 +4383,6 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReport(_a0 *iam.GenerateOrgani } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GenerateOrganizationsAccessReportInput) error); ok { r1 = rf(_a0) } else { @@ -3944,6 +4397,10 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReportRequest(_a0 *iam.Generat ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GenerateOrganizationsAccessReportOutput + if rf, ok := ret.Get(0).(func(*iam.GenerateOrganizationsAccessReportInput) (*request.Request, *iam.GenerateOrganizationsAccessReportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateOrganizationsAccessReportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3952,7 +4409,6 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReportRequest(_a0 *iam.Generat } } - var r1 *iam.GenerateOrganizationsAccessReportOutput if rf, ok := ret.Get(1).(func(*iam.GenerateOrganizationsAccessReportInput) *iam.GenerateOrganizationsAccessReportOutput); ok { r1 = rf(_a0) } else { @@ -3976,6 +4432,10 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReportWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *iam.GenerateOrganizationsAccessReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateOrganizationsAccessReportInput, ...request.Option) (*iam.GenerateOrganizationsAccessReportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateOrganizationsAccessReportInput, ...request.Option) *iam.GenerateOrganizationsAccessReportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3984,7 +4444,6 @@ func (_m *MockFakeIAM) GenerateOrganizationsAccessReportWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GenerateOrganizationsAccessReportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3999,6 +4458,10 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetails(_a0 *iam.GenerateServi ret := _m.Called(_a0) var r0 *iam.GenerateServiceLastAccessedDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GenerateServiceLastAccessedDetailsInput) (*iam.GenerateServiceLastAccessedDetailsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateServiceLastAccessedDetailsInput) *iam.GenerateServiceLastAccessedDetailsOutput); ok { r0 = rf(_a0) } else { @@ -4007,7 +4470,6 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetails(_a0 *iam.GenerateServi } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GenerateServiceLastAccessedDetailsInput) error); ok { r1 = rf(_a0) } else { @@ -4022,6 +4484,10 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetailsRequest(_a0 *iam.Genera ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GenerateServiceLastAccessedDetailsOutput + if rf, ok := ret.Get(0).(func(*iam.GenerateServiceLastAccessedDetailsInput) (*request.Request, *iam.GenerateServiceLastAccessedDetailsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GenerateServiceLastAccessedDetailsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4030,7 +4496,6 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetailsRequest(_a0 *iam.Genera } } - var r1 *iam.GenerateServiceLastAccessedDetailsOutput if rf, ok := ret.Get(1).(func(*iam.GenerateServiceLastAccessedDetailsInput) *iam.GenerateServiceLastAccessedDetailsOutput); ok { r1 = rf(_a0) } else { @@ -4054,6 +4519,10 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetailsWithContext(_a0 context ret := _m.Called(_ca...) var r0 *iam.GenerateServiceLastAccessedDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateServiceLastAccessedDetailsInput, ...request.Option) (*iam.GenerateServiceLastAccessedDetailsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateServiceLastAccessedDetailsInput, ...request.Option) *iam.GenerateServiceLastAccessedDetailsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4062,7 +4531,6 @@ func (_m *MockFakeIAM) GenerateServiceLastAccessedDetailsWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GenerateServiceLastAccessedDetailsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4077,6 +4545,10 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsed(_a0 *iam.GetAccessKeyLastUsedInput) ret := _m.Called(_a0) var r0 *iam.GetAccessKeyLastUsedOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetAccessKeyLastUsedInput) (*iam.GetAccessKeyLastUsedOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccessKeyLastUsedInput) *iam.GetAccessKeyLastUsedOutput); ok { r0 = rf(_a0) } else { @@ -4085,7 +4557,6 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsed(_a0 *iam.GetAccessKeyLastUsedInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetAccessKeyLastUsedInput) error); ok { r1 = rf(_a0) } else { @@ -4100,6 +4571,10 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsedRequest(_a0 *iam.GetAccessKeyLastUsed ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetAccessKeyLastUsedOutput + if rf, ok := ret.Get(0).(func(*iam.GetAccessKeyLastUsedInput) (*request.Request, *iam.GetAccessKeyLastUsedOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccessKeyLastUsedInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4108,7 +4583,6 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsedRequest(_a0 *iam.GetAccessKeyLastUsed } } - var r1 *iam.GetAccessKeyLastUsedOutput if rf, ok := ret.Get(1).(func(*iam.GetAccessKeyLastUsedInput) *iam.GetAccessKeyLastUsedOutput); ok { r1 = rf(_a0) } else { @@ -4132,6 +4606,10 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsedWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.GetAccessKeyLastUsedOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccessKeyLastUsedInput, ...request.Option) (*iam.GetAccessKeyLastUsedOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccessKeyLastUsedInput, ...request.Option) *iam.GetAccessKeyLastUsedOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4140,7 +4618,6 @@ func (_m *MockFakeIAM) GetAccessKeyLastUsedWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetAccessKeyLastUsedInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4155,6 +4632,10 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetails(_a0 *iam.GetAccountAuthori ret := _m.Called(_a0) var r0 *iam.GetAccountAuthorizationDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetAccountAuthorizationDetailsInput) (*iam.GetAccountAuthorizationDetailsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountAuthorizationDetailsInput) *iam.GetAccountAuthorizationDetailsOutput); ok { r0 = rf(_a0) } else { @@ -4163,7 +4644,6 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetails(_a0 *iam.GetAccountAuthori } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetAccountAuthorizationDetailsInput) error); ok { r1 = rf(_a0) } else { @@ -4213,6 +4693,10 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetailsRequest(_a0 *iam.GetAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetAccountAuthorizationDetailsOutput + if rf, ok := ret.Get(0).(func(*iam.GetAccountAuthorizationDetailsInput) (*request.Request, *iam.GetAccountAuthorizationDetailsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountAuthorizationDetailsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4221,7 +4705,6 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetailsRequest(_a0 *iam.GetAccount } } - var r1 *iam.GetAccountAuthorizationDetailsOutput if rf, ok := ret.Get(1).(func(*iam.GetAccountAuthorizationDetailsInput) *iam.GetAccountAuthorizationDetailsOutput); ok { r1 = rf(_a0) } else { @@ -4245,6 +4728,10 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetailsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *iam.GetAccountAuthorizationDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountAuthorizationDetailsInput, ...request.Option) (*iam.GetAccountAuthorizationDetailsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountAuthorizationDetailsInput, ...request.Option) *iam.GetAccountAuthorizationDetailsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4253,7 +4740,6 @@ func (_m *MockFakeIAM) GetAccountAuthorizationDetailsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetAccountAuthorizationDetailsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4268,6 +4754,10 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicy(_a0 *iam.GetAccountPasswordPolic ret := _m.Called(_a0) var r0 *iam.GetAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetAccountPasswordPolicyInput) (*iam.GetAccountPasswordPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountPasswordPolicyInput) *iam.GetAccountPasswordPolicyOutput); ok { r0 = rf(_a0) } else { @@ -4276,7 +4766,6 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicy(_a0 *iam.GetAccountPasswordPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetAccountPasswordPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4291,6 +4780,10 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicyRequest(_a0 *iam.GetAccountPasswo ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetAccountPasswordPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.GetAccountPasswordPolicyInput) (*request.Request, *iam.GetAccountPasswordPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountPasswordPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4299,7 +4792,6 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicyRequest(_a0 *iam.GetAccountPasswo } } - var r1 *iam.GetAccountPasswordPolicyOutput if rf, ok := ret.Get(1).(func(*iam.GetAccountPasswordPolicyInput) *iam.GetAccountPasswordPolicyOutput); ok { r1 = rf(_a0) } else { @@ -4323,6 +4815,10 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.GetAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountPasswordPolicyInput, ...request.Option) (*iam.GetAccountPasswordPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountPasswordPolicyInput, ...request.Option) *iam.GetAccountPasswordPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4331,7 +4827,6 @@ func (_m *MockFakeIAM) GetAccountPasswordPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetAccountPasswordPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4346,6 +4841,10 @@ func (_m *MockFakeIAM) GetAccountSummary(_a0 *iam.GetAccountSummaryInput) (*iam. ret := _m.Called(_a0) var r0 *iam.GetAccountSummaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetAccountSummaryInput) (*iam.GetAccountSummaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountSummaryInput) *iam.GetAccountSummaryOutput); ok { r0 = rf(_a0) } else { @@ -4354,7 +4853,6 @@ func (_m *MockFakeIAM) GetAccountSummary(_a0 *iam.GetAccountSummaryInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetAccountSummaryInput) error); ok { r1 = rf(_a0) } else { @@ -4369,6 +4867,10 @@ func (_m *MockFakeIAM) GetAccountSummaryRequest(_a0 *iam.GetAccountSummaryInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetAccountSummaryOutput + if rf, ok := ret.Get(0).(func(*iam.GetAccountSummaryInput) (*request.Request, *iam.GetAccountSummaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetAccountSummaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4377,7 +4879,6 @@ func (_m *MockFakeIAM) GetAccountSummaryRequest(_a0 *iam.GetAccountSummaryInput) } } - var r1 *iam.GetAccountSummaryOutput if rf, ok := ret.Get(1).(func(*iam.GetAccountSummaryInput) *iam.GetAccountSummaryOutput); ok { r1 = rf(_a0) } else { @@ -4401,6 +4902,10 @@ func (_m *MockFakeIAM) GetAccountSummaryWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.GetAccountSummaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountSummaryInput, ...request.Option) (*iam.GetAccountSummaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountSummaryInput, ...request.Option) *iam.GetAccountSummaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4409,7 +4914,6 @@ func (_m *MockFakeIAM) GetAccountSummaryWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetAccountSummaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4424,6 +4928,10 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicy(_a0 *iam.GetContextKeysForC ret := _m.Called(_a0) var r0 *iam.GetContextKeysForPolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForCustomPolicyInput) (*iam.GetContextKeysForPolicyResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForCustomPolicyInput) *iam.GetContextKeysForPolicyResponse); ok { r0 = rf(_a0) } else { @@ -4432,7 +4940,6 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicy(_a0 *iam.GetContextKeysForC } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetContextKeysForCustomPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4447,6 +4954,10 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicyRequest(_a0 *iam.GetContextK ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetContextKeysForPolicyResponse + if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForCustomPolicyInput) (*request.Request, *iam.GetContextKeysForPolicyResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForCustomPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4455,7 +4966,6 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicyRequest(_a0 *iam.GetContextK } } - var r1 *iam.GetContextKeysForPolicyResponse if rf, ok := ret.Get(1).(func(*iam.GetContextKeysForCustomPolicyInput) *iam.GetContextKeysForPolicyResponse); ok { r1 = rf(_a0) } else { @@ -4479,6 +4989,10 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicyWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.GetContextKeysForPolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForCustomPolicyInput, ...request.Option) (*iam.GetContextKeysForPolicyResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForCustomPolicyInput, ...request.Option) *iam.GetContextKeysForPolicyResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4487,7 +5001,6 @@ func (_m *MockFakeIAM) GetContextKeysForCustomPolicyWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetContextKeysForCustomPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4502,6 +5015,10 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicy(_a0 *iam.GetContextKeysF ret := _m.Called(_a0) var r0 *iam.GetContextKeysForPolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForPrincipalPolicyInput) (*iam.GetContextKeysForPolicyResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForPrincipalPolicyInput) *iam.GetContextKeysForPolicyResponse); ok { r0 = rf(_a0) } else { @@ -4510,7 +5027,6 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicy(_a0 *iam.GetContextKeysF } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetContextKeysForPrincipalPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4525,6 +5041,10 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicyRequest(_a0 *iam.GetConte ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetContextKeysForPolicyResponse + if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForPrincipalPolicyInput) (*request.Request, *iam.GetContextKeysForPolicyResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetContextKeysForPrincipalPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4533,7 +5053,6 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicyRequest(_a0 *iam.GetConte } } - var r1 *iam.GetContextKeysForPolicyResponse if rf, ok := ret.Get(1).(func(*iam.GetContextKeysForPrincipalPolicyInput) *iam.GetContextKeysForPolicyResponse); ok { r1 = rf(_a0) } else { @@ -4557,6 +5076,10 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicyWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *iam.GetContextKeysForPolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForPrincipalPolicyInput, ...request.Option) (*iam.GetContextKeysForPolicyResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForPrincipalPolicyInput, ...request.Option) *iam.GetContextKeysForPolicyResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4565,7 +5088,6 @@ func (_m *MockFakeIAM) GetContextKeysForPrincipalPolicyWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetContextKeysForPrincipalPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4580,6 +5102,10 @@ func (_m *MockFakeIAM) GetCredentialReport(_a0 *iam.GetCredentialReportInput) (* ret := _m.Called(_a0) var r0 *iam.GetCredentialReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetCredentialReportInput) (*iam.GetCredentialReportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetCredentialReportInput) *iam.GetCredentialReportOutput); ok { r0 = rf(_a0) } else { @@ -4588,7 +5114,6 @@ func (_m *MockFakeIAM) GetCredentialReport(_a0 *iam.GetCredentialReportInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetCredentialReportInput) error); ok { r1 = rf(_a0) } else { @@ -4603,6 +5128,10 @@ func (_m *MockFakeIAM) GetCredentialReportRequest(_a0 *iam.GetCredentialReportIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetCredentialReportOutput + if rf, ok := ret.Get(0).(func(*iam.GetCredentialReportInput) (*request.Request, *iam.GetCredentialReportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetCredentialReportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4611,7 +5140,6 @@ func (_m *MockFakeIAM) GetCredentialReportRequest(_a0 *iam.GetCredentialReportIn } } - var r1 *iam.GetCredentialReportOutput if rf, ok := ret.Get(1).(func(*iam.GetCredentialReportInput) *iam.GetCredentialReportOutput); ok { r1 = rf(_a0) } else { @@ -4635,6 +5163,10 @@ func (_m *MockFakeIAM) GetCredentialReportWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *iam.GetCredentialReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetCredentialReportInput, ...request.Option) (*iam.GetCredentialReportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetCredentialReportInput, ...request.Option) *iam.GetCredentialReportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4643,7 +5175,6 @@ func (_m *MockFakeIAM) GetCredentialReportWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetCredentialReportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4658,6 +5189,10 @@ func (_m *MockFakeIAM) GetGroup(_a0 *iam.GetGroupInput) (*iam.GetGroupOutput, er ret := _m.Called(_a0) var r0 *iam.GetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetGroupInput) (*iam.GetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetGroupInput) *iam.GetGroupOutput); ok { r0 = rf(_a0) } else { @@ -4666,7 +5201,6 @@ func (_m *MockFakeIAM) GetGroup(_a0 *iam.GetGroupInput) (*iam.GetGroupOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -4716,6 +5250,10 @@ func (_m *MockFakeIAM) GetGroupPolicy(_a0 *iam.GetGroupPolicyInput) (*iam.GetGro ret := _m.Called(_a0) var r0 *iam.GetGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetGroupPolicyInput) (*iam.GetGroupPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetGroupPolicyInput) *iam.GetGroupPolicyOutput); ok { r0 = rf(_a0) } else { @@ -4724,7 +5262,6 @@ func (_m *MockFakeIAM) GetGroupPolicy(_a0 *iam.GetGroupPolicyInput) (*iam.GetGro } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetGroupPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4739,6 +5276,10 @@ func (_m *MockFakeIAM) GetGroupPolicyRequest(_a0 *iam.GetGroupPolicyInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetGroupPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.GetGroupPolicyInput) (*request.Request, *iam.GetGroupPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetGroupPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4747,7 +5288,6 @@ func (_m *MockFakeIAM) GetGroupPolicyRequest(_a0 *iam.GetGroupPolicyInput) (*req } } - var r1 *iam.GetGroupPolicyOutput if rf, ok := ret.Get(1).(func(*iam.GetGroupPolicyInput) *iam.GetGroupPolicyOutput); ok { r1 = rf(_a0) } else { @@ -4771,6 +5311,10 @@ func (_m *MockFakeIAM) GetGroupPolicyWithContext(_a0 context.Context, _a1 *iam.G ret := _m.Called(_ca...) var r0 *iam.GetGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupPolicyInput, ...request.Option) (*iam.GetGroupPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupPolicyInput, ...request.Option) *iam.GetGroupPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4779,7 +5323,6 @@ func (_m *MockFakeIAM) GetGroupPolicyWithContext(_a0 context.Context, _a1 *iam.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetGroupPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4794,6 +5337,10 @@ func (_m *MockFakeIAM) GetGroupRequest(_a0 *iam.GetGroupInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetGroupOutput + if rf, ok := ret.Get(0).(func(*iam.GetGroupInput) (*request.Request, *iam.GetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4802,7 +5349,6 @@ func (_m *MockFakeIAM) GetGroupRequest(_a0 *iam.GetGroupInput) (*request.Request } } - var r1 *iam.GetGroupOutput if rf, ok := ret.Get(1).(func(*iam.GetGroupInput) *iam.GetGroupOutput); ok { r1 = rf(_a0) } else { @@ -4826,6 +5372,10 @@ func (_m *MockFakeIAM) GetGroupWithContext(_a0 context.Context, _a1 *iam.GetGrou ret := _m.Called(_ca...) var r0 *iam.GetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupInput, ...request.Option) (*iam.GetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupInput, ...request.Option) *iam.GetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4834,7 +5384,6 @@ func (_m *MockFakeIAM) GetGroupWithContext(_a0 context.Context, _a1 *iam.GetGrou } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4849,6 +5398,10 @@ func (_m *MockFakeIAM) GetInstanceProfile(_a0 *iam.GetInstanceProfileInput) (*ia ret := _m.Called(_a0) var r0 *iam.GetInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetInstanceProfileInput) (*iam.GetInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetInstanceProfileInput) *iam.GetInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -4857,7 +5410,6 @@ func (_m *MockFakeIAM) GetInstanceProfile(_a0 *iam.GetInstanceProfileInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -4872,6 +5424,10 @@ func (_m *MockFakeIAM) GetInstanceProfileRequest(_a0 *iam.GetInstanceProfileInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.GetInstanceProfileInput) (*request.Request, *iam.GetInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4880,7 +5436,6 @@ func (_m *MockFakeIAM) GetInstanceProfileRequest(_a0 *iam.GetInstanceProfileInpu } } - var r1 *iam.GetInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.GetInstanceProfileInput) *iam.GetInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -4904,6 +5459,10 @@ func (_m *MockFakeIAM) GetInstanceProfileWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.GetInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetInstanceProfileInput, ...request.Option) (*iam.GetInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetInstanceProfileInput, ...request.Option) *iam.GetInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4912,7 +5471,6 @@ func (_m *MockFakeIAM) GetInstanceProfileWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4927,6 +5485,10 @@ func (_m *MockFakeIAM) GetLoginProfile(_a0 *iam.GetLoginProfileInput) (*iam.GetL ret := _m.Called(_a0) var r0 *iam.GetLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetLoginProfileInput) (*iam.GetLoginProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetLoginProfileInput) *iam.GetLoginProfileOutput); ok { r0 = rf(_a0) } else { @@ -4935,7 +5497,6 @@ func (_m *MockFakeIAM) GetLoginProfile(_a0 *iam.GetLoginProfileInput) (*iam.GetL } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetLoginProfileInput) error); ok { r1 = rf(_a0) } else { @@ -4950,6 +5511,10 @@ func (_m *MockFakeIAM) GetLoginProfileRequest(_a0 *iam.GetLoginProfileInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetLoginProfileOutput + if rf, ok := ret.Get(0).(func(*iam.GetLoginProfileInput) (*request.Request, *iam.GetLoginProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetLoginProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4958,7 +5523,6 @@ func (_m *MockFakeIAM) GetLoginProfileRequest(_a0 *iam.GetLoginProfileInput) (*r } } - var r1 *iam.GetLoginProfileOutput if rf, ok := ret.Get(1).(func(*iam.GetLoginProfileInput) *iam.GetLoginProfileOutput); ok { r1 = rf(_a0) } else { @@ -4982,6 +5546,10 @@ func (_m *MockFakeIAM) GetLoginProfileWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.GetLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetLoginProfileInput, ...request.Option) (*iam.GetLoginProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetLoginProfileInput, ...request.Option) *iam.GetLoginProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4990,7 +5558,6 @@ func (_m *MockFakeIAM) GetLoginProfileWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetLoginProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5005,6 +5572,10 @@ func (_m *MockFakeIAM) GetOpenIDConnectProvider(_a0 *iam.GetOpenIDConnectProvide ret := _m.Called(_a0) var r0 *iam.GetOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetOpenIDConnectProviderInput) (*iam.GetOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetOpenIDConnectProviderInput) *iam.GetOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -5013,7 +5584,6 @@ func (_m *MockFakeIAM) GetOpenIDConnectProvider(_a0 *iam.GetOpenIDConnectProvide } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -5028,6 +5598,10 @@ func (_m *MockFakeIAM) GetOpenIDConnectProviderRequest(_a0 *iam.GetOpenIDConnect ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.GetOpenIDConnectProviderInput) (*request.Request, *iam.GetOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5036,7 +5610,6 @@ func (_m *MockFakeIAM) GetOpenIDConnectProviderRequest(_a0 *iam.GetOpenIDConnect } } - var r1 *iam.GetOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.GetOpenIDConnectProviderInput) *iam.GetOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -5060,6 +5633,10 @@ func (_m *MockFakeIAM) GetOpenIDConnectProviderWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.GetOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOpenIDConnectProviderInput, ...request.Option) (*iam.GetOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOpenIDConnectProviderInput, ...request.Option) *iam.GetOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5068,7 +5645,6 @@ func (_m *MockFakeIAM) GetOpenIDConnectProviderWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5083,6 +5659,10 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReport(_a0 *iam.GetOrganizationsAcc ret := _m.Called(_a0) var r0 *iam.GetOrganizationsAccessReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetOrganizationsAccessReportInput) (*iam.GetOrganizationsAccessReportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetOrganizationsAccessReportInput) *iam.GetOrganizationsAccessReportOutput); ok { r0 = rf(_a0) } else { @@ -5091,7 +5671,6 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReport(_a0 *iam.GetOrganizationsAcc } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetOrganizationsAccessReportInput) error); ok { r1 = rf(_a0) } else { @@ -5106,6 +5685,10 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReportRequest(_a0 *iam.GetOrganizat ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetOrganizationsAccessReportOutput + if rf, ok := ret.Get(0).(func(*iam.GetOrganizationsAccessReportInput) (*request.Request, *iam.GetOrganizationsAccessReportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetOrganizationsAccessReportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5114,7 +5697,6 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReportRequest(_a0 *iam.GetOrganizat } } - var r1 *iam.GetOrganizationsAccessReportOutput if rf, ok := ret.Get(1).(func(*iam.GetOrganizationsAccessReportInput) *iam.GetOrganizationsAccessReportOutput); ok { r1 = rf(_a0) } else { @@ -5138,6 +5720,10 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReportWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *iam.GetOrganizationsAccessReportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOrganizationsAccessReportInput, ...request.Option) (*iam.GetOrganizationsAccessReportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOrganizationsAccessReportInput, ...request.Option) *iam.GetOrganizationsAccessReportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5146,7 +5732,6 @@ func (_m *MockFakeIAM) GetOrganizationsAccessReportWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetOrganizationsAccessReportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5161,6 +5746,10 @@ func (_m *MockFakeIAM) GetPolicy(_a0 *iam.GetPolicyInput) (*iam.GetPolicyOutput, ret := _m.Called(_a0) var r0 *iam.GetPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetPolicyInput) (*iam.GetPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetPolicyInput) *iam.GetPolicyOutput); ok { r0 = rf(_a0) } else { @@ -5169,7 +5758,6 @@ func (_m *MockFakeIAM) GetPolicy(_a0 *iam.GetPolicyInput) (*iam.GetPolicyOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -5184,6 +5772,10 @@ func (_m *MockFakeIAM) GetPolicyRequest(_a0 *iam.GetPolicyInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.GetPolicyInput) (*request.Request, *iam.GetPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5192,7 +5784,6 @@ func (_m *MockFakeIAM) GetPolicyRequest(_a0 *iam.GetPolicyInput) (*request.Reque } } - var r1 *iam.GetPolicyOutput if rf, ok := ret.Get(1).(func(*iam.GetPolicyInput) *iam.GetPolicyOutput); ok { r1 = rf(_a0) } else { @@ -5209,6 +5800,10 @@ func (_m *MockFakeIAM) GetPolicyVersion(_a0 *iam.GetPolicyVersionInput) (*iam.Ge ret := _m.Called(_a0) var r0 *iam.GetPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetPolicyVersionInput) (*iam.GetPolicyVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetPolicyVersionInput) *iam.GetPolicyVersionOutput); ok { r0 = rf(_a0) } else { @@ -5217,7 +5812,6 @@ func (_m *MockFakeIAM) GetPolicyVersion(_a0 *iam.GetPolicyVersionInput) (*iam.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetPolicyVersionInput) error); ok { r1 = rf(_a0) } else { @@ -5232,6 +5826,10 @@ func (_m *MockFakeIAM) GetPolicyVersionRequest(_a0 *iam.GetPolicyVersionInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetPolicyVersionOutput + if rf, ok := ret.Get(0).(func(*iam.GetPolicyVersionInput) (*request.Request, *iam.GetPolicyVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetPolicyVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5240,7 +5838,6 @@ func (_m *MockFakeIAM) GetPolicyVersionRequest(_a0 *iam.GetPolicyVersionInput) ( } } - var r1 *iam.GetPolicyVersionOutput if rf, ok := ret.Get(1).(func(*iam.GetPolicyVersionInput) *iam.GetPolicyVersionOutput); ok { r1 = rf(_a0) } else { @@ -5264,6 +5861,10 @@ func (_m *MockFakeIAM) GetPolicyVersionWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.GetPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyVersionInput, ...request.Option) (*iam.GetPolicyVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyVersionInput, ...request.Option) *iam.GetPolicyVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5272,7 +5873,6 @@ func (_m *MockFakeIAM) GetPolicyVersionWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetPolicyVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5294,6 +5894,10 @@ func (_m *MockFakeIAM) GetPolicyWithContext(_a0 context.Context, _a1 *iam.GetPol ret := _m.Called(_ca...) var r0 *iam.GetPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyInput, ...request.Option) (*iam.GetPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyInput, ...request.Option) *iam.GetPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5302,7 +5906,6 @@ func (_m *MockFakeIAM) GetPolicyWithContext(_a0 context.Context, _a1 *iam.GetPol } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5317,6 +5920,10 @@ func (_m *MockFakeIAM) GetRole(_a0 *iam.GetRoleInput) (*iam.GetRoleOutput, error ret := _m.Called(_a0) var r0 *iam.GetRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetRoleInput) (*iam.GetRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetRoleInput) *iam.GetRoleOutput); ok { r0 = rf(_a0) } else { @@ -5325,7 +5932,6 @@ func (_m *MockFakeIAM) GetRole(_a0 *iam.GetRoleInput) (*iam.GetRoleOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetRoleInput) error); ok { r1 = rf(_a0) } else { @@ -5340,6 +5946,10 @@ func (_m *MockFakeIAM) GetRolePolicy(_a0 *iam.GetRolePolicyInput) (*iam.GetRoleP ret := _m.Called(_a0) var r0 *iam.GetRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetRolePolicyInput) (*iam.GetRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetRolePolicyInput) *iam.GetRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -5348,7 +5958,6 @@ func (_m *MockFakeIAM) GetRolePolicy(_a0 *iam.GetRolePolicyInput) (*iam.GetRoleP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -5363,6 +5972,10 @@ func (_m *MockFakeIAM) GetRolePolicyRequest(_a0 *iam.GetRolePolicyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.GetRolePolicyInput) (*request.Request, *iam.GetRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5371,7 +5984,6 @@ func (_m *MockFakeIAM) GetRolePolicyRequest(_a0 *iam.GetRolePolicyInput) (*reque } } - var r1 *iam.GetRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.GetRolePolicyInput) *iam.GetRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -5395,6 +6007,10 @@ func (_m *MockFakeIAM) GetRolePolicyWithContext(_a0 context.Context, _a1 *iam.Ge ret := _m.Called(_ca...) var r0 *iam.GetRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRolePolicyInput, ...request.Option) (*iam.GetRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRolePolicyInput, ...request.Option) *iam.GetRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5403,7 +6019,6 @@ func (_m *MockFakeIAM) GetRolePolicyWithContext(_a0 context.Context, _a1 *iam.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5418,6 +6033,10 @@ func (_m *MockFakeIAM) GetRoleRequest(_a0 *iam.GetRoleInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetRoleOutput + if rf, ok := ret.Get(0).(func(*iam.GetRoleInput) (*request.Request, *iam.GetRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5426,7 +6045,6 @@ func (_m *MockFakeIAM) GetRoleRequest(_a0 *iam.GetRoleInput) (*request.Request, } } - var r1 *iam.GetRoleOutput if rf, ok := ret.Get(1).(func(*iam.GetRoleInput) *iam.GetRoleOutput); ok { r1 = rf(_a0) } else { @@ -5450,6 +6068,10 @@ func (_m *MockFakeIAM) GetRoleWithContext(_a0 context.Context, _a1 *iam.GetRoleI ret := _m.Called(_ca...) var r0 *iam.GetRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRoleInput, ...request.Option) (*iam.GetRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRoleInput, ...request.Option) *iam.GetRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5458,7 +6080,6 @@ func (_m *MockFakeIAM) GetRoleWithContext(_a0 context.Context, _a1 *iam.GetRoleI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5473,6 +6094,10 @@ func (_m *MockFakeIAM) GetSAMLProvider(_a0 *iam.GetSAMLProviderInput) (*iam.GetS ret := _m.Called(_a0) var r0 *iam.GetSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetSAMLProviderInput) (*iam.GetSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetSAMLProviderInput) *iam.GetSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -5481,7 +6106,6 @@ func (_m *MockFakeIAM) GetSAMLProvider(_a0 *iam.GetSAMLProviderInput) (*iam.GetS } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -5496,6 +6120,10 @@ func (_m *MockFakeIAM) GetSAMLProviderRequest(_a0 *iam.GetSAMLProviderInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.GetSAMLProviderInput) (*request.Request, *iam.GetSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5504,7 +6132,6 @@ func (_m *MockFakeIAM) GetSAMLProviderRequest(_a0 *iam.GetSAMLProviderInput) (*r } } - var r1 *iam.GetSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.GetSAMLProviderInput) *iam.GetSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -5528,6 +6155,10 @@ func (_m *MockFakeIAM) GetSAMLProviderWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.GetSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSAMLProviderInput, ...request.Option) (*iam.GetSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSAMLProviderInput, ...request.Option) *iam.GetSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5536,7 +6167,6 @@ func (_m *MockFakeIAM) GetSAMLProviderWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5551,6 +6181,10 @@ func (_m *MockFakeIAM) GetSSHPublicKey(_a0 *iam.GetSSHPublicKeyInput) (*iam.GetS ret := _m.Called(_a0) var r0 *iam.GetSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetSSHPublicKeyInput) (*iam.GetSSHPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetSSHPublicKeyInput) *iam.GetSSHPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -5559,7 +6193,6 @@ func (_m *MockFakeIAM) GetSSHPublicKey(_a0 *iam.GetSSHPublicKeyInput) (*iam.GetS } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetSSHPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -5574,6 +6207,10 @@ func (_m *MockFakeIAM) GetSSHPublicKeyRequest(_a0 *iam.GetSSHPublicKeyInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetSSHPublicKeyOutput + if rf, ok := ret.Get(0).(func(*iam.GetSSHPublicKeyInput) (*request.Request, *iam.GetSSHPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetSSHPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5582,7 +6219,6 @@ func (_m *MockFakeIAM) GetSSHPublicKeyRequest(_a0 *iam.GetSSHPublicKeyInput) (*r } } - var r1 *iam.GetSSHPublicKeyOutput if rf, ok := ret.Get(1).(func(*iam.GetSSHPublicKeyInput) *iam.GetSSHPublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -5606,6 +6242,10 @@ func (_m *MockFakeIAM) GetSSHPublicKeyWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.GetSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSSHPublicKeyInput, ...request.Option) (*iam.GetSSHPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSSHPublicKeyInput, ...request.Option) *iam.GetSSHPublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5614,7 +6254,6 @@ func (_m *MockFakeIAM) GetSSHPublicKeyWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetSSHPublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5629,6 +6268,10 @@ func (_m *MockFakeIAM) GetServerCertificate(_a0 *iam.GetServerCertificateInput) ret := _m.Called(_a0) var r0 *iam.GetServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetServerCertificateInput) (*iam.GetServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServerCertificateInput) *iam.GetServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -5637,7 +6280,6 @@ func (_m *MockFakeIAM) GetServerCertificate(_a0 *iam.GetServerCertificateInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -5652,6 +6294,10 @@ func (_m *MockFakeIAM) GetServerCertificateRequest(_a0 *iam.GetServerCertificate ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.GetServerCertificateInput) (*request.Request, *iam.GetServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5660,7 +6306,6 @@ func (_m *MockFakeIAM) GetServerCertificateRequest(_a0 *iam.GetServerCertificate } } - var r1 *iam.GetServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.GetServerCertificateInput) *iam.GetServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -5684,6 +6329,10 @@ func (_m *MockFakeIAM) GetServerCertificateWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.GetServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServerCertificateInput, ...request.Option) (*iam.GetServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServerCertificateInput, ...request.Option) *iam.GetServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5692,7 +6341,6 @@ func (_m *MockFakeIAM) GetServerCertificateWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5707,6 +6355,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetails(_a0 *iam.GetServiceLastAcce ret := _m.Called(_a0) var r0 *iam.GetServiceLastAccessedDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsInput) (*iam.GetServiceLastAccessedDetailsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsInput) *iam.GetServiceLastAccessedDetailsOutput); ok { r0 = rf(_a0) } else { @@ -5715,7 +6367,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetails(_a0 *iam.GetServiceLastAcce } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetServiceLastAccessedDetailsInput) error); ok { r1 = rf(_a0) } else { @@ -5730,6 +6381,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsRequest(_a0 *iam.GetServiceL ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetServiceLastAccessedDetailsOutput + if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsInput) (*request.Request, *iam.GetServiceLastAccessedDetailsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5738,7 +6393,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsRequest(_a0 *iam.GetServiceL } } - var r1 *iam.GetServiceLastAccessedDetailsOutput if rf, ok := ret.Get(1).(func(*iam.GetServiceLastAccessedDetailsInput) *iam.GetServiceLastAccessedDetailsOutput); ok { r1 = rf(_a0) } else { @@ -5762,6 +6416,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.GetServiceLastAccessedDetailsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsInput, ...request.Option) (*iam.GetServiceLastAccessedDetailsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsInput, ...request.Option) *iam.GetServiceLastAccessedDetailsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5770,7 +6428,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetServiceLastAccessedDetailsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5785,6 +6442,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntities(_a0 *iam.GetSer ret := _m.Called(_a0) var r0 *iam.GetServiceLastAccessedDetailsWithEntitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) (*iam.GetServiceLastAccessedDetailsWithEntitiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) *iam.GetServiceLastAccessedDetailsWithEntitiesOutput); ok { r0 = rf(_a0) } else { @@ -5793,7 +6454,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntities(_a0 *iam.GetSer } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) error); ok { r1 = rf(_a0) } else { @@ -5808,6 +6468,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntitiesRequest(_a0 *iam ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetServiceLastAccessedDetailsWithEntitiesOutput + if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) (*request.Request, *iam.GetServiceLastAccessedDetailsWithEntitiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5816,7 +6480,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntitiesRequest(_a0 *iam } } - var r1 *iam.GetServiceLastAccessedDetailsWithEntitiesOutput if rf, ok := ret.Get(1).(func(*iam.GetServiceLastAccessedDetailsWithEntitiesInput) *iam.GetServiceLastAccessedDetailsWithEntitiesOutput); ok { r1 = rf(_a0) } else { @@ -5840,6 +6503,10 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntitiesWithContext(_a0 ret := _m.Called(_ca...) var r0 *iam.GetServiceLastAccessedDetailsWithEntitiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsWithEntitiesInput, ...request.Option) (*iam.GetServiceLastAccessedDetailsWithEntitiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsWithEntitiesInput, ...request.Option) *iam.GetServiceLastAccessedDetailsWithEntitiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5848,7 +6515,6 @@ func (_m *MockFakeIAM) GetServiceLastAccessedDetailsWithEntitiesWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetServiceLastAccessedDetailsWithEntitiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5863,6 +6529,10 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatus(_a0 *iam.GetServiceLin ret := _m.Called(_a0) var r0 *iam.GetServiceLinkedRoleDeletionStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) (*iam.GetServiceLinkedRoleDeletionStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) *iam.GetServiceLinkedRoleDeletionStatusOutput); ok { r0 = rf(_a0) } else { @@ -5871,7 +6541,6 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatus(_a0 *iam.GetServiceLin } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) error); ok { r1 = rf(_a0) } else { @@ -5886,6 +6555,10 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatusRequest(_a0 *iam.GetSer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetServiceLinkedRoleDeletionStatusOutput + if rf, ok := ret.Get(0).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) (*request.Request, *iam.GetServiceLinkedRoleDeletionStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5894,7 +6567,6 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatusRequest(_a0 *iam.GetSer } } - var r1 *iam.GetServiceLinkedRoleDeletionStatusOutput if rf, ok := ret.Get(1).(func(*iam.GetServiceLinkedRoleDeletionStatusInput) *iam.GetServiceLinkedRoleDeletionStatusOutput); ok { r1 = rf(_a0) } else { @@ -5918,6 +6590,10 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatusWithContext(_a0 context ret := _m.Called(_ca...) var r0 *iam.GetServiceLinkedRoleDeletionStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLinkedRoleDeletionStatusInput, ...request.Option) (*iam.GetServiceLinkedRoleDeletionStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLinkedRoleDeletionStatusInput, ...request.Option) *iam.GetServiceLinkedRoleDeletionStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5926,7 +6602,6 @@ func (_m *MockFakeIAM) GetServiceLinkedRoleDeletionStatusWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetServiceLinkedRoleDeletionStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5941,6 +6616,10 @@ func (_m *MockFakeIAM) GetUser(_a0 *iam.GetUserInput) (*iam.GetUserOutput, error ret := _m.Called(_a0) var r0 *iam.GetUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetUserInput) (*iam.GetUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetUserInput) *iam.GetUserOutput); ok { r0 = rf(_a0) } else { @@ -5949,7 +6628,6 @@ func (_m *MockFakeIAM) GetUser(_a0 *iam.GetUserInput) (*iam.GetUserOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetUserInput) error); ok { r1 = rf(_a0) } else { @@ -5964,6 +6642,10 @@ func (_m *MockFakeIAM) GetUserPolicy(_a0 *iam.GetUserPolicyInput) (*iam.GetUserP ret := _m.Called(_a0) var r0 *iam.GetUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.GetUserPolicyInput) (*iam.GetUserPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetUserPolicyInput) *iam.GetUserPolicyOutput); ok { r0 = rf(_a0) } else { @@ -5972,7 +6654,6 @@ func (_m *MockFakeIAM) GetUserPolicy(_a0 *iam.GetUserPolicyInput) (*iam.GetUserP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.GetUserPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -5987,6 +6668,10 @@ func (_m *MockFakeIAM) GetUserPolicyRequest(_a0 *iam.GetUserPolicyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetUserPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.GetUserPolicyInput) (*request.Request, *iam.GetUserPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetUserPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5995,7 +6680,6 @@ func (_m *MockFakeIAM) GetUserPolicyRequest(_a0 *iam.GetUserPolicyInput) (*reque } } - var r1 *iam.GetUserPolicyOutput if rf, ok := ret.Get(1).(func(*iam.GetUserPolicyInput) *iam.GetUserPolicyOutput); ok { r1 = rf(_a0) } else { @@ -6019,6 +6703,10 @@ func (_m *MockFakeIAM) GetUserPolicyWithContext(_a0 context.Context, _a1 *iam.Ge ret := _m.Called(_ca...) var r0 *iam.GetUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserPolicyInput, ...request.Option) (*iam.GetUserPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserPolicyInput, ...request.Option) *iam.GetUserPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6027,7 +6715,6 @@ func (_m *MockFakeIAM) GetUserPolicyWithContext(_a0 context.Context, _a1 *iam.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetUserPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6042,6 +6729,10 @@ func (_m *MockFakeIAM) GetUserRequest(_a0 *iam.GetUserInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.GetUserOutput + if rf, ok := ret.Get(0).(func(*iam.GetUserInput) (*request.Request, *iam.GetUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.GetUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6050,7 +6741,6 @@ func (_m *MockFakeIAM) GetUserRequest(_a0 *iam.GetUserInput) (*request.Request, } } - var r1 *iam.GetUserOutput if rf, ok := ret.Get(1).(func(*iam.GetUserInput) *iam.GetUserOutput); ok { r1 = rf(_a0) } else { @@ -6074,6 +6764,10 @@ func (_m *MockFakeIAM) GetUserWithContext(_a0 context.Context, _a1 *iam.GetUserI ret := _m.Called(_ca...) var r0 *iam.GetUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserInput, ...request.Option) (*iam.GetUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserInput, ...request.Option) *iam.GetUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6082,7 +6776,6 @@ func (_m *MockFakeIAM) GetUserWithContext(_a0 context.Context, _a1 *iam.GetUserI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.GetUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6097,6 +6790,10 @@ func (_m *MockFakeIAM) ListAccessKeys(_a0 *iam.ListAccessKeysInput) (*iam.ListAc ret := _m.Called(_a0) var r0 *iam.ListAccessKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAccessKeysInput) *iam.ListAccessKeysOutput); ok { r0 = rf(_a0) } else { @@ -6105,7 +6802,6 @@ func (_m *MockFakeIAM) ListAccessKeys(_a0 *iam.ListAccessKeysInput) (*iam.ListAc } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListAccessKeysInput) error); ok { r1 = rf(_a0) } else { @@ -6155,6 +6851,10 @@ func (_m *MockFakeIAM) ListAccessKeysRequest(_a0 *iam.ListAccessKeysInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListAccessKeysOutput + if rf, ok := ret.Get(0).(func(*iam.ListAccessKeysInput) (*request.Request, *iam.ListAccessKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAccessKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6163,7 +6863,6 @@ func (_m *MockFakeIAM) ListAccessKeysRequest(_a0 *iam.ListAccessKeysInput) (*req } } - var r1 *iam.ListAccessKeysOutput if rf, ok := ret.Get(1).(func(*iam.ListAccessKeysInput) *iam.ListAccessKeysOutput); ok { r1 = rf(_a0) } else { @@ -6187,6 +6886,10 @@ func (_m *MockFakeIAM) ListAccessKeysWithContext(_a0 context.Context, _a1 *iam.L ret := _m.Called(_ca...) var r0 *iam.ListAccessKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccessKeysInput, ...request.Option) (*iam.ListAccessKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccessKeysInput, ...request.Option) *iam.ListAccessKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6195,7 +6898,6 @@ func (_m *MockFakeIAM) ListAccessKeysWithContext(_a0 context.Context, _a1 *iam.L } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListAccessKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6210,6 +6912,10 @@ func (_m *MockFakeIAM) ListAccountAliases(_a0 *iam.ListAccountAliasesInput) (*ia ret := _m.Called(_a0) var r0 *iam.ListAccountAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListAccountAliasesInput) (*iam.ListAccountAliasesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAccountAliasesInput) *iam.ListAccountAliasesOutput); ok { r0 = rf(_a0) } else { @@ -6218,7 +6924,6 @@ func (_m *MockFakeIAM) ListAccountAliases(_a0 *iam.ListAccountAliasesInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListAccountAliasesInput) error); ok { r1 = rf(_a0) } else { @@ -6268,6 +6973,10 @@ func (_m *MockFakeIAM) ListAccountAliasesRequest(_a0 *iam.ListAccountAliasesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListAccountAliasesOutput + if rf, ok := ret.Get(0).(func(*iam.ListAccountAliasesInput) (*request.Request, *iam.ListAccountAliasesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAccountAliasesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6276,7 +6985,6 @@ func (_m *MockFakeIAM) ListAccountAliasesRequest(_a0 *iam.ListAccountAliasesInpu } } - var r1 *iam.ListAccountAliasesOutput if rf, ok := ret.Get(1).(func(*iam.ListAccountAliasesInput) *iam.ListAccountAliasesOutput); ok { r1 = rf(_a0) } else { @@ -6300,6 +7008,10 @@ func (_m *MockFakeIAM) ListAccountAliasesWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.ListAccountAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccountAliasesInput, ...request.Option) (*iam.ListAccountAliasesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccountAliasesInput, ...request.Option) *iam.ListAccountAliasesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6308,7 +7020,6 @@ func (_m *MockFakeIAM) ListAccountAliasesWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListAccountAliasesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6323,6 +7034,10 @@ func (_m *MockFakeIAM) ListAttachedGroupPolicies(_a0 *iam.ListAttachedGroupPolic ret := _m.Called(_a0) var r0 *iam.ListAttachedGroupPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListAttachedGroupPoliciesInput) (*iam.ListAttachedGroupPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedGroupPoliciesInput) *iam.ListAttachedGroupPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -6331,7 +7046,6 @@ func (_m *MockFakeIAM) ListAttachedGroupPolicies(_a0 *iam.ListAttachedGroupPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListAttachedGroupPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -6381,6 +7095,10 @@ func (_m *MockFakeIAM) ListAttachedGroupPoliciesRequest(_a0 *iam.ListAttachedGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListAttachedGroupPoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListAttachedGroupPoliciesInput) (*request.Request, *iam.ListAttachedGroupPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedGroupPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6389,7 +7107,6 @@ func (_m *MockFakeIAM) ListAttachedGroupPoliciesRequest(_a0 *iam.ListAttachedGro } } - var r1 *iam.ListAttachedGroupPoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListAttachedGroupPoliciesInput) *iam.ListAttachedGroupPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -6413,6 +7130,10 @@ func (_m *MockFakeIAM) ListAttachedGroupPoliciesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.ListAttachedGroupPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedGroupPoliciesInput, ...request.Option) (*iam.ListAttachedGroupPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedGroupPoliciesInput, ...request.Option) *iam.ListAttachedGroupPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6421,7 +7142,6 @@ func (_m *MockFakeIAM) ListAttachedGroupPoliciesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListAttachedGroupPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6436,6 +7156,10 @@ func (_m *MockFakeIAM) ListAttachedRolePolicies(_a0 *iam.ListAttachedRolePolicie ret := _m.Called(_a0) var r0 *iam.ListAttachedRolePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedRolePoliciesInput) *iam.ListAttachedRolePoliciesOutput); ok { r0 = rf(_a0) } else { @@ -6444,7 +7168,6 @@ func (_m *MockFakeIAM) ListAttachedRolePolicies(_a0 *iam.ListAttachedRolePolicie } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListAttachedRolePoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -6494,6 +7217,10 @@ func (_m *MockFakeIAM) ListAttachedRolePoliciesRequest(_a0 *iam.ListAttachedRole ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListAttachedRolePoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListAttachedRolePoliciesInput) (*request.Request, *iam.ListAttachedRolePoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedRolePoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6502,7 +7229,6 @@ func (_m *MockFakeIAM) ListAttachedRolePoliciesRequest(_a0 *iam.ListAttachedRole } } - var r1 *iam.ListAttachedRolePoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListAttachedRolePoliciesInput) *iam.ListAttachedRolePoliciesOutput); ok { r1 = rf(_a0) } else { @@ -6526,6 +7252,10 @@ func (_m *MockFakeIAM) ListAttachedRolePoliciesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.ListAttachedRolePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedRolePoliciesInput, ...request.Option) (*iam.ListAttachedRolePoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedRolePoliciesInput, ...request.Option) *iam.ListAttachedRolePoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6534,7 +7264,6 @@ func (_m *MockFakeIAM) ListAttachedRolePoliciesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListAttachedRolePoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6549,6 +7278,10 @@ func (_m *MockFakeIAM) ListAttachedUserPolicies(_a0 *iam.ListAttachedUserPolicie ret := _m.Called(_a0) var r0 *iam.ListAttachedUserPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListAttachedUserPoliciesInput) (*iam.ListAttachedUserPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedUserPoliciesInput) *iam.ListAttachedUserPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -6557,7 +7290,6 @@ func (_m *MockFakeIAM) ListAttachedUserPolicies(_a0 *iam.ListAttachedUserPolicie } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListAttachedUserPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -6607,6 +7339,10 @@ func (_m *MockFakeIAM) ListAttachedUserPoliciesRequest(_a0 *iam.ListAttachedUser ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListAttachedUserPoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListAttachedUserPoliciesInput) (*request.Request, *iam.ListAttachedUserPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListAttachedUserPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6615,7 +7351,6 @@ func (_m *MockFakeIAM) ListAttachedUserPoliciesRequest(_a0 *iam.ListAttachedUser } } - var r1 *iam.ListAttachedUserPoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListAttachedUserPoliciesInput) *iam.ListAttachedUserPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -6639,6 +7374,10 @@ func (_m *MockFakeIAM) ListAttachedUserPoliciesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.ListAttachedUserPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedUserPoliciesInput, ...request.Option) (*iam.ListAttachedUserPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedUserPoliciesInput, ...request.Option) *iam.ListAttachedUserPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6647,7 +7386,6 @@ func (_m *MockFakeIAM) ListAttachedUserPoliciesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListAttachedUserPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6662,6 +7400,10 @@ func (_m *MockFakeIAM) ListEntitiesForPolicy(_a0 *iam.ListEntitiesForPolicyInput ret := _m.Called(_a0) var r0 *iam.ListEntitiesForPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListEntitiesForPolicyInput) (*iam.ListEntitiesForPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListEntitiesForPolicyInput) *iam.ListEntitiesForPolicyOutput); ok { r0 = rf(_a0) } else { @@ -6670,7 +7412,6 @@ func (_m *MockFakeIAM) ListEntitiesForPolicy(_a0 *iam.ListEntitiesForPolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListEntitiesForPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -6720,6 +7461,10 @@ func (_m *MockFakeIAM) ListEntitiesForPolicyRequest(_a0 *iam.ListEntitiesForPoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListEntitiesForPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.ListEntitiesForPolicyInput) (*request.Request, *iam.ListEntitiesForPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListEntitiesForPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6728,7 +7473,6 @@ func (_m *MockFakeIAM) ListEntitiesForPolicyRequest(_a0 *iam.ListEntitiesForPoli } } - var r1 *iam.ListEntitiesForPolicyOutput if rf, ok := ret.Get(1).(func(*iam.ListEntitiesForPolicyInput) *iam.ListEntitiesForPolicyOutput); ok { r1 = rf(_a0) } else { @@ -6752,6 +7496,10 @@ func (_m *MockFakeIAM) ListEntitiesForPolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.ListEntitiesForPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListEntitiesForPolicyInput, ...request.Option) (*iam.ListEntitiesForPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListEntitiesForPolicyInput, ...request.Option) *iam.ListEntitiesForPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6760,7 +7508,6 @@ func (_m *MockFakeIAM) ListEntitiesForPolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListEntitiesForPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6775,6 +7522,10 @@ func (_m *MockFakeIAM) ListGroupPolicies(_a0 *iam.ListGroupPoliciesInput) (*iam. ret := _m.Called(_a0) var r0 *iam.ListGroupPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListGroupPoliciesInput) (*iam.ListGroupPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupPoliciesInput) *iam.ListGroupPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -6783,7 +7534,6 @@ func (_m *MockFakeIAM) ListGroupPolicies(_a0 *iam.ListGroupPoliciesInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListGroupPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -6833,6 +7583,10 @@ func (_m *MockFakeIAM) ListGroupPoliciesRequest(_a0 *iam.ListGroupPoliciesInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListGroupPoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListGroupPoliciesInput) (*request.Request, *iam.ListGroupPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6841,7 +7595,6 @@ func (_m *MockFakeIAM) ListGroupPoliciesRequest(_a0 *iam.ListGroupPoliciesInput) } } - var r1 *iam.ListGroupPoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListGroupPoliciesInput) *iam.ListGroupPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -6865,6 +7618,10 @@ func (_m *MockFakeIAM) ListGroupPoliciesWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.ListGroupPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupPoliciesInput, ...request.Option) (*iam.ListGroupPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupPoliciesInput, ...request.Option) *iam.ListGroupPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6873,7 +7630,6 @@ func (_m *MockFakeIAM) ListGroupPoliciesWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListGroupPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6888,6 +7644,10 @@ func (_m *MockFakeIAM) ListGroups(_a0 *iam.ListGroupsInput) (*iam.ListGroupsOutp ret := _m.Called(_a0) var r0 *iam.ListGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListGroupsInput) (*iam.ListGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupsInput) *iam.ListGroupsOutput); ok { r0 = rf(_a0) } else { @@ -6896,7 +7656,6 @@ func (_m *MockFakeIAM) ListGroups(_a0 *iam.ListGroupsInput) (*iam.ListGroupsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -6911,6 +7670,10 @@ func (_m *MockFakeIAM) ListGroupsForUser(_a0 *iam.ListGroupsForUserInput) (*iam. ret := _m.Called(_a0) var r0 *iam.ListGroupsForUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListGroupsForUserInput) (*iam.ListGroupsForUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupsForUserInput) *iam.ListGroupsForUserOutput); ok { r0 = rf(_a0) } else { @@ -6919,7 +7682,6 @@ func (_m *MockFakeIAM) ListGroupsForUser(_a0 *iam.ListGroupsForUserInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListGroupsForUserInput) error); ok { r1 = rf(_a0) } else { @@ -6969,6 +7731,10 @@ func (_m *MockFakeIAM) ListGroupsForUserRequest(_a0 *iam.ListGroupsForUserInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListGroupsForUserOutput + if rf, ok := ret.Get(0).(func(*iam.ListGroupsForUserInput) (*request.Request, *iam.ListGroupsForUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupsForUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6977,7 +7743,6 @@ func (_m *MockFakeIAM) ListGroupsForUserRequest(_a0 *iam.ListGroupsForUserInput) } } - var r1 *iam.ListGroupsForUserOutput if rf, ok := ret.Get(1).(func(*iam.ListGroupsForUserInput) *iam.ListGroupsForUserOutput); ok { r1 = rf(_a0) } else { @@ -7001,6 +7766,10 @@ func (_m *MockFakeIAM) ListGroupsForUserWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.ListGroupsForUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsForUserInput, ...request.Option) (*iam.ListGroupsForUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsForUserInput, ...request.Option) *iam.ListGroupsForUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7009,7 +7778,6 @@ func (_m *MockFakeIAM) ListGroupsForUserWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListGroupsForUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7059,6 +7827,10 @@ func (_m *MockFakeIAM) ListGroupsRequest(_a0 *iam.ListGroupsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListGroupsOutput + if rf, ok := ret.Get(0).(func(*iam.ListGroupsInput) (*request.Request, *iam.ListGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7067,7 +7839,6 @@ func (_m *MockFakeIAM) ListGroupsRequest(_a0 *iam.ListGroupsInput) (*request.Req } } - var r1 *iam.ListGroupsOutput if rf, ok := ret.Get(1).(func(*iam.ListGroupsInput) *iam.ListGroupsOutput); ok { r1 = rf(_a0) } else { @@ -7091,6 +7862,10 @@ func (_m *MockFakeIAM) ListGroupsWithContext(_a0 context.Context, _a1 *iam.ListG ret := _m.Called(_ca...) var r0 *iam.ListGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsInput, ...request.Option) (*iam.ListGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsInput, ...request.Option) *iam.ListGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7099,7 +7874,6 @@ func (_m *MockFakeIAM) ListGroupsWithContext(_a0 context.Context, _a1 *iam.ListG } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7114,6 +7888,10 @@ func (_m *MockFakeIAM) ListInstanceProfileTags(_a0 *iam.ListInstanceProfileTagsI ret := _m.Called(_a0) var r0 *iam.ListInstanceProfileTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) (*iam.ListInstanceProfileTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) *iam.ListInstanceProfileTagsOutput); ok { r0 = rf(_a0) } else { @@ -7122,7 +7900,6 @@ func (_m *MockFakeIAM) ListInstanceProfileTags(_a0 *iam.ListInstanceProfileTagsI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfileTagsInput) error); ok { r1 = rf(_a0) } else { @@ -7137,6 +7914,10 @@ func (_m *MockFakeIAM) ListInstanceProfileTagsRequest(_a0 *iam.ListInstanceProfi ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListInstanceProfileTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) (*request.Request, *iam.ListInstanceProfileTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfileTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7145,7 +7926,6 @@ func (_m *MockFakeIAM) ListInstanceProfileTagsRequest(_a0 *iam.ListInstanceProfi } } - var r1 *iam.ListInstanceProfileTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfileTagsInput) *iam.ListInstanceProfileTagsOutput); ok { r1 = rf(_a0) } else { @@ -7169,6 +7949,10 @@ func (_m *MockFakeIAM) ListInstanceProfileTagsWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.ListInstanceProfileTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...request.Option) (*iam.ListInstanceProfileTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...request.Option) *iam.ListInstanceProfileTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7177,7 +7961,6 @@ func (_m *MockFakeIAM) ListInstanceProfileTagsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7192,6 +7975,10 @@ func (_m *MockFakeIAM) ListInstanceProfiles(_a0 *iam.ListInstanceProfilesInput) ret := _m.Called(_a0) var r0 *iam.ListInstanceProfilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesInput) (*iam.ListInstanceProfilesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesInput) *iam.ListInstanceProfilesOutput); ok { r0 = rf(_a0) } else { @@ -7200,7 +7987,6 @@ func (_m *MockFakeIAM) ListInstanceProfiles(_a0 *iam.ListInstanceProfilesInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfilesInput) error); ok { r1 = rf(_a0) } else { @@ -7215,6 +8001,10 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRole(_a0 *iam.ListInstanceProfiles ret := _m.Called(_a0) var r0 *iam.ListInstanceProfilesForRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesForRoleInput) (*iam.ListInstanceProfilesForRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesForRoleInput) *iam.ListInstanceProfilesForRoleOutput); ok { r0 = rf(_a0) } else { @@ -7223,7 +8013,6 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRole(_a0 *iam.ListInstanceProfiles } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfilesForRoleInput) error); ok { r1 = rf(_a0) } else { @@ -7273,6 +8062,10 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRoleRequest(_a0 *iam.ListInstanceP ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListInstanceProfilesForRoleOutput + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesForRoleInput) (*request.Request, *iam.ListInstanceProfilesForRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesForRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7281,7 +8074,6 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRoleRequest(_a0 *iam.ListInstanceP } } - var r1 *iam.ListInstanceProfilesForRoleOutput if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfilesForRoleInput) *iam.ListInstanceProfilesForRoleOutput); ok { r1 = rf(_a0) } else { @@ -7305,6 +8097,10 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRoleWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *iam.ListInstanceProfilesForRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesForRoleInput, ...request.Option) (*iam.ListInstanceProfilesForRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesForRoleInput, ...request.Option) *iam.ListInstanceProfilesForRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7313,7 +8109,6 @@ func (_m *MockFakeIAM) ListInstanceProfilesForRoleWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListInstanceProfilesForRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7363,6 +8158,10 @@ func (_m *MockFakeIAM) ListInstanceProfilesRequest(_a0 *iam.ListInstanceProfiles ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListInstanceProfilesOutput + if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesInput) (*request.Request, *iam.ListInstanceProfilesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListInstanceProfilesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7371,7 +8170,6 @@ func (_m *MockFakeIAM) ListInstanceProfilesRequest(_a0 *iam.ListInstanceProfiles } } - var r1 *iam.ListInstanceProfilesOutput if rf, ok := ret.Get(1).(func(*iam.ListInstanceProfilesInput) *iam.ListInstanceProfilesOutput); ok { r1 = rf(_a0) } else { @@ -7395,6 +8193,10 @@ func (_m *MockFakeIAM) ListInstanceProfilesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.ListInstanceProfilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesInput, ...request.Option) (*iam.ListInstanceProfilesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesInput, ...request.Option) *iam.ListInstanceProfilesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7403,7 +8205,6 @@ func (_m *MockFakeIAM) ListInstanceProfilesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListInstanceProfilesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7418,6 +8219,10 @@ func (_m *MockFakeIAM) ListMFADeviceTags(_a0 *iam.ListMFADeviceTagsInput) (*iam. ret := _m.Called(_a0) var r0 *iam.ListMFADeviceTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) (*iam.ListMFADeviceTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) *iam.ListMFADeviceTagsOutput); ok { r0 = rf(_a0) } else { @@ -7426,7 +8231,6 @@ func (_m *MockFakeIAM) ListMFADeviceTags(_a0 *iam.ListMFADeviceTagsInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListMFADeviceTagsInput) error); ok { r1 = rf(_a0) } else { @@ -7441,6 +8245,10 @@ func (_m *MockFakeIAM) ListMFADeviceTagsRequest(_a0 *iam.ListMFADeviceTagsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListMFADeviceTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) (*request.Request, *iam.ListMFADeviceTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListMFADeviceTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7449,7 +8257,6 @@ func (_m *MockFakeIAM) ListMFADeviceTagsRequest(_a0 *iam.ListMFADeviceTagsInput) } } - var r1 *iam.ListMFADeviceTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListMFADeviceTagsInput) *iam.ListMFADeviceTagsOutput); ok { r1 = rf(_a0) } else { @@ -7473,6 +8280,10 @@ func (_m *MockFakeIAM) ListMFADeviceTagsWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.ListMFADeviceTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADeviceTagsInput, ...request.Option) (*iam.ListMFADeviceTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADeviceTagsInput, ...request.Option) *iam.ListMFADeviceTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7481,7 +8292,6 @@ func (_m *MockFakeIAM) ListMFADeviceTagsWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListMFADeviceTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7496,6 +8306,10 @@ func (_m *MockFakeIAM) ListMFADevices(_a0 *iam.ListMFADevicesInput) (*iam.ListMF ret := _m.Called(_a0) var r0 *iam.ListMFADevicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListMFADevicesInput) (*iam.ListMFADevicesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListMFADevicesInput) *iam.ListMFADevicesOutput); ok { r0 = rf(_a0) } else { @@ -7504,7 +8318,6 @@ func (_m *MockFakeIAM) ListMFADevices(_a0 *iam.ListMFADevicesInput) (*iam.ListMF } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListMFADevicesInput) error); ok { r1 = rf(_a0) } else { @@ -7554,6 +8367,10 @@ func (_m *MockFakeIAM) ListMFADevicesRequest(_a0 *iam.ListMFADevicesInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListMFADevicesOutput + if rf, ok := ret.Get(0).(func(*iam.ListMFADevicesInput) (*request.Request, *iam.ListMFADevicesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListMFADevicesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7562,7 +8379,6 @@ func (_m *MockFakeIAM) ListMFADevicesRequest(_a0 *iam.ListMFADevicesInput) (*req } } - var r1 *iam.ListMFADevicesOutput if rf, ok := ret.Get(1).(func(*iam.ListMFADevicesInput) *iam.ListMFADevicesOutput); ok { r1 = rf(_a0) } else { @@ -7586,6 +8402,10 @@ func (_m *MockFakeIAM) ListMFADevicesWithContext(_a0 context.Context, _a1 *iam.L ret := _m.Called(_ca...) var r0 *iam.ListMFADevicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADevicesInput, ...request.Option) (*iam.ListMFADevicesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADevicesInput, ...request.Option) *iam.ListMFADevicesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7594,7 +8414,6 @@ func (_m *MockFakeIAM) ListMFADevicesWithContext(_a0 context.Context, _a1 *iam.L } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListMFADevicesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7609,6 +8428,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTags(_a0 *iam.ListOpenIDConnectP ret := _m.Called(_a0) var r0 *iam.ListOpenIDConnectProviderTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) (*iam.ListOpenIDConnectProviderTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) *iam.ListOpenIDConnectProviderTagsOutput); ok { r0 = rf(_a0) } else { @@ -7617,7 +8440,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTags(_a0 *iam.ListOpenIDConnectP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProviderTagsInput) error); ok { r1 = rf(_a0) } else { @@ -7632,6 +8454,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTagsRequest(_a0 *iam.ListOpenIDC ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListOpenIDConnectProviderTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) (*request.Request, *iam.ListOpenIDConnectProviderTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProviderTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7640,7 +8466,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTagsRequest(_a0 *iam.ListOpenIDC } } - var r1 *iam.ListOpenIDConnectProviderTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProviderTagsInput) *iam.ListOpenIDConnectProviderTagsOutput); ok { r1 = rf(_a0) } else { @@ -7664,6 +8489,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTagsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.ListOpenIDConnectProviderTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...request.Option) (*iam.ListOpenIDConnectProviderTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...request.Option) *iam.ListOpenIDConnectProviderTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7672,7 +8501,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviderTagsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7687,6 +8515,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviders(_a0 *iam.ListOpenIDConnectProv ret := _m.Called(_a0) var r0 *iam.ListOpenIDConnectProvidersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProvidersInput) (*iam.ListOpenIDConnectProvidersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProvidersInput) *iam.ListOpenIDConnectProvidersOutput); ok { r0 = rf(_a0) } else { @@ -7695,7 +8527,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProviders(_a0 *iam.ListOpenIDConnectProv } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProvidersInput) error); ok { r1 = rf(_a0) } else { @@ -7710,6 +8541,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProvidersRequest(_a0 *iam.ListOpenIDConn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListOpenIDConnectProvidersOutput + if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProvidersInput) (*request.Request, *iam.ListOpenIDConnectProvidersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListOpenIDConnectProvidersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7718,7 +8553,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProvidersRequest(_a0 *iam.ListOpenIDConn } } - var r1 *iam.ListOpenIDConnectProvidersOutput if rf, ok := ret.Get(1).(func(*iam.ListOpenIDConnectProvidersInput) *iam.ListOpenIDConnectProvidersOutput); ok { r1 = rf(_a0) } else { @@ -7742,6 +8576,10 @@ func (_m *MockFakeIAM) ListOpenIDConnectProvidersWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *iam.ListOpenIDConnectProvidersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProvidersInput, ...request.Option) (*iam.ListOpenIDConnectProvidersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProvidersInput, ...request.Option) *iam.ListOpenIDConnectProvidersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7750,7 +8588,6 @@ func (_m *MockFakeIAM) ListOpenIDConnectProvidersWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListOpenIDConnectProvidersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7765,6 +8602,10 @@ func (_m *MockFakeIAM) ListPolicies(_a0 *iam.ListPoliciesInput) (*iam.ListPolici ret := _m.Called(_a0) var r0 *iam.ListPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListPoliciesInput) (*iam.ListPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPoliciesInput) *iam.ListPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -7773,7 +8614,6 @@ func (_m *MockFakeIAM) ListPolicies(_a0 *iam.ListPoliciesInput) (*iam.ListPolici } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -7788,6 +8628,10 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccess(_a0 *iam.ListPoliciesGr ret := _m.Called(_a0) var r0 *iam.ListPoliciesGrantingServiceAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListPoliciesGrantingServiceAccessInput) (*iam.ListPoliciesGrantingServiceAccessOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPoliciesGrantingServiceAccessInput) *iam.ListPoliciesGrantingServiceAccessOutput); ok { r0 = rf(_a0) } else { @@ -7796,7 +8640,6 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccess(_a0 *iam.ListPoliciesGr } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListPoliciesGrantingServiceAccessInput) error); ok { r1 = rf(_a0) } else { @@ -7811,6 +8654,10 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccessRequest(_a0 *iam.ListPol ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListPoliciesGrantingServiceAccessOutput + if rf, ok := ret.Get(0).(func(*iam.ListPoliciesGrantingServiceAccessInput) (*request.Request, *iam.ListPoliciesGrantingServiceAccessOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPoliciesGrantingServiceAccessInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7819,7 +8666,6 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccessRequest(_a0 *iam.ListPol } } - var r1 *iam.ListPoliciesGrantingServiceAccessOutput if rf, ok := ret.Get(1).(func(*iam.ListPoliciesGrantingServiceAccessInput) *iam.ListPoliciesGrantingServiceAccessOutput); ok { r1 = rf(_a0) } else { @@ -7843,6 +8689,10 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccessWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *iam.ListPoliciesGrantingServiceAccessOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesGrantingServiceAccessInput, ...request.Option) (*iam.ListPoliciesGrantingServiceAccessOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesGrantingServiceAccessInput, ...request.Option) *iam.ListPoliciesGrantingServiceAccessOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7851,7 +8701,6 @@ func (_m *MockFakeIAM) ListPoliciesGrantingServiceAccessWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListPoliciesGrantingServiceAccessInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7901,6 +8750,10 @@ func (_m *MockFakeIAM) ListPoliciesRequest(_a0 *iam.ListPoliciesInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListPoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListPoliciesInput) (*request.Request, *iam.ListPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7909,7 +8762,6 @@ func (_m *MockFakeIAM) ListPoliciesRequest(_a0 *iam.ListPoliciesInput) (*request } } - var r1 *iam.ListPoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListPoliciesInput) *iam.ListPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -7933,6 +8785,10 @@ func (_m *MockFakeIAM) ListPoliciesWithContext(_a0 context.Context, _a1 *iam.Lis ret := _m.Called(_ca...) var r0 *iam.ListPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesInput, ...request.Option) (*iam.ListPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesInput, ...request.Option) *iam.ListPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7941,7 +8797,6 @@ func (_m *MockFakeIAM) ListPoliciesWithContext(_a0 context.Context, _a1 *iam.Lis } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7956,6 +8811,10 @@ func (_m *MockFakeIAM) ListPolicyTags(_a0 *iam.ListPolicyTagsInput) (*iam.ListPo ret := _m.Called(_a0) var r0 *iam.ListPolicyTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) (*iam.ListPolicyTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) *iam.ListPolicyTagsOutput); ok { r0 = rf(_a0) } else { @@ -7964,7 +8823,6 @@ func (_m *MockFakeIAM) ListPolicyTags(_a0 *iam.ListPolicyTagsInput) (*iam.ListPo } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListPolicyTagsInput) error); ok { r1 = rf(_a0) } else { @@ -7979,6 +8837,10 @@ func (_m *MockFakeIAM) ListPolicyTagsRequest(_a0 *iam.ListPolicyTagsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListPolicyTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) (*request.Request, *iam.ListPolicyTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPolicyTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7987,7 +8849,6 @@ func (_m *MockFakeIAM) ListPolicyTagsRequest(_a0 *iam.ListPolicyTagsInput) (*req } } - var r1 *iam.ListPolicyTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListPolicyTagsInput) *iam.ListPolicyTagsOutput); ok { r1 = rf(_a0) } else { @@ -8011,6 +8872,10 @@ func (_m *MockFakeIAM) ListPolicyTagsWithContext(_a0 context.Context, _a1 *iam.L ret := _m.Called(_ca...) var r0 *iam.ListPolicyTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyTagsInput, ...request.Option) (*iam.ListPolicyTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyTagsInput, ...request.Option) *iam.ListPolicyTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8019,7 +8884,6 @@ func (_m *MockFakeIAM) ListPolicyTagsWithContext(_a0 context.Context, _a1 *iam.L } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListPolicyTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8034,6 +8898,10 @@ func (_m *MockFakeIAM) ListPolicyVersions(_a0 *iam.ListPolicyVersionsInput) (*ia ret := _m.Called(_a0) var r0 *iam.ListPolicyVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListPolicyVersionsInput) (*iam.ListPolicyVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPolicyVersionsInput) *iam.ListPolicyVersionsOutput); ok { r0 = rf(_a0) } else { @@ -8042,7 +8910,6 @@ func (_m *MockFakeIAM) ListPolicyVersions(_a0 *iam.ListPolicyVersionsInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListPolicyVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -8092,6 +8959,10 @@ func (_m *MockFakeIAM) ListPolicyVersionsRequest(_a0 *iam.ListPolicyVersionsInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListPolicyVersionsOutput + if rf, ok := ret.Get(0).(func(*iam.ListPolicyVersionsInput) (*request.Request, *iam.ListPolicyVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListPolicyVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8100,7 +8971,6 @@ func (_m *MockFakeIAM) ListPolicyVersionsRequest(_a0 *iam.ListPolicyVersionsInpu } } - var r1 *iam.ListPolicyVersionsOutput if rf, ok := ret.Get(1).(func(*iam.ListPolicyVersionsInput) *iam.ListPolicyVersionsOutput); ok { r1 = rf(_a0) } else { @@ -8124,6 +8994,10 @@ func (_m *MockFakeIAM) ListPolicyVersionsWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.ListPolicyVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyVersionsInput, ...request.Option) (*iam.ListPolicyVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyVersionsInput, ...request.Option) *iam.ListPolicyVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8132,7 +9006,6 @@ func (_m *MockFakeIAM) ListPolicyVersionsWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListPolicyVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8147,6 +9020,10 @@ func (_m *MockFakeIAM) ListRolePolicies(_a0 *iam.ListRolePoliciesInput) (*iam.Li ret := _m.Called(_a0) var r0 *iam.ListRolePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListRolePoliciesInput) (*iam.ListRolePoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRolePoliciesInput) *iam.ListRolePoliciesOutput); ok { r0 = rf(_a0) } else { @@ -8155,7 +9032,6 @@ func (_m *MockFakeIAM) ListRolePolicies(_a0 *iam.ListRolePoliciesInput) (*iam.Li } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListRolePoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -8205,6 +9081,10 @@ func (_m *MockFakeIAM) ListRolePoliciesRequest(_a0 *iam.ListRolePoliciesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListRolePoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListRolePoliciesInput) (*request.Request, *iam.ListRolePoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRolePoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8213,7 +9093,6 @@ func (_m *MockFakeIAM) ListRolePoliciesRequest(_a0 *iam.ListRolePoliciesInput) ( } } - var r1 *iam.ListRolePoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListRolePoliciesInput) *iam.ListRolePoliciesOutput); ok { r1 = rf(_a0) } else { @@ -8237,6 +9116,10 @@ func (_m *MockFakeIAM) ListRolePoliciesWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.ListRolePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolePoliciesInput, ...request.Option) (*iam.ListRolePoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolePoliciesInput, ...request.Option) *iam.ListRolePoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8245,7 +9128,6 @@ func (_m *MockFakeIAM) ListRolePoliciesWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListRolePoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8260,6 +9142,10 @@ func (_m *MockFakeIAM) ListRoleTags(_a0 *iam.ListRoleTagsInput) (*iam.ListRoleTa ret := _m.Called(_a0) var r0 *iam.ListRoleTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListRoleTagsInput) (*iam.ListRoleTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRoleTagsInput) *iam.ListRoleTagsOutput); ok { r0 = rf(_a0) } else { @@ -8268,7 +9154,6 @@ func (_m *MockFakeIAM) ListRoleTags(_a0 *iam.ListRoleTagsInput) (*iam.ListRoleTa } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListRoleTagsInput) error); ok { r1 = rf(_a0) } else { @@ -8283,6 +9168,10 @@ func (_m *MockFakeIAM) ListRoleTagsRequest(_a0 *iam.ListRoleTagsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListRoleTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListRoleTagsInput) (*request.Request, *iam.ListRoleTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRoleTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8291,7 +9180,6 @@ func (_m *MockFakeIAM) ListRoleTagsRequest(_a0 *iam.ListRoleTagsInput) (*request } } - var r1 *iam.ListRoleTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListRoleTagsInput) *iam.ListRoleTagsOutput); ok { r1 = rf(_a0) } else { @@ -8315,6 +9203,10 @@ func (_m *MockFakeIAM) ListRoleTagsWithContext(_a0 context.Context, _a1 *iam.Lis ret := _m.Called(_ca...) var r0 *iam.ListRoleTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRoleTagsInput, ...request.Option) (*iam.ListRoleTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRoleTagsInput, ...request.Option) *iam.ListRoleTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8323,7 +9215,6 @@ func (_m *MockFakeIAM) ListRoleTagsWithContext(_a0 context.Context, _a1 *iam.Lis } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListRoleTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8338,6 +9229,10 @@ func (_m *MockFakeIAM) ListRoles(_a0 *iam.ListRolesInput) (*iam.ListRolesOutput, ret := _m.Called(_a0) var r0 *iam.ListRolesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListRolesInput) (*iam.ListRolesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRolesInput) *iam.ListRolesOutput); ok { r0 = rf(_a0) } else { @@ -8346,7 +9241,6 @@ func (_m *MockFakeIAM) ListRoles(_a0 *iam.ListRolesInput) (*iam.ListRolesOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListRolesInput) error); ok { r1 = rf(_a0) } else { @@ -8396,6 +9290,10 @@ func (_m *MockFakeIAM) ListRolesRequest(_a0 *iam.ListRolesInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListRolesOutput + if rf, ok := ret.Get(0).(func(*iam.ListRolesInput) (*request.Request, *iam.ListRolesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListRolesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8404,7 +9302,6 @@ func (_m *MockFakeIAM) ListRolesRequest(_a0 *iam.ListRolesInput) (*request.Reque } } - var r1 *iam.ListRolesOutput if rf, ok := ret.Get(1).(func(*iam.ListRolesInput) *iam.ListRolesOutput); ok { r1 = rf(_a0) } else { @@ -8428,6 +9325,10 @@ func (_m *MockFakeIAM) ListRolesWithContext(_a0 context.Context, _a1 *iam.ListRo ret := _m.Called(_ca...) var r0 *iam.ListRolesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolesInput, ...request.Option) (*iam.ListRolesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolesInput, ...request.Option) *iam.ListRolesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8436,7 +9337,6 @@ func (_m *MockFakeIAM) ListRolesWithContext(_a0 context.Context, _a1 *iam.ListRo } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListRolesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8451,6 +9351,10 @@ func (_m *MockFakeIAM) ListSAMLProviderTags(_a0 *iam.ListSAMLProviderTagsInput) ret := _m.Called(_a0) var r0 *iam.ListSAMLProviderTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) (*iam.ListSAMLProviderTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) *iam.ListSAMLProviderTagsOutput); ok { r0 = rf(_a0) } else { @@ -8459,7 +9363,6 @@ func (_m *MockFakeIAM) ListSAMLProviderTags(_a0 *iam.ListSAMLProviderTagsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListSAMLProviderTagsInput) error); ok { r1 = rf(_a0) } else { @@ -8474,6 +9377,10 @@ func (_m *MockFakeIAM) ListSAMLProviderTagsRequest(_a0 *iam.ListSAMLProviderTags ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListSAMLProviderTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) (*request.Request, *iam.ListSAMLProviderTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSAMLProviderTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8482,7 +9389,6 @@ func (_m *MockFakeIAM) ListSAMLProviderTagsRequest(_a0 *iam.ListSAMLProviderTags } } - var r1 *iam.ListSAMLProviderTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListSAMLProviderTagsInput) *iam.ListSAMLProviderTagsOutput); ok { r1 = rf(_a0) } else { @@ -8506,6 +9412,10 @@ func (_m *MockFakeIAM) ListSAMLProviderTagsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.ListSAMLProviderTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...request.Option) (*iam.ListSAMLProviderTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...request.Option) *iam.ListSAMLProviderTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8514,7 +9424,6 @@ func (_m *MockFakeIAM) ListSAMLProviderTagsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8529,6 +9438,10 @@ func (_m *MockFakeIAM) ListSAMLProviders(_a0 *iam.ListSAMLProvidersInput) (*iam. ret := _m.Called(_a0) var r0 *iam.ListSAMLProvidersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) (*iam.ListSAMLProvidersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { r0 = rf(_a0) } else { @@ -8537,7 +9450,6 @@ func (_m *MockFakeIAM) ListSAMLProviders(_a0 *iam.ListSAMLProvidersInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) error); ok { r1 = rf(_a0) } else { @@ -8552,6 +9464,10 @@ func (_m *MockFakeIAM) ListSAMLProvidersRequest(_a0 *iam.ListSAMLProvidersInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListSAMLProvidersOutput + if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) (*request.Request, *iam.ListSAMLProvidersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSAMLProvidersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8560,7 +9476,6 @@ func (_m *MockFakeIAM) ListSAMLProvidersRequest(_a0 *iam.ListSAMLProvidersInput) } } - var r1 *iam.ListSAMLProvidersOutput if rf, ok := ret.Get(1).(func(*iam.ListSAMLProvidersInput) *iam.ListSAMLProvidersOutput); ok { r1 = rf(_a0) } else { @@ -8584,6 +9499,10 @@ func (_m *MockFakeIAM) ListSAMLProvidersWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.ListSAMLProvidersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProvidersInput, ...request.Option) (*iam.ListSAMLProvidersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProvidersInput, ...request.Option) *iam.ListSAMLProvidersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8592,7 +9511,6 @@ func (_m *MockFakeIAM) ListSAMLProvidersWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListSAMLProvidersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8607,6 +9525,10 @@ func (_m *MockFakeIAM) ListSSHPublicKeys(_a0 *iam.ListSSHPublicKeysInput) (*iam. ret := _m.Called(_a0) var r0 *iam.ListSSHPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListSSHPublicKeysInput) (*iam.ListSSHPublicKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSSHPublicKeysInput) *iam.ListSSHPublicKeysOutput); ok { r0 = rf(_a0) } else { @@ -8615,7 +9537,6 @@ func (_m *MockFakeIAM) ListSSHPublicKeys(_a0 *iam.ListSSHPublicKeysInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListSSHPublicKeysInput) error); ok { r1 = rf(_a0) } else { @@ -8665,6 +9586,10 @@ func (_m *MockFakeIAM) ListSSHPublicKeysRequest(_a0 *iam.ListSSHPublicKeysInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListSSHPublicKeysOutput + if rf, ok := ret.Get(0).(func(*iam.ListSSHPublicKeysInput) (*request.Request, *iam.ListSSHPublicKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSSHPublicKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8673,7 +9598,6 @@ func (_m *MockFakeIAM) ListSSHPublicKeysRequest(_a0 *iam.ListSSHPublicKeysInput) } } - var r1 *iam.ListSSHPublicKeysOutput if rf, ok := ret.Get(1).(func(*iam.ListSSHPublicKeysInput) *iam.ListSSHPublicKeysOutput); ok { r1 = rf(_a0) } else { @@ -8697,6 +9621,10 @@ func (_m *MockFakeIAM) ListSSHPublicKeysWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.ListSSHPublicKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSSHPublicKeysInput, ...request.Option) (*iam.ListSSHPublicKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSSHPublicKeysInput, ...request.Option) *iam.ListSSHPublicKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8705,7 +9633,6 @@ func (_m *MockFakeIAM) ListSSHPublicKeysWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListSSHPublicKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8720,6 +9647,10 @@ func (_m *MockFakeIAM) ListServerCertificateTags(_a0 *iam.ListServerCertificateT ret := _m.Called(_a0) var r0 *iam.ListServerCertificateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) (*iam.ListServerCertificateTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) *iam.ListServerCertificateTagsOutput); ok { r0 = rf(_a0) } else { @@ -8728,7 +9659,6 @@ func (_m *MockFakeIAM) ListServerCertificateTags(_a0 *iam.ListServerCertificateT } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListServerCertificateTagsInput) error); ok { r1 = rf(_a0) } else { @@ -8743,6 +9673,10 @@ func (_m *MockFakeIAM) ListServerCertificateTagsRequest(_a0 *iam.ListServerCerti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListServerCertificateTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) (*request.Request, *iam.ListServerCertificateTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServerCertificateTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8751,7 +9685,6 @@ func (_m *MockFakeIAM) ListServerCertificateTagsRequest(_a0 *iam.ListServerCerti } } - var r1 *iam.ListServerCertificateTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListServerCertificateTagsInput) *iam.ListServerCertificateTagsOutput); ok { r1 = rf(_a0) } else { @@ -8775,6 +9708,10 @@ func (_m *MockFakeIAM) ListServerCertificateTagsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.ListServerCertificateTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificateTagsInput, ...request.Option) (*iam.ListServerCertificateTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificateTagsInput, ...request.Option) *iam.ListServerCertificateTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8783,7 +9720,6 @@ func (_m *MockFakeIAM) ListServerCertificateTagsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListServerCertificateTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8798,6 +9734,10 @@ func (_m *MockFakeIAM) ListServerCertificates(_a0 *iam.ListServerCertificatesInp ret := _m.Called(_a0) var r0 *iam.ListServerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificatesInput) (*iam.ListServerCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServerCertificatesInput) *iam.ListServerCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -8806,7 +9746,6 @@ func (_m *MockFakeIAM) ListServerCertificates(_a0 *iam.ListServerCertificatesInp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListServerCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -8856,6 +9795,10 @@ func (_m *MockFakeIAM) ListServerCertificatesRequest(_a0 *iam.ListServerCertific ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListServerCertificatesOutput + if rf, ok := ret.Get(0).(func(*iam.ListServerCertificatesInput) (*request.Request, *iam.ListServerCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServerCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8864,7 +9807,6 @@ func (_m *MockFakeIAM) ListServerCertificatesRequest(_a0 *iam.ListServerCertific } } - var r1 *iam.ListServerCertificatesOutput if rf, ok := ret.Get(1).(func(*iam.ListServerCertificatesInput) *iam.ListServerCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -8888,6 +9830,10 @@ func (_m *MockFakeIAM) ListServerCertificatesWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *iam.ListServerCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificatesInput, ...request.Option) (*iam.ListServerCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificatesInput, ...request.Option) *iam.ListServerCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8896,7 +9842,6 @@ func (_m *MockFakeIAM) ListServerCertificatesWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListServerCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8911,6 +9856,10 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentials(_a0 *iam.ListServiceSpecif ret := _m.Called(_a0) var r0 *iam.ListServiceSpecificCredentialsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListServiceSpecificCredentialsInput) (*iam.ListServiceSpecificCredentialsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServiceSpecificCredentialsInput) *iam.ListServiceSpecificCredentialsOutput); ok { r0 = rf(_a0) } else { @@ -8919,7 +9868,6 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentials(_a0 *iam.ListServiceSpecif } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListServiceSpecificCredentialsInput) error); ok { r1 = rf(_a0) } else { @@ -8934,6 +9882,10 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentialsRequest(_a0 *iam.ListServic ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListServiceSpecificCredentialsOutput + if rf, ok := ret.Get(0).(func(*iam.ListServiceSpecificCredentialsInput) (*request.Request, *iam.ListServiceSpecificCredentialsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListServiceSpecificCredentialsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8942,7 +9894,6 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentialsRequest(_a0 *iam.ListServic } } - var r1 *iam.ListServiceSpecificCredentialsOutput if rf, ok := ret.Get(1).(func(*iam.ListServiceSpecificCredentialsInput) *iam.ListServiceSpecificCredentialsOutput); ok { r1 = rf(_a0) } else { @@ -8966,6 +9917,10 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentialsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *iam.ListServiceSpecificCredentialsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServiceSpecificCredentialsInput, ...request.Option) (*iam.ListServiceSpecificCredentialsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServiceSpecificCredentialsInput, ...request.Option) *iam.ListServiceSpecificCredentialsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8974,7 +9929,6 @@ func (_m *MockFakeIAM) ListServiceSpecificCredentialsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListServiceSpecificCredentialsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8989,6 +9943,10 @@ func (_m *MockFakeIAM) ListSigningCertificates(_a0 *iam.ListSigningCertificatesI ret := _m.Called(_a0) var r0 *iam.ListSigningCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListSigningCertificatesInput) (*iam.ListSigningCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSigningCertificatesInput) *iam.ListSigningCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -8997,7 +9955,6 @@ func (_m *MockFakeIAM) ListSigningCertificates(_a0 *iam.ListSigningCertificatesI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListSigningCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -9047,6 +10004,10 @@ func (_m *MockFakeIAM) ListSigningCertificatesRequest(_a0 *iam.ListSigningCertif ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListSigningCertificatesOutput + if rf, ok := ret.Get(0).(func(*iam.ListSigningCertificatesInput) (*request.Request, *iam.ListSigningCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListSigningCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9055,7 +10016,6 @@ func (_m *MockFakeIAM) ListSigningCertificatesRequest(_a0 *iam.ListSigningCertif } } - var r1 *iam.ListSigningCertificatesOutput if rf, ok := ret.Get(1).(func(*iam.ListSigningCertificatesInput) *iam.ListSigningCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -9079,6 +10039,10 @@ func (_m *MockFakeIAM) ListSigningCertificatesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.ListSigningCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSigningCertificatesInput, ...request.Option) (*iam.ListSigningCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSigningCertificatesInput, ...request.Option) *iam.ListSigningCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9087,7 +10051,6 @@ func (_m *MockFakeIAM) ListSigningCertificatesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListSigningCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9102,6 +10065,10 @@ func (_m *MockFakeIAM) ListUserPolicies(_a0 *iam.ListUserPoliciesInput) (*iam.Li ret := _m.Called(_a0) var r0 *iam.ListUserPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListUserPoliciesInput) (*iam.ListUserPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUserPoliciesInput) *iam.ListUserPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -9110,7 +10077,6 @@ func (_m *MockFakeIAM) ListUserPolicies(_a0 *iam.ListUserPoliciesInput) (*iam.Li } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListUserPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -9160,6 +10126,10 @@ func (_m *MockFakeIAM) ListUserPoliciesRequest(_a0 *iam.ListUserPoliciesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListUserPoliciesOutput + if rf, ok := ret.Get(0).(func(*iam.ListUserPoliciesInput) (*request.Request, *iam.ListUserPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUserPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9168,7 +10138,6 @@ func (_m *MockFakeIAM) ListUserPoliciesRequest(_a0 *iam.ListUserPoliciesInput) ( } } - var r1 *iam.ListUserPoliciesOutput if rf, ok := ret.Get(1).(func(*iam.ListUserPoliciesInput) *iam.ListUserPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -9192,6 +10161,10 @@ func (_m *MockFakeIAM) ListUserPoliciesWithContext(_a0 context.Context, _a1 *iam ret := _m.Called(_ca...) var r0 *iam.ListUserPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserPoliciesInput, ...request.Option) (*iam.ListUserPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserPoliciesInput, ...request.Option) *iam.ListUserPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9200,7 +10173,6 @@ func (_m *MockFakeIAM) ListUserPoliciesWithContext(_a0 context.Context, _a1 *iam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListUserPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9215,6 +10187,10 @@ func (_m *MockFakeIAM) ListUserTags(_a0 *iam.ListUserTagsInput) (*iam.ListUserTa ret := _m.Called(_a0) var r0 *iam.ListUserTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListUserTagsInput) (*iam.ListUserTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUserTagsInput) *iam.ListUserTagsOutput); ok { r0 = rf(_a0) } else { @@ -9223,7 +10199,6 @@ func (_m *MockFakeIAM) ListUserTags(_a0 *iam.ListUserTagsInput) (*iam.ListUserTa } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListUserTagsInput) error); ok { r1 = rf(_a0) } else { @@ -9273,6 +10248,10 @@ func (_m *MockFakeIAM) ListUserTagsRequest(_a0 *iam.ListUserTagsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListUserTagsOutput + if rf, ok := ret.Get(0).(func(*iam.ListUserTagsInput) (*request.Request, *iam.ListUserTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUserTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9281,7 +10260,6 @@ func (_m *MockFakeIAM) ListUserTagsRequest(_a0 *iam.ListUserTagsInput) (*request } } - var r1 *iam.ListUserTagsOutput if rf, ok := ret.Get(1).(func(*iam.ListUserTagsInput) *iam.ListUserTagsOutput); ok { r1 = rf(_a0) } else { @@ -9305,6 +10283,10 @@ func (_m *MockFakeIAM) ListUserTagsWithContext(_a0 context.Context, _a1 *iam.Lis ret := _m.Called(_ca...) var r0 *iam.ListUserTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserTagsInput, ...request.Option) (*iam.ListUserTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserTagsInput, ...request.Option) *iam.ListUserTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9313,7 +10295,6 @@ func (_m *MockFakeIAM) ListUserTagsWithContext(_a0 context.Context, _a1 *iam.Lis } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListUserTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9328,6 +10309,10 @@ func (_m *MockFakeIAM) ListUsers(_a0 *iam.ListUsersInput) (*iam.ListUsersOutput, ret := _m.Called(_a0) var r0 *iam.ListUsersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListUsersInput) (*iam.ListUsersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUsersInput) *iam.ListUsersOutput); ok { r0 = rf(_a0) } else { @@ -9336,7 +10321,6 @@ func (_m *MockFakeIAM) ListUsers(_a0 *iam.ListUsersInput) (*iam.ListUsersOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListUsersInput) error); ok { r1 = rf(_a0) } else { @@ -9386,6 +10370,10 @@ func (_m *MockFakeIAM) ListUsersRequest(_a0 *iam.ListUsersInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListUsersOutput + if rf, ok := ret.Get(0).(func(*iam.ListUsersInput) (*request.Request, *iam.ListUsersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListUsersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9394,7 +10382,6 @@ func (_m *MockFakeIAM) ListUsersRequest(_a0 *iam.ListUsersInput) (*request.Reque } } - var r1 *iam.ListUsersOutput if rf, ok := ret.Get(1).(func(*iam.ListUsersInput) *iam.ListUsersOutput); ok { r1 = rf(_a0) } else { @@ -9418,6 +10405,10 @@ func (_m *MockFakeIAM) ListUsersWithContext(_a0 context.Context, _a1 *iam.ListUs ret := _m.Called(_ca...) var r0 *iam.ListUsersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUsersInput, ...request.Option) (*iam.ListUsersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUsersInput, ...request.Option) *iam.ListUsersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9426,7 +10417,6 @@ func (_m *MockFakeIAM) ListUsersWithContext(_a0 context.Context, _a1 *iam.ListUs } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListUsersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9441,6 +10431,10 @@ func (_m *MockFakeIAM) ListVirtualMFADevices(_a0 *iam.ListVirtualMFADevicesInput ret := _m.Called(_a0) var r0 *iam.ListVirtualMFADevicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ListVirtualMFADevicesInput) (*iam.ListVirtualMFADevicesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListVirtualMFADevicesInput) *iam.ListVirtualMFADevicesOutput); ok { r0 = rf(_a0) } else { @@ -9449,7 +10443,6 @@ func (_m *MockFakeIAM) ListVirtualMFADevices(_a0 *iam.ListVirtualMFADevicesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ListVirtualMFADevicesInput) error); ok { r1 = rf(_a0) } else { @@ -9499,6 +10492,10 @@ func (_m *MockFakeIAM) ListVirtualMFADevicesRequest(_a0 *iam.ListVirtualMFADevic ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ListVirtualMFADevicesOutput + if rf, ok := ret.Get(0).(func(*iam.ListVirtualMFADevicesInput) (*request.Request, *iam.ListVirtualMFADevicesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ListVirtualMFADevicesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9507,7 +10504,6 @@ func (_m *MockFakeIAM) ListVirtualMFADevicesRequest(_a0 *iam.ListVirtualMFADevic } } - var r1 *iam.ListVirtualMFADevicesOutput if rf, ok := ret.Get(1).(func(*iam.ListVirtualMFADevicesInput) *iam.ListVirtualMFADevicesOutput); ok { r1 = rf(_a0) } else { @@ -9531,6 +10527,10 @@ func (_m *MockFakeIAM) ListVirtualMFADevicesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.ListVirtualMFADevicesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ListVirtualMFADevicesInput, ...request.Option) (*iam.ListVirtualMFADevicesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ListVirtualMFADevicesInput, ...request.Option) *iam.ListVirtualMFADevicesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9539,7 +10539,6 @@ func (_m *MockFakeIAM) ListVirtualMFADevicesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ListVirtualMFADevicesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9554,6 +10553,10 @@ func (_m *MockFakeIAM) PutGroupPolicy(_a0 *iam.PutGroupPolicyInput) (*iam.PutGro ret := _m.Called(_a0) var r0 *iam.PutGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.PutGroupPolicyInput) (*iam.PutGroupPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutGroupPolicyInput) *iam.PutGroupPolicyOutput); ok { r0 = rf(_a0) } else { @@ -9562,7 +10565,6 @@ func (_m *MockFakeIAM) PutGroupPolicy(_a0 *iam.PutGroupPolicyInput) (*iam.PutGro } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.PutGroupPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -9577,6 +10579,10 @@ func (_m *MockFakeIAM) PutGroupPolicyRequest(_a0 *iam.PutGroupPolicyInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.PutGroupPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.PutGroupPolicyInput) (*request.Request, *iam.PutGroupPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutGroupPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9585,7 +10591,6 @@ func (_m *MockFakeIAM) PutGroupPolicyRequest(_a0 *iam.PutGroupPolicyInput) (*req } } - var r1 *iam.PutGroupPolicyOutput if rf, ok := ret.Get(1).(func(*iam.PutGroupPolicyInput) *iam.PutGroupPolicyOutput); ok { r1 = rf(_a0) } else { @@ -9609,6 +10614,10 @@ func (_m *MockFakeIAM) PutGroupPolicyWithContext(_a0 context.Context, _a1 *iam.P ret := _m.Called(_ca...) var r0 *iam.PutGroupPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.PutGroupPolicyInput, ...request.Option) (*iam.PutGroupPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.PutGroupPolicyInput, ...request.Option) *iam.PutGroupPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9617,7 +10626,6 @@ func (_m *MockFakeIAM) PutGroupPolicyWithContext(_a0 context.Context, _a1 *iam.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.PutGroupPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9632,6 +10640,10 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundary(_a0 *iam.PutRolePermissionsBou ret := _m.Called(_a0) var r0 *iam.PutRolePermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.PutRolePermissionsBoundaryInput) (*iam.PutRolePermissionsBoundaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutRolePermissionsBoundaryInput) *iam.PutRolePermissionsBoundaryOutput); ok { r0 = rf(_a0) } else { @@ -9640,7 +10652,6 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundary(_a0 *iam.PutRolePermissionsBou } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.PutRolePermissionsBoundaryInput) error); ok { r1 = rf(_a0) } else { @@ -9655,6 +10666,10 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundaryRequest(_a0 *iam.PutRolePermiss ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.PutRolePermissionsBoundaryOutput + if rf, ok := ret.Get(0).(func(*iam.PutRolePermissionsBoundaryInput) (*request.Request, *iam.PutRolePermissionsBoundaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutRolePermissionsBoundaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9663,7 +10678,6 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundaryRequest(_a0 *iam.PutRolePermiss } } - var r1 *iam.PutRolePermissionsBoundaryOutput if rf, ok := ret.Get(1).(func(*iam.PutRolePermissionsBoundaryInput) *iam.PutRolePermissionsBoundaryOutput); ok { r1 = rf(_a0) } else { @@ -9687,6 +10701,10 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundaryWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *iam.PutRolePermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePermissionsBoundaryInput, ...request.Option) (*iam.PutRolePermissionsBoundaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePermissionsBoundaryInput, ...request.Option) *iam.PutRolePermissionsBoundaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9695,7 +10713,6 @@ func (_m *MockFakeIAM) PutRolePermissionsBoundaryWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.PutRolePermissionsBoundaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9710,6 +10727,10 @@ func (_m *MockFakeIAM) PutRolePolicy(_a0 *iam.PutRolePolicyInput) (*iam.PutRoleP ret := _m.Called(_a0) var r0 *iam.PutRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutRolePolicyInput) *iam.PutRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -9718,7 +10739,6 @@ func (_m *MockFakeIAM) PutRolePolicy(_a0 *iam.PutRolePolicyInput) (*iam.PutRoleP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.PutRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -9733,6 +10753,10 @@ func (_m *MockFakeIAM) PutRolePolicyRequest(_a0 *iam.PutRolePolicyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.PutRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.PutRolePolicyInput) (*request.Request, *iam.PutRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9741,7 +10765,6 @@ func (_m *MockFakeIAM) PutRolePolicyRequest(_a0 *iam.PutRolePolicyInput) (*reque } } - var r1 *iam.PutRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.PutRolePolicyInput) *iam.PutRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -9765,6 +10788,10 @@ func (_m *MockFakeIAM) PutRolePolicyWithContext(_a0 context.Context, _a1 *iam.Pu ret := _m.Called(_ca...) var r0 *iam.PutRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePolicyInput, ...request.Option) (*iam.PutRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePolicyInput, ...request.Option) *iam.PutRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9773,7 +10800,6 @@ func (_m *MockFakeIAM) PutRolePolicyWithContext(_a0 context.Context, _a1 *iam.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.PutRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9788,6 +10814,10 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundary(_a0 *iam.PutUserPermissionsBou ret := _m.Called(_a0) var r0 *iam.PutUserPermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.PutUserPermissionsBoundaryInput) (*iam.PutUserPermissionsBoundaryOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutUserPermissionsBoundaryInput) *iam.PutUserPermissionsBoundaryOutput); ok { r0 = rf(_a0) } else { @@ -9796,7 +10826,6 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundary(_a0 *iam.PutUserPermissionsBou } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.PutUserPermissionsBoundaryInput) error); ok { r1 = rf(_a0) } else { @@ -9811,6 +10840,10 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundaryRequest(_a0 *iam.PutUserPermiss ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.PutUserPermissionsBoundaryOutput + if rf, ok := ret.Get(0).(func(*iam.PutUserPermissionsBoundaryInput) (*request.Request, *iam.PutUserPermissionsBoundaryOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutUserPermissionsBoundaryInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9819,7 +10852,6 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundaryRequest(_a0 *iam.PutUserPermiss } } - var r1 *iam.PutUserPermissionsBoundaryOutput if rf, ok := ret.Get(1).(func(*iam.PutUserPermissionsBoundaryInput) *iam.PutUserPermissionsBoundaryOutput); ok { r1 = rf(_a0) } else { @@ -9843,6 +10875,10 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundaryWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *iam.PutUserPermissionsBoundaryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPermissionsBoundaryInput, ...request.Option) (*iam.PutUserPermissionsBoundaryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPermissionsBoundaryInput, ...request.Option) *iam.PutUserPermissionsBoundaryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9851,7 +10887,6 @@ func (_m *MockFakeIAM) PutUserPermissionsBoundaryWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.PutUserPermissionsBoundaryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9866,6 +10901,10 @@ func (_m *MockFakeIAM) PutUserPolicy(_a0 *iam.PutUserPolicyInput) (*iam.PutUserP ret := _m.Called(_a0) var r0 *iam.PutUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.PutUserPolicyInput) (*iam.PutUserPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutUserPolicyInput) *iam.PutUserPolicyOutput); ok { r0 = rf(_a0) } else { @@ -9874,7 +10913,6 @@ func (_m *MockFakeIAM) PutUserPolicy(_a0 *iam.PutUserPolicyInput) (*iam.PutUserP } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.PutUserPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -9889,6 +10927,10 @@ func (_m *MockFakeIAM) PutUserPolicyRequest(_a0 *iam.PutUserPolicyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.PutUserPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.PutUserPolicyInput) (*request.Request, *iam.PutUserPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.PutUserPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9897,7 +10939,6 @@ func (_m *MockFakeIAM) PutUserPolicyRequest(_a0 *iam.PutUserPolicyInput) (*reque } } - var r1 *iam.PutUserPolicyOutput if rf, ok := ret.Get(1).(func(*iam.PutUserPolicyInput) *iam.PutUserPolicyOutput); ok { r1 = rf(_a0) } else { @@ -9921,6 +10962,10 @@ func (_m *MockFakeIAM) PutUserPolicyWithContext(_a0 context.Context, _a1 *iam.Pu ret := _m.Called(_ca...) var r0 *iam.PutUserPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPolicyInput, ...request.Option) (*iam.PutUserPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPolicyInput, ...request.Option) *iam.PutUserPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9929,7 +10974,6 @@ func (_m *MockFakeIAM) PutUserPolicyWithContext(_a0 context.Context, _a1 *iam.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.PutUserPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9944,6 +10988,10 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProvider(_a0 *iam.RemoveCl ret := _m.Called(_a0) var r0 *iam.RemoveClientIDFromOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) (*iam.RemoveClientIDFromOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) *iam.RemoveClientIDFromOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -9952,7 +11000,6 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProvider(_a0 *iam.RemoveCl } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -9967,6 +11014,10 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProviderRequest(_a0 *iam.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.RemoveClientIDFromOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) (*request.Request, *iam.RemoveClientIDFromOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9975,7 +11026,6 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProviderRequest(_a0 *iam.R } } - var r1 *iam.RemoveClientIDFromOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.RemoveClientIDFromOpenIDConnectProviderInput) *iam.RemoveClientIDFromOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -9999,6 +11049,10 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProviderWithContext(_a0 co ret := _m.Called(_ca...) var r0 *iam.RemoveClientIDFromOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveClientIDFromOpenIDConnectProviderInput, ...request.Option) (*iam.RemoveClientIDFromOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveClientIDFromOpenIDConnectProviderInput, ...request.Option) *iam.RemoveClientIDFromOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10007,7 +11061,6 @@ func (_m *MockFakeIAM) RemoveClientIDFromOpenIDConnectProviderWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.RemoveClientIDFromOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10022,6 +11075,10 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfile(_a0 *iam.RemoveRoleFromInst ret := _m.Called(_a0) var r0 *iam.RemoveRoleFromInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.RemoveRoleFromInstanceProfileInput) (*iam.RemoveRoleFromInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveRoleFromInstanceProfileInput) *iam.RemoveRoleFromInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -10030,7 +11087,6 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfile(_a0 *iam.RemoveRoleFromInst } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.RemoveRoleFromInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -10045,6 +11101,10 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfileRequest(_a0 *iam.RemoveRoleF ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.RemoveRoleFromInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.RemoveRoleFromInstanceProfileInput) (*request.Request, *iam.RemoveRoleFromInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveRoleFromInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10053,7 +11113,6 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfileRequest(_a0 *iam.RemoveRoleF } } - var r1 *iam.RemoveRoleFromInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.RemoveRoleFromInstanceProfileInput) *iam.RemoveRoleFromInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -10077,6 +11136,10 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfileWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *iam.RemoveRoleFromInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveRoleFromInstanceProfileInput, ...request.Option) (*iam.RemoveRoleFromInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveRoleFromInstanceProfileInput, ...request.Option) *iam.RemoveRoleFromInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10085,7 +11148,6 @@ func (_m *MockFakeIAM) RemoveRoleFromInstanceProfileWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.RemoveRoleFromInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10100,6 +11162,10 @@ func (_m *MockFakeIAM) RemoveUserFromGroup(_a0 *iam.RemoveUserFromGroupInput) (* ret := _m.Called(_a0) var r0 *iam.RemoveUserFromGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveUserFromGroupInput) *iam.RemoveUserFromGroupOutput); ok { r0 = rf(_a0) } else { @@ -10108,7 +11174,6 @@ func (_m *MockFakeIAM) RemoveUserFromGroup(_a0 *iam.RemoveUserFromGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.RemoveUserFromGroupInput) error); ok { r1 = rf(_a0) } else { @@ -10123,6 +11188,10 @@ func (_m *MockFakeIAM) RemoveUserFromGroupRequest(_a0 *iam.RemoveUserFromGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.RemoveUserFromGroupOutput + if rf, ok := ret.Get(0).(func(*iam.RemoveUserFromGroupInput) (*request.Request, *iam.RemoveUserFromGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.RemoveUserFromGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10131,7 +11200,6 @@ func (_m *MockFakeIAM) RemoveUserFromGroupRequest(_a0 *iam.RemoveUserFromGroupIn } } - var r1 *iam.RemoveUserFromGroupOutput if rf, ok := ret.Get(1).(func(*iam.RemoveUserFromGroupInput) *iam.RemoveUserFromGroupOutput); ok { r1 = rf(_a0) } else { @@ -10155,6 +11223,10 @@ func (_m *MockFakeIAM) RemoveUserFromGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *iam.RemoveUserFromGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveUserFromGroupInput, ...request.Option) (*iam.RemoveUserFromGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveUserFromGroupInput, ...request.Option) *iam.RemoveUserFromGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10163,7 +11235,6 @@ func (_m *MockFakeIAM) RemoveUserFromGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.RemoveUserFromGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10178,6 +11249,10 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredential(_a0 *iam.ResetServiceSpeci ret := _m.Called(_a0) var r0 *iam.ResetServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ResetServiceSpecificCredentialInput) (*iam.ResetServiceSpecificCredentialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ResetServiceSpecificCredentialInput) *iam.ResetServiceSpecificCredentialOutput); ok { r0 = rf(_a0) } else { @@ -10186,7 +11261,6 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredential(_a0 *iam.ResetServiceSpeci } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ResetServiceSpecificCredentialInput) error); ok { r1 = rf(_a0) } else { @@ -10201,6 +11275,10 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredentialRequest(_a0 *iam.ResetServi ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ResetServiceSpecificCredentialOutput + if rf, ok := ret.Get(0).(func(*iam.ResetServiceSpecificCredentialInput) (*request.Request, *iam.ResetServiceSpecificCredentialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ResetServiceSpecificCredentialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10209,7 +11287,6 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredentialRequest(_a0 *iam.ResetServi } } - var r1 *iam.ResetServiceSpecificCredentialOutput if rf, ok := ret.Get(1).(func(*iam.ResetServiceSpecificCredentialInput) *iam.ResetServiceSpecificCredentialOutput); ok { r1 = rf(_a0) } else { @@ -10233,6 +11310,10 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredentialWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *iam.ResetServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ResetServiceSpecificCredentialInput, ...request.Option) (*iam.ResetServiceSpecificCredentialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ResetServiceSpecificCredentialInput, ...request.Option) *iam.ResetServiceSpecificCredentialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10241,7 +11322,6 @@ func (_m *MockFakeIAM) ResetServiceSpecificCredentialWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ResetServiceSpecificCredentialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10256,6 +11336,10 @@ func (_m *MockFakeIAM) ResyncMFADevice(_a0 *iam.ResyncMFADeviceInput) (*iam.Resy ret := _m.Called(_a0) var r0 *iam.ResyncMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) (*iam.ResyncMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -10264,7 +11348,6 @@ func (_m *MockFakeIAM) ResyncMFADevice(_a0 *iam.ResyncMFADeviceInput) (*iam.Resy } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -10279,6 +11362,10 @@ func (_m *MockFakeIAM) ResyncMFADeviceRequest(_a0 *iam.ResyncMFADeviceInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.ResyncMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) (*request.Request, *iam.ResyncMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.ResyncMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10287,7 +11374,6 @@ func (_m *MockFakeIAM) ResyncMFADeviceRequest(_a0 *iam.ResyncMFADeviceInput) (*r } } - var r1 *iam.ResyncMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.ResyncMFADeviceInput) *iam.ResyncMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -10311,6 +11397,10 @@ func (_m *MockFakeIAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.ResyncMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) (*iam.ResyncMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) *iam.ResyncMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10319,7 +11409,6 @@ func (_m *MockFakeIAM) ResyncMFADeviceWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.ResyncMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10334,6 +11423,10 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersion(_a0 *iam.SetDefaultPolicyVersionI ret := _m.Called(_a0) var r0 *iam.SetDefaultPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) (*iam.SetDefaultPolicyVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { r0 = rf(_a0) } else { @@ -10342,7 +11435,6 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersion(_a0 *iam.SetDefaultPolicyVersionI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) error); ok { r1 = rf(_a0) } else { @@ -10357,6 +11449,10 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersionRequest(_a0 *iam.SetDefaultPolicyV ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.SetDefaultPolicyVersionOutput + if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) (*request.Request, *iam.SetDefaultPolicyVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SetDefaultPolicyVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10365,7 +11461,6 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersionRequest(_a0 *iam.SetDefaultPolicyV } } - var r1 *iam.SetDefaultPolicyVersionOutput if rf, ok := ret.Get(1).(func(*iam.SetDefaultPolicyVersionInput) *iam.SetDefaultPolicyVersionOutput); ok { r1 = rf(_a0) } else { @@ -10389,6 +11484,10 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.SetDefaultPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) (*iam.SetDefaultPolicyVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) *iam.SetDefaultPolicyVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10397,7 +11496,6 @@ func (_m *MockFakeIAM) SetDefaultPolicyVersionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10412,6 +11510,10 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferences(_a0 *iam.SetSecurityTo ret := _m.Called(_a0) var r0 *iam.SetSecurityTokenServicePreferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) (*iam.SetSecurityTokenServicePreferencesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { r0 = rf(_a0) } else { @@ -10420,7 +11522,6 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferences(_a0 *iam.SetSecurityTo } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) error); ok { r1 = rf(_a0) } else { @@ -10435,6 +11536,10 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferencesRequest(_a0 *iam.SetSec ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.SetSecurityTokenServicePreferencesOutput + if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) (*request.Request, *iam.SetSecurityTokenServicePreferencesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SetSecurityTokenServicePreferencesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10443,7 +11548,6 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferencesRequest(_a0 *iam.SetSec } } - var r1 *iam.SetSecurityTokenServicePreferencesOutput if rf, ok := ret.Get(1).(func(*iam.SetSecurityTokenServicePreferencesInput) *iam.SetSecurityTokenServicePreferencesOutput); ok { r1 = rf(_a0) } else { @@ -10467,6 +11571,10 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferencesWithContext(_a0 context ret := _m.Called(_ca...) var r0 *iam.SetSecurityTokenServicePreferencesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) (*iam.SetSecurityTokenServicePreferencesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) *iam.SetSecurityTokenServicePreferencesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10475,7 +11583,6 @@ func (_m *MockFakeIAM) SetSecurityTokenServicePreferencesWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10490,6 +11597,10 @@ func (_m *MockFakeIAM) SimulateCustomPolicy(_a0 *iam.SimulateCustomPolicyInput) ret := _m.Called(_a0) var r0 *iam.SimulatePolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) (*iam.SimulatePolicyResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { r0 = rf(_a0) } else { @@ -10498,7 +11609,6 @@ func (_m *MockFakeIAM) SimulateCustomPolicy(_a0 *iam.SimulateCustomPolicyInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -10548,6 +11658,10 @@ func (_m *MockFakeIAM) SimulateCustomPolicyRequest(_a0 *iam.SimulateCustomPolicy ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) (*request.Request, *iam.SimulatePolicyResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SimulateCustomPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10556,7 +11670,6 @@ func (_m *MockFakeIAM) SimulateCustomPolicyRequest(_a0 *iam.SimulateCustomPolicy } } - var r1 *iam.SimulatePolicyResponse if rf, ok := ret.Get(1).(func(*iam.SimulateCustomPolicyInput) *iam.SimulatePolicyResponse); ok { r1 = rf(_a0) } else { @@ -10580,6 +11693,10 @@ func (_m *MockFakeIAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.SimulatePolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) (*iam.SimulatePolicyResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10588,7 +11705,6 @@ func (_m *MockFakeIAM) SimulateCustomPolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulateCustomPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10603,6 +11719,10 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicy(_a0 *iam.SimulatePrincipalPolicyI ret := _m.Called(_a0) var r0 *iam.SimulatePolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) (*iam.SimulatePolicyResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { r0 = rf(_a0) } else { @@ -10611,7 +11731,6 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicy(_a0 *iam.SimulatePrincipalPolicyI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -10661,6 +11780,10 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicyRequest(_a0 *iam.SimulatePrincipal ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.SimulatePolicyResponse + if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) (*request.Request, *iam.SimulatePolicyResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.SimulatePrincipalPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10669,7 +11792,6 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicyRequest(_a0 *iam.SimulatePrincipal } } - var r1 *iam.SimulatePolicyResponse if rf, ok := ret.Get(1).(func(*iam.SimulatePrincipalPolicyInput) *iam.SimulatePolicyResponse); ok { r1 = rf(_a0) } else { @@ -10693,6 +11815,10 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.SimulatePolicyResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) (*iam.SimulatePolicyResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) *iam.SimulatePolicyResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10701,7 +11827,6 @@ func (_m *MockFakeIAM) SimulatePrincipalPolicyWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10716,6 +11841,10 @@ func (_m *MockFakeIAM) TagInstanceProfile(_a0 *iam.TagInstanceProfileInput) (*ia ret := _m.Called(_a0) var r0 *iam.TagInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) (*iam.TagInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) *iam.TagInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -10724,7 +11853,6 @@ func (_m *MockFakeIAM) TagInstanceProfile(_a0 *iam.TagInstanceProfileInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -10739,6 +11867,10 @@ func (_m *MockFakeIAM) TagInstanceProfileRequest(_a0 *iam.TagInstanceProfileInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) (*request.Request, *iam.TagInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10747,7 +11879,6 @@ func (_m *MockFakeIAM) TagInstanceProfileRequest(_a0 *iam.TagInstanceProfileInpu } } - var r1 *iam.TagInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.TagInstanceProfileInput) *iam.TagInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -10771,6 +11902,10 @@ func (_m *MockFakeIAM) TagInstanceProfileWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.TagInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagInstanceProfileInput, ...request.Option) (*iam.TagInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagInstanceProfileInput, ...request.Option) *iam.TagInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10779,7 +11914,6 @@ func (_m *MockFakeIAM) TagInstanceProfileWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10794,6 +11928,10 @@ func (_m *MockFakeIAM) TagMFADevice(_a0 *iam.TagMFADeviceInput) (*iam.TagMFADevi ret := _m.Called(_a0) var r0 *iam.TagMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) (*iam.TagMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) *iam.TagMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -10802,7 +11940,6 @@ func (_m *MockFakeIAM) TagMFADevice(_a0 *iam.TagMFADeviceInput) (*iam.TagMFADevi } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -10817,6 +11954,10 @@ func (_m *MockFakeIAM) TagMFADeviceRequest(_a0 *iam.TagMFADeviceInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) (*request.Request, *iam.TagMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10825,7 +11966,6 @@ func (_m *MockFakeIAM) TagMFADeviceRequest(_a0 *iam.TagMFADeviceInput) (*request } } - var r1 *iam.TagMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.TagMFADeviceInput) *iam.TagMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -10849,6 +11989,10 @@ func (_m *MockFakeIAM) TagMFADeviceWithContext(_a0 context.Context, _a1 *iam.Tag ret := _m.Called(_ca...) var r0 *iam.TagMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagMFADeviceInput, ...request.Option) (*iam.TagMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagMFADeviceInput, ...request.Option) *iam.TagMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10857,7 +12001,6 @@ func (_m *MockFakeIAM) TagMFADeviceWithContext(_a0 context.Context, _a1 *iam.Tag } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10872,6 +12015,10 @@ func (_m *MockFakeIAM) TagOpenIDConnectProvider(_a0 *iam.TagOpenIDConnectProvide ret := _m.Called(_a0) var r0 *iam.TagOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) (*iam.TagOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) *iam.TagOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -10880,7 +12027,6 @@ func (_m *MockFakeIAM) TagOpenIDConnectProvider(_a0 *iam.TagOpenIDConnectProvide } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -10895,6 +12041,10 @@ func (_m *MockFakeIAM) TagOpenIDConnectProviderRequest(_a0 *iam.TagOpenIDConnect ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) (*request.Request, *iam.TagOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10903,7 +12053,6 @@ func (_m *MockFakeIAM) TagOpenIDConnectProviderRequest(_a0 *iam.TagOpenIDConnect } } - var r1 *iam.TagOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.TagOpenIDConnectProviderInput) *iam.TagOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -10927,6 +12076,10 @@ func (_m *MockFakeIAM) TagOpenIDConnectProviderWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.TagOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...request.Option) (*iam.TagOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...request.Option) *iam.TagOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10935,7 +12088,6 @@ func (_m *MockFakeIAM) TagOpenIDConnectProviderWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10950,6 +12102,10 @@ func (_m *MockFakeIAM) TagPolicy(_a0 *iam.TagPolicyInput) (*iam.TagPolicyOutput, ret := _m.Called(_a0) var r0 *iam.TagPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) (*iam.TagPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) *iam.TagPolicyOutput); ok { r0 = rf(_a0) } else { @@ -10958,7 +12114,6 @@ func (_m *MockFakeIAM) TagPolicy(_a0 *iam.TagPolicyInput) (*iam.TagPolicyOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -10973,6 +12128,10 @@ func (_m *MockFakeIAM) TagPolicyRequest(_a0 *iam.TagPolicyInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) (*request.Request, *iam.TagPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10981,7 +12140,6 @@ func (_m *MockFakeIAM) TagPolicyRequest(_a0 *iam.TagPolicyInput) (*request.Reque } } - var r1 *iam.TagPolicyOutput if rf, ok := ret.Get(1).(func(*iam.TagPolicyInput) *iam.TagPolicyOutput); ok { r1 = rf(_a0) } else { @@ -11005,6 +12163,10 @@ func (_m *MockFakeIAM) TagPolicyWithContext(_a0 context.Context, _a1 *iam.TagPol ret := _m.Called(_ca...) var r0 *iam.TagPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagPolicyInput, ...request.Option) (*iam.TagPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagPolicyInput, ...request.Option) *iam.TagPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11013,7 +12175,6 @@ func (_m *MockFakeIAM) TagPolicyWithContext(_a0 context.Context, _a1 *iam.TagPol } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11028,6 +12189,10 @@ func (_m *MockFakeIAM) TagRole(_a0 *iam.TagRoleInput) (*iam.TagRoleOutput, error ret := _m.Called(_a0) var r0 *iam.TagRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) (*iam.TagRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { r0 = rf(_a0) } else { @@ -11036,7 +12201,6 @@ func (_m *MockFakeIAM) TagRole(_a0 *iam.TagRoleInput) (*iam.TagRoleOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) error); ok { r1 = rf(_a0) } else { @@ -11051,6 +12215,10 @@ func (_m *MockFakeIAM) TagRoleRequest(_a0 *iam.TagRoleInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagRoleOutput + if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) (*request.Request, *iam.TagRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11059,7 +12227,6 @@ func (_m *MockFakeIAM) TagRoleRequest(_a0 *iam.TagRoleInput) (*request.Request, } } - var r1 *iam.TagRoleOutput if rf, ok := ret.Get(1).(func(*iam.TagRoleInput) *iam.TagRoleOutput); ok { r1 = rf(_a0) } else { @@ -11083,6 +12250,10 @@ func (_m *MockFakeIAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleI ret := _m.Called(_ca...) var r0 *iam.TagRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagRoleInput, ...request.Option) (*iam.TagRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagRoleInput, ...request.Option) *iam.TagRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11091,7 +12262,6 @@ func (_m *MockFakeIAM) TagRoleWithContext(_a0 context.Context, _a1 *iam.TagRoleI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11106,6 +12276,10 @@ func (_m *MockFakeIAM) TagSAMLProvider(_a0 *iam.TagSAMLProviderInput) (*iam.TagS ret := _m.Called(_a0) var r0 *iam.TagSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) (*iam.TagSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) *iam.TagSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -11114,7 +12288,6 @@ func (_m *MockFakeIAM) TagSAMLProvider(_a0 *iam.TagSAMLProviderInput) (*iam.TagS } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -11129,6 +12302,10 @@ func (_m *MockFakeIAM) TagSAMLProviderRequest(_a0 *iam.TagSAMLProviderInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) (*request.Request, *iam.TagSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11137,7 +12314,6 @@ func (_m *MockFakeIAM) TagSAMLProviderRequest(_a0 *iam.TagSAMLProviderInput) (*r } } - var r1 *iam.TagSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.TagSAMLProviderInput) *iam.TagSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -11161,6 +12337,10 @@ func (_m *MockFakeIAM) TagSAMLProviderWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.TagSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagSAMLProviderInput, ...request.Option) (*iam.TagSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagSAMLProviderInput, ...request.Option) *iam.TagSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11169,7 +12349,6 @@ func (_m *MockFakeIAM) TagSAMLProviderWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11184,6 +12363,10 @@ func (_m *MockFakeIAM) TagServerCertificate(_a0 *iam.TagServerCertificateInput) ret := _m.Called(_a0) var r0 *iam.TagServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) (*iam.TagServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) *iam.TagServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -11192,7 +12375,6 @@ func (_m *MockFakeIAM) TagServerCertificate(_a0 *iam.TagServerCertificateInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -11207,6 +12389,10 @@ func (_m *MockFakeIAM) TagServerCertificateRequest(_a0 *iam.TagServerCertificate ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) (*request.Request, *iam.TagServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11215,7 +12401,6 @@ func (_m *MockFakeIAM) TagServerCertificateRequest(_a0 *iam.TagServerCertificate } } - var r1 *iam.TagServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.TagServerCertificateInput) *iam.TagServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -11239,6 +12424,10 @@ func (_m *MockFakeIAM) TagServerCertificateWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.TagServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagServerCertificateInput, ...request.Option) (*iam.TagServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagServerCertificateInput, ...request.Option) *iam.TagServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11247,7 +12436,6 @@ func (_m *MockFakeIAM) TagServerCertificateWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11262,6 +12450,10 @@ func (_m *MockFakeIAM) TagUser(_a0 *iam.TagUserInput) (*iam.TagUserOutput, error ret := _m.Called(_a0) var r0 *iam.TagUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.TagUserInput) (*iam.TagUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { r0 = rf(_a0) } else { @@ -11270,7 +12462,6 @@ func (_m *MockFakeIAM) TagUser(_a0 *iam.TagUserInput) (*iam.TagUserOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.TagUserInput) error); ok { r1 = rf(_a0) } else { @@ -11285,6 +12476,10 @@ func (_m *MockFakeIAM) TagUserRequest(_a0 *iam.TagUserInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.TagUserOutput + if rf, ok := ret.Get(0).(func(*iam.TagUserInput) (*request.Request, *iam.TagUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.TagUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11293,7 +12488,6 @@ func (_m *MockFakeIAM) TagUserRequest(_a0 *iam.TagUserInput) (*request.Request, } } - var r1 *iam.TagUserOutput if rf, ok := ret.Get(1).(func(*iam.TagUserInput) *iam.TagUserOutput); ok { r1 = rf(_a0) } else { @@ -11317,6 +12511,10 @@ func (_m *MockFakeIAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserI ret := _m.Called(_ca...) var r0 *iam.TagUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.TagUserInput, ...request.Option) (*iam.TagUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.TagUserInput, ...request.Option) *iam.TagUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11325,7 +12523,6 @@ func (_m *MockFakeIAM) TagUserWithContext(_a0 context.Context, _a1 *iam.TagUserI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.TagUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11340,6 +12537,10 @@ func (_m *MockFakeIAM) UntagInstanceProfile(_a0 *iam.UntagInstanceProfileInput) ret := _m.Called(_a0) var r0 *iam.UntagInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) (*iam.UntagInstanceProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) *iam.UntagInstanceProfileOutput); ok { r0 = rf(_a0) } else { @@ -11348,7 +12549,6 @@ func (_m *MockFakeIAM) UntagInstanceProfile(_a0 *iam.UntagInstanceProfileInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagInstanceProfileInput) error); ok { r1 = rf(_a0) } else { @@ -11363,6 +12563,10 @@ func (_m *MockFakeIAM) UntagInstanceProfileRequest(_a0 *iam.UntagInstanceProfile ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagInstanceProfileOutput + if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) (*request.Request, *iam.UntagInstanceProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagInstanceProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11371,7 +12575,6 @@ func (_m *MockFakeIAM) UntagInstanceProfileRequest(_a0 *iam.UntagInstanceProfile } } - var r1 *iam.UntagInstanceProfileOutput if rf, ok := ret.Get(1).(func(*iam.UntagInstanceProfileInput) *iam.UntagInstanceProfileOutput); ok { r1 = rf(_a0) } else { @@ -11395,6 +12598,10 @@ func (_m *MockFakeIAM) UntagInstanceProfileWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.UntagInstanceProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagInstanceProfileInput, ...request.Option) (*iam.UntagInstanceProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagInstanceProfileInput, ...request.Option) *iam.UntagInstanceProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11403,7 +12610,6 @@ func (_m *MockFakeIAM) UntagInstanceProfileWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagInstanceProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11418,6 +12624,10 @@ func (_m *MockFakeIAM) UntagMFADevice(_a0 *iam.UntagMFADeviceInput) (*iam.UntagM ret := _m.Called(_a0) var r0 *iam.UntagMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) (*iam.UntagMFADeviceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) *iam.UntagMFADeviceOutput); ok { r0 = rf(_a0) } else { @@ -11426,7 +12636,6 @@ func (_m *MockFakeIAM) UntagMFADevice(_a0 *iam.UntagMFADeviceInput) (*iam.UntagM } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagMFADeviceInput) error); ok { r1 = rf(_a0) } else { @@ -11441,6 +12650,10 @@ func (_m *MockFakeIAM) UntagMFADeviceRequest(_a0 *iam.UntagMFADeviceInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagMFADeviceOutput + if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) (*request.Request, *iam.UntagMFADeviceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagMFADeviceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11449,7 +12662,6 @@ func (_m *MockFakeIAM) UntagMFADeviceRequest(_a0 *iam.UntagMFADeviceInput) (*req } } - var r1 *iam.UntagMFADeviceOutput if rf, ok := ret.Get(1).(func(*iam.UntagMFADeviceInput) *iam.UntagMFADeviceOutput); ok { r1 = rf(_a0) } else { @@ -11473,6 +12685,10 @@ func (_m *MockFakeIAM) UntagMFADeviceWithContext(_a0 context.Context, _a1 *iam.U ret := _m.Called(_ca...) var r0 *iam.UntagMFADeviceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagMFADeviceInput, ...request.Option) (*iam.UntagMFADeviceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagMFADeviceInput, ...request.Option) *iam.UntagMFADeviceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11481,7 +12697,6 @@ func (_m *MockFakeIAM) UntagMFADeviceWithContext(_a0 context.Context, _a1 *iam.U } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagMFADeviceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11496,6 +12711,10 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProvider(_a0 *iam.UntagOpenIDConnectPro ret := _m.Called(_a0) var r0 *iam.UntagOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) (*iam.UntagOpenIDConnectProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) *iam.UntagOpenIDConnectProviderOutput); ok { r0 = rf(_a0) } else { @@ -11504,7 +12723,6 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProvider(_a0 *iam.UntagOpenIDConnectPro } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagOpenIDConnectProviderInput) error); ok { r1 = rf(_a0) } else { @@ -11519,6 +12737,10 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProviderRequest(_a0 *iam.UntagOpenIDCon ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagOpenIDConnectProviderOutput + if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) (*request.Request, *iam.UntagOpenIDConnectProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagOpenIDConnectProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11527,7 +12749,6 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProviderRequest(_a0 *iam.UntagOpenIDCon } } - var r1 *iam.UntagOpenIDConnectProviderOutput if rf, ok := ret.Get(1).(func(*iam.UntagOpenIDConnectProviderInput) *iam.UntagOpenIDConnectProviderOutput); ok { r1 = rf(_a0) } else { @@ -11551,6 +12772,10 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProviderWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *iam.UntagOpenIDConnectProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...request.Option) (*iam.UntagOpenIDConnectProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...request.Option) *iam.UntagOpenIDConnectProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11559,7 +12784,6 @@ func (_m *MockFakeIAM) UntagOpenIDConnectProviderWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11574,6 +12798,10 @@ func (_m *MockFakeIAM) UntagPolicy(_a0 *iam.UntagPolicyInput) (*iam.UntagPolicyO ret := _m.Called(_a0) var r0 *iam.UntagPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) (*iam.UntagPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) *iam.UntagPolicyOutput); ok { r0 = rf(_a0) } else { @@ -11582,7 +12810,6 @@ func (_m *MockFakeIAM) UntagPolicy(_a0 *iam.UntagPolicyInput) (*iam.UntagPolicyO } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -11597,6 +12824,10 @@ func (_m *MockFakeIAM) UntagPolicyRequest(_a0 *iam.UntagPolicyInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) (*request.Request, *iam.UntagPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11605,7 +12836,6 @@ func (_m *MockFakeIAM) UntagPolicyRequest(_a0 *iam.UntagPolicyInput) (*request.R } } - var r1 *iam.UntagPolicyOutput if rf, ok := ret.Get(1).(func(*iam.UntagPolicyInput) *iam.UntagPolicyOutput); ok { r1 = rf(_a0) } else { @@ -11629,6 +12859,10 @@ func (_m *MockFakeIAM) UntagPolicyWithContext(_a0 context.Context, _a1 *iam.Unta ret := _m.Called(_ca...) var r0 *iam.UntagPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagPolicyInput, ...request.Option) (*iam.UntagPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagPolicyInput, ...request.Option) *iam.UntagPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11637,7 +12871,6 @@ func (_m *MockFakeIAM) UntagPolicyWithContext(_a0 context.Context, _a1 *iam.Unta } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11652,6 +12885,10 @@ func (_m *MockFakeIAM) UntagRole(_a0 *iam.UntagRoleInput) (*iam.UntagRoleOutput, ret := _m.Called(_a0) var r0 *iam.UntagRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) (*iam.UntagRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { r0 = rf(_a0) } else { @@ -11660,7 +12897,6 @@ func (_m *MockFakeIAM) UntagRole(_a0 *iam.UntagRoleInput) (*iam.UntagRoleOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) error); ok { r1 = rf(_a0) } else { @@ -11675,6 +12911,10 @@ func (_m *MockFakeIAM) UntagRoleRequest(_a0 *iam.UntagRoleInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagRoleOutput + if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) (*request.Request, *iam.UntagRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11683,7 +12923,6 @@ func (_m *MockFakeIAM) UntagRoleRequest(_a0 *iam.UntagRoleInput) (*request.Reque } } - var r1 *iam.UntagRoleOutput if rf, ok := ret.Get(1).(func(*iam.UntagRoleInput) *iam.UntagRoleOutput); ok { r1 = rf(_a0) } else { @@ -11707,6 +12946,10 @@ func (_m *MockFakeIAM) UntagRoleWithContext(_a0 context.Context, _a1 *iam.UntagR ret := _m.Called(_ca...) var r0 *iam.UntagRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagRoleInput, ...request.Option) (*iam.UntagRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagRoleInput, ...request.Option) *iam.UntagRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11715,7 +12958,6 @@ func (_m *MockFakeIAM) UntagRoleWithContext(_a0 context.Context, _a1 *iam.UntagR } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11730,6 +12972,10 @@ func (_m *MockFakeIAM) UntagSAMLProvider(_a0 *iam.UntagSAMLProviderInput) (*iam. ret := _m.Called(_a0) var r0 *iam.UntagSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) (*iam.UntagSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) *iam.UntagSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -11738,7 +12984,6 @@ func (_m *MockFakeIAM) UntagSAMLProvider(_a0 *iam.UntagSAMLProviderInput) (*iam. } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -11753,6 +12998,10 @@ func (_m *MockFakeIAM) UntagSAMLProviderRequest(_a0 *iam.UntagSAMLProviderInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) (*request.Request, *iam.UntagSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11761,7 +13010,6 @@ func (_m *MockFakeIAM) UntagSAMLProviderRequest(_a0 *iam.UntagSAMLProviderInput) } } - var r1 *iam.UntagSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.UntagSAMLProviderInput) *iam.UntagSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -11785,6 +13033,10 @@ func (_m *MockFakeIAM) UntagSAMLProviderWithContext(_a0 context.Context, _a1 *ia ret := _m.Called(_ca...) var r0 *iam.UntagSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagSAMLProviderInput, ...request.Option) (*iam.UntagSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagSAMLProviderInput, ...request.Option) *iam.UntagSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11793,7 +13045,6 @@ func (_m *MockFakeIAM) UntagSAMLProviderWithContext(_a0 context.Context, _a1 *ia } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11808,6 +13059,10 @@ func (_m *MockFakeIAM) UntagServerCertificate(_a0 *iam.UntagServerCertificateInp ret := _m.Called(_a0) var r0 *iam.UntagServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) (*iam.UntagServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) *iam.UntagServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -11816,7 +13071,6 @@ func (_m *MockFakeIAM) UntagServerCertificate(_a0 *iam.UntagServerCertificateInp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -11831,6 +13085,10 @@ func (_m *MockFakeIAM) UntagServerCertificateRequest(_a0 *iam.UntagServerCertifi ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) (*request.Request, *iam.UntagServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11839,7 +13097,6 @@ func (_m *MockFakeIAM) UntagServerCertificateRequest(_a0 *iam.UntagServerCertifi } } - var r1 *iam.UntagServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.UntagServerCertificateInput) *iam.UntagServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -11863,6 +13120,10 @@ func (_m *MockFakeIAM) UntagServerCertificateWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *iam.UntagServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagServerCertificateInput, ...request.Option) (*iam.UntagServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagServerCertificateInput, ...request.Option) *iam.UntagServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11871,7 +13132,6 @@ func (_m *MockFakeIAM) UntagServerCertificateWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11886,6 +13146,10 @@ func (_m *MockFakeIAM) UntagUser(_a0 *iam.UntagUserInput) (*iam.UntagUserOutput, ret := _m.Called(_a0) var r0 *iam.UntagUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UntagUserInput) (*iam.UntagUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagUserInput) *iam.UntagUserOutput); ok { r0 = rf(_a0) } else { @@ -11894,7 +13158,6 @@ func (_m *MockFakeIAM) UntagUser(_a0 *iam.UntagUserInput) (*iam.UntagUserOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UntagUserInput) error); ok { r1 = rf(_a0) } else { @@ -11909,6 +13172,10 @@ func (_m *MockFakeIAM) UntagUserRequest(_a0 *iam.UntagUserInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UntagUserOutput + if rf, ok := ret.Get(0).(func(*iam.UntagUserInput) (*request.Request, *iam.UntagUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UntagUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11917,7 +13184,6 @@ func (_m *MockFakeIAM) UntagUserRequest(_a0 *iam.UntagUserInput) (*request.Reque } } - var r1 *iam.UntagUserOutput if rf, ok := ret.Get(1).(func(*iam.UntagUserInput) *iam.UntagUserOutput); ok { r1 = rf(_a0) } else { @@ -11941,6 +13207,10 @@ func (_m *MockFakeIAM) UntagUserWithContext(_a0 context.Context, _a1 *iam.UntagU ret := _m.Called(_ca...) var r0 *iam.UntagUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagUserInput, ...request.Option) (*iam.UntagUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagUserInput, ...request.Option) *iam.UntagUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11949,7 +13219,6 @@ func (_m *MockFakeIAM) UntagUserWithContext(_a0 context.Context, _a1 *iam.UntagU } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UntagUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11964,6 +13233,10 @@ func (_m *MockFakeIAM) UpdateAccessKey(_a0 *iam.UpdateAccessKeyInput) (*iam.Upda ret := _m.Called(_a0) var r0 *iam.UpdateAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateAccessKeyInput) (*iam.UpdateAccessKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAccessKeyInput) *iam.UpdateAccessKeyOutput); ok { r0 = rf(_a0) } else { @@ -11972,7 +13245,6 @@ func (_m *MockFakeIAM) UpdateAccessKey(_a0 *iam.UpdateAccessKeyInput) (*iam.Upda } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateAccessKeyInput) error); ok { r1 = rf(_a0) } else { @@ -11987,6 +13259,10 @@ func (_m *MockFakeIAM) UpdateAccessKeyRequest(_a0 *iam.UpdateAccessKeyInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateAccessKeyOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateAccessKeyInput) (*request.Request, *iam.UpdateAccessKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAccessKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11995,7 +13271,6 @@ func (_m *MockFakeIAM) UpdateAccessKeyRequest(_a0 *iam.UpdateAccessKeyInput) (*r } } - var r1 *iam.UpdateAccessKeyOutput if rf, ok := ret.Get(1).(func(*iam.UpdateAccessKeyInput) *iam.UpdateAccessKeyOutput); ok { r1 = rf(_a0) } else { @@ -12019,6 +13294,10 @@ func (_m *MockFakeIAM) UpdateAccessKeyWithContext(_a0 context.Context, _a1 *iam. ret := _m.Called(_ca...) var r0 *iam.UpdateAccessKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccessKeyInput, ...request.Option) (*iam.UpdateAccessKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccessKeyInput, ...request.Option) *iam.UpdateAccessKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12027,7 +13306,6 @@ func (_m *MockFakeIAM) UpdateAccessKeyWithContext(_a0 context.Context, _a1 *iam. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateAccessKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12042,6 +13320,10 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicy(_a0 *iam.UpdateAccountPasswor ret := _m.Called(_a0) var r0 *iam.UpdateAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateAccountPasswordPolicyInput) (*iam.UpdateAccountPasswordPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAccountPasswordPolicyInput) *iam.UpdateAccountPasswordPolicyOutput); ok { r0 = rf(_a0) } else { @@ -12050,7 +13332,6 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicy(_a0 *iam.UpdateAccountPasswor } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateAccountPasswordPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -12065,6 +13346,10 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicyRequest(_a0 *iam.UpdateAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateAccountPasswordPolicyOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateAccountPasswordPolicyInput) (*request.Request, *iam.UpdateAccountPasswordPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAccountPasswordPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12073,7 +13358,6 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicyRequest(_a0 *iam.UpdateAccount } } - var r1 *iam.UpdateAccountPasswordPolicyOutput if rf, ok := ret.Get(1).(func(*iam.UpdateAccountPasswordPolicyInput) *iam.UpdateAccountPasswordPolicyOutput); ok { r1 = rf(_a0) } else { @@ -12097,6 +13381,10 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicyWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *iam.UpdateAccountPasswordPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccountPasswordPolicyInput, ...request.Option) (*iam.UpdateAccountPasswordPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccountPasswordPolicyInput, ...request.Option) *iam.UpdateAccountPasswordPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12105,7 +13393,6 @@ func (_m *MockFakeIAM) UpdateAccountPasswordPolicyWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateAccountPasswordPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12120,6 +13407,10 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicy(_a0 *iam.UpdateAssumeRolePolicyInp ret := _m.Called(_a0) var r0 *iam.UpdateAssumeRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateAssumeRolePolicyInput) (*iam.UpdateAssumeRolePolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAssumeRolePolicyInput) *iam.UpdateAssumeRolePolicyOutput); ok { r0 = rf(_a0) } else { @@ -12128,7 +13419,6 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicy(_a0 *iam.UpdateAssumeRolePolicyInp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateAssumeRolePolicyInput) error); ok { r1 = rf(_a0) } else { @@ -12143,6 +13433,10 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicyRequest(_a0 *iam.UpdateAssumeRolePo ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateAssumeRolePolicyOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateAssumeRolePolicyInput) (*request.Request, *iam.UpdateAssumeRolePolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateAssumeRolePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12151,7 +13445,6 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicyRequest(_a0 *iam.UpdateAssumeRolePo } } - var r1 *iam.UpdateAssumeRolePolicyOutput if rf, ok := ret.Get(1).(func(*iam.UpdateAssumeRolePolicyInput) *iam.UpdateAssumeRolePolicyOutput); ok { r1 = rf(_a0) } else { @@ -12175,6 +13468,10 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicyWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *iam.UpdateAssumeRolePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAssumeRolePolicyInput, ...request.Option) (*iam.UpdateAssumeRolePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAssumeRolePolicyInput, ...request.Option) *iam.UpdateAssumeRolePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12183,7 +13480,6 @@ func (_m *MockFakeIAM) UpdateAssumeRolePolicyWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateAssumeRolePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12198,6 +13494,10 @@ func (_m *MockFakeIAM) UpdateGroup(_a0 *iam.UpdateGroupInput) (*iam.UpdateGroupO ret := _m.Called(_a0) var r0 *iam.UpdateGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateGroupInput) (*iam.UpdateGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateGroupInput) *iam.UpdateGroupOutput); ok { r0 = rf(_a0) } else { @@ -12206,7 +13506,6 @@ func (_m *MockFakeIAM) UpdateGroup(_a0 *iam.UpdateGroupInput) (*iam.UpdateGroupO } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateGroupInput) error); ok { r1 = rf(_a0) } else { @@ -12221,6 +13520,10 @@ func (_m *MockFakeIAM) UpdateGroupRequest(_a0 *iam.UpdateGroupInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateGroupOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateGroupInput) (*request.Request, *iam.UpdateGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12229,7 +13532,6 @@ func (_m *MockFakeIAM) UpdateGroupRequest(_a0 *iam.UpdateGroupInput) (*request.R } } - var r1 *iam.UpdateGroupOutput if rf, ok := ret.Get(1).(func(*iam.UpdateGroupInput) *iam.UpdateGroupOutput); ok { r1 = rf(_a0) } else { @@ -12253,6 +13555,10 @@ func (_m *MockFakeIAM) UpdateGroupWithContext(_a0 context.Context, _a1 *iam.Upda ret := _m.Called(_ca...) var r0 *iam.UpdateGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateGroupInput, ...request.Option) (*iam.UpdateGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateGroupInput, ...request.Option) *iam.UpdateGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12261,7 +13567,6 @@ func (_m *MockFakeIAM) UpdateGroupWithContext(_a0 context.Context, _a1 *iam.Upda } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12276,6 +13581,10 @@ func (_m *MockFakeIAM) UpdateLoginProfile(_a0 *iam.UpdateLoginProfileInput) (*ia ret := _m.Called(_a0) var r0 *iam.UpdateLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateLoginProfileInput) (*iam.UpdateLoginProfileOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateLoginProfileInput) *iam.UpdateLoginProfileOutput); ok { r0 = rf(_a0) } else { @@ -12284,7 +13593,6 @@ func (_m *MockFakeIAM) UpdateLoginProfile(_a0 *iam.UpdateLoginProfileInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateLoginProfileInput) error); ok { r1 = rf(_a0) } else { @@ -12299,6 +13607,10 @@ func (_m *MockFakeIAM) UpdateLoginProfileRequest(_a0 *iam.UpdateLoginProfileInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateLoginProfileOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateLoginProfileInput) (*request.Request, *iam.UpdateLoginProfileOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateLoginProfileInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12307,7 +13619,6 @@ func (_m *MockFakeIAM) UpdateLoginProfileRequest(_a0 *iam.UpdateLoginProfileInpu } } - var r1 *iam.UpdateLoginProfileOutput if rf, ok := ret.Get(1).(func(*iam.UpdateLoginProfileInput) *iam.UpdateLoginProfileOutput); ok { r1 = rf(_a0) } else { @@ -12331,6 +13642,10 @@ func (_m *MockFakeIAM) UpdateLoginProfileWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.UpdateLoginProfileOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateLoginProfileInput, ...request.Option) (*iam.UpdateLoginProfileOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateLoginProfileInput, ...request.Option) *iam.UpdateLoginProfileOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12339,7 +13654,6 @@ func (_m *MockFakeIAM) UpdateLoginProfileWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateLoginProfileInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12354,6 +13668,10 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprint(_a0 *iam.UpdateOpen ret := _m.Called(_a0) var r0 *iam.UpdateOpenIDConnectProviderThumbprintOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) (*iam.UpdateOpenIDConnectProviderThumbprintOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) *iam.UpdateOpenIDConnectProviderThumbprintOutput); ok { r0 = rf(_a0) } else { @@ -12362,7 +13680,6 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprint(_a0 *iam.UpdateOpen } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) error); ok { r1 = rf(_a0) } else { @@ -12377,6 +13694,10 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprintRequest(_a0 *iam.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateOpenIDConnectProviderThumbprintOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) (*request.Request, *iam.UpdateOpenIDConnectProviderThumbprintOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12385,7 +13706,6 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprintRequest(_a0 *iam.Upd } } - var r1 *iam.UpdateOpenIDConnectProviderThumbprintOutput if rf, ok := ret.Get(1).(func(*iam.UpdateOpenIDConnectProviderThumbprintInput) *iam.UpdateOpenIDConnectProviderThumbprintOutput); ok { r1 = rf(_a0) } else { @@ -12409,6 +13729,10 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprintWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *iam.UpdateOpenIDConnectProviderThumbprintOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateOpenIDConnectProviderThumbprintInput, ...request.Option) (*iam.UpdateOpenIDConnectProviderThumbprintOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateOpenIDConnectProviderThumbprintInput, ...request.Option) *iam.UpdateOpenIDConnectProviderThumbprintOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12417,7 +13741,6 @@ func (_m *MockFakeIAM) UpdateOpenIDConnectProviderThumbprintWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateOpenIDConnectProviderThumbprintInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12432,6 +13755,10 @@ func (_m *MockFakeIAM) UpdateRole(_a0 *iam.UpdateRoleInput) (*iam.UpdateRoleOutp ret := _m.Called(_a0) var r0 *iam.UpdateRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateRoleInput) (*iam.UpdateRoleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateRoleInput) *iam.UpdateRoleOutput); ok { r0 = rf(_a0) } else { @@ -12440,7 +13767,6 @@ func (_m *MockFakeIAM) UpdateRole(_a0 *iam.UpdateRoleInput) (*iam.UpdateRoleOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateRoleInput) error); ok { r1 = rf(_a0) } else { @@ -12455,6 +13781,10 @@ func (_m *MockFakeIAM) UpdateRoleDescription(_a0 *iam.UpdateRoleDescriptionInput ret := _m.Called(_a0) var r0 *iam.UpdateRoleDescriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateRoleDescriptionInput) (*iam.UpdateRoleDescriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateRoleDescriptionInput) *iam.UpdateRoleDescriptionOutput); ok { r0 = rf(_a0) } else { @@ -12463,7 +13793,6 @@ func (_m *MockFakeIAM) UpdateRoleDescription(_a0 *iam.UpdateRoleDescriptionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateRoleDescriptionInput) error); ok { r1 = rf(_a0) } else { @@ -12478,6 +13807,10 @@ func (_m *MockFakeIAM) UpdateRoleDescriptionRequest(_a0 *iam.UpdateRoleDescripti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateRoleDescriptionOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateRoleDescriptionInput) (*request.Request, *iam.UpdateRoleDescriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateRoleDescriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12486,7 +13819,6 @@ func (_m *MockFakeIAM) UpdateRoleDescriptionRequest(_a0 *iam.UpdateRoleDescripti } } - var r1 *iam.UpdateRoleDescriptionOutput if rf, ok := ret.Get(1).(func(*iam.UpdateRoleDescriptionInput) *iam.UpdateRoleDescriptionOutput); ok { r1 = rf(_a0) } else { @@ -12510,6 +13842,10 @@ func (_m *MockFakeIAM) UpdateRoleDescriptionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *iam.UpdateRoleDescriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleDescriptionInput, ...request.Option) (*iam.UpdateRoleDescriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleDescriptionInput, ...request.Option) *iam.UpdateRoleDescriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12518,7 +13854,6 @@ func (_m *MockFakeIAM) UpdateRoleDescriptionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateRoleDescriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12533,6 +13868,10 @@ func (_m *MockFakeIAM) UpdateRoleRequest(_a0 *iam.UpdateRoleInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateRoleOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateRoleInput) (*request.Request, *iam.UpdateRoleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateRoleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12541,7 +13880,6 @@ func (_m *MockFakeIAM) UpdateRoleRequest(_a0 *iam.UpdateRoleInput) (*request.Req } } - var r1 *iam.UpdateRoleOutput if rf, ok := ret.Get(1).(func(*iam.UpdateRoleInput) *iam.UpdateRoleOutput); ok { r1 = rf(_a0) } else { @@ -12565,6 +13903,10 @@ func (_m *MockFakeIAM) UpdateRoleWithContext(_a0 context.Context, _a1 *iam.Updat ret := _m.Called(_ca...) var r0 *iam.UpdateRoleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleInput, ...request.Option) (*iam.UpdateRoleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleInput, ...request.Option) *iam.UpdateRoleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12573,7 +13915,6 @@ func (_m *MockFakeIAM) UpdateRoleWithContext(_a0 context.Context, _a1 *iam.Updat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateRoleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12588,6 +13929,10 @@ func (_m *MockFakeIAM) UpdateSAMLProvider(_a0 *iam.UpdateSAMLProviderInput) (*ia ret := _m.Called(_a0) var r0 *iam.UpdateSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateSAMLProviderInput) (*iam.UpdateSAMLProviderOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSAMLProviderInput) *iam.UpdateSAMLProviderOutput); ok { r0 = rf(_a0) } else { @@ -12596,7 +13941,6 @@ func (_m *MockFakeIAM) UpdateSAMLProvider(_a0 *iam.UpdateSAMLProviderInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateSAMLProviderInput) error); ok { r1 = rf(_a0) } else { @@ -12611,6 +13955,10 @@ func (_m *MockFakeIAM) UpdateSAMLProviderRequest(_a0 *iam.UpdateSAMLProviderInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateSAMLProviderOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateSAMLProviderInput) (*request.Request, *iam.UpdateSAMLProviderOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSAMLProviderInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12619,7 +13967,6 @@ func (_m *MockFakeIAM) UpdateSAMLProviderRequest(_a0 *iam.UpdateSAMLProviderInpu } } - var r1 *iam.UpdateSAMLProviderOutput if rf, ok := ret.Get(1).(func(*iam.UpdateSAMLProviderInput) *iam.UpdateSAMLProviderOutput); ok { r1 = rf(_a0) } else { @@ -12643,6 +13990,10 @@ func (_m *MockFakeIAM) UpdateSAMLProviderWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.UpdateSAMLProviderOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSAMLProviderInput, ...request.Option) (*iam.UpdateSAMLProviderOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSAMLProviderInput, ...request.Option) *iam.UpdateSAMLProviderOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12651,7 +14002,6 @@ func (_m *MockFakeIAM) UpdateSAMLProviderWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateSAMLProviderInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12666,6 +14016,10 @@ func (_m *MockFakeIAM) UpdateSSHPublicKey(_a0 *iam.UpdateSSHPublicKeyInput) (*ia ret := _m.Called(_a0) var r0 *iam.UpdateSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateSSHPublicKeyInput) (*iam.UpdateSSHPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSSHPublicKeyInput) *iam.UpdateSSHPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -12674,7 +14028,6 @@ func (_m *MockFakeIAM) UpdateSSHPublicKey(_a0 *iam.UpdateSSHPublicKeyInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateSSHPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -12689,6 +14042,10 @@ func (_m *MockFakeIAM) UpdateSSHPublicKeyRequest(_a0 *iam.UpdateSSHPublicKeyInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateSSHPublicKeyOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateSSHPublicKeyInput) (*request.Request, *iam.UpdateSSHPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSSHPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12697,7 +14054,6 @@ func (_m *MockFakeIAM) UpdateSSHPublicKeyRequest(_a0 *iam.UpdateSSHPublicKeyInpu } } - var r1 *iam.UpdateSSHPublicKeyOutput if rf, ok := ret.Get(1).(func(*iam.UpdateSSHPublicKeyInput) *iam.UpdateSSHPublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -12721,6 +14077,10 @@ func (_m *MockFakeIAM) UpdateSSHPublicKeyWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.UpdateSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSSHPublicKeyInput, ...request.Option) (*iam.UpdateSSHPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSSHPublicKeyInput, ...request.Option) *iam.UpdateSSHPublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12729,7 +14089,6 @@ func (_m *MockFakeIAM) UpdateSSHPublicKeyWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateSSHPublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12744,6 +14103,10 @@ func (_m *MockFakeIAM) UpdateServerCertificate(_a0 *iam.UpdateServerCertificateI ret := _m.Called(_a0) var r0 *iam.UpdateServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateServerCertificateInput) (*iam.UpdateServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateServerCertificateInput) *iam.UpdateServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -12752,7 +14115,6 @@ func (_m *MockFakeIAM) UpdateServerCertificate(_a0 *iam.UpdateServerCertificateI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -12767,6 +14129,10 @@ func (_m *MockFakeIAM) UpdateServerCertificateRequest(_a0 *iam.UpdateServerCerti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateServerCertificateInput) (*request.Request, *iam.UpdateServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12775,7 +14141,6 @@ func (_m *MockFakeIAM) UpdateServerCertificateRequest(_a0 *iam.UpdateServerCerti } } - var r1 *iam.UpdateServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.UpdateServerCertificateInput) *iam.UpdateServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -12799,6 +14164,10 @@ func (_m *MockFakeIAM) UpdateServerCertificateWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.UpdateServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServerCertificateInput, ...request.Option) (*iam.UpdateServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServerCertificateInput, ...request.Option) *iam.UpdateServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12807,7 +14176,6 @@ func (_m *MockFakeIAM) UpdateServerCertificateWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12822,6 +14190,10 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredential(_a0 *iam.UpdateServiceSpe ret := _m.Called(_a0) var r0 *iam.UpdateServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateServiceSpecificCredentialInput) (*iam.UpdateServiceSpecificCredentialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateServiceSpecificCredentialInput) *iam.UpdateServiceSpecificCredentialOutput); ok { r0 = rf(_a0) } else { @@ -12830,7 +14202,6 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredential(_a0 *iam.UpdateServiceSpe } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateServiceSpecificCredentialInput) error); ok { r1 = rf(_a0) } else { @@ -12845,6 +14216,10 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredentialRequest(_a0 *iam.UpdateSer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateServiceSpecificCredentialOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateServiceSpecificCredentialInput) (*request.Request, *iam.UpdateServiceSpecificCredentialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateServiceSpecificCredentialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12853,7 +14228,6 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredentialRequest(_a0 *iam.UpdateSer } } - var r1 *iam.UpdateServiceSpecificCredentialOutput if rf, ok := ret.Get(1).(func(*iam.UpdateServiceSpecificCredentialInput) *iam.UpdateServiceSpecificCredentialOutput); ok { r1 = rf(_a0) } else { @@ -12877,6 +14251,10 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredentialWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *iam.UpdateServiceSpecificCredentialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServiceSpecificCredentialInput, ...request.Option) (*iam.UpdateServiceSpecificCredentialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServiceSpecificCredentialInput, ...request.Option) *iam.UpdateServiceSpecificCredentialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12885,7 +14263,6 @@ func (_m *MockFakeIAM) UpdateServiceSpecificCredentialWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateServiceSpecificCredentialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12900,6 +14277,10 @@ func (_m *MockFakeIAM) UpdateSigningCertificate(_a0 *iam.UpdateSigningCertificat ret := _m.Called(_a0) var r0 *iam.UpdateSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateSigningCertificateInput) (*iam.UpdateSigningCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSigningCertificateInput) *iam.UpdateSigningCertificateOutput); ok { r0 = rf(_a0) } else { @@ -12908,7 +14289,6 @@ func (_m *MockFakeIAM) UpdateSigningCertificate(_a0 *iam.UpdateSigningCertificat } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateSigningCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -12923,6 +14303,10 @@ func (_m *MockFakeIAM) UpdateSigningCertificateRequest(_a0 *iam.UpdateSigningCer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateSigningCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateSigningCertificateInput) (*request.Request, *iam.UpdateSigningCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateSigningCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -12931,7 +14315,6 @@ func (_m *MockFakeIAM) UpdateSigningCertificateRequest(_a0 *iam.UpdateSigningCer } } - var r1 *iam.UpdateSigningCertificateOutput if rf, ok := ret.Get(1).(func(*iam.UpdateSigningCertificateInput) *iam.UpdateSigningCertificateOutput); ok { r1 = rf(_a0) } else { @@ -12955,6 +14338,10 @@ func (_m *MockFakeIAM) UpdateSigningCertificateWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.UpdateSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSigningCertificateInput, ...request.Option) (*iam.UpdateSigningCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSigningCertificateInput, ...request.Option) *iam.UpdateSigningCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -12963,7 +14350,6 @@ func (_m *MockFakeIAM) UpdateSigningCertificateWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateSigningCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -12978,6 +14364,10 @@ func (_m *MockFakeIAM) UpdateUser(_a0 *iam.UpdateUserInput) (*iam.UpdateUserOutp ret := _m.Called(_a0) var r0 *iam.UpdateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UpdateUserInput) (*iam.UpdateUserOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateUserInput) *iam.UpdateUserOutput); ok { r0 = rf(_a0) } else { @@ -12986,7 +14376,6 @@ func (_m *MockFakeIAM) UpdateUser(_a0 *iam.UpdateUserInput) (*iam.UpdateUserOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UpdateUserInput) error); ok { r1 = rf(_a0) } else { @@ -13001,6 +14390,10 @@ func (_m *MockFakeIAM) UpdateUserRequest(_a0 *iam.UpdateUserInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UpdateUserOutput + if rf, ok := ret.Get(0).(func(*iam.UpdateUserInput) (*request.Request, *iam.UpdateUserOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UpdateUserInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13009,7 +14402,6 @@ func (_m *MockFakeIAM) UpdateUserRequest(_a0 *iam.UpdateUserInput) (*request.Req } } - var r1 *iam.UpdateUserOutput if rf, ok := ret.Get(1).(func(*iam.UpdateUserInput) *iam.UpdateUserOutput); ok { r1 = rf(_a0) } else { @@ -13033,6 +14425,10 @@ func (_m *MockFakeIAM) UpdateUserWithContext(_a0 context.Context, _a1 *iam.Updat ret := _m.Called(_ca...) var r0 *iam.UpdateUserOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateUserInput, ...request.Option) (*iam.UpdateUserOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateUserInput, ...request.Option) *iam.UpdateUserOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13041,7 +14437,6 @@ func (_m *MockFakeIAM) UpdateUserWithContext(_a0 context.Context, _a1 *iam.Updat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UpdateUserInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13056,6 +14451,10 @@ func (_m *MockFakeIAM) UploadSSHPublicKey(_a0 *iam.UploadSSHPublicKeyInput) (*ia ret := _m.Called(_a0) var r0 *iam.UploadSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UploadSSHPublicKeyInput) (*iam.UploadSSHPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadSSHPublicKeyInput) *iam.UploadSSHPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -13064,7 +14463,6 @@ func (_m *MockFakeIAM) UploadSSHPublicKey(_a0 *iam.UploadSSHPublicKeyInput) (*ia } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UploadSSHPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -13079,6 +14477,10 @@ func (_m *MockFakeIAM) UploadSSHPublicKeyRequest(_a0 *iam.UploadSSHPublicKeyInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UploadSSHPublicKeyOutput + if rf, ok := ret.Get(0).(func(*iam.UploadSSHPublicKeyInput) (*request.Request, *iam.UploadSSHPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadSSHPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13087,7 +14489,6 @@ func (_m *MockFakeIAM) UploadSSHPublicKeyRequest(_a0 *iam.UploadSSHPublicKeyInpu } } - var r1 *iam.UploadSSHPublicKeyOutput if rf, ok := ret.Get(1).(func(*iam.UploadSSHPublicKeyInput) *iam.UploadSSHPublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -13111,6 +14512,10 @@ func (_m *MockFakeIAM) UploadSSHPublicKeyWithContext(_a0 context.Context, _a1 *i ret := _m.Called(_ca...) var r0 *iam.UploadSSHPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSSHPublicKeyInput, ...request.Option) (*iam.UploadSSHPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSSHPublicKeyInput, ...request.Option) *iam.UploadSSHPublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13119,7 +14524,6 @@ func (_m *MockFakeIAM) UploadSSHPublicKeyWithContext(_a0 context.Context, _a1 *i } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UploadSSHPublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13134,6 +14538,10 @@ func (_m *MockFakeIAM) UploadServerCertificate(_a0 *iam.UploadServerCertificateI ret := _m.Called(_a0) var r0 *iam.UploadServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UploadServerCertificateInput) (*iam.UploadServerCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadServerCertificateInput) *iam.UploadServerCertificateOutput); ok { r0 = rf(_a0) } else { @@ -13142,7 +14550,6 @@ func (_m *MockFakeIAM) UploadServerCertificate(_a0 *iam.UploadServerCertificateI } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UploadServerCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -13157,6 +14564,10 @@ func (_m *MockFakeIAM) UploadServerCertificateRequest(_a0 *iam.UploadServerCerti ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UploadServerCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UploadServerCertificateInput) (*request.Request, *iam.UploadServerCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadServerCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13165,7 +14576,6 @@ func (_m *MockFakeIAM) UploadServerCertificateRequest(_a0 *iam.UploadServerCerti } } - var r1 *iam.UploadServerCertificateOutput if rf, ok := ret.Get(1).(func(*iam.UploadServerCertificateInput) *iam.UploadServerCertificateOutput); ok { r1 = rf(_a0) } else { @@ -13189,6 +14599,10 @@ func (_m *MockFakeIAM) UploadServerCertificateWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *iam.UploadServerCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadServerCertificateInput, ...request.Option) (*iam.UploadServerCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadServerCertificateInput, ...request.Option) *iam.UploadServerCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13197,7 +14611,6 @@ func (_m *MockFakeIAM) UploadServerCertificateWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UploadServerCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13212,6 +14625,10 @@ func (_m *MockFakeIAM) UploadSigningCertificate(_a0 *iam.UploadSigningCertificat ret := _m.Called(_a0) var r0 *iam.UploadSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(*iam.UploadSigningCertificateInput) (*iam.UploadSigningCertificateOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadSigningCertificateInput) *iam.UploadSigningCertificateOutput); ok { r0 = rf(_a0) } else { @@ -13220,7 +14637,6 @@ func (_m *MockFakeIAM) UploadSigningCertificate(_a0 *iam.UploadSigningCertificat } } - var r1 error if rf, ok := ret.Get(1).(func(*iam.UploadSigningCertificateInput) error); ok { r1 = rf(_a0) } else { @@ -13235,6 +14651,10 @@ func (_m *MockFakeIAM) UploadSigningCertificateRequest(_a0 *iam.UploadSigningCer ret := _m.Called(_a0) var r0 *request.Request + var r1 *iam.UploadSigningCertificateOutput + if rf, ok := ret.Get(0).(func(*iam.UploadSigningCertificateInput) (*request.Request, *iam.UploadSigningCertificateOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*iam.UploadSigningCertificateInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -13243,7 +14663,6 @@ func (_m *MockFakeIAM) UploadSigningCertificateRequest(_a0 *iam.UploadSigningCer } } - var r1 *iam.UploadSigningCertificateOutput if rf, ok := ret.Get(1).(func(*iam.UploadSigningCertificateInput) *iam.UploadSigningCertificateOutput); ok { r1 = rf(_a0) } else { @@ -13267,6 +14686,10 @@ func (_m *MockFakeIAM) UploadSigningCertificateWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *iam.UploadSigningCertificateOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSigningCertificateInput, ...request.Option) (*iam.UploadSigningCertificateOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSigningCertificateInput, ...request.Option) *iam.UploadSigningCertificateOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -13275,7 +14698,6 @@ func (_m *MockFakeIAM) UploadSigningCertificateWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *iam.UploadSigningCertificateInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -13424,3 +14846,18 @@ func (_m *MockFakeIAM) WaitUntilUserExistsWithContext(_a0 context.Context, _a1 * return r0 } + +type mockConstructorTestingTNewMockFakeIAM interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeIAM creates a new instance of MockFakeIAM. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeIAM(t mockConstructorTestingTNewMockFakeIAM) *MockFakeIAM { + mock := &MockFakeIAM{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeKMS.go b/test/aws/mock_FakeKMS.go index 5f484908a..9e9c7f134 100644 --- a/test/aws/mock_FakeKMS.go +++ b/test/aws/mock_FakeKMS.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeKMS) CancelKeyDeletion(_a0 *kms.CancelKeyDeletionInput) (*kms. ret := _m.Called(_a0) var r0 *kms.CancelKeyDeletionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CancelKeyDeletionInput) *kms.CancelKeyDeletionOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeKMS) CancelKeyDeletion(_a0 *kms.CancelKeyDeletionInput) (*kms. } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.CancelKeyDeletionInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeKMS) CancelKeyDeletionRequest(_a0 *kms.CancelKeyDeletionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.CancelKeyDeletionOutput + if rf, ok := ret.Get(0).(func(*kms.CancelKeyDeletionInput) (*request.Request, *kms.CancelKeyDeletionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CancelKeyDeletionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeKMS) CancelKeyDeletionRequest(_a0 *kms.CancelKeyDeletionInput) } } - var r1 *kms.CancelKeyDeletionOutput if rf, ok := ret.Get(1).(func(*kms.CancelKeyDeletionInput) *kms.CancelKeyDeletionOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeKMS) CancelKeyDeletionWithContext(_a0 context.Context, _a1 *km ret := _m.Called(_ca...) var r0 *kms.CancelKeyDeletionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.CancelKeyDeletionInput, ...request.Option) (*kms.CancelKeyDeletionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.CancelKeyDeletionInput, ...request.Option) *kms.CancelKeyDeletionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeKMS) CancelKeyDeletionWithContext(_a0 context.Context, _a1 *km } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.CancelKeyDeletionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeKMS) ConnectCustomKeyStore(_a0 *kms.ConnectCustomKeyStoreInput ret := _m.Called(_a0) var r0 *kms.ConnectCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ConnectCustomKeyStoreInput) (*kms.ConnectCustomKeyStoreOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ConnectCustomKeyStoreInput) *kms.ConnectCustomKeyStoreOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeKMS) ConnectCustomKeyStore(_a0 *kms.ConnectCustomKeyStoreInput } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ConnectCustomKeyStoreInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeKMS) ConnectCustomKeyStoreRequest(_a0 *kms.ConnectCustomKeySto ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ConnectCustomKeyStoreOutput + if rf, ok := ret.Get(0).(func(*kms.ConnectCustomKeyStoreInput) (*request.Request, *kms.ConnectCustomKeyStoreOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ConnectCustomKeyStoreInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeKMS) ConnectCustomKeyStoreRequest(_a0 *kms.ConnectCustomKeySto } } - var r1 *kms.ConnectCustomKeyStoreOutput if rf, ok := ret.Get(1).(func(*kms.ConnectCustomKeyStoreInput) *kms.ConnectCustomKeyStoreOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeKMS) ConnectCustomKeyStoreWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.ConnectCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ConnectCustomKeyStoreInput, ...request.Option) (*kms.ConnectCustomKeyStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ConnectCustomKeyStoreInput, ...request.Option) *kms.ConnectCustomKeyStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeKMS) ConnectCustomKeyStoreWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ConnectCustomKeyStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeKMS) CreateAlias(_a0 *kms.CreateAliasInput) (*kms.CreateAliasO ret := _m.Called(_a0) var r0 *kms.CreateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.CreateAliasInput) (*kms.CreateAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateAliasInput) *kms.CreateAliasOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeKMS) CreateAlias(_a0 *kms.CreateAliasInput) (*kms.CreateAliasO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.CreateAliasInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeKMS) CreateAliasRequest(_a0 *kms.CreateAliasInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.CreateAliasOutput + if rf, ok := ret.Get(0).(func(*kms.CreateAliasInput) (*request.Request, *kms.CreateAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeKMS) CreateAliasRequest(_a0 *kms.CreateAliasInput) (*request.R } } - var r1 *kms.CreateAliasOutput if rf, ok := ret.Get(1).(func(*kms.CreateAliasInput) *kms.CreateAliasOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeKMS) CreateAliasWithContext(_a0 context.Context, _a1 *kms.Crea ret := _m.Called(_ca...) var r0 *kms.CreateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateAliasInput, ...request.Option) (*kms.CreateAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateAliasInput, ...request.Option) *kms.CreateAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeKMS) CreateAliasWithContext(_a0 context.Context, _a1 *kms.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.CreateAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeKMS) CreateCustomKeyStore(_a0 *kms.CreateCustomKeyStoreInput) ret := _m.Called(_a0) var r0 *kms.CreateCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.CreateCustomKeyStoreInput) (*kms.CreateCustomKeyStoreOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateCustomKeyStoreInput) *kms.CreateCustomKeyStoreOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeKMS) CreateCustomKeyStore(_a0 *kms.CreateCustomKeyStoreInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.CreateCustomKeyStoreInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeKMS) CreateCustomKeyStoreRequest(_a0 *kms.CreateCustomKeyStore ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.CreateCustomKeyStoreOutput + if rf, ok := ret.Get(0).(func(*kms.CreateCustomKeyStoreInput) (*request.Request, *kms.CreateCustomKeyStoreOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateCustomKeyStoreInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeKMS) CreateCustomKeyStoreRequest(_a0 *kms.CreateCustomKeyStore } } - var r1 *kms.CreateCustomKeyStoreOutput if rf, ok := ret.Get(1).(func(*kms.CreateCustomKeyStoreInput) *kms.CreateCustomKeyStoreOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeKMS) CreateCustomKeyStoreWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.CreateCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateCustomKeyStoreInput, ...request.Option) (*kms.CreateCustomKeyStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateCustomKeyStoreInput, ...request.Option) *kms.CreateCustomKeyStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeKMS) CreateCustomKeyStoreWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.CreateCustomKeyStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeKMS) CreateGrant(_a0 *kms.CreateGrantInput) (*kms.CreateGrantO ret := _m.Called(_a0) var r0 *kms.CreateGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.CreateGrantInput) (*kms.CreateGrantOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateGrantInput) *kms.CreateGrantOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeKMS) CreateGrant(_a0 *kms.CreateGrantInput) (*kms.CreateGrantO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.CreateGrantInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeKMS) CreateGrantRequest(_a0 *kms.CreateGrantInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.CreateGrantOutput + if rf, ok := ret.Get(0).(func(*kms.CreateGrantInput) (*request.Request, *kms.CreateGrantOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateGrantInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeKMS) CreateGrantRequest(_a0 *kms.CreateGrantInput) (*request.R } } - var r1 *kms.CreateGrantOutput if rf, ok := ret.Get(1).(func(*kms.CreateGrantInput) *kms.CreateGrantOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeKMS) CreateGrantWithContext(_a0 context.Context, _a1 *kms.Crea ret := _m.Called(_ca...) var r0 *kms.CreateGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateGrantInput, ...request.Option) (*kms.CreateGrantOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateGrantInput, ...request.Option) *kms.CreateGrantOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeKMS) CreateGrantWithContext(_a0 context.Context, _a1 *kms.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.CreateGrantInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeKMS) CreateKey(_a0 *kms.CreateKeyInput) (*kms.CreateKeyOutput, ret := _m.Called(_a0) var r0 *kms.CreateKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.CreateKeyInput) (*kms.CreateKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateKeyInput) *kms.CreateKeyOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeKMS) CreateKey(_a0 *kms.CreateKeyInput) (*kms.CreateKeyOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.CreateKeyInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeKMS) CreateKeyRequest(_a0 *kms.CreateKeyInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.CreateKeyOutput + if rf, ok := ret.Get(0).(func(*kms.CreateKeyInput) (*request.Request, *kms.CreateKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.CreateKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeKMS) CreateKeyRequest(_a0 *kms.CreateKeyInput) (*request.Reque } } - var r1 *kms.CreateKeyOutput if rf, ok := ret.Get(1).(func(*kms.CreateKeyInput) *kms.CreateKeyOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeKMS) CreateKeyWithContext(_a0 context.Context, _a1 *kms.Create ret := _m.Called(_ca...) var r0 *kms.CreateKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateKeyInput, ...request.Option) (*kms.CreateKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.CreateKeyInput, ...request.Option) *kms.CreateKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeKMS) CreateKeyWithContext(_a0 context.Context, _a1 *kms.Create } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.CreateKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeKMS) Decrypt(_a0 *kms.DecryptInput) (*kms.DecryptOutput, error ret := _m.Called(_a0) var r0 *kms.DecryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DecryptInput) (*kms.DecryptOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DecryptInput) *kms.DecryptOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeKMS) Decrypt(_a0 *kms.DecryptInput) (*kms.DecryptOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DecryptInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeKMS) DecryptRequest(_a0 *kms.DecryptInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DecryptOutput + if rf, ok := ret.Get(0).(func(*kms.DecryptInput) (*request.Request, *kms.DecryptOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DecryptInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeKMS) DecryptRequest(_a0 *kms.DecryptInput) (*request.Request, } } - var r1 *kms.DecryptOutput if rf, ok := ret.Get(1).(func(*kms.DecryptInput) *kms.DecryptOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeKMS) DecryptWithContext(_a0 context.Context, _a1 *kms.DecryptI ret := _m.Called(_ca...) var r0 *kms.DecryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DecryptInput, ...request.Option) (*kms.DecryptOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DecryptInput, ...request.Option) *kms.DecryptOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeKMS) DecryptWithContext(_a0 context.Context, _a1 *kms.DecryptI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DecryptInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeKMS) DeleteAlias(_a0 *kms.DeleteAliasInput) (*kms.DeleteAliasO ret := _m.Called(_a0) var r0 *kms.DeleteAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteAliasInput) *kms.DeleteAliasOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeKMS) DeleteAlias(_a0 *kms.DeleteAliasInput) (*kms.DeleteAliasO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DeleteAliasInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeKMS) DeleteAliasRequest(_a0 *kms.DeleteAliasInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DeleteAliasOutput + if rf, ok := ret.Get(0).(func(*kms.DeleteAliasInput) (*request.Request, *kms.DeleteAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeKMS) DeleteAliasRequest(_a0 *kms.DeleteAliasInput) (*request.R } } - var r1 *kms.DeleteAliasOutput if rf, ok := ret.Get(1).(func(*kms.DeleteAliasInput) *kms.DeleteAliasOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeKMS) DeleteAliasWithContext(_a0 context.Context, _a1 *kms.Dele ret := _m.Called(_ca...) var r0 *kms.DeleteAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteAliasInput, ...request.Option) (*kms.DeleteAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteAliasInput, ...request.Option) *kms.DeleteAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeKMS) DeleteAliasWithContext(_a0 context.Context, _a1 *kms.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DeleteAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeKMS) DeleteCustomKeyStore(_a0 *kms.DeleteCustomKeyStoreInput) ret := _m.Called(_a0) var r0 *kms.DeleteCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DeleteCustomKeyStoreInput) (*kms.DeleteCustomKeyStoreOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteCustomKeyStoreInput) *kms.DeleteCustomKeyStoreOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeKMS) DeleteCustomKeyStore(_a0 *kms.DeleteCustomKeyStoreInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DeleteCustomKeyStoreInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeKMS) DeleteCustomKeyStoreRequest(_a0 *kms.DeleteCustomKeyStore ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DeleteCustomKeyStoreOutput + if rf, ok := ret.Get(0).(func(*kms.DeleteCustomKeyStoreInput) (*request.Request, *kms.DeleteCustomKeyStoreOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteCustomKeyStoreInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeKMS) DeleteCustomKeyStoreRequest(_a0 *kms.DeleteCustomKeyStore } } - var r1 *kms.DeleteCustomKeyStoreOutput if rf, ok := ret.Get(1).(func(*kms.DeleteCustomKeyStoreInput) *kms.DeleteCustomKeyStoreOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeKMS) DeleteCustomKeyStoreWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.DeleteCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteCustomKeyStoreInput, ...request.Option) (*kms.DeleteCustomKeyStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteCustomKeyStoreInput, ...request.Option) *kms.DeleteCustomKeyStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeKMS) DeleteCustomKeyStoreWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DeleteCustomKeyStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterial(_a0 *kms.DeleteImportedKeyMater ret := _m.Called(_a0) var r0 *kms.DeleteImportedKeyMaterialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DeleteImportedKeyMaterialInput) (*kms.DeleteImportedKeyMaterialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteImportedKeyMaterialInput) *kms.DeleteImportedKeyMaterialOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterial(_a0 *kms.DeleteImportedKeyMater } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DeleteImportedKeyMaterialInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterialRequest(_a0 *kms.DeleteImportedK ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DeleteImportedKeyMaterialOutput + if rf, ok := ret.Get(0).(func(*kms.DeleteImportedKeyMaterialInput) (*request.Request, *kms.DeleteImportedKeyMaterialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DeleteImportedKeyMaterialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterialRequest(_a0 *kms.DeleteImportedK } } - var r1 *kms.DeleteImportedKeyMaterialOutput if rf, ok := ret.Get(1).(func(*kms.DeleteImportedKeyMaterialInput) *kms.DeleteImportedKeyMaterialOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterialWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *kms.DeleteImportedKeyMaterialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteImportedKeyMaterialInput, ...request.Option) (*kms.DeleteImportedKeyMaterialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DeleteImportedKeyMaterialInput, ...request.Option) *kms.DeleteImportedKeyMaterialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeKMS) DeleteImportedKeyMaterialWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DeleteImportedKeyMaterialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeKMS) DescribeCustomKeyStores(_a0 *kms.DescribeCustomKeyStoresI ret := _m.Called(_a0) var r0 *kms.DescribeCustomKeyStoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DescribeCustomKeyStoresInput) (*kms.DescribeCustomKeyStoresOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DescribeCustomKeyStoresInput) *kms.DescribeCustomKeyStoresOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeKMS) DescribeCustomKeyStores(_a0 *kms.DescribeCustomKeyStoresI } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DescribeCustomKeyStoresInput) error); ok { r1 = rf(_a0) } else { @@ -819,11 +912,50 @@ func (_m *MockFakeKMS) DescribeCustomKeyStores(_a0 *kms.DescribeCustomKeyStoresI return r0, r1 } +// DescribeCustomKeyStoresPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeKMS) DescribeCustomKeyStoresPages(_a0 *kms.DescribeCustomKeyStoresInput, _a1 func(*kms.DescribeCustomKeyStoresOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*kms.DescribeCustomKeyStoresInput, func(*kms.DescribeCustomKeyStoresOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// DescribeCustomKeyStoresPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeKMS) DescribeCustomKeyStoresPagesWithContext(_a0 context.Context, _a1 *kms.DescribeCustomKeyStoresInput, _a2 func(*kms.DescribeCustomKeyStoresOutput, bool) bool, _a3 ...request.Option) error { + _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, *kms.DescribeCustomKeyStoresInput, func(*kms.DescribeCustomKeyStoresOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // DescribeCustomKeyStoresRequest provides a mock function with given fields: _a0 func (_m *MockFakeKMS) DescribeCustomKeyStoresRequest(_a0 *kms.DescribeCustomKeyStoresInput) (*request.Request, *kms.DescribeCustomKeyStoresOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DescribeCustomKeyStoresOutput + if rf, ok := ret.Get(0).(func(*kms.DescribeCustomKeyStoresInput) (*request.Request, *kms.DescribeCustomKeyStoresOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DescribeCustomKeyStoresInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +964,6 @@ func (_m *MockFakeKMS) DescribeCustomKeyStoresRequest(_a0 *kms.DescribeCustomKey } } - var r1 *kms.DescribeCustomKeyStoresOutput if rf, ok := ret.Get(1).(func(*kms.DescribeCustomKeyStoresInput) *kms.DescribeCustomKeyStoresOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +987,10 @@ func (_m *MockFakeKMS) DescribeCustomKeyStoresWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *kms.DescribeCustomKeyStoresOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DescribeCustomKeyStoresInput, ...request.Option) (*kms.DescribeCustomKeyStoresOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DescribeCustomKeyStoresInput, ...request.Option) *kms.DescribeCustomKeyStoresOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +999,6 @@ func (_m *MockFakeKMS) DescribeCustomKeyStoresWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DescribeCustomKeyStoresInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +1013,10 @@ func (_m *MockFakeKMS) DescribeKey(_a0 *kms.DescribeKeyInput) (*kms.DescribeKeyO ret := _m.Called(_a0) var r0 *kms.DescribeKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DescribeKeyInput) *kms.DescribeKeyOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +1025,6 @@ func (_m *MockFakeKMS) DescribeKey(_a0 *kms.DescribeKeyInput) (*kms.DescribeKeyO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DescribeKeyInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1039,10 @@ func (_m *MockFakeKMS) DescribeKeyRequest(_a0 *kms.DescribeKeyInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DescribeKeyOutput + if rf, ok := ret.Get(0).(func(*kms.DescribeKeyInput) (*request.Request, *kms.DescribeKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DescribeKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1051,6 @@ func (_m *MockFakeKMS) DescribeKeyRequest(_a0 *kms.DescribeKeyInput) (*request.R } } - var r1 *kms.DescribeKeyOutput if rf, ok := ret.Get(1).(func(*kms.DescribeKeyInput) *kms.DescribeKeyOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1074,10 @@ func (_m *MockFakeKMS) DescribeKeyWithContext(_a0 context.Context, _a1 *kms.Desc ret := _m.Called(_ca...) var r0 *kms.DescribeKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DescribeKeyInput, ...request.Option) (*kms.DescribeKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DescribeKeyInput, ...request.Option) *kms.DescribeKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1086,6 @@ func (_m *MockFakeKMS) DescribeKeyWithContext(_a0 context.Context, _a1 *kms.Desc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DescribeKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1100,10 @@ func (_m *MockFakeKMS) DisableKey(_a0 *kms.DisableKeyInput) (*kms.DisableKeyOutp ret := _m.Called(_a0) var r0 *kms.DisableKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DisableKeyInput) (*kms.DisableKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisableKeyInput) *kms.DisableKeyOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1112,6 @@ func (_m *MockFakeKMS) DisableKey(_a0 *kms.DisableKeyInput) (*kms.DisableKeyOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DisableKeyInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1126,10 @@ func (_m *MockFakeKMS) DisableKeyRequest(_a0 *kms.DisableKeyInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DisableKeyOutput + if rf, ok := ret.Get(0).(func(*kms.DisableKeyInput) (*request.Request, *kms.DisableKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisableKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1138,6 @@ func (_m *MockFakeKMS) DisableKeyRequest(_a0 *kms.DisableKeyInput) (*request.Req } } - var r1 *kms.DisableKeyOutput if rf, ok := ret.Get(1).(func(*kms.DisableKeyInput) *kms.DisableKeyOutput); ok { r1 = rf(_a0) } else { @@ -1005,6 +1154,10 @@ func (_m *MockFakeKMS) DisableKeyRotation(_a0 *kms.DisableKeyRotationInput) (*km ret := _m.Called(_a0) var r0 *kms.DisableKeyRotationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DisableKeyRotationInput) (*kms.DisableKeyRotationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisableKeyRotationInput) *kms.DisableKeyRotationOutput); ok { r0 = rf(_a0) } else { @@ -1013,7 +1166,6 @@ func (_m *MockFakeKMS) DisableKeyRotation(_a0 *kms.DisableKeyRotationInput) (*km } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DisableKeyRotationInput) error); ok { r1 = rf(_a0) } else { @@ -1028,6 +1180,10 @@ func (_m *MockFakeKMS) DisableKeyRotationRequest(_a0 *kms.DisableKeyRotationInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DisableKeyRotationOutput + if rf, ok := ret.Get(0).(func(*kms.DisableKeyRotationInput) (*request.Request, *kms.DisableKeyRotationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisableKeyRotationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1036,7 +1192,6 @@ func (_m *MockFakeKMS) DisableKeyRotationRequest(_a0 *kms.DisableKeyRotationInpu } } - var r1 *kms.DisableKeyRotationOutput if rf, ok := ret.Get(1).(func(*kms.DisableKeyRotationInput) *kms.DisableKeyRotationOutput); ok { r1 = rf(_a0) } else { @@ -1060,6 +1215,10 @@ func (_m *MockFakeKMS) DisableKeyRotationWithContext(_a0 context.Context, _a1 *k ret := _m.Called(_ca...) var r0 *kms.DisableKeyRotationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DisableKeyRotationInput, ...request.Option) (*kms.DisableKeyRotationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DisableKeyRotationInput, ...request.Option) *kms.DisableKeyRotationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1068,7 +1227,6 @@ func (_m *MockFakeKMS) DisableKeyRotationWithContext(_a0 context.Context, _a1 *k } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DisableKeyRotationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1090,6 +1248,10 @@ func (_m *MockFakeKMS) DisableKeyWithContext(_a0 context.Context, _a1 *kms.Disab ret := _m.Called(_ca...) var r0 *kms.DisableKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DisableKeyInput, ...request.Option) (*kms.DisableKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DisableKeyInput, ...request.Option) *kms.DisableKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1260,6 @@ func (_m *MockFakeKMS) DisableKeyWithContext(_a0 context.Context, _a1 *kms.Disab } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DisableKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1274,10 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStore(_a0 *kms.DisconnectCustomKeyStor ret := _m.Called(_a0) var r0 *kms.DisconnectCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.DisconnectCustomKeyStoreInput) (*kms.DisconnectCustomKeyStoreOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisconnectCustomKeyStoreInput) *kms.DisconnectCustomKeyStoreOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1286,6 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStore(_a0 *kms.DisconnectCustomKeyStor } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.DisconnectCustomKeyStoreInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1300,10 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStoreRequest(_a0 *kms.DisconnectCustom ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.DisconnectCustomKeyStoreOutput + if rf, ok := ret.Get(0).(func(*kms.DisconnectCustomKeyStoreInput) (*request.Request, *kms.DisconnectCustomKeyStoreOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.DisconnectCustomKeyStoreInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1312,6 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStoreRequest(_a0 *kms.DisconnectCustom } } - var r1 *kms.DisconnectCustomKeyStoreOutput if rf, ok := ret.Get(1).(func(*kms.DisconnectCustomKeyStoreInput) *kms.DisconnectCustomKeyStoreOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1335,10 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStoreWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *kms.DisconnectCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.DisconnectCustomKeyStoreInput, ...request.Option) (*kms.DisconnectCustomKeyStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.DisconnectCustomKeyStoreInput, ...request.Option) *kms.DisconnectCustomKeyStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1347,6 @@ func (_m *MockFakeKMS) DisconnectCustomKeyStoreWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.DisconnectCustomKeyStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1361,10 @@ func (_m *MockFakeKMS) EnableKey(_a0 *kms.EnableKeyInput) (*kms.EnableKeyOutput, ret := _m.Called(_a0) var r0 *kms.EnableKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.EnableKeyInput) (*kms.EnableKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EnableKeyInput) *kms.EnableKeyOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1373,6 @@ func (_m *MockFakeKMS) EnableKey(_a0 *kms.EnableKeyInput) (*kms.EnableKeyOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.EnableKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1387,10 @@ func (_m *MockFakeKMS) EnableKeyRequest(_a0 *kms.EnableKeyInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.EnableKeyOutput + if rf, ok := ret.Get(0).(func(*kms.EnableKeyInput) (*request.Request, *kms.EnableKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EnableKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1399,6 @@ func (_m *MockFakeKMS) EnableKeyRequest(_a0 *kms.EnableKeyInput) (*request.Reque } } - var r1 *kms.EnableKeyOutput if rf, ok := ret.Get(1).(func(*kms.EnableKeyInput) *kms.EnableKeyOutput); ok { r1 = rf(_a0) } else { @@ -1239,6 +1415,10 @@ func (_m *MockFakeKMS) EnableKeyRotation(_a0 *kms.EnableKeyRotationInput) (*kms. ret := _m.Called(_a0) var r0 *kms.EnableKeyRotationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.EnableKeyRotationInput) (*kms.EnableKeyRotationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EnableKeyRotationInput) *kms.EnableKeyRotationOutput); ok { r0 = rf(_a0) } else { @@ -1247,7 +1427,6 @@ func (_m *MockFakeKMS) EnableKeyRotation(_a0 *kms.EnableKeyRotationInput) (*kms. } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.EnableKeyRotationInput) error); ok { r1 = rf(_a0) } else { @@ -1262,6 +1441,10 @@ func (_m *MockFakeKMS) EnableKeyRotationRequest(_a0 *kms.EnableKeyRotationInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.EnableKeyRotationOutput + if rf, ok := ret.Get(0).(func(*kms.EnableKeyRotationInput) (*request.Request, *kms.EnableKeyRotationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EnableKeyRotationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1270,7 +1453,6 @@ func (_m *MockFakeKMS) EnableKeyRotationRequest(_a0 *kms.EnableKeyRotationInput) } } - var r1 *kms.EnableKeyRotationOutput if rf, ok := ret.Get(1).(func(*kms.EnableKeyRotationInput) *kms.EnableKeyRotationOutput); ok { r1 = rf(_a0) } else { @@ -1294,6 +1476,10 @@ func (_m *MockFakeKMS) EnableKeyRotationWithContext(_a0 context.Context, _a1 *km ret := _m.Called(_ca...) var r0 *kms.EnableKeyRotationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.EnableKeyRotationInput, ...request.Option) (*kms.EnableKeyRotationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.EnableKeyRotationInput, ...request.Option) *kms.EnableKeyRotationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1302,7 +1488,6 @@ func (_m *MockFakeKMS) EnableKeyRotationWithContext(_a0 context.Context, _a1 *km } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.EnableKeyRotationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1324,6 +1509,10 @@ func (_m *MockFakeKMS) EnableKeyWithContext(_a0 context.Context, _a1 *kms.Enable ret := _m.Called(_ca...) var r0 *kms.EnableKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.EnableKeyInput, ...request.Option) (*kms.EnableKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.EnableKeyInput, ...request.Option) *kms.EnableKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1521,6 @@ func (_m *MockFakeKMS) EnableKeyWithContext(_a0 context.Context, _a1 *kms.Enable } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.EnableKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1535,10 @@ func (_m *MockFakeKMS) Encrypt(_a0 *kms.EncryptInput) (*kms.EncryptOutput, error ret := _m.Called(_a0) var r0 *kms.EncryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.EncryptInput) (*kms.EncryptOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EncryptInput) *kms.EncryptOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1547,6 @@ func (_m *MockFakeKMS) Encrypt(_a0 *kms.EncryptInput) (*kms.EncryptOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.EncryptInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1561,10 @@ func (_m *MockFakeKMS) EncryptRequest(_a0 *kms.EncryptInput) (*request.Request, ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.EncryptOutput + if rf, ok := ret.Get(0).(func(*kms.EncryptInput) (*request.Request, *kms.EncryptOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.EncryptInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1573,6 @@ func (_m *MockFakeKMS) EncryptRequest(_a0 *kms.EncryptInput) (*request.Request, } } - var r1 *kms.EncryptOutput if rf, ok := ret.Get(1).(func(*kms.EncryptInput) *kms.EncryptOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1596,10 @@ func (_m *MockFakeKMS) EncryptWithContext(_a0 context.Context, _a1 *kms.EncryptI ret := _m.Called(_ca...) var r0 *kms.EncryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.EncryptInput, ...request.Option) (*kms.EncryptOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.EncryptInput, ...request.Option) *kms.EncryptOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1608,6 @@ func (_m *MockFakeKMS) EncryptWithContext(_a0 context.Context, _a1 *kms.EncryptI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.EncryptInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1622,10 @@ func (_m *MockFakeKMS) GenerateDataKey(_a0 *kms.GenerateDataKeyInput) (*kms.Gene ret := _m.Called(_a0) var r0 *kms.GenerateDataKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyInput) (*kms.GenerateDataKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyInput) *kms.GenerateDataKeyOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1634,6 @@ func (_m *MockFakeKMS) GenerateDataKey(_a0 *kms.GenerateDataKeyInput) (*kms.Gene } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1648,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPair(_a0 *kms.GenerateDataKeyPairInput) (* ret := _m.Called(_a0) var r0 *kms.GenerateDataKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairInput) (*kms.GenerateDataKeyPairOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairInput) *kms.GenerateDataKeyPairOutput); ok { r0 = rf(_a0) } else { @@ -1456,7 +1660,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPair(_a0 *kms.GenerateDataKeyPairInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyPairInput) error); ok { r1 = rf(_a0) } else { @@ -1471,6 +1674,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPairRequest(_a0 *kms.GenerateDataKeyPairIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GenerateDataKeyPairOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairInput) (*request.Request, *kms.GenerateDataKeyPairOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1479,7 +1686,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPairRequest(_a0 *kms.GenerateDataKeyPairIn } } - var r1 *kms.GenerateDataKeyPairOutput if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyPairInput) *kms.GenerateDataKeyPairOutput); ok { r1 = rf(_a0) } else { @@ -1503,6 +1709,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *kms.GenerateDataKeyPairOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyPairInput, ...request.Option) (*kms.GenerateDataKeyPairOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyPairInput, ...request.Option) *kms.GenerateDataKeyPairOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1511,7 +1721,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateDataKeyPairInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1526,6 +1735,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintext(_a0 *kms.GenerateData ret := _m.Called(_a0) var r0 *kms.GenerateDataKeyPairWithoutPlaintextOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) (*kms.GenerateDataKeyPairWithoutPlaintextOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) *kms.GenerateDataKeyPairWithoutPlaintextOutput); ok { r0 = rf(_a0) } else { @@ -1534,7 +1747,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintext(_a0 *kms.GenerateData } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) error); ok { r1 = rf(_a0) } else { @@ -1549,6 +1761,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintextRequest(_a0 *kms.Gener ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GenerateDataKeyPairWithoutPlaintextOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) (*request.Request, *kms.GenerateDataKeyPairWithoutPlaintextOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1557,7 +1773,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintextRequest(_a0 *kms.Gener } } - var r1 *kms.GenerateDataKeyPairWithoutPlaintextOutput if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyPairWithoutPlaintextInput) *kms.GenerateDataKeyPairWithoutPlaintextOutput); ok { r1 = rf(_a0) } else { @@ -1581,6 +1796,10 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintextWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *kms.GenerateDataKeyPairWithoutPlaintextOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyPairWithoutPlaintextInput, ...request.Option) (*kms.GenerateDataKeyPairWithoutPlaintextOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyPairWithoutPlaintextInput, ...request.Option) *kms.GenerateDataKeyPairWithoutPlaintextOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1589,7 +1808,6 @@ func (_m *MockFakeKMS) GenerateDataKeyPairWithoutPlaintextWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateDataKeyPairWithoutPlaintextInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1604,6 +1822,10 @@ func (_m *MockFakeKMS) GenerateDataKeyRequest(_a0 *kms.GenerateDataKeyInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GenerateDataKeyOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyInput) (*request.Request, *kms.GenerateDataKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +1834,6 @@ func (_m *MockFakeKMS) GenerateDataKeyRequest(_a0 *kms.GenerateDataKeyInput) (*r } } - var r1 *kms.GenerateDataKeyOutput if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyInput) *kms.GenerateDataKeyOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +1857,10 @@ func (_m *MockFakeKMS) GenerateDataKeyWithContext(_a0 context.Context, _a1 *kms. ret := _m.Called(_ca...) var r0 *kms.GenerateDataKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyInput, ...request.Option) (*kms.GenerateDataKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyInput, ...request.Option) *kms.GenerateDataKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +1869,6 @@ func (_m *MockFakeKMS) GenerateDataKeyWithContext(_a0 context.Context, _a1 *kms. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateDataKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +1883,10 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintext(_a0 *kms.GenerateDataKeyW ret := _m.Called(_a0) var r0 *kms.GenerateDataKeyWithoutPlaintextOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyWithoutPlaintextInput) (*kms.GenerateDataKeyWithoutPlaintextOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyWithoutPlaintextInput) *kms.GenerateDataKeyWithoutPlaintextOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +1895,6 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintext(_a0 *kms.GenerateDataKeyW } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyWithoutPlaintextInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +1909,10 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintextRequest(_a0 *kms.GenerateD ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GenerateDataKeyWithoutPlaintextOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyWithoutPlaintextInput) (*request.Request, *kms.GenerateDataKeyWithoutPlaintextOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GenerateDataKeyWithoutPlaintextInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +1921,6 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintextRequest(_a0 *kms.GenerateD } } - var r1 *kms.GenerateDataKeyWithoutPlaintextOutput if rf, ok := ret.Get(1).(func(*kms.GenerateDataKeyWithoutPlaintextInput) *kms.GenerateDataKeyWithoutPlaintextOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +1944,10 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintextWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *kms.GenerateDataKeyWithoutPlaintextOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyWithoutPlaintextInput, ...request.Option) (*kms.GenerateDataKeyWithoutPlaintextOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateDataKeyWithoutPlaintextInput, ...request.Option) *kms.GenerateDataKeyWithoutPlaintextOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +1956,6 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintextWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateDataKeyWithoutPlaintextInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1732,21 +1965,24 @@ func (_m *MockFakeKMS) GenerateDataKeyWithoutPlaintextWithContext(_a0 context.Co return r0, r1 } -// GenerateRandom provides a mock function with given fields: _a0 -func (_m *MockFakeKMS) GenerateRandom(_a0 *kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error) { +// GenerateMac provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) GenerateMac(_a0 *kms.GenerateMacInput) (*kms.GenerateMacOutput, error) { ret := _m.Called(_a0) - var r0 *kms.GenerateRandomOutput - if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) *kms.GenerateRandomOutput); ok { + var r0 *kms.GenerateMacOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateMacInput) (*kms.GenerateMacOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.GenerateMacInput) *kms.GenerateMacOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*kms.GenerateRandomOutput) + r0 = ret.Get(0).(*kms.GenerateMacOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*kms.GenerateRandomInput) error); ok { + if rf, ok := ret.Get(1).(func(*kms.GenerateMacInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1755,12 +1991,16 @@ func (_m *MockFakeKMS) GenerateRandom(_a0 *kms.GenerateRandomInput) (*kms.Genera return r0, r1 } -// GenerateRandomRequest provides a mock function with given fields: _a0 -func (_m *MockFakeKMS) GenerateRandomRequest(_a0 *kms.GenerateRandomInput) (*request.Request, *kms.GenerateRandomOutput) { +// GenerateMacRequest provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) GenerateMacRequest(_a0 *kms.GenerateMacInput) (*request.Request, *kms.GenerateMacOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) *request.Request); ok { + var r1 *kms.GenerateMacOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateMacInput) (*request.Request, *kms.GenerateMacOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.GenerateMacInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1768,20 +2008,19 @@ func (_m *MockFakeKMS) GenerateRandomRequest(_a0 *kms.GenerateRandomInput) (*req } } - var r1 *kms.GenerateRandomOutput - if rf, ok := ret.Get(1).(func(*kms.GenerateRandomInput) *kms.GenerateRandomOutput); ok { + if rf, ok := ret.Get(1).(func(*kms.GenerateMacInput) *kms.GenerateMacOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*kms.GenerateRandomOutput) + r1 = ret.Get(1).(*kms.GenerateMacOutput) } } return r0, r1 } -// GenerateRandomWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeKMS) GenerateRandomWithContext(_a0 context.Context, _a1 *kms.GenerateRandomInput, _a2 ...request.Option) (*kms.GenerateRandomOutput, error) { +// GenerateMacWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeKMS) GenerateMacWithContext(_a0 context.Context, _a1 *kms.GenerateMacInput, _a2 ...request.Option) (*kms.GenerateMacOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1791,17 +2030,20 @@ func (_m *MockFakeKMS) GenerateRandomWithContext(_a0 context.Context, _a1 *kms.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *kms.GenerateRandomOutput - if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateRandomInput, ...request.Option) *kms.GenerateRandomOutput); ok { + var r0 *kms.GenerateMacOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateMacInput, ...request.Option) (*kms.GenerateMacOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateMacInput, ...request.Option) *kms.GenerateMacOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*kms.GenerateRandomOutput) + r0 = ret.Get(0).(*kms.GenerateMacOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateRandomInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateMacInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1810,11 +2052,102 @@ func (_m *MockFakeKMS) GenerateRandomWithContext(_a0 context.Context, _a1 *kms.G return r0, r1 } -// GetKeyPolicy provides a mock function with given fields: _a0 -func (_m *MockFakeKMS) GetKeyPolicy(_a0 *kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error) { +// GenerateRandom provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) GenerateRandom(_a0 *kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error) { + ret := _m.Called(_a0) + + var r0 *kms.GenerateRandomOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) (*kms.GenerateRandomOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) *kms.GenerateRandomOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*kms.GenerateRandomOutput) + } + } + + if rf, ok := ret.Get(1).(func(*kms.GenerateRandomInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GenerateRandomRequest provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) GenerateRandomRequest(_a0 *kms.GenerateRandomInput) (*request.Request, *kms.GenerateRandomOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *kms.GenerateRandomOutput + if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) (*request.Request, *kms.GenerateRandomOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.GenerateRandomInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*kms.GenerateRandomInput) *kms.GenerateRandomOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*kms.GenerateRandomOutput) + } + } + + return r0, r1 +} + +// GenerateRandomWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeKMS) GenerateRandomWithContext(_a0 context.Context, _a1 *kms.GenerateRandomInput, _a2 ...request.Option) (*kms.GenerateRandomOutput, error) { + _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 *kms.GenerateRandomOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateRandomInput, ...request.Option) (*kms.GenerateRandomOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *kms.GenerateRandomInput, ...request.Option) *kms.GenerateRandomOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*kms.GenerateRandomOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *kms.GenerateRandomInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetKeyPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) GetKeyPolicy(_a0 *kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error) { ret := _m.Called(_a0) var r0 *kms.GetKeyPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GetKeyPolicyInput) (*kms.GetKeyPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetKeyPolicyInput) *kms.GetKeyPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2156,6 @@ func (_m *MockFakeKMS) GetKeyPolicy(_a0 *kms.GetKeyPolicyInput) (*kms.GetKeyPoli } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GetKeyPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2170,10 @@ func (_m *MockFakeKMS) GetKeyPolicyRequest(_a0 *kms.GetKeyPolicyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GetKeyPolicyOutput + if rf, ok := ret.Get(0).(func(*kms.GetKeyPolicyInput) (*request.Request, *kms.GetKeyPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetKeyPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2182,6 @@ func (_m *MockFakeKMS) GetKeyPolicyRequest(_a0 *kms.GetKeyPolicyInput) (*request } } - var r1 *kms.GetKeyPolicyOutput if rf, ok := ret.Get(1).(func(*kms.GetKeyPolicyInput) *kms.GetKeyPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2205,10 @@ func (_m *MockFakeKMS) GetKeyPolicyWithContext(_a0 context.Context, _a1 *kms.Get ret := _m.Called(_ca...) var r0 *kms.GetKeyPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GetKeyPolicyInput, ...request.Option) (*kms.GetKeyPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GetKeyPolicyInput, ...request.Option) *kms.GetKeyPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2217,6 @@ func (_m *MockFakeKMS) GetKeyPolicyWithContext(_a0 context.Context, _a1 *kms.Get } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GetKeyPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2231,10 @@ func (_m *MockFakeKMS) GetKeyRotationStatus(_a0 *kms.GetKeyRotationStatusInput) ret := _m.Called(_a0) var r0 *kms.GetKeyRotationStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GetKeyRotationStatusInput) (*kms.GetKeyRotationStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetKeyRotationStatusInput) *kms.GetKeyRotationStatusOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2243,6 @@ func (_m *MockFakeKMS) GetKeyRotationStatus(_a0 *kms.GetKeyRotationStatusInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GetKeyRotationStatusInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2257,10 @@ func (_m *MockFakeKMS) GetKeyRotationStatusRequest(_a0 *kms.GetKeyRotationStatus ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GetKeyRotationStatusOutput + if rf, ok := ret.Get(0).(func(*kms.GetKeyRotationStatusInput) (*request.Request, *kms.GetKeyRotationStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetKeyRotationStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2269,6 @@ func (_m *MockFakeKMS) GetKeyRotationStatusRequest(_a0 *kms.GetKeyRotationStatus } } - var r1 *kms.GetKeyRotationStatusOutput if rf, ok := ret.Get(1).(func(*kms.GetKeyRotationStatusInput) *kms.GetKeyRotationStatusOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2292,10 @@ func (_m *MockFakeKMS) GetKeyRotationStatusWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.GetKeyRotationStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GetKeyRotationStatusInput, ...request.Option) (*kms.GetKeyRotationStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GetKeyRotationStatusInput, ...request.Option) *kms.GetKeyRotationStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2304,6 @@ func (_m *MockFakeKMS) GetKeyRotationStatusWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GetKeyRotationStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2318,10 @@ func (_m *MockFakeKMS) GetParametersForImport(_a0 *kms.GetParametersForImportInp ret := _m.Called(_a0) var r0 *kms.GetParametersForImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GetParametersForImportInput) (*kms.GetParametersForImportOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetParametersForImportInput) *kms.GetParametersForImportOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2330,6 @@ func (_m *MockFakeKMS) GetParametersForImport(_a0 *kms.GetParametersForImportInp } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GetParametersForImportInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2344,10 @@ func (_m *MockFakeKMS) GetParametersForImportRequest(_a0 *kms.GetParametersForIm ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GetParametersForImportOutput + if rf, ok := ret.Get(0).(func(*kms.GetParametersForImportInput) (*request.Request, *kms.GetParametersForImportOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetParametersForImportInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2356,6 @@ func (_m *MockFakeKMS) GetParametersForImportRequest(_a0 *kms.GetParametersForIm } } - var r1 *kms.GetParametersForImportOutput if rf, ok := ret.Get(1).(func(*kms.GetParametersForImportInput) *kms.GetParametersForImportOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2379,10 @@ func (_m *MockFakeKMS) GetParametersForImportWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *kms.GetParametersForImportOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GetParametersForImportInput, ...request.Option) (*kms.GetParametersForImportOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GetParametersForImportInput, ...request.Option) *kms.GetParametersForImportOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2391,6 @@ func (_m *MockFakeKMS) GetParametersForImportWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GetParametersForImportInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2405,10 @@ func (_m *MockFakeKMS) GetPublicKey(_a0 *kms.GetPublicKeyInput) (*kms.GetPublicK ret := _m.Called(_a0) var r0 *kms.GetPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.GetPublicKeyInput) (*kms.GetPublicKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetPublicKeyInput) *kms.GetPublicKeyOutput); ok { r0 = rf(_a0) } else { @@ -2057,7 +2417,6 @@ func (_m *MockFakeKMS) GetPublicKey(_a0 *kms.GetPublicKeyInput) (*kms.GetPublicK } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.GetPublicKeyInput) error); ok { r1 = rf(_a0) } else { @@ -2072,6 +2431,10 @@ func (_m *MockFakeKMS) GetPublicKeyRequest(_a0 *kms.GetPublicKeyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.GetPublicKeyOutput + if rf, ok := ret.Get(0).(func(*kms.GetPublicKeyInput) (*request.Request, *kms.GetPublicKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.GetPublicKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2443,6 @@ func (_m *MockFakeKMS) GetPublicKeyRequest(_a0 *kms.GetPublicKeyInput) (*request } } - var r1 *kms.GetPublicKeyOutput if rf, ok := ret.Get(1).(func(*kms.GetPublicKeyInput) *kms.GetPublicKeyOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2466,10 @@ func (_m *MockFakeKMS) GetPublicKeyWithContext(_a0 context.Context, _a1 *kms.Get ret := _m.Called(_ca...) var r0 *kms.GetPublicKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.GetPublicKeyInput, ...request.Option) (*kms.GetPublicKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.GetPublicKeyInput, ...request.Option) *kms.GetPublicKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2478,6 @@ func (_m *MockFakeKMS) GetPublicKeyWithContext(_a0 context.Context, _a1 *kms.Get } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.GetPublicKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2492,10 @@ func (_m *MockFakeKMS) ImportKeyMaterial(_a0 *kms.ImportKeyMaterialInput) (*kms. ret := _m.Called(_a0) var r0 *kms.ImportKeyMaterialOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ImportKeyMaterialInput) (*kms.ImportKeyMaterialOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ImportKeyMaterialInput) *kms.ImportKeyMaterialOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2504,6 @@ func (_m *MockFakeKMS) ImportKeyMaterial(_a0 *kms.ImportKeyMaterialInput) (*kms. } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ImportKeyMaterialInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2518,10 @@ func (_m *MockFakeKMS) ImportKeyMaterialRequest(_a0 *kms.ImportKeyMaterialInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ImportKeyMaterialOutput + if rf, ok := ret.Get(0).(func(*kms.ImportKeyMaterialInput) (*request.Request, *kms.ImportKeyMaterialOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ImportKeyMaterialInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2530,6 @@ func (_m *MockFakeKMS) ImportKeyMaterialRequest(_a0 *kms.ImportKeyMaterialInput) } } - var r1 *kms.ImportKeyMaterialOutput if rf, ok := ret.Get(1).(func(*kms.ImportKeyMaterialInput) *kms.ImportKeyMaterialOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2553,10 @@ func (_m *MockFakeKMS) ImportKeyMaterialWithContext(_a0 context.Context, _a1 *km ret := _m.Called(_ca...) var r0 *kms.ImportKeyMaterialOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ImportKeyMaterialInput, ...request.Option) (*kms.ImportKeyMaterialOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ImportKeyMaterialInput, ...request.Option) *kms.ImportKeyMaterialOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2565,6 @@ func (_m *MockFakeKMS) ImportKeyMaterialWithContext(_a0 context.Context, _a1 *km } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ImportKeyMaterialInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2579,10 @@ func (_m *MockFakeKMS) ListAliases(_a0 *kms.ListAliasesInput) (*kms.ListAliasesO ret := _m.Called(_a0) var r0 *kms.ListAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListAliasesInput) (*kms.ListAliasesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListAliasesInput) *kms.ListAliasesOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2591,6 @@ func (_m *MockFakeKMS) ListAliases(_a0 *kms.ListAliasesInput) (*kms.ListAliasesO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListAliasesInput) error); ok { r1 = rf(_a0) } else { @@ -2263,6 +2640,10 @@ func (_m *MockFakeKMS) ListAliasesRequest(_a0 *kms.ListAliasesInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListAliasesOutput + if rf, ok := ret.Get(0).(func(*kms.ListAliasesInput) (*request.Request, *kms.ListAliasesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListAliasesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2271,7 +2652,6 @@ func (_m *MockFakeKMS) ListAliasesRequest(_a0 *kms.ListAliasesInput) (*request.R } } - var r1 *kms.ListAliasesOutput if rf, ok := ret.Get(1).(func(*kms.ListAliasesInput) *kms.ListAliasesOutput); ok { r1 = rf(_a0) } else { @@ -2295,6 +2675,10 @@ func (_m *MockFakeKMS) ListAliasesWithContext(_a0 context.Context, _a1 *kms.List ret := _m.Called(_ca...) var r0 *kms.ListAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListAliasesInput, ...request.Option) (*kms.ListAliasesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListAliasesInput, ...request.Option) *kms.ListAliasesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2303,7 +2687,6 @@ func (_m *MockFakeKMS) ListAliasesWithContext(_a0 context.Context, _a1 *kms.List } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListAliasesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2318,6 +2701,10 @@ func (_m *MockFakeKMS) ListGrants(_a0 *kms.ListGrantsInput) (*kms.ListGrantsResp ret := _m.Called(_a0) var r0 *kms.ListGrantsResponse + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListGrantsInput) (*kms.ListGrantsResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListGrantsInput) *kms.ListGrantsResponse); ok { r0 = rf(_a0) } else { @@ -2326,7 +2713,6 @@ func (_m *MockFakeKMS) ListGrants(_a0 *kms.ListGrantsInput) (*kms.ListGrantsResp } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListGrantsInput) error); ok { r1 = rf(_a0) } else { @@ -2376,6 +2762,10 @@ func (_m *MockFakeKMS) ListGrantsRequest(_a0 *kms.ListGrantsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListGrantsResponse + if rf, ok := ret.Get(0).(func(*kms.ListGrantsInput) (*request.Request, *kms.ListGrantsResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListGrantsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2384,7 +2774,6 @@ func (_m *MockFakeKMS) ListGrantsRequest(_a0 *kms.ListGrantsInput) (*request.Req } } - var r1 *kms.ListGrantsResponse if rf, ok := ret.Get(1).(func(*kms.ListGrantsInput) *kms.ListGrantsResponse); ok { r1 = rf(_a0) } else { @@ -2408,6 +2797,10 @@ func (_m *MockFakeKMS) ListGrantsWithContext(_a0 context.Context, _a1 *kms.ListG ret := _m.Called(_ca...) var r0 *kms.ListGrantsResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListGrantsInput, ...request.Option) (*kms.ListGrantsResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListGrantsInput, ...request.Option) *kms.ListGrantsResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2416,7 +2809,6 @@ func (_m *MockFakeKMS) ListGrantsWithContext(_a0 context.Context, _a1 *kms.ListG } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListGrantsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2431,6 +2823,10 @@ func (_m *MockFakeKMS) ListKeyPolicies(_a0 *kms.ListKeyPoliciesInput) (*kms.List ret := _m.Called(_a0) var r0 *kms.ListKeyPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListKeyPoliciesInput) (*kms.ListKeyPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListKeyPoliciesInput) *kms.ListKeyPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -2439,7 +2835,6 @@ func (_m *MockFakeKMS) ListKeyPolicies(_a0 *kms.ListKeyPoliciesInput) (*kms.List } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListKeyPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -2489,6 +2884,10 @@ func (_m *MockFakeKMS) ListKeyPoliciesRequest(_a0 *kms.ListKeyPoliciesInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListKeyPoliciesOutput + if rf, ok := ret.Get(0).(func(*kms.ListKeyPoliciesInput) (*request.Request, *kms.ListKeyPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListKeyPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2497,7 +2896,6 @@ func (_m *MockFakeKMS) ListKeyPoliciesRequest(_a0 *kms.ListKeyPoliciesInput) (*r } } - var r1 *kms.ListKeyPoliciesOutput if rf, ok := ret.Get(1).(func(*kms.ListKeyPoliciesInput) *kms.ListKeyPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -2521,6 +2919,10 @@ func (_m *MockFakeKMS) ListKeyPoliciesWithContext(_a0 context.Context, _a1 *kms. ret := _m.Called(_ca...) var r0 *kms.ListKeyPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListKeyPoliciesInput, ...request.Option) (*kms.ListKeyPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListKeyPoliciesInput, ...request.Option) *kms.ListKeyPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2529,7 +2931,6 @@ func (_m *MockFakeKMS) ListKeyPoliciesWithContext(_a0 context.Context, _a1 *kms. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListKeyPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2544,6 +2945,10 @@ func (_m *MockFakeKMS) ListKeys(_a0 *kms.ListKeysInput) (*kms.ListKeysOutput, er ret := _m.Called(_a0) var r0 *kms.ListKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListKeysInput) (*kms.ListKeysOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListKeysInput) *kms.ListKeysOutput); ok { r0 = rf(_a0) } else { @@ -2552,7 +2957,6 @@ func (_m *MockFakeKMS) ListKeys(_a0 *kms.ListKeysInput) (*kms.ListKeysOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListKeysInput) error); ok { r1 = rf(_a0) } else { @@ -2602,6 +3006,10 @@ func (_m *MockFakeKMS) ListKeysRequest(_a0 *kms.ListKeysInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListKeysOutput + if rf, ok := ret.Get(0).(func(*kms.ListKeysInput) (*request.Request, *kms.ListKeysOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListKeysInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2610,7 +3018,6 @@ func (_m *MockFakeKMS) ListKeysRequest(_a0 *kms.ListKeysInput) (*request.Request } } - var r1 *kms.ListKeysOutput if rf, ok := ret.Get(1).(func(*kms.ListKeysInput) *kms.ListKeysOutput); ok { r1 = rf(_a0) } else { @@ -2634,6 +3041,10 @@ func (_m *MockFakeKMS) ListKeysWithContext(_a0 context.Context, _a1 *kms.ListKey ret := _m.Called(_ca...) var r0 *kms.ListKeysOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListKeysInput, ...request.Option) (*kms.ListKeysOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListKeysInput, ...request.Option) *kms.ListKeysOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2642,7 +3053,6 @@ func (_m *MockFakeKMS) ListKeysWithContext(_a0 context.Context, _a1 *kms.ListKey } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListKeysInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2657,6 +3067,10 @@ func (_m *MockFakeKMS) ListResourceTags(_a0 *kms.ListResourceTagsInput) (*kms.Li ret := _m.Called(_a0) var r0 *kms.ListResourceTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListResourceTagsInput) (*kms.ListResourceTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListResourceTagsInput) *kms.ListResourceTagsOutput); ok { r0 = rf(_a0) } else { @@ -2665,7 +3079,6 @@ func (_m *MockFakeKMS) ListResourceTags(_a0 *kms.ListResourceTagsInput) (*kms.Li } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListResourceTagsInput) error); ok { r1 = rf(_a0) } else { @@ -2675,11 +3088,50 @@ func (_m *MockFakeKMS) ListResourceTags(_a0 *kms.ListResourceTagsInput) (*kms.Li return r0, r1 } +// ListResourceTagsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeKMS) ListResourceTagsPages(_a0 *kms.ListResourceTagsInput, _a1 func(*kms.ListResourceTagsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*kms.ListResourceTagsInput, func(*kms.ListResourceTagsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListResourceTagsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeKMS) ListResourceTagsPagesWithContext(_a0 context.Context, _a1 *kms.ListResourceTagsInput, _a2 func(*kms.ListResourceTagsOutput, bool) bool, _a3 ...request.Option) error { + _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, *kms.ListResourceTagsInput, func(*kms.ListResourceTagsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // ListResourceTagsRequest provides a mock function with given fields: _a0 func (_m *MockFakeKMS) ListResourceTagsRequest(_a0 *kms.ListResourceTagsInput) (*request.Request, *kms.ListResourceTagsOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListResourceTagsOutput + if rf, ok := ret.Get(0).(func(*kms.ListResourceTagsInput) (*request.Request, *kms.ListResourceTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListResourceTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2688,7 +3140,6 @@ func (_m *MockFakeKMS) ListResourceTagsRequest(_a0 *kms.ListResourceTagsInput) ( } } - var r1 *kms.ListResourceTagsOutput if rf, ok := ret.Get(1).(func(*kms.ListResourceTagsInput) *kms.ListResourceTagsOutput); ok { r1 = rf(_a0) } else { @@ -2712,6 +3163,10 @@ func (_m *MockFakeKMS) ListResourceTagsWithContext(_a0 context.Context, _a1 *kms ret := _m.Called(_ca...) var r0 *kms.ListResourceTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListResourceTagsInput, ...request.Option) (*kms.ListResourceTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListResourceTagsInput, ...request.Option) *kms.ListResourceTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2720,7 +3175,6 @@ func (_m *MockFakeKMS) ListResourceTagsWithContext(_a0 context.Context, _a1 *kms } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListResourceTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2735,6 +3189,10 @@ func (_m *MockFakeKMS) ListRetirableGrants(_a0 *kms.ListRetirableGrantsInput) (* ret := _m.Called(_a0) var r0 *kms.ListGrantsResponse + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ListRetirableGrantsInput) (*kms.ListGrantsResponse, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListRetirableGrantsInput) *kms.ListGrantsResponse); ok { r0 = rf(_a0) } else { @@ -2743,7 +3201,6 @@ func (_m *MockFakeKMS) ListRetirableGrants(_a0 *kms.ListRetirableGrantsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ListRetirableGrantsInput) error); ok { r1 = rf(_a0) } else { @@ -2753,11 +3210,50 @@ func (_m *MockFakeKMS) ListRetirableGrants(_a0 *kms.ListRetirableGrantsInput) (* return r0, r1 } +// ListRetirableGrantsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeKMS) ListRetirableGrantsPages(_a0 *kms.ListRetirableGrantsInput, _a1 func(*kms.ListGrantsResponse, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*kms.ListRetirableGrantsInput, func(*kms.ListGrantsResponse, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListRetirableGrantsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeKMS) ListRetirableGrantsPagesWithContext(_a0 context.Context, _a1 *kms.ListRetirableGrantsInput, _a2 func(*kms.ListGrantsResponse, bool) bool, _a3 ...request.Option) error { + _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, *kms.ListRetirableGrantsInput, func(*kms.ListGrantsResponse, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // ListRetirableGrantsRequest provides a mock function with given fields: _a0 func (_m *MockFakeKMS) ListRetirableGrantsRequest(_a0 *kms.ListRetirableGrantsInput) (*request.Request, *kms.ListGrantsResponse) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ListGrantsResponse + if rf, ok := ret.Get(0).(func(*kms.ListRetirableGrantsInput) (*request.Request, *kms.ListGrantsResponse)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ListRetirableGrantsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2766,7 +3262,6 @@ func (_m *MockFakeKMS) ListRetirableGrantsRequest(_a0 *kms.ListRetirableGrantsIn } } - var r1 *kms.ListGrantsResponse if rf, ok := ret.Get(1).(func(*kms.ListRetirableGrantsInput) *kms.ListGrantsResponse); ok { r1 = rf(_a0) } else { @@ -2790,6 +3285,10 @@ func (_m *MockFakeKMS) ListRetirableGrantsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *kms.ListGrantsResponse + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ListRetirableGrantsInput, ...request.Option) (*kms.ListGrantsResponse, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ListRetirableGrantsInput, ...request.Option) *kms.ListGrantsResponse); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2798,7 +3297,6 @@ func (_m *MockFakeKMS) ListRetirableGrantsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ListRetirableGrantsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2813,6 +3311,10 @@ func (_m *MockFakeKMS) PutKeyPolicy(_a0 *kms.PutKeyPolicyInput) (*kms.PutKeyPoli ret := _m.Called(_a0) var r0 *kms.PutKeyPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.PutKeyPolicyInput) (*kms.PutKeyPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.PutKeyPolicyInput) *kms.PutKeyPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2821,7 +3323,6 @@ func (_m *MockFakeKMS) PutKeyPolicy(_a0 *kms.PutKeyPolicyInput) (*kms.PutKeyPoli } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.PutKeyPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2836,6 +3337,10 @@ func (_m *MockFakeKMS) PutKeyPolicyRequest(_a0 *kms.PutKeyPolicyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.PutKeyPolicyOutput + if rf, ok := ret.Get(0).(func(*kms.PutKeyPolicyInput) (*request.Request, *kms.PutKeyPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.PutKeyPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2844,7 +3349,6 @@ func (_m *MockFakeKMS) PutKeyPolicyRequest(_a0 *kms.PutKeyPolicyInput) (*request } } - var r1 *kms.PutKeyPolicyOutput if rf, ok := ret.Get(1).(func(*kms.PutKeyPolicyInput) *kms.PutKeyPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2868,6 +3372,10 @@ func (_m *MockFakeKMS) PutKeyPolicyWithContext(_a0 context.Context, _a1 *kms.Put ret := _m.Called(_ca...) var r0 *kms.PutKeyPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.PutKeyPolicyInput, ...request.Option) (*kms.PutKeyPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.PutKeyPolicyInput, ...request.Option) *kms.PutKeyPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2876,7 +3384,6 @@ func (_m *MockFakeKMS) PutKeyPolicyWithContext(_a0 context.Context, _a1 *kms.Put } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.PutKeyPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2891,6 +3398,10 @@ func (_m *MockFakeKMS) ReEncrypt(_a0 *kms.ReEncryptInput) (*kms.ReEncryptOutput, ret := _m.Called(_a0) var r0 *kms.ReEncryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ReEncryptInput) (*kms.ReEncryptOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ReEncryptInput) *kms.ReEncryptOutput); ok { r0 = rf(_a0) } else { @@ -2899,7 +3410,6 @@ func (_m *MockFakeKMS) ReEncrypt(_a0 *kms.ReEncryptInput) (*kms.ReEncryptOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ReEncryptInput) error); ok { r1 = rf(_a0) } else { @@ -2914,6 +3424,10 @@ func (_m *MockFakeKMS) ReEncryptRequest(_a0 *kms.ReEncryptInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ReEncryptOutput + if rf, ok := ret.Get(0).(func(*kms.ReEncryptInput) (*request.Request, *kms.ReEncryptOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ReEncryptInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2922,7 +3436,6 @@ func (_m *MockFakeKMS) ReEncryptRequest(_a0 *kms.ReEncryptInput) (*request.Reque } } - var r1 *kms.ReEncryptOutput if rf, ok := ret.Get(1).(func(*kms.ReEncryptInput) *kms.ReEncryptOutput); ok { r1 = rf(_a0) } else { @@ -2946,6 +3459,10 @@ func (_m *MockFakeKMS) ReEncryptWithContext(_a0 context.Context, _a1 *kms.ReEncr ret := _m.Called(_ca...) var r0 *kms.ReEncryptOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ReEncryptInput, ...request.Option) (*kms.ReEncryptOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ReEncryptInput, ...request.Option) *kms.ReEncryptOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2954,7 +3471,6 @@ func (_m *MockFakeKMS) ReEncryptWithContext(_a0 context.Context, _a1 *kms.ReEncr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ReEncryptInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2969,6 +3485,10 @@ func (_m *MockFakeKMS) ReplicateKey(_a0 *kms.ReplicateKeyInput) (*kms.ReplicateK ret := _m.Called(_a0) var r0 *kms.ReplicateKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ReplicateKeyInput) (*kms.ReplicateKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ReplicateKeyInput) *kms.ReplicateKeyOutput); ok { r0 = rf(_a0) } else { @@ -2977,7 +3497,6 @@ func (_m *MockFakeKMS) ReplicateKey(_a0 *kms.ReplicateKeyInput) (*kms.ReplicateK } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ReplicateKeyInput) error); ok { r1 = rf(_a0) } else { @@ -2992,6 +3511,10 @@ func (_m *MockFakeKMS) ReplicateKeyRequest(_a0 *kms.ReplicateKeyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ReplicateKeyOutput + if rf, ok := ret.Get(0).(func(*kms.ReplicateKeyInput) (*request.Request, *kms.ReplicateKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ReplicateKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3000,7 +3523,6 @@ func (_m *MockFakeKMS) ReplicateKeyRequest(_a0 *kms.ReplicateKeyInput) (*request } } - var r1 *kms.ReplicateKeyOutput if rf, ok := ret.Get(1).(func(*kms.ReplicateKeyInput) *kms.ReplicateKeyOutput); ok { r1 = rf(_a0) } else { @@ -3024,6 +3546,10 @@ func (_m *MockFakeKMS) ReplicateKeyWithContext(_a0 context.Context, _a1 *kms.Rep ret := _m.Called(_ca...) var r0 *kms.ReplicateKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ReplicateKeyInput, ...request.Option) (*kms.ReplicateKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ReplicateKeyInput, ...request.Option) *kms.ReplicateKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3032,7 +3558,6 @@ func (_m *MockFakeKMS) ReplicateKeyWithContext(_a0 context.Context, _a1 *kms.Rep } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ReplicateKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3047,6 +3572,10 @@ func (_m *MockFakeKMS) RetireGrant(_a0 *kms.RetireGrantInput) (*kms.RetireGrantO ret := _m.Called(_a0) var r0 *kms.RetireGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.RetireGrantInput) (*kms.RetireGrantOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.RetireGrantInput) *kms.RetireGrantOutput); ok { r0 = rf(_a0) } else { @@ -3055,7 +3584,6 @@ func (_m *MockFakeKMS) RetireGrant(_a0 *kms.RetireGrantInput) (*kms.RetireGrantO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.RetireGrantInput) error); ok { r1 = rf(_a0) } else { @@ -3070,6 +3598,10 @@ func (_m *MockFakeKMS) RetireGrantRequest(_a0 *kms.RetireGrantInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.RetireGrantOutput + if rf, ok := ret.Get(0).(func(*kms.RetireGrantInput) (*request.Request, *kms.RetireGrantOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.RetireGrantInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3078,7 +3610,6 @@ func (_m *MockFakeKMS) RetireGrantRequest(_a0 *kms.RetireGrantInput) (*request.R } } - var r1 *kms.RetireGrantOutput if rf, ok := ret.Get(1).(func(*kms.RetireGrantInput) *kms.RetireGrantOutput); ok { r1 = rf(_a0) } else { @@ -3102,6 +3633,10 @@ func (_m *MockFakeKMS) RetireGrantWithContext(_a0 context.Context, _a1 *kms.Reti ret := _m.Called(_ca...) var r0 *kms.RetireGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.RetireGrantInput, ...request.Option) (*kms.RetireGrantOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.RetireGrantInput, ...request.Option) *kms.RetireGrantOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3110,7 +3645,6 @@ func (_m *MockFakeKMS) RetireGrantWithContext(_a0 context.Context, _a1 *kms.Reti } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.RetireGrantInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3125,6 +3659,10 @@ func (_m *MockFakeKMS) RevokeGrant(_a0 *kms.RevokeGrantInput) (*kms.RevokeGrantO ret := _m.Called(_a0) var r0 *kms.RevokeGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.RevokeGrantInput) (*kms.RevokeGrantOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.RevokeGrantInput) *kms.RevokeGrantOutput); ok { r0 = rf(_a0) } else { @@ -3133,7 +3671,6 @@ func (_m *MockFakeKMS) RevokeGrant(_a0 *kms.RevokeGrantInput) (*kms.RevokeGrantO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.RevokeGrantInput) error); ok { r1 = rf(_a0) } else { @@ -3148,6 +3685,10 @@ func (_m *MockFakeKMS) RevokeGrantRequest(_a0 *kms.RevokeGrantInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.RevokeGrantOutput + if rf, ok := ret.Get(0).(func(*kms.RevokeGrantInput) (*request.Request, *kms.RevokeGrantOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.RevokeGrantInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3156,7 +3697,6 @@ func (_m *MockFakeKMS) RevokeGrantRequest(_a0 *kms.RevokeGrantInput) (*request.R } } - var r1 *kms.RevokeGrantOutput if rf, ok := ret.Get(1).(func(*kms.RevokeGrantInput) *kms.RevokeGrantOutput); ok { r1 = rf(_a0) } else { @@ -3180,6 +3720,10 @@ func (_m *MockFakeKMS) RevokeGrantWithContext(_a0 context.Context, _a1 *kms.Revo ret := _m.Called(_ca...) var r0 *kms.RevokeGrantOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.RevokeGrantInput, ...request.Option) (*kms.RevokeGrantOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.RevokeGrantInput, ...request.Option) *kms.RevokeGrantOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3188,7 +3732,6 @@ func (_m *MockFakeKMS) RevokeGrantWithContext(_a0 context.Context, _a1 *kms.Revo } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.RevokeGrantInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3203,6 +3746,10 @@ func (_m *MockFakeKMS) ScheduleKeyDeletion(_a0 *kms.ScheduleKeyDeletionInput) (* ret := _m.Called(_a0) var r0 *kms.ScheduleKeyDeletionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.ScheduleKeyDeletionInput) (*kms.ScheduleKeyDeletionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ScheduleKeyDeletionInput) *kms.ScheduleKeyDeletionOutput); ok { r0 = rf(_a0) } else { @@ -3211,7 +3758,6 @@ func (_m *MockFakeKMS) ScheduleKeyDeletion(_a0 *kms.ScheduleKeyDeletionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.ScheduleKeyDeletionInput) error); ok { r1 = rf(_a0) } else { @@ -3226,6 +3772,10 @@ func (_m *MockFakeKMS) ScheduleKeyDeletionRequest(_a0 *kms.ScheduleKeyDeletionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.ScheduleKeyDeletionOutput + if rf, ok := ret.Get(0).(func(*kms.ScheduleKeyDeletionInput) (*request.Request, *kms.ScheduleKeyDeletionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.ScheduleKeyDeletionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3234,7 +3784,6 @@ func (_m *MockFakeKMS) ScheduleKeyDeletionRequest(_a0 *kms.ScheduleKeyDeletionIn } } - var r1 *kms.ScheduleKeyDeletionOutput if rf, ok := ret.Get(1).(func(*kms.ScheduleKeyDeletionInput) *kms.ScheduleKeyDeletionOutput); ok { r1 = rf(_a0) } else { @@ -3258,6 +3807,10 @@ func (_m *MockFakeKMS) ScheduleKeyDeletionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *kms.ScheduleKeyDeletionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.ScheduleKeyDeletionInput, ...request.Option) (*kms.ScheduleKeyDeletionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.ScheduleKeyDeletionInput, ...request.Option) *kms.ScheduleKeyDeletionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3266,7 +3819,6 @@ func (_m *MockFakeKMS) ScheduleKeyDeletionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.ScheduleKeyDeletionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3281,6 +3833,10 @@ func (_m *MockFakeKMS) Sign(_a0 *kms.SignInput) (*kms.SignOutput, error) { ret := _m.Called(_a0) var r0 *kms.SignOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.SignInput) (*kms.SignOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.SignInput) *kms.SignOutput); ok { r0 = rf(_a0) } else { @@ -3289,7 +3845,6 @@ func (_m *MockFakeKMS) Sign(_a0 *kms.SignInput) (*kms.SignOutput, error) { } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.SignInput) error); ok { r1 = rf(_a0) } else { @@ -3304,6 +3859,10 @@ func (_m *MockFakeKMS) SignRequest(_a0 *kms.SignInput) (*request.Request, *kms.S ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.SignOutput + if rf, ok := ret.Get(0).(func(*kms.SignInput) (*request.Request, *kms.SignOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.SignInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3312,7 +3871,6 @@ func (_m *MockFakeKMS) SignRequest(_a0 *kms.SignInput) (*request.Request, *kms.S } } - var r1 *kms.SignOutput if rf, ok := ret.Get(1).(func(*kms.SignInput) *kms.SignOutput); ok { r1 = rf(_a0) } else { @@ -3336,6 +3894,10 @@ func (_m *MockFakeKMS) SignWithContext(_a0 context.Context, _a1 *kms.SignInput, ret := _m.Called(_ca...) var r0 *kms.SignOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.SignInput, ...request.Option) (*kms.SignOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.SignInput, ...request.Option) *kms.SignOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3344,7 +3906,6 @@ func (_m *MockFakeKMS) SignWithContext(_a0 context.Context, _a1 *kms.SignInput, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.SignInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3359,6 +3920,10 @@ func (_m *MockFakeKMS) TagResource(_a0 *kms.TagResourceInput) (*kms.TagResourceO ret := _m.Called(_a0) var r0 *kms.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.TagResourceInput) (*kms.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.TagResourceInput) *kms.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3367,7 +3932,6 @@ func (_m *MockFakeKMS) TagResource(_a0 *kms.TagResourceInput) (*kms.TagResourceO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3382,6 +3946,10 @@ func (_m *MockFakeKMS) TagResourceRequest(_a0 *kms.TagResourceInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.TagResourceOutput + if rf, ok := ret.Get(0).(func(*kms.TagResourceInput) (*request.Request, *kms.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3390,7 +3958,6 @@ func (_m *MockFakeKMS) TagResourceRequest(_a0 *kms.TagResourceInput) (*request.R } } - var r1 *kms.TagResourceOutput if rf, ok := ret.Get(1).(func(*kms.TagResourceInput) *kms.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3414,6 +3981,10 @@ func (_m *MockFakeKMS) TagResourceWithContext(_a0 context.Context, _a1 *kms.TagR ret := _m.Called(_ca...) var r0 *kms.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.TagResourceInput, ...request.Option) (*kms.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.TagResourceInput, ...request.Option) *kms.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3422,7 +3993,6 @@ func (_m *MockFakeKMS) TagResourceWithContext(_a0 context.Context, _a1 *kms.TagR } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3437,6 +4007,10 @@ func (_m *MockFakeKMS) UntagResource(_a0 *kms.UntagResourceInput) (*kms.UntagRes ret := _m.Called(_a0) var r0 *kms.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.UntagResourceInput) (*kms.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UntagResourceInput) *kms.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3445,7 +4019,6 @@ func (_m *MockFakeKMS) UntagResource(_a0 *kms.UntagResourceInput) (*kms.UntagRes } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3460,6 +4033,10 @@ func (_m *MockFakeKMS) UntagResourceRequest(_a0 *kms.UntagResourceInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*kms.UntagResourceInput) (*request.Request, *kms.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3468,7 +4045,6 @@ func (_m *MockFakeKMS) UntagResourceRequest(_a0 *kms.UntagResourceInput) (*reque } } - var r1 *kms.UntagResourceOutput if rf, ok := ret.Get(1).(func(*kms.UntagResourceInput) *kms.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3492,6 +4068,10 @@ func (_m *MockFakeKMS) UntagResourceWithContext(_a0 context.Context, _a1 *kms.Un ret := _m.Called(_ca...) var r0 *kms.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.UntagResourceInput, ...request.Option) (*kms.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.UntagResourceInput, ...request.Option) *kms.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3500,7 +4080,6 @@ func (_m *MockFakeKMS) UntagResourceWithContext(_a0 context.Context, _a1 *kms.Un } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3515,6 +4094,10 @@ func (_m *MockFakeKMS) UpdateAlias(_a0 *kms.UpdateAliasInput) (*kms.UpdateAliasO ret := _m.Called(_a0) var r0 *kms.UpdateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.UpdateAliasInput) (*kms.UpdateAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateAliasInput) *kms.UpdateAliasOutput); ok { r0 = rf(_a0) } else { @@ -3523,7 +4106,6 @@ func (_m *MockFakeKMS) UpdateAlias(_a0 *kms.UpdateAliasInput) (*kms.UpdateAliasO } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.UpdateAliasInput) error); ok { r1 = rf(_a0) } else { @@ -3538,6 +4120,10 @@ func (_m *MockFakeKMS) UpdateAliasRequest(_a0 *kms.UpdateAliasInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.UpdateAliasOutput + if rf, ok := ret.Get(0).(func(*kms.UpdateAliasInput) (*request.Request, *kms.UpdateAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3546,7 +4132,6 @@ func (_m *MockFakeKMS) UpdateAliasRequest(_a0 *kms.UpdateAliasInput) (*request.R } } - var r1 *kms.UpdateAliasOutput if rf, ok := ret.Get(1).(func(*kms.UpdateAliasInput) *kms.UpdateAliasOutput); ok { r1 = rf(_a0) } else { @@ -3570,6 +4155,10 @@ func (_m *MockFakeKMS) UpdateAliasWithContext(_a0 context.Context, _a1 *kms.Upda ret := _m.Called(_ca...) var r0 *kms.UpdateAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateAliasInput, ...request.Option) (*kms.UpdateAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateAliasInput, ...request.Option) *kms.UpdateAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3578,7 +4167,6 @@ func (_m *MockFakeKMS) UpdateAliasWithContext(_a0 context.Context, _a1 *kms.Upda } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.UpdateAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3593,6 +4181,10 @@ func (_m *MockFakeKMS) UpdateCustomKeyStore(_a0 *kms.UpdateCustomKeyStoreInput) ret := _m.Called(_a0) var r0 *kms.UpdateCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.UpdateCustomKeyStoreInput) (*kms.UpdateCustomKeyStoreOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateCustomKeyStoreInput) *kms.UpdateCustomKeyStoreOutput); ok { r0 = rf(_a0) } else { @@ -3601,7 +4193,6 @@ func (_m *MockFakeKMS) UpdateCustomKeyStore(_a0 *kms.UpdateCustomKeyStoreInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.UpdateCustomKeyStoreInput) error); ok { r1 = rf(_a0) } else { @@ -3616,6 +4207,10 @@ func (_m *MockFakeKMS) UpdateCustomKeyStoreRequest(_a0 *kms.UpdateCustomKeyStore ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.UpdateCustomKeyStoreOutput + if rf, ok := ret.Get(0).(func(*kms.UpdateCustomKeyStoreInput) (*request.Request, *kms.UpdateCustomKeyStoreOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateCustomKeyStoreInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3624,7 +4219,6 @@ func (_m *MockFakeKMS) UpdateCustomKeyStoreRequest(_a0 *kms.UpdateCustomKeyStore } } - var r1 *kms.UpdateCustomKeyStoreOutput if rf, ok := ret.Get(1).(func(*kms.UpdateCustomKeyStoreInput) *kms.UpdateCustomKeyStoreOutput); ok { r1 = rf(_a0) } else { @@ -3648,6 +4242,10 @@ func (_m *MockFakeKMS) UpdateCustomKeyStoreWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.UpdateCustomKeyStoreOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateCustomKeyStoreInput, ...request.Option) (*kms.UpdateCustomKeyStoreOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateCustomKeyStoreInput, ...request.Option) *kms.UpdateCustomKeyStoreOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3656,7 +4254,6 @@ func (_m *MockFakeKMS) UpdateCustomKeyStoreWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.UpdateCustomKeyStoreInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3671,6 +4268,10 @@ func (_m *MockFakeKMS) UpdateKeyDescription(_a0 *kms.UpdateKeyDescriptionInput) ret := _m.Called(_a0) var r0 *kms.UpdateKeyDescriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.UpdateKeyDescriptionInput) (*kms.UpdateKeyDescriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateKeyDescriptionInput) *kms.UpdateKeyDescriptionOutput); ok { r0 = rf(_a0) } else { @@ -3679,7 +4280,6 @@ func (_m *MockFakeKMS) UpdateKeyDescription(_a0 *kms.UpdateKeyDescriptionInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.UpdateKeyDescriptionInput) error); ok { r1 = rf(_a0) } else { @@ -3694,6 +4294,10 @@ func (_m *MockFakeKMS) UpdateKeyDescriptionRequest(_a0 *kms.UpdateKeyDescription ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.UpdateKeyDescriptionOutput + if rf, ok := ret.Get(0).(func(*kms.UpdateKeyDescriptionInput) (*request.Request, *kms.UpdateKeyDescriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdateKeyDescriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3702,7 +4306,6 @@ func (_m *MockFakeKMS) UpdateKeyDescriptionRequest(_a0 *kms.UpdateKeyDescription } } - var r1 *kms.UpdateKeyDescriptionOutput if rf, ok := ret.Get(1).(func(*kms.UpdateKeyDescriptionInput) *kms.UpdateKeyDescriptionOutput); ok { r1 = rf(_a0) } else { @@ -3726,6 +4329,10 @@ func (_m *MockFakeKMS) UpdateKeyDescriptionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *kms.UpdateKeyDescriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateKeyDescriptionInput, ...request.Option) (*kms.UpdateKeyDescriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdateKeyDescriptionInput, ...request.Option) *kms.UpdateKeyDescriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3734,7 +4341,6 @@ func (_m *MockFakeKMS) UpdateKeyDescriptionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.UpdateKeyDescriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3749,6 +4355,10 @@ func (_m *MockFakeKMS) UpdatePrimaryRegion(_a0 *kms.UpdatePrimaryRegionInput) (* ret := _m.Called(_a0) var r0 *kms.UpdatePrimaryRegionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.UpdatePrimaryRegionInput) (*kms.UpdatePrimaryRegionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdatePrimaryRegionInput) *kms.UpdatePrimaryRegionOutput); ok { r0 = rf(_a0) } else { @@ -3757,7 +4367,6 @@ func (_m *MockFakeKMS) UpdatePrimaryRegion(_a0 *kms.UpdatePrimaryRegionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.UpdatePrimaryRegionInput) error); ok { r1 = rf(_a0) } else { @@ -3772,6 +4381,10 @@ func (_m *MockFakeKMS) UpdatePrimaryRegionRequest(_a0 *kms.UpdatePrimaryRegionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.UpdatePrimaryRegionOutput + if rf, ok := ret.Get(0).(func(*kms.UpdatePrimaryRegionInput) (*request.Request, *kms.UpdatePrimaryRegionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.UpdatePrimaryRegionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3780,7 +4393,6 @@ func (_m *MockFakeKMS) UpdatePrimaryRegionRequest(_a0 *kms.UpdatePrimaryRegionIn } } - var r1 *kms.UpdatePrimaryRegionOutput if rf, ok := ret.Get(1).(func(*kms.UpdatePrimaryRegionInput) *kms.UpdatePrimaryRegionOutput); ok { r1 = rf(_a0) } else { @@ -3804,6 +4416,10 @@ func (_m *MockFakeKMS) UpdatePrimaryRegionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *kms.UpdatePrimaryRegionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdatePrimaryRegionInput, ...request.Option) (*kms.UpdatePrimaryRegionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.UpdatePrimaryRegionInput, ...request.Option) *kms.UpdatePrimaryRegionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3812,7 +4428,6 @@ func (_m *MockFakeKMS) UpdatePrimaryRegionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.UpdatePrimaryRegionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3827,6 +4442,10 @@ func (_m *MockFakeKMS) Verify(_a0 *kms.VerifyInput) (*kms.VerifyOutput, error) { ret := _m.Called(_a0) var r0 *kms.VerifyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.VerifyInput) (*kms.VerifyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.VerifyInput) *kms.VerifyOutput); ok { r0 = rf(_a0) } else { @@ -3835,7 +4454,6 @@ func (_m *MockFakeKMS) Verify(_a0 *kms.VerifyInput) (*kms.VerifyOutput, error) { } } - var r1 error if rf, ok := ret.Get(1).(func(*kms.VerifyInput) error); ok { r1 = rf(_a0) } else { @@ -3845,11 +4463,102 @@ func (_m *MockFakeKMS) Verify(_a0 *kms.VerifyInput) (*kms.VerifyOutput, error) { return r0, r1 } +// VerifyMac provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) VerifyMac(_a0 *kms.VerifyMacInput) (*kms.VerifyMacOutput, error) { + ret := _m.Called(_a0) + + var r0 *kms.VerifyMacOutput + var r1 error + if rf, ok := ret.Get(0).(func(*kms.VerifyMacInput) (*kms.VerifyMacOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.VerifyMacInput) *kms.VerifyMacOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*kms.VerifyMacOutput) + } + } + + if rf, ok := ret.Get(1).(func(*kms.VerifyMacInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// VerifyMacRequest provides a mock function with given fields: _a0 +func (_m *MockFakeKMS) VerifyMacRequest(_a0 *kms.VerifyMacInput) (*request.Request, *kms.VerifyMacOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *kms.VerifyMacOutput + if rf, ok := ret.Get(0).(func(*kms.VerifyMacInput) (*request.Request, *kms.VerifyMacOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*kms.VerifyMacInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*kms.VerifyMacInput) *kms.VerifyMacOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*kms.VerifyMacOutput) + } + } + + return r0, r1 +} + +// VerifyMacWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeKMS) VerifyMacWithContext(_a0 context.Context, _a1 *kms.VerifyMacInput, _a2 ...request.Option) (*kms.VerifyMacOutput, error) { + _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 *kms.VerifyMacOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.VerifyMacInput, ...request.Option) (*kms.VerifyMacOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *kms.VerifyMacInput, ...request.Option) *kms.VerifyMacOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*kms.VerifyMacOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *kms.VerifyMacInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // VerifyRequest provides a mock function with given fields: _a0 func (_m *MockFakeKMS) VerifyRequest(_a0 *kms.VerifyInput) (*request.Request, *kms.VerifyOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *kms.VerifyOutput + if rf, ok := ret.Get(0).(func(*kms.VerifyInput) (*request.Request, *kms.VerifyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*kms.VerifyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3858,7 +4567,6 @@ func (_m *MockFakeKMS) VerifyRequest(_a0 *kms.VerifyInput) (*request.Request, *k } } - var r1 *kms.VerifyOutput if rf, ok := ret.Get(1).(func(*kms.VerifyInput) *kms.VerifyOutput); ok { r1 = rf(_a0) } else { @@ -3882,6 +4590,10 @@ func (_m *MockFakeKMS) VerifyWithContext(_a0 context.Context, _a1 *kms.VerifyInp ret := _m.Called(_ca...) var r0 *kms.VerifyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *kms.VerifyInput, ...request.Option) (*kms.VerifyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *kms.VerifyInput, ...request.Option) *kms.VerifyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3890,7 +4602,6 @@ func (_m *MockFakeKMS) VerifyWithContext(_a0 context.Context, _a1 *kms.VerifyInp } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *kms.VerifyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3899,3 +4610,18 @@ func (_m *MockFakeKMS) VerifyWithContext(_a0 context.Context, _a1 *kms.VerifyInp return r0, r1 } + +type mockConstructorTestingTNewMockFakeKMS interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeKMS creates a new instance of MockFakeKMS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeKMS(t mockConstructorTestingTNewMockFakeKMS) *MockFakeKMS { + mock := &MockFakeKMS{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeLambda.go b/test/aws/mock_FakeLambda.go index 5ea070e92..e1d430ca7 100644 --- a/test/aws/mock_FakeLambda.go +++ b/test/aws/mock_FakeLambda.go @@ -1,14 +1,14 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws import ( - "context" + context "context" - "github.com/aws/aws-sdk-go/service/lambda" - "github.com/stretchr/testify/mock" + lambda "github.com/aws/aws-sdk-go/service/lambda" + mock "github.com/stretchr/testify/mock" - "github.com/aws/aws-sdk-go/aws/request" + request "github.com/aws/aws-sdk-go/aws/request" ) // MockFakeLambda is an autogenerated mock type for the FakeLambda type @@ -21,6 +21,10 @@ func (_m *MockFakeLambda) AddLayerVersionPermission(_a0 *lambda.AddLayerVersionP ret := _m.Called(_a0) var r0 *lambda.AddLayerVersionPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) (*lambda.AddLayerVersionPermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) *lambda.AddLayerVersionPermissionOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeLambda) AddLayerVersionPermission(_a0 *lambda.AddLayerVersionP } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.AddLayerVersionPermissionInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeLambda) AddLayerVersionPermissionRequest(_a0 *lambda.AddLayerV ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.AddLayerVersionPermissionOutput + if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) (*request.Request, *lambda.AddLayerVersionPermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeLambda) AddLayerVersionPermissionRequest(_a0 *lambda.AddLayerV } } - var r1 *lambda.AddLayerVersionPermissionOutput if rf, ok := ret.Get(1).(func(*lambda.AddLayerVersionPermissionInput) *lambda.AddLayerVersionPermissionOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeLambda) AddLayerVersionPermissionWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *lambda.AddLayerVersionPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddLayerVersionPermissionInput, ...request.Option) (*lambda.AddLayerVersionPermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddLayerVersionPermissionInput, ...request.Option) *lambda.AddLayerVersionPermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeLambda) AddLayerVersionPermissionWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.AddLayerVersionPermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeLambda) AddPermission(_a0 *lambda.AddPermissionInput) (*lambda ret := _m.Called(_a0) var r0 *lambda.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) (*lambda.AddPermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) *lambda.AddPermissionOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeLambda) AddPermission(_a0 *lambda.AddPermissionInput) (*lambda } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.AddPermissionInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeLambda) AddPermissionRequest(_a0 *lambda.AddPermissionInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.AddPermissionOutput + if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) (*request.Request, *lambda.AddPermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeLambda) AddPermissionRequest(_a0 *lambda.AddPermissionInput) ( } } - var r1 *lambda.AddPermissionOutput if rf, ok := ret.Get(1).(func(*lambda.AddPermissionInput) *lambda.AddPermissionOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeLambda) AddPermissionWithContext(_a0 context.Context, _a1 *lam ret := _m.Called(_ca...) var r0 *lambda.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddPermissionInput, ...request.Option) (*lambda.AddPermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddPermissionInput, ...request.Option) *lambda.AddPermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeLambda) AddPermissionWithContext(_a0 context.Context, _a1 *lam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.AddPermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeLambda) CreateAlias(_a0 *lambda.CreateAliasInput) (*lambda.Ali ret := _m.Called(_a0) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) *lambda.AliasConfiguration); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeLambda) CreateAlias(_a0 *lambda.CreateAliasInput) (*lambda.Ali } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.CreateAliasInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeLambda) CreateAliasRequest(_a0 *lambda.CreateAliasInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.AliasConfiguration + if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeLambda) CreateAliasRequest(_a0 *lambda.CreateAliasInput) (*req } } - var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(1).(func(*lambda.CreateAliasInput) *lambda.AliasConfiguration); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeLambda) CreateAliasWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateAliasInput, ...request.Option) *lambda.AliasConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeLambda) CreateAliasWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeLambda) CreateCodeSigningConfig(_a0 *lambda.CreateCodeSigningC ret := _m.Called(_a0) var r0 *lambda.CreateCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) (*lambda.CreateCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) *lambda.CreateCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeLambda) CreateCodeSigningConfig(_a0 *lambda.CreateCodeSigningC } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.CreateCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeLambda) CreateCodeSigningConfigRequest(_a0 *lambda.CreateCodeS ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.CreateCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) (*request.Request, *lambda.CreateCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeLambda) CreateCodeSigningConfigRequest(_a0 *lambda.CreateCodeS } } - var r1 *lambda.CreateCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.CreateCodeSigningConfigInput) *lambda.CreateCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeLambda) CreateCodeSigningConfigWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *lambda.CreateCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateCodeSigningConfigInput, ...request.Option) (*lambda.CreateCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateCodeSigningConfigInput, ...request.Option) *lambda.CreateCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeLambda) CreateCodeSigningConfigWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeLambda) CreateEventSourceMapping(_a0 *lambda.CreateEventSource ret := _m.Called(_a0) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeLambda) CreateEventSourceMapping(_a0 *lambda.CreateEventSource } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.CreateEventSourceMappingInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeLambda) CreateEventSourceMappingRequest(_a0 *lambda.CreateEven ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.EventSourceMappingConfiguration + if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeLambda) CreateEventSourceMappingRequest(_a0 *lambda.CreateEven } } - var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(1).(func(*lambda.CreateEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeLambda) CreateEventSourceMappingWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateEventSourceMappingInput, ...request.Option) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeLambda) CreateEventSourceMappingWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateEventSourceMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeLambda) CreateFunction(_a0 *lambda.CreateFunctionInput) (*lamb ret := _m.Called(_a0) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) *lambda.FunctionConfiguration); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeLambda) CreateFunction(_a0 *lambda.CreateFunctionInput) (*lamb } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeLambda) CreateFunctionRequest(_a0 *lambda.CreateFunctionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.FunctionConfiguration + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) (*request.Request, *lambda.FunctionConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeLambda) CreateFunctionRequest(_a0 *lambda.CreateFunctionInput) } } - var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionInput) *lambda.FunctionConfiguration); ok { r1 = rf(_a0) } else { @@ -454,6 +505,93 @@ func (_m *MockFakeLambda) CreateFunctionRequest(_a0 *lambda.CreateFunctionInput) return r0, r1 } +// CreateFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) CreateFunctionUrlConfig(_a0 *lambda.CreateFunctionUrlConfigInput) (*lambda.CreateFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.CreateFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) (*lambda.CreateFunctionUrlConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) *lambda.CreateFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) CreateFunctionUrlConfigRequest(_a0 *lambda.CreateFunctionUrlConfigInput) (*request.Request, *lambda.CreateFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *lambda.CreateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) (*request.Request, *lambda.CreateFunctionUrlConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.CreateFunctionUrlConfigInput) *lambda.CreateFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// CreateFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) CreateFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.CreateFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.CreateFunctionUrlConfigOutput, error) { + _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 *lambda.CreateFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) (*lambda.CreateFunctionUrlConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) *lambda.CreateFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.CreateFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeLambda) CreateFunctionWithContext(_a0 context.Context, _a1 *lambda.CreateFunctionInput, _a2 ...request.Option) (*lambda.FunctionConfiguration, error) { _va := make([]interface{}, len(_a2)) @@ -466,6 +604,10 @@ func (_m *MockFakeLambda) CreateFunctionWithContext(_a0 context.Context, _a1 *la ret := _m.Called(_ca...) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionInput, ...request.Option) *lambda.FunctionConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +616,6 @@ func (_m *MockFakeLambda) CreateFunctionWithContext(_a0 context.Context, _a1 *la } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.CreateFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +630,10 @@ func (_m *MockFakeLambda) DeleteAlias(_a0 *lambda.DeleteAliasInput) (*lambda.Del ret := _m.Called(_a0) var r0 *lambda.DeleteAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) (*lambda.DeleteAliasOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) *lambda.DeleteAliasOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +642,6 @@ func (_m *MockFakeLambda) DeleteAlias(_a0 *lambda.DeleteAliasInput) (*lambda.Del } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteAliasInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +656,10 @@ func (_m *MockFakeLambda) DeleteAliasRequest(_a0 *lambda.DeleteAliasInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteAliasOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) (*request.Request, *lambda.DeleteAliasOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +668,6 @@ func (_m *MockFakeLambda) DeleteAliasRequest(_a0 *lambda.DeleteAliasInput) (*req } } - var r1 *lambda.DeleteAliasOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteAliasInput) *lambda.DeleteAliasOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +691,10 @@ func (_m *MockFakeLambda) DeleteAliasWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.DeleteAliasOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteAliasInput, ...request.Option) (*lambda.DeleteAliasOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteAliasInput, ...request.Option) *lambda.DeleteAliasOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +703,6 @@ func (_m *MockFakeLambda) DeleteAliasWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +717,10 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfig(_a0 *lambda.DeleteCodeSigningC ret := _m.Called(_a0) var r0 *lambda.DeleteCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) (*lambda.DeleteCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) *lambda.DeleteCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +729,6 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfig(_a0 *lambda.DeleteCodeSigningC } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +743,10 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfigRequest(_a0 *lambda.DeleteCodeS ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) (*request.Request, *lambda.DeleteCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +755,6 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfigRequest(_a0 *lambda.DeleteCodeS } } - var r1 *lambda.DeleteCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteCodeSigningConfigInput) *lambda.DeleteCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +778,10 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfigWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *lambda.DeleteCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteCodeSigningConfigInput, ...request.Option) (*lambda.DeleteCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteCodeSigningConfigInput, ...request.Option) *lambda.DeleteCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +790,6 @@ func (_m *MockFakeLambda) DeleteCodeSigningConfigWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +804,10 @@ func (_m *MockFakeLambda) DeleteEventSourceMapping(_a0 *lambda.DeleteEventSource ret := _m.Called(_a0) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0) } else { @@ -653,7 +816,6 @@ func (_m *MockFakeLambda) DeleteEventSourceMapping(_a0 *lambda.DeleteEventSource } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteEventSourceMappingInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +830,10 @@ func (_m *MockFakeLambda) DeleteEventSourceMappingRequest(_a0 *lambda.DeleteEven ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.EventSourceMappingConfiguration + if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +842,6 @@ func (_m *MockFakeLambda) DeleteEventSourceMappingRequest(_a0 *lambda.DeleteEven } } - var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(1).(func(*lambda.DeleteEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r1 = rf(_a0) } else { @@ -700,6 +865,10 @@ func (_m *MockFakeLambda) DeleteEventSourceMappingWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteEventSourceMappingInput, ...request.Option) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +877,6 @@ func (_m *MockFakeLambda) DeleteEventSourceMappingWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteEventSourceMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +891,10 @@ func (_m *MockFakeLambda) DeleteFunction(_a0 *lambda.DeleteFunctionInput) (*lamb ret := _m.Called(_a0) var r0 *lambda.DeleteFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) (*lambda.DeleteFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) *lambda.DeleteFunctionOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +903,6 @@ func (_m *MockFakeLambda) DeleteFunction(_a0 *lambda.DeleteFunctionInput) (*lamb } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +917,10 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfig(_a0 *lambda.DeleteFunc ret := _m.Called(_a0) var r0 *lambda.DeleteFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) (*lambda.DeleteFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) *lambda.DeleteFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -754,7 +929,6 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfig(_a0 *lambda.DeleteFunc } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -769,6 +943,10 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfigRequest(_a0 *lambda.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteFunctionCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) (*request.Request, *lambda.DeleteFunctionCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -777,7 +955,6 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfigRequest(_a0 *lambda.Del } } - var r1 *lambda.DeleteFunctionCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionCodeSigningConfigInput) *lambda.DeleteFunctionCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -801,6 +978,10 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfigWithContext(_a0 context ret := _m.Called(_ca...) var r0 *lambda.DeleteFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionCodeSigningConfigInput, ...request.Option) (*lambda.DeleteFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionCodeSigningConfigInput, ...request.Option) *lambda.DeleteFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -809,7 +990,6 @@ func (_m *MockFakeLambda) DeleteFunctionCodeSigningConfigWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -824,6 +1004,10 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrency(_a0 *lambda.DeleteFunctionCo ret := _m.Called(_a0) var r0 *lambda.DeleteFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) (*lambda.DeleteFunctionConcurrencyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) *lambda.DeleteFunctionConcurrencyOutput); ok { r0 = rf(_a0) } else { @@ -832,7 +1016,6 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrency(_a0 *lambda.DeleteFunctionCo } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionConcurrencyInput) error); ok { r1 = rf(_a0) } else { @@ -847,6 +1030,10 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrencyRequest(_a0 *lambda.DeleteFun ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteFunctionConcurrencyOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) (*request.Request, *lambda.DeleteFunctionConcurrencyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -855,7 +1042,6 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrencyRequest(_a0 *lambda.DeleteFun } } - var r1 *lambda.DeleteFunctionConcurrencyOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionConcurrencyInput) *lambda.DeleteFunctionConcurrencyOutput); ok { r1 = rf(_a0) } else { @@ -879,6 +1065,10 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrencyWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *lambda.DeleteFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionConcurrencyInput, ...request.Option) (*lambda.DeleteFunctionConcurrencyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionConcurrencyInput, ...request.Option) *lambda.DeleteFunctionConcurrencyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -887,7 +1077,6 @@ func (_m *MockFakeLambda) DeleteFunctionConcurrencyWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionConcurrencyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -902,6 +1091,10 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfig(_a0 *lambda.DeleteFunc ret := _m.Called(_a0) var r0 *lambda.DeleteFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) (*lambda.DeleteFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) *lambda.DeleteFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0) } else { @@ -910,7 +1103,6 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfig(_a0 *lambda.DeleteFunc } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionEventInvokeConfigInput) error); ok { r1 = rf(_a0) } else { @@ -925,6 +1117,10 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfigRequest(_a0 *lambda.Del ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteFunctionEventInvokeConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) (*request.Request, *lambda.DeleteFunctionEventInvokeConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -933,7 +1129,6 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfigRequest(_a0 *lambda.Del } } - var r1 *lambda.DeleteFunctionEventInvokeConfigOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionEventInvokeConfigInput) *lambda.DeleteFunctionEventInvokeConfigOutput); ok { r1 = rf(_a0) } else { @@ -957,6 +1152,10 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfigWithContext(_a0 context ret := _m.Called(_ca...) var r0 *lambda.DeleteFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionEventInvokeConfigInput, ...request.Option) (*lambda.DeleteFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionEventInvokeConfigInput, ...request.Option) *lambda.DeleteFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -965,7 +1164,6 @@ func (_m *MockFakeLambda) DeleteFunctionEventInvokeConfigWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionEventInvokeConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -980,6 +1178,10 @@ func (_m *MockFakeLambda) DeleteFunctionRequest(_a0 *lambda.DeleteFunctionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteFunctionOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) (*request.Request, *lambda.DeleteFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1190,6 @@ func (_m *MockFakeLambda) DeleteFunctionRequest(_a0 *lambda.DeleteFunctionInput) } } - var r1 *lambda.DeleteFunctionOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionInput) *lambda.DeleteFunctionOutput); ok { r1 = rf(_a0) } else { @@ -1000,6 +1201,93 @@ func (_m *MockFakeLambda) DeleteFunctionRequest(_a0 *lambda.DeleteFunctionInput) return r0, r1 } +// DeleteFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) DeleteFunctionUrlConfig(_a0 *lambda.DeleteFunctionUrlConfigInput) (*lambda.DeleteFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.DeleteFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) (*lambda.DeleteFunctionUrlConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) *lambda.DeleteFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) DeleteFunctionUrlConfigRequest(_a0 *lambda.DeleteFunctionUrlConfigInput) (*request.Request, *lambda.DeleteFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *lambda.DeleteFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) (*request.Request, *lambda.DeleteFunctionUrlConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.DeleteFunctionUrlConfigInput) *lambda.DeleteFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// DeleteFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) DeleteFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.DeleteFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.DeleteFunctionUrlConfigOutput, error) { + _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 *lambda.DeleteFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) (*lambda.DeleteFunctionUrlConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) *lambda.DeleteFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.DeleteFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeLambda) DeleteFunctionWithContext(_a0 context.Context, _a1 *lambda.DeleteFunctionInput, _a2 ...request.Option) (*lambda.DeleteFunctionOutput, error) { _va := make([]interface{}, len(_a2)) @@ -1012,6 +1300,10 @@ func (_m *MockFakeLambda) DeleteFunctionWithContext(_a0 context.Context, _a1 *la ret := _m.Called(_ca...) var r0 *lambda.DeleteFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionInput, ...request.Option) (*lambda.DeleteFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionInput, ...request.Option) *lambda.DeleteFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1312,6 @@ func (_m *MockFakeLambda) DeleteFunctionWithContext(_a0 context.Context, _a1 *la } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1326,10 @@ func (_m *MockFakeLambda) DeleteLayerVersion(_a0 *lambda.DeleteLayerVersionInput ret := _m.Called(_a0) var r0 *lambda.DeleteLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) (*lambda.DeleteLayerVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) *lambda.DeleteLayerVersionOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1338,6 @@ func (_m *MockFakeLambda) DeleteLayerVersion(_a0 *lambda.DeleteLayerVersionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteLayerVersionInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1352,10 @@ func (_m *MockFakeLambda) DeleteLayerVersionRequest(_a0 *lambda.DeleteLayerVersi ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteLayerVersionOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) (*request.Request, *lambda.DeleteLayerVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1364,6 @@ func (_m *MockFakeLambda) DeleteLayerVersionRequest(_a0 *lambda.DeleteLayerVersi } } - var r1 *lambda.DeleteLayerVersionOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteLayerVersionInput) *lambda.DeleteLayerVersionOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1387,10 @@ func (_m *MockFakeLambda) DeleteLayerVersionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *lambda.DeleteLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteLayerVersionInput, ...request.Option) (*lambda.DeleteLayerVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteLayerVersionInput, ...request.Option) *lambda.DeleteLayerVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1399,6 @@ func (_m *MockFakeLambda) DeleteLayerVersionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteLayerVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1413,10 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfig(_a0 *lambda.DeleteP ret := _m.Called(_a0) var r0 *lambda.DeleteProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) (*lambda.DeleteProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) *lambda.DeleteProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1425,6 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfig(_a0 *lambda.DeleteP } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1439,10 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfigRequest(_a0 *lambda. ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.DeleteProvisionedConcurrencyConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) (*request.Request, *lambda.DeleteProvisionedConcurrencyConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1451,6 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfigRequest(_a0 *lambda. } } - var r1 *lambda.DeleteProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(1).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) *lambda.DeleteProvisionedConcurrencyConfigOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1474,10 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfigWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *lambda.DeleteProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.DeleteProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteProvisionedConcurrencyConfigInput, ...request.Option) *lambda.DeleteProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1486,6 @@ func (_m *MockFakeLambda) DeleteProvisionedConcurrencyConfigWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.DeleteProvisionedConcurrencyConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1500,10 @@ func (_m *MockFakeLambda) GetAccountSettings(_a0 *lambda.GetAccountSettingsInput ret := _m.Called(_a0) var r0 *lambda.GetAccountSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) (*lambda.GetAccountSettingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) *lambda.GetAccountSettingsOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1512,6 @@ func (_m *MockFakeLambda) GetAccountSettings(_a0 *lambda.GetAccountSettingsInput } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetAccountSettingsInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1526,10 @@ func (_m *MockFakeLambda) GetAccountSettingsRequest(_a0 *lambda.GetAccountSettin ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetAccountSettingsOutput + if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) (*request.Request, *lambda.GetAccountSettingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1538,6 @@ func (_m *MockFakeLambda) GetAccountSettingsRequest(_a0 *lambda.GetAccountSettin } } - var r1 *lambda.GetAccountSettingsOutput if rf, ok := ret.Get(1).(func(*lambda.GetAccountSettingsInput) *lambda.GetAccountSettingsOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1561,10 @@ func (_m *MockFakeLambda) GetAccountSettingsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *lambda.GetAccountSettingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAccountSettingsInput, ...request.Option) (*lambda.GetAccountSettingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAccountSettingsInput, ...request.Option) *lambda.GetAccountSettingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1573,6 @@ func (_m *MockFakeLambda) GetAccountSettingsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetAccountSettingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1587,10 @@ func (_m *MockFakeLambda) GetAlias(_a0 *lambda.GetAliasInput) (*lambda.AliasConf ret := _m.Called(_a0) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) *lambda.AliasConfiguration); ok { r0 = rf(_a0) } else { @@ -1277,7 +1599,6 @@ func (_m *MockFakeLambda) GetAlias(_a0 *lambda.GetAliasInput) (*lambda.AliasConf } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetAliasInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1613,10 @@ func (_m *MockFakeLambda) GetAliasRequest(_a0 *lambda.GetAliasInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.AliasConfiguration + if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1625,6 @@ func (_m *MockFakeLambda) GetAliasRequest(_a0 *lambda.GetAliasInput) (*request.R } } - var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(1).(func(*lambda.GetAliasInput) *lambda.AliasConfiguration); ok { r1 = rf(_a0) } else { @@ -1324,6 +1648,10 @@ func (_m *MockFakeLambda) GetAliasWithContext(_a0 context.Context, _a1 *lambda.G ret := _m.Called(_ca...) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAliasInput, ...request.Option) *lambda.AliasConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1660,6 @@ func (_m *MockFakeLambda) GetAliasWithContext(_a0 context.Context, _a1 *lambda.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1674,10 @@ func (_m *MockFakeLambda) GetCodeSigningConfig(_a0 *lambda.GetCodeSigningConfigI ret := _m.Called(_a0) var r0 *lambda.GetCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) (*lambda.GetCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) *lambda.GetCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1686,6 @@ func (_m *MockFakeLambda) GetCodeSigningConfig(_a0 *lambda.GetCodeSigningConfigI } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1700,10 @@ func (_m *MockFakeLambda) GetCodeSigningConfigRequest(_a0 *lambda.GetCodeSigning ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) (*request.Request, *lambda.GetCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1712,6 @@ func (_m *MockFakeLambda) GetCodeSigningConfigRequest(_a0 *lambda.GetCodeSigning } } - var r1 *lambda.GetCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.GetCodeSigningConfigInput) *lambda.GetCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1735,10 @@ func (_m *MockFakeLambda) GetCodeSigningConfigWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *lambda.GetCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetCodeSigningConfigInput, ...request.Option) (*lambda.GetCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetCodeSigningConfigInput, ...request.Option) *lambda.GetCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1747,6 @@ func (_m *MockFakeLambda) GetCodeSigningConfigWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1761,10 @@ func (_m *MockFakeLambda) GetEventSourceMapping(_a0 *lambda.GetEventSourceMappin ret := _m.Called(_a0) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0) } else { @@ -1433,7 +1773,6 @@ func (_m *MockFakeLambda) GetEventSourceMapping(_a0 *lambda.GetEventSourceMappin } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetEventSourceMappingInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1787,10 @@ func (_m *MockFakeLambda) GetEventSourceMappingRequest(_a0 *lambda.GetEventSourc ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.EventSourceMappingConfiguration + if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1799,6 @@ func (_m *MockFakeLambda) GetEventSourceMappingRequest(_a0 *lambda.GetEventSourc } } - var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(1).(func(*lambda.GetEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r1 = rf(_a0) } else { @@ -1480,6 +1822,10 @@ func (_m *MockFakeLambda) GetEventSourceMappingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetEventSourceMappingInput, ...request.Option) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1488,7 +1834,6 @@ func (_m *MockFakeLambda) GetEventSourceMappingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetEventSourceMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1503,6 +1848,10 @@ func (_m *MockFakeLambda) GetFunction(_a0 *lambda.GetFunctionInput) (*lambda.Get ret := _m.Called(_a0) var r0 *lambda.GetFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) *lambda.GetFunctionOutput); ok { r0 = rf(_a0) } else { @@ -1511,7 +1860,6 @@ func (_m *MockFakeLambda) GetFunction(_a0 *lambda.GetFunctionInput) (*lambda.Get } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -1526,6 +1874,10 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfig(_a0 *lambda.GetFunctionCo ret := _m.Called(_a0) var r0 *lambda.GetFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) (*lambda.GetFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) *lambda.GetFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -1534,7 +1886,6 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfig(_a0 *lambda.GetFunctionCo } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetFunctionCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1549,6 +1900,10 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfigRequest(_a0 *lambda.GetFun ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetFunctionCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) (*request.Request, *lambda.GetFunctionCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1557,7 +1912,6 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfigRequest(_a0 *lambda.GetFun } } - var r1 *lambda.GetFunctionCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.GetFunctionCodeSigningConfigInput) *lambda.GetFunctionCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -1581,6 +1935,10 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfigWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *lambda.GetFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionCodeSigningConfigInput, ...request.Option) (*lambda.GetFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionCodeSigningConfigInput, ...request.Option) *lambda.GetFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1589,7 +1947,6 @@ func (_m *MockFakeLambda) GetFunctionCodeSigningConfigWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1604,6 +1961,10 @@ func (_m *MockFakeLambda) GetFunctionConcurrency(_a0 *lambda.GetFunctionConcurre ret := _m.Called(_a0) var r0 *lambda.GetFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) (*lambda.GetFunctionConcurrencyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) *lambda.GetFunctionConcurrencyOutput); ok { r0 = rf(_a0) } else { @@ -1612,7 +1973,6 @@ func (_m *MockFakeLambda) GetFunctionConcurrency(_a0 *lambda.GetFunctionConcurre } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetFunctionConcurrencyInput) error); ok { r1 = rf(_a0) } else { @@ -1627,6 +1987,10 @@ func (_m *MockFakeLambda) GetFunctionConcurrencyRequest(_a0 *lambda.GetFunctionC ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetFunctionConcurrencyOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) (*request.Request, *lambda.GetFunctionConcurrencyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1635,7 +1999,6 @@ func (_m *MockFakeLambda) GetFunctionConcurrencyRequest(_a0 *lambda.GetFunctionC } } - var r1 *lambda.GetFunctionConcurrencyOutput if rf, ok := ret.Get(1).(func(*lambda.GetFunctionConcurrencyInput) *lambda.GetFunctionConcurrencyOutput); ok { r1 = rf(_a0) } else { @@ -1659,6 +2022,10 @@ func (_m *MockFakeLambda) GetFunctionConcurrencyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.GetFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConcurrencyInput, ...request.Option) (*lambda.GetFunctionConcurrencyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConcurrencyInput, ...request.Option) *lambda.GetFunctionConcurrencyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1667,7 +2034,6 @@ func (_m *MockFakeLambda) GetFunctionConcurrencyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionConcurrencyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1682,6 +2048,10 @@ func (_m *MockFakeLambda) GetFunctionConfiguration(_a0 *lambda.GetFunctionConfig ret := _m.Called(_a0) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) *lambda.FunctionConfiguration); ok { r0 = rf(_a0) } else { @@ -1690,7 +2060,6 @@ func (_m *MockFakeLambda) GetFunctionConfiguration(_a0 *lambda.GetFunctionConfig } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetFunctionConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1705,6 +2074,10 @@ func (_m *MockFakeLambda) GetFunctionConfigurationRequest(_a0 *lambda.GetFunctio ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.FunctionConfiguration + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1713,7 +2086,6 @@ func (_m *MockFakeLambda) GetFunctionConfigurationRequest(_a0 *lambda.GetFunctio } } - var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(1).(func(*lambda.GetFunctionConfigurationInput) *lambda.FunctionConfiguration); ok { r1 = rf(_a0) } else { @@ -1737,6 +2109,10 @@ func (_m *MockFakeLambda) GetFunctionConfigurationWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.Option) *lambda.FunctionConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1745,7 +2121,6 @@ func (_m *MockFakeLambda) GetFunctionConfigurationWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1760,6 +2135,10 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfig(_a0 *lambda.GetFunctionEv ret := _m.Called(_a0) var r0 *lambda.GetFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) (*lambda.GetFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) *lambda.GetFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0) } else { @@ -1768,7 +2147,6 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfig(_a0 *lambda.GetFunctionEv } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetFunctionEventInvokeConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1783,6 +2161,10 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfigRequest(_a0 *lambda.GetFun ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetFunctionEventInvokeConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) (*request.Request, *lambda.GetFunctionEventInvokeConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1791,7 +2173,6 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfigRequest(_a0 *lambda.GetFun } } - var r1 *lambda.GetFunctionEventInvokeConfigOutput if rf, ok := ret.Get(1).(func(*lambda.GetFunctionEventInvokeConfigInput) *lambda.GetFunctionEventInvokeConfigOutput); ok { r1 = rf(_a0) } else { @@ -1815,6 +2196,10 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfigWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *lambda.GetFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionEventInvokeConfigInput, ...request.Option) (*lambda.GetFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionEventInvokeConfigInput, ...request.Option) *lambda.GetFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1823,7 +2208,6 @@ func (_m *MockFakeLambda) GetFunctionEventInvokeConfigWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionEventInvokeConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1838,6 +2222,10 @@ func (_m *MockFakeLambda) GetFunctionRequest(_a0 *lambda.GetFunctionInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetFunctionOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) (*request.Request, *lambda.GetFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2234,6 @@ func (_m *MockFakeLambda) GetFunctionRequest(_a0 *lambda.GetFunctionInput) (*req } } - var r1 *lambda.GetFunctionOutput if rf, ok := ret.Get(1).(func(*lambda.GetFunctionInput) *lambda.GetFunctionOutput); ok { r1 = rf(_a0) } else { @@ -1858,6 +2245,93 @@ func (_m *MockFakeLambda) GetFunctionRequest(_a0 *lambda.GetFunctionInput) (*req return r0, r1 } +// GetFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) GetFunctionUrlConfig(_a0 *lambda.GetFunctionUrlConfigInput) (*lambda.GetFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.GetFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) (*lambda.GetFunctionUrlConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) *lambda.GetFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.GetFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.GetFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) GetFunctionUrlConfigRequest(_a0 *lambda.GetFunctionUrlConfigInput) (*request.Request, *lambda.GetFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *lambda.GetFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) (*request.Request, *lambda.GetFunctionUrlConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.GetFunctionUrlConfigInput) *lambda.GetFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.GetFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// GetFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) GetFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.GetFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.GetFunctionUrlConfigOutput, error) { + _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 *lambda.GetFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) (*lambda.GetFunctionUrlConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) *lambda.GetFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.GetFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetFunctionWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeLambda) GetFunctionWithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.Option) (*lambda.GetFunctionOutput, error) { _va := make([]interface{}, len(_a2)) @@ -1870,6 +2344,10 @@ func (_m *MockFakeLambda) GetFunctionWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.GetFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.Option) (*lambda.GetFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.Option) *lambda.GetFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2356,6 @@ func (_m *MockFakeLambda) GetFunctionWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2370,10 @@ func (_m *MockFakeLambda) GetLayerVersion(_a0 *lambda.GetLayerVersionInput) (*la ret := _m.Called(_a0) var r0 *lambda.GetLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) (*lambda.GetLayerVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) *lambda.GetLayerVersionOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2382,6 @@ func (_m *MockFakeLambda) GetLayerVersion(_a0 *lambda.GetLayerVersionInput) (*la } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2396,10 @@ func (_m *MockFakeLambda) GetLayerVersionByArn(_a0 *lambda.GetLayerVersionByArnI ret := _m.Called(_a0) var r0 *lambda.GetLayerVersionByArnOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) (*lambda.GetLayerVersionByArnOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) *lambda.GetLayerVersionByArnOutput); ok { r0 = rf(_a0) } else { @@ -1924,7 +2408,6 @@ func (_m *MockFakeLambda) GetLayerVersionByArn(_a0 *lambda.GetLayerVersionByArnI } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionByArnInput) error); ok { r1 = rf(_a0) } else { @@ -1939,6 +2422,10 @@ func (_m *MockFakeLambda) GetLayerVersionByArnRequest(_a0 *lambda.GetLayerVersio ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetLayerVersionByArnOutput + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) (*request.Request, *lambda.GetLayerVersionByArnOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1947,7 +2434,6 @@ func (_m *MockFakeLambda) GetLayerVersionByArnRequest(_a0 *lambda.GetLayerVersio } } - var r1 *lambda.GetLayerVersionByArnOutput if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionByArnInput) *lambda.GetLayerVersionByArnOutput); ok { r1 = rf(_a0) } else { @@ -1971,6 +2457,10 @@ func (_m *MockFakeLambda) GetLayerVersionByArnWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *lambda.GetLayerVersionByArnOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionByArnInput, ...request.Option) (*lambda.GetLayerVersionByArnOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionByArnInput, ...request.Option) *lambda.GetLayerVersionByArnOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1979,7 +2469,6 @@ func (_m *MockFakeLambda) GetLayerVersionByArnWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetLayerVersionByArnInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1994,6 +2483,10 @@ func (_m *MockFakeLambda) GetLayerVersionPolicy(_a0 *lambda.GetLayerVersionPolic ret := _m.Called(_a0) var r0 *lambda.GetLayerVersionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) (*lambda.GetLayerVersionPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) *lambda.GetLayerVersionPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2002,7 +2495,6 @@ func (_m *MockFakeLambda) GetLayerVersionPolicy(_a0 *lambda.GetLayerVersionPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2017,6 +2509,10 @@ func (_m *MockFakeLambda) GetLayerVersionPolicyRequest(_a0 *lambda.GetLayerVersi ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetLayerVersionPolicyOutput + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) (*request.Request, *lambda.GetLayerVersionPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2025,7 +2521,6 @@ func (_m *MockFakeLambda) GetLayerVersionPolicyRequest(_a0 *lambda.GetLayerVersi } } - var r1 *lambda.GetLayerVersionPolicyOutput if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionPolicyInput) *lambda.GetLayerVersionPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2049,6 +2544,10 @@ func (_m *MockFakeLambda) GetLayerVersionPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.GetLayerVersionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionPolicyInput, ...request.Option) (*lambda.GetLayerVersionPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionPolicyInput, ...request.Option) *lambda.GetLayerVersionPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2057,7 +2556,6 @@ func (_m *MockFakeLambda) GetLayerVersionPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetLayerVersionPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2072,6 +2570,10 @@ func (_m *MockFakeLambda) GetLayerVersionRequest(_a0 *lambda.GetLayerVersionInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetLayerVersionOutput + if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) (*request.Request, *lambda.GetLayerVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2582,6 @@ func (_m *MockFakeLambda) GetLayerVersionRequest(_a0 *lambda.GetLayerVersionInpu } } - var r1 *lambda.GetLayerVersionOutput if rf, ok := ret.Get(1).(func(*lambda.GetLayerVersionInput) *lambda.GetLayerVersionOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2605,10 @@ func (_m *MockFakeLambda) GetLayerVersionWithContext(_a0 context.Context, _a1 *l ret := _m.Called(_ca...) var r0 *lambda.GetLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionInput, ...request.Option) (*lambda.GetLayerVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionInput, ...request.Option) *lambda.GetLayerVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2617,6 @@ func (_m *MockFakeLambda) GetLayerVersionWithContext(_a0 context.Context, _a1 *l } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetLayerVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2631,10 @@ func (_m *MockFakeLambda) GetPolicy(_a0 *lambda.GetPolicyInput) (*lambda.GetPoli ret := _m.Called(_a0) var r0 *lambda.GetPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) (*lambda.GetPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) *lambda.GetPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2643,6 @@ func (_m *MockFakeLambda) GetPolicy(_a0 *lambda.GetPolicyInput) (*lambda.GetPoli } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2657,10 @@ func (_m *MockFakeLambda) GetPolicyRequest(_a0 *lambda.GetPolicyInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetPolicyOutput + if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) (*request.Request, *lambda.GetPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2669,6 @@ func (_m *MockFakeLambda) GetPolicyRequest(_a0 *lambda.GetPolicyInput) (*request } } - var r1 *lambda.GetPolicyOutput if rf, ok := ret.Get(1).(func(*lambda.GetPolicyInput) *lambda.GetPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2692,10 @@ func (_m *MockFakeLambda) GetPolicyWithContext(_a0 context.Context, _a1 *lambda. ret := _m.Called(_ca...) var r0 *lambda.GetPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetPolicyInput, ...request.Option) (*lambda.GetPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetPolicyInput, ...request.Option) *lambda.GetPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2704,6 @@ func (_m *MockFakeLambda) GetPolicyWithContext(_a0 context.Context, _a1 *lambda. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2718,10 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfig(_a0 *lambda.GetProvisi ret := _m.Called(_a0) var r0 *lambda.GetProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) (*lambda.GetProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) *lambda.GetProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2730,6 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfig(_a0 *lambda.GetProvisi } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.GetProvisionedConcurrencyConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2744,10 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfigRequest(_a0 *lambda.Get ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.GetProvisionedConcurrencyConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) (*request.Request, *lambda.GetProvisionedConcurrencyConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2756,6 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfigRequest(_a0 *lambda.Get } } - var r1 *lambda.GetProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(1).(func(*lambda.GetProvisionedConcurrencyConfigInput) *lambda.GetProvisionedConcurrencyConfigOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2779,10 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfigWithContext(_a0 context ret := _m.Called(_ca...) var r0 *lambda.GetProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.GetProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetProvisionedConcurrencyConfigInput, ...request.Option) *lambda.GetProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2791,6 @@ func (_m *MockFakeLambda) GetProvisionedConcurrencyConfigWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.GetProvisionedConcurrencyConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2283,6 +2805,10 @@ func (_m *MockFakeLambda) Invoke(_a0 *lambda.InvokeInput) (*lambda.InvokeOutput, ret := _m.Called(_a0) var r0 *lambda.InvokeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) (*lambda.InvokeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) *lambda.InvokeOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +2817,6 @@ func (_m *MockFakeLambda) Invoke(_a0 *lambda.InvokeInput) (*lambda.InvokeOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.InvokeInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +2831,10 @@ func (_m *MockFakeLambda) InvokeAsync(_a0 *lambda.InvokeAsyncInput) (*lambda.Inv ret := _m.Called(_a0) var r0 *lambda.InvokeAsyncOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) (*lambda.InvokeAsyncOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) *lambda.InvokeAsyncOutput); ok { r0 = rf(_a0) } else { @@ -2314,7 +2843,6 @@ func (_m *MockFakeLambda) InvokeAsync(_a0 *lambda.InvokeAsyncInput) (*lambda.Inv } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.InvokeAsyncInput) error); ok { r1 = rf(_a0) } else { @@ -2329,6 +2857,10 @@ func (_m *MockFakeLambda) InvokeAsyncRequest(_a0 *lambda.InvokeAsyncInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.InvokeAsyncOutput + if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) (*request.Request, *lambda.InvokeAsyncOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2337,7 +2869,6 @@ func (_m *MockFakeLambda) InvokeAsyncRequest(_a0 *lambda.InvokeAsyncInput) (*req } } - var r1 *lambda.InvokeAsyncOutput if rf, ok := ret.Get(1).(func(*lambda.InvokeAsyncInput) *lambda.InvokeAsyncOutput); ok { r1 = rf(_a0) } else { @@ -2361,6 +2892,10 @@ func (_m *MockFakeLambda) InvokeAsyncWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.InvokeAsyncOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeAsyncInput, ...request.Option) (*lambda.InvokeAsyncOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeAsyncInput, ...request.Option) *lambda.InvokeAsyncOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2369,7 +2904,6 @@ func (_m *MockFakeLambda) InvokeAsyncWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.InvokeAsyncInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2384,6 +2918,10 @@ func (_m *MockFakeLambda) InvokeRequest(_a0 *lambda.InvokeInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.InvokeOutput + if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2392,7 +2930,6 @@ func (_m *MockFakeLambda) InvokeRequest(_a0 *lambda.InvokeInput) (*request.Reque } } - var r1 *lambda.InvokeOutput if rf, ok := ret.Get(1).(func(*lambda.InvokeInput) *lambda.InvokeOutput); ok { r1 = rf(_a0) } else { @@ -2416,6 +2953,10 @@ func (_m *MockFakeLambda) InvokeWithContext(_a0 context.Context, _a1 *lambda.Inv ret := _m.Called(_ca...) var r0 *lambda.InvokeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeInput, ...request.Option) (*lambda.InvokeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeInput, ...request.Option) *lambda.InvokeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2424,7 +2965,6 @@ func (_m *MockFakeLambda) InvokeWithContext(_a0 context.Context, _a1 *lambda.Inv } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.InvokeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2439,6 +2979,10 @@ func (_m *MockFakeLambda) ListAliases(_a0 *lambda.ListAliasesInput) (*lambda.Lis ret := _m.Called(_a0) var r0 *lambda.ListAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) (*lambda.ListAliasesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) *lambda.ListAliasesOutput); ok { r0 = rf(_a0) } else { @@ -2447,7 +2991,6 @@ func (_m *MockFakeLambda) ListAliases(_a0 *lambda.ListAliasesInput) (*lambda.Lis } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListAliasesInput) error); ok { r1 = rf(_a0) } else { @@ -2497,6 +3040,10 @@ func (_m *MockFakeLambda) ListAliasesRequest(_a0 *lambda.ListAliasesInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListAliasesOutput + if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) (*request.Request, *lambda.ListAliasesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2505,7 +3052,6 @@ func (_m *MockFakeLambda) ListAliasesRequest(_a0 *lambda.ListAliasesInput) (*req } } - var r1 *lambda.ListAliasesOutput if rf, ok := ret.Get(1).(func(*lambda.ListAliasesInput) *lambda.ListAliasesOutput); ok { r1 = rf(_a0) } else { @@ -2529,6 +3075,10 @@ func (_m *MockFakeLambda) ListAliasesWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.ListAliasesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListAliasesInput, ...request.Option) (*lambda.ListAliasesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListAliasesInput, ...request.Option) *lambda.ListAliasesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2537,7 +3087,6 @@ func (_m *MockFakeLambda) ListAliasesWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListAliasesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2552,6 +3101,10 @@ func (_m *MockFakeLambda) ListCodeSigningConfigs(_a0 *lambda.ListCodeSigningConf ret := _m.Called(_a0) var r0 *lambda.ListCodeSigningConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) (*lambda.ListCodeSigningConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) *lambda.ListCodeSigningConfigsOutput); ok { r0 = rf(_a0) } else { @@ -2560,7 +3113,6 @@ func (_m *MockFakeLambda) ListCodeSigningConfigs(_a0 *lambda.ListCodeSigningConf } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListCodeSigningConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -2610,6 +3162,10 @@ func (_m *MockFakeLambda) ListCodeSigningConfigsRequest(_a0 *lambda.ListCodeSign ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListCodeSigningConfigsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) (*request.Request, *lambda.ListCodeSigningConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2618,7 +3174,6 @@ func (_m *MockFakeLambda) ListCodeSigningConfigsRequest(_a0 *lambda.ListCodeSign } } - var r1 *lambda.ListCodeSigningConfigsOutput if rf, ok := ret.Get(1).(func(*lambda.ListCodeSigningConfigsInput) *lambda.ListCodeSigningConfigsOutput); ok { r1 = rf(_a0) } else { @@ -2642,6 +3197,10 @@ func (_m *MockFakeLambda) ListCodeSigningConfigsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.ListCodeSigningConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListCodeSigningConfigsInput, ...request.Option) (*lambda.ListCodeSigningConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListCodeSigningConfigsInput, ...request.Option) *lambda.ListCodeSigningConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2650,7 +3209,6 @@ func (_m *MockFakeLambda) ListCodeSigningConfigsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListCodeSigningConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2665,6 +3223,10 @@ func (_m *MockFakeLambda) ListEventSourceMappings(_a0 *lambda.ListEventSourceMap ret := _m.Called(_a0) var r0 *lambda.ListEventSourceMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) (*lambda.ListEventSourceMappingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) *lambda.ListEventSourceMappingsOutput); ok { r0 = rf(_a0) } else { @@ -2673,7 +3235,6 @@ func (_m *MockFakeLambda) ListEventSourceMappings(_a0 *lambda.ListEventSourceMap } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListEventSourceMappingsInput) error); ok { r1 = rf(_a0) } else { @@ -2723,6 +3284,10 @@ func (_m *MockFakeLambda) ListEventSourceMappingsRequest(_a0 *lambda.ListEventSo ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListEventSourceMappingsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) (*request.Request, *lambda.ListEventSourceMappingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2731,7 +3296,6 @@ func (_m *MockFakeLambda) ListEventSourceMappingsRequest(_a0 *lambda.ListEventSo } } - var r1 *lambda.ListEventSourceMappingsOutput if rf, ok := ret.Get(1).(func(*lambda.ListEventSourceMappingsInput) *lambda.ListEventSourceMappingsOutput); ok { r1 = rf(_a0) } else { @@ -2755,6 +3319,10 @@ func (_m *MockFakeLambda) ListEventSourceMappingsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *lambda.ListEventSourceMappingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListEventSourceMappingsInput, ...request.Option) (*lambda.ListEventSourceMappingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListEventSourceMappingsInput, ...request.Option) *lambda.ListEventSourceMappingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2763,7 +3331,6 @@ func (_m *MockFakeLambda) ListEventSourceMappingsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListEventSourceMappingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2778,6 +3345,10 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigs(_a0 *lambda.ListFunctio ret := _m.Called(_a0) var r0 *lambda.ListFunctionEventInvokeConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) (*lambda.ListFunctionEventInvokeConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) *lambda.ListFunctionEventInvokeConfigsOutput); ok { r0 = rf(_a0) } else { @@ -2786,7 +3357,6 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigs(_a0 *lambda.ListFunctio } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListFunctionEventInvokeConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -2836,6 +3406,10 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigsRequest(_a0 *lambda.List ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListFunctionEventInvokeConfigsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) (*request.Request, *lambda.ListFunctionEventInvokeConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2844,7 +3418,6 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigsRequest(_a0 *lambda.List } } - var r1 *lambda.ListFunctionEventInvokeConfigsOutput if rf, ok := ret.Get(1).(func(*lambda.ListFunctionEventInvokeConfigsInput) *lambda.ListFunctionEventInvokeConfigsOutput); ok { r1 = rf(_a0) } else { @@ -2868,6 +3441,10 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *lambda.ListFunctionEventInvokeConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionEventInvokeConfigsInput, ...request.Option) (*lambda.ListFunctionEventInvokeConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionEventInvokeConfigsInput, ...request.Option) *lambda.ListFunctionEventInvokeConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2876,7 +3453,6 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListFunctionEventInvokeConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2886,11 +3462,137 @@ func (_m *MockFakeLambda) ListFunctionEventInvokeConfigsWithContext(_a0 context. return r0, r1 } +// ListFunctionUrlConfigs provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) ListFunctionUrlConfigs(_a0 *lambda.ListFunctionUrlConfigsInput) (*lambda.ListFunctionUrlConfigsOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.ListFunctionUrlConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) (*lambda.ListFunctionUrlConfigsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) *lambda.ListFunctionUrlConfigsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.ListFunctionUrlConfigsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListFunctionUrlConfigsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeLambda) ListFunctionUrlConfigsPages(_a0 *lambda.ListFunctionUrlConfigsInput, _a1 func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListFunctionUrlConfigsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeLambda) ListFunctionUrlConfigsPagesWithContext(_a0 context.Context, _a1 *lambda.ListFunctionUrlConfigsInput, _a2 func(*lambda.ListFunctionUrlConfigsOutput, bool) bool, _a3 ...request.Option) error { + _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, *lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListFunctionUrlConfigsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) ListFunctionUrlConfigsRequest(_a0 *lambda.ListFunctionUrlConfigsInput) (*request.Request, *lambda.ListFunctionUrlConfigsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *lambda.ListFunctionUrlConfigsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) (*request.Request, *lambda.ListFunctionUrlConfigsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.ListFunctionUrlConfigsInput) *lambda.ListFunctionUrlConfigsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + return r0, r1 +} + +// ListFunctionUrlConfigsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) ListFunctionUrlConfigsWithContext(_a0 context.Context, _a1 *lambda.ListFunctionUrlConfigsInput, _a2 ...request.Option) (*lambda.ListFunctionUrlConfigsOutput, error) { + _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 *lambda.ListFunctionUrlConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) (*lambda.ListFunctionUrlConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) *lambda.ListFunctionUrlConfigsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.ListFunctionUrlConfigsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListFunctions provides a mock function with given fields: _a0 func (_m *MockFakeLambda) ListFunctions(_a0 *lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error) { ret := _m.Called(_a0) var r0 *lambda.ListFunctionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) *lambda.ListFunctionsOutput); ok { r0 = rf(_a0) } else { @@ -2899,7 +3601,6 @@ func (_m *MockFakeLambda) ListFunctions(_a0 *lambda.ListFunctionsInput) (*lambda } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListFunctionsInput) error); ok { r1 = rf(_a0) } else { @@ -2914,6 +3615,10 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfig(_a0 *lambda.ListFunct ret := _m.Called(_a0) var r0 *lambda.ListFunctionsByCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) (*lambda.ListFunctionsByCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) *lambda.ListFunctionsByCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -2922,7 +3627,6 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfig(_a0 *lambda.ListFunct } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListFunctionsByCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2972,6 +3676,10 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfigRequest(_a0 *lambda.Li ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListFunctionsByCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) (*request.Request, *lambda.ListFunctionsByCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2980,7 +3688,6 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfigRequest(_a0 *lambda.Li } } - var r1 *lambda.ListFunctionsByCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.ListFunctionsByCodeSigningConfigInput) *lambda.ListFunctionsByCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -3004,6 +3711,10 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfigWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *lambda.ListFunctionsByCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsByCodeSigningConfigInput, ...request.Option) (*lambda.ListFunctionsByCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsByCodeSigningConfigInput, ...request.Option) *lambda.ListFunctionsByCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3012,7 +3723,6 @@ func (_m *MockFakeLambda) ListFunctionsByCodeSigningConfigWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListFunctionsByCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3062,6 +3772,10 @@ func (_m *MockFakeLambda) ListFunctionsRequest(_a0 *lambda.ListFunctionsInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListFunctionsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) (*request.Request, *lambda.ListFunctionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3070,7 +3784,6 @@ func (_m *MockFakeLambda) ListFunctionsRequest(_a0 *lambda.ListFunctionsInput) ( } } - var r1 *lambda.ListFunctionsOutput if rf, ok := ret.Get(1).(func(*lambda.ListFunctionsInput) *lambda.ListFunctionsOutput); ok { r1 = rf(_a0) } else { @@ -3094,6 +3807,10 @@ func (_m *MockFakeLambda) ListFunctionsWithContext(_a0 context.Context, _a1 *lam ret := _m.Called(_ca...) var r0 *lambda.ListFunctionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsInput, ...request.Option) (*lambda.ListFunctionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsInput, ...request.Option) *lambda.ListFunctionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3102,7 +3819,6 @@ func (_m *MockFakeLambda) ListFunctionsWithContext(_a0 context.Context, _a1 *lam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListFunctionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3117,6 +3833,10 @@ func (_m *MockFakeLambda) ListLayerVersions(_a0 *lambda.ListLayerVersionsInput) ret := _m.Called(_a0) var r0 *lambda.ListLayerVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) (*lambda.ListLayerVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) *lambda.ListLayerVersionsOutput); ok { r0 = rf(_a0) } else { @@ -3125,7 +3845,6 @@ func (_m *MockFakeLambda) ListLayerVersions(_a0 *lambda.ListLayerVersionsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListLayerVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -3175,6 +3894,10 @@ func (_m *MockFakeLambda) ListLayerVersionsRequest(_a0 *lambda.ListLayerVersions ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListLayerVersionsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) (*request.Request, *lambda.ListLayerVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3183,7 +3906,6 @@ func (_m *MockFakeLambda) ListLayerVersionsRequest(_a0 *lambda.ListLayerVersions } } - var r1 *lambda.ListLayerVersionsOutput if rf, ok := ret.Get(1).(func(*lambda.ListLayerVersionsInput) *lambda.ListLayerVersionsOutput); ok { r1 = rf(_a0) } else { @@ -3207,6 +3929,10 @@ func (_m *MockFakeLambda) ListLayerVersionsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *lambda.ListLayerVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayerVersionsInput, ...request.Option) (*lambda.ListLayerVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayerVersionsInput, ...request.Option) *lambda.ListLayerVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3215,7 +3941,6 @@ func (_m *MockFakeLambda) ListLayerVersionsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListLayerVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3230,6 +3955,10 @@ func (_m *MockFakeLambda) ListLayers(_a0 *lambda.ListLayersInput) (*lambda.ListL ret := _m.Called(_a0) var r0 *lambda.ListLayersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) (*lambda.ListLayersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) *lambda.ListLayersOutput); ok { r0 = rf(_a0) } else { @@ -3238,7 +3967,6 @@ func (_m *MockFakeLambda) ListLayers(_a0 *lambda.ListLayersInput) (*lambda.ListL } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListLayersInput) error); ok { r1 = rf(_a0) } else { @@ -3288,6 +4016,10 @@ func (_m *MockFakeLambda) ListLayersRequest(_a0 *lambda.ListLayersInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListLayersOutput + if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) (*request.Request, *lambda.ListLayersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3296,7 +4028,6 @@ func (_m *MockFakeLambda) ListLayersRequest(_a0 *lambda.ListLayersInput) (*reque } } - var r1 *lambda.ListLayersOutput if rf, ok := ret.Get(1).(func(*lambda.ListLayersInput) *lambda.ListLayersOutput); ok { r1 = rf(_a0) } else { @@ -3320,6 +4051,10 @@ func (_m *MockFakeLambda) ListLayersWithContext(_a0 context.Context, _a1 *lambda ret := _m.Called(_ca...) var r0 *lambda.ListLayersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayersInput, ...request.Option) (*lambda.ListLayersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayersInput, ...request.Option) *lambda.ListLayersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3328,7 +4063,6 @@ func (_m *MockFakeLambda) ListLayersWithContext(_a0 context.Context, _a1 *lambda } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListLayersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3343,6 +4077,10 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigs(_a0 *lambda.ListProv ret := _m.Called(_a0) var r0 *lambda.ListProvisionedConcurrencyConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) (*lambda.ListProvisionedConcurrencyConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) *lambda.ListProvisionedConcurrencyConfigsOutput); ok { r0 = rf(_a0) } else { @@ -3351,7 +4089,6 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigs(_a0 *lambda.ListProv } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListProvisionedConcurrencyConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -3401,6 +4138,10 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigsRequest(_a0 *lambda.L ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListProvisionedConcurrencyConfigsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) (*request.Request, *lambda.ListProvisionedConcurrencyConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3409,7 +4150,6 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigsRequest(_a0 *lambda.L } } - var r1 *lambda.ListProvisionedConcurrencyConfigsOutput if rf, ok := ret.Get(1).(func(*lambda.ListProvisionedConcurrencyConfigsInput) *lambda.ListProvisionedConcurrencyConfigsOutput); ok { r1 = rf(_a0) } else { @@ -3433,6 +4173,10 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *lambda.ListProvisionedConcurrencyConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListProvisionedConcurrencyConfigsInput, ...request.Option) (*lambda.ListProvisionedConcurrencyConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListProvisionedConcurrencyConfigsInput, ...request.Option) *lambda.ListProvisionedConcurrencyConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3441,7 +4185,6 @@ func (_m *MockFakeLambda) ListProvisionedConcurrencyConfigsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListProvisionedConcurrencyConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3456,6 +4199,10 @@ func (_m *MockFakeLambda) ListTags(_a0 *lambda.ListTagsInput) (*lambda.ListTagsO ret := _m.Called(_a0) var r0 *lambda.ListTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) (*lambda.ListTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) *lambda.ListTagsOutput); ok { r0 = rf(_a0) } else { @@ -3464,7 +4211,6 @@ func (_m *MockFakeLambda) ListTags(_a0 *lambda.ListTagsInput) (*lambda.ListTagsO } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListTagsInput) error); ok { r1 = rf(_a0) } else { @@ -3479,6 +4225,10 @@ func (_m *MockFakeLambda) ListTagsRequest(_a0 *lambda.ListTagsInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListTagsOutput + if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3487,7 +4237,6 @@ func (_m *MockFakeLambda) ListTagsRequest(_a0 *lambda.ListTagsInput) (*request.R } } - var r1 *lambda.ListTagsOutput if rf, ok := ret.Get(1).(func(*lambda.ListTagsInput) *lambda.ListTagsOutput); ok { r1 = rf(_a0) } else { @@ -3511,6 +4260,10 @@ func (_m *MockFakeLambda) ListTagsWithContext(_a0 context.Context, _a1 *lambda.L ret := _m.Called(_ca...) var r0 *lambda.ListTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListTagsInput, ...request.Option) (*lambda.ListTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListTagsInput, ...request.Option) *lambda.ListTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3519,7 +4272,6 @@ func (_m *MockFakeLambda) ListTagsWithContext(_a0 context.Context, _a1 *lambda.L } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3534,6 +4286,10 @@ func (_m *MockFakeLambda) ListVersionsByFunction(_a0 *lambda.ListVersionsByFunct ret := _m.Called(_a0) var r0 *lambda.ListVersionsByFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) *lambda.ListVersionsByFunctionOutput); ok { r0 = rf(_a0) } else { @@ -3542,7 +4298,6 @@ func (_m *MockFakeLambda) ListVersionsByFunction(_a0 *lambda.ListVersionsByFunct } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.ListVersionsByFunctionInput) error); ok { r1 = rf(_a0) } else { @@ -3592,6 +4347,10 @@ func (_m *MockFakeLambda) ListVersionsByFunctionRequest(_a0 *lambda.ListVersions ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.ListVersionsByFunctionOutput + if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3600,7 +4359,6 @@ func (_m *MockFakeLambda) ListVersionsByFunctionRequest(_a0 *lambda.ListVersions } } - var r1 *lambda.ListVersionsByFunctionOutput if rf, ok := ret.Get(1).(func(*lambda.ListVersionsByFunctionInput) *lambda.ListVersionsByFunctionOutput); ok { r1 = rf(_a0) } else { @@ -3624,6 +4382,10 @@ func (_m *MockFakeLambda) ListVersionsByFunctionWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.ListVersionsByFunctionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListVersionsByFunctionInput, ...request.Option) (*lambda.ListVersionsByFunctionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListVersionsByFunctionInput, ...request.Option) *lambda.ListVersionsByFunctionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3632,7 +4394,6 @@ func (_m *MockFakeLambda) ListVersionsByFunctionWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.ListVersionsByFunctionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3647,6 +4408,10 @@ func (_m *MockFakeLambda) PublishLayerVersion(_a0 *lambda.PublishLayerVersionInp ret := _m.Called(_a0) var r0 *lambda.PublishLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) (*lambda.PublishLayerVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) *lambda.PublishLayerVersionOutput); ok { r0 = rf(_a0) } else { @@ -3655,7 +4420,6 @@ func (_m *MockFakeLambda) PublishLayerVersion(_a0 *lambda.PublishLayerVersionInp } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PublishLayerVersionInput) error); ok { r1 = rf(_a0) } else { @@ -3670,6 +4434,10 @@ func (_m *MockFakeLambda) PublishLayerVersionRequest(_a0 *lambda.PublishLayerVer ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.PublishLayerVersionOutput + if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) (*request.Request, *lambda.PublishLayerVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3678,7 +4446,6 @@ func (_m *MockFakeLambda) PublishLayerVersionRequest(_a0 *lambda.PublishLayerVer } } - var r1 *lambda.PublishLayerVersionOutput if rf, ok := ret.Get(1).(func(*lambda.PublishLayerVersionInput) *lambda.PublishLayerVersionOutput); ok { r1 = rf(_a0) } else { @@ -3702,6 +4469,10 @@ func (_m *MockFakeLambda) PublishLayerVersionWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *lambda.PublishLayerVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishLayerVersionInput, ...request.Option) (*lambda.PublishLayerVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishLayerVersionInput, ...request.Option) *lambda.PublishLayerVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3710,7 +4481,6 @@ func (_m *MockFakeLambda) PublishLayerVersionWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PublishLayerVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3725,6 +4495,10 @@ func (_m *MockFakeLambda) PublishVersion(_a0 *lambda.PublishVersionInput) (*lamb ret := _m.Called(_a0) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) *lambda.FunctionConfiguration); ok { r0 = rf(_a0) } else { @@ -3733,7 +4507,6 @@ func (_m *MockFakeLambda) PublishVersion(_a0 *lambda.PublishVersionInput) (*lamb } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PublishVersionInput) error); ok { r1 = rf(_a0) } else { @@ -3748,6 +4521,10 @@ func (_m *MockFakeLambda) PublishVersionRequest(_a0 *lambda.PublishVersionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.FunctionConfiguration + if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3756,7 +4533,6 @@ func (_m *MockFakeLambda) PublishVersionRequest(_a0 *lambda.PublishVersionInput) } } - var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(1).(func(*lambda.PublishVersionInput) *lambda.FunctionConfiguration); ok { r1 = rf(_a0) } else { @@ -3780,6 +4556,10 @@ func (_m *MockFakeLambda) PublishVersionWithContext(_a0 context.Context, _a1 *la ret := _m.Called(_ca...) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishVersionInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishVersionInput, ...request.Option) *lambda.FunctionConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3788,7 +4568,6 @@ func (_m *MockFakeLambda) PublishVersionWithContext(_a0 context.Context, _a1 *la } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PublishVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3803,6 +4582,10 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfig(_a0 *lambda.PutFunctionCo ret := _m.Called(_a0) var r0 *lambda.PutFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) (*lambda.PutFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) *lambda.PutFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -3811,7 +4594,6 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfig(_a0 *lambda.PutFunctionCo } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PutFunctionCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -3826,6 +4608,10 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfigRequest(_a0 *lambda.PutFun ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.PutFunctionCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) (*request.Request, *lambda.PutFunctionCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3834,7 +4620,6 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfigRequest(_a0 *lambda.PutFun } } - var r1 *lambda.PutFunctionCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.PutFunctionCodeSigningConfigInput) *lambda.PutFunctionCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -3858,6 +4643,10 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfigWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *lambda.PutFunctionCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionCodeSigningConfigInput, ...request.Option) (*lambda.PutFunctionCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionCodeSigningConfigInput, ...request.Option) *lambda.PutFunctionCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3866,7 +4655,6 @@ func (_m *MockFakeLambda) PutFunctionCodeSigningConfigWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PutFunctionCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3881,6 +4669,10 @@ func (_m *MockFakeLambda) PutFunctionConcurrency(_a0 *lambda.PutFunctionConcurre ret := _m.Called(_a0) var r0 *lambda.PutFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) *lambda.PutFunctionConcurrencyOutput); ok { r0 = rf(_a0) } else { @@ -3889,7 +4681,6 @@ func (_m *MockFakeLambda) PutFunctionConcurrency(_a0 *lambda.PutFunctionConcurre } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PutFunctionConcurrencyInput) error); ok { r1 = rf(_a0) } else { @@ -3904,6 +4695,10 @@ func (_m *MockFakeLambda) PutFunctionConcurrencyRequest(_a0 *lambda.PutFunctionC ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.PutFunctionConcurrencyOutput + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3912,7 +4707,6 @@ func (_m *MockFakeLambda) PutFunctionConcurrencyRequest(_a0 *lambda.PutFunctionC } } - var r1 *lambda.PutFunctionConcurrencyOutput if rf, ok := ret.Get(1).(func(*lambda.PutFunctionConcurrencyInput) *lambda.PutFunctionConcurrencyOutput); ok { r1 = rf(_a0) } else { @@ -3936,6 +4730,10 @@ func (_m *MockFakeLambda) PutFunctionConcurrencyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *lambda.PutFunctionConcurrencyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionConcurrencyInput, ...request.Option) (*lambda.PutFunctionConcurrencyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionConcurrencyInput, ...request.Option) *lambda.PutFunctionConcurrencyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3944,7 +4742,6 @@ func (_m *MockFakeLambda) PutFunctionConcurrencyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PutFunctionConcurrencyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3959,6 +4756,10 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfig(_a0 *lambda.PutFunctionEv ret := _m.Called(_a0) var r0 *lambda.PutFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) (*lambda.PutFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) *lambda.PutFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0) } else { @@ -3967,7 +4768,6 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfig(_a0 *lambda.PutFunctionEv } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PutFunctionEventInvokeConfigInput) error); ok { r1 = rf(_a0) } else { @@ -3982,6 +4782,10 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfigRequest(_a0 *lambda.PutFun ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.PutFunctionEventInvokeConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) (*request.Request, *lambda.PutFunctionEventInvokeConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3990,7 +4794,6 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfigRequest(_a0 *lambda.PutFun } } - var r1 *lambda.PutFunctionEventInvokeConfigOutput if rf, ok := ret.Get(1).(func(*lambda.PutFunctionEventInvokeConfigInput) *lambda.PutFunctionEventInvokeConfigOutput); ok { r1 = rf(_a0) } else { @@ -4014,6 +4817,10 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfigWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *lambda.PutFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionEventInvokeConfigInput, ...request.Option) (*lambda.PutFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionEventInvokeConfigInput, ...request.Option) *lambda.PutFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4022,7 +4829,6 @@ func (_m *MockFakeLambda) PutFunctionEventInvokeConfigWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PutFunctionEventInvokeConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4037,6 +4843,10 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfig(_a0 *lambda.PutProvisi ret := _m.Called(_a0) var r0 *lambda.PutProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) (*lambda.PutProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) *lambda.PutProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0) } else { @@ -4045,7 +4855,6 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfig(_a0 *lambda.PutProvisi } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.PutProvisionedConcurrencyConfigInput) error); ok { r1 = rf(_a0) } else { @@ -4060,6 +4869,10 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfigRequest(_a0 *lambda.Put ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.PutProvisionedConcurrencyConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) (*request.Request, *lambda.PutProvisionedConcurrencyConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4068,7 +4881,6 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfigRequest(_a0 *lambda.Put } } - var r1 *lambda.PutProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(1).(func(*lambda.PutProvisionedConcurrencyConfigInput) *lambda.PutProvisionedConcurrencyConfigOutput); ok { r1 = rf(_a0) } else { @@ -4092,6 +4904,10 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfigWithContext(_a0 context ret := _m.Called(_ca...) var r0 *lambda.PutProvisionedConcurrencyConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.PutProvisionedConcurrencyConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutProvisionedConcurrencyConfigInput, ...request.Option) *lambda.PutProvisionedConcurrencyConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4100,7 +4916,6 @@ func (_m *MockFakeLambda) PutProvisionedConcurrencyConfigWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.PutProvisionedConcurrencyConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4115,6 +4930,10 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermission(_a0 *lambda.RemoveLayerVe ret := _m.Called(_a0) var r0 *lambda.RemoveLayerVersionPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) (*lambda.RemoveLayerVersionPermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) *lambda.RemoveLayerVersionPermissionOutput); ok { r0 = rf(_a0) } else { @@ -4123,7 +4942,6 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermission(_a0 *lambda.RemoveLayerVe } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.RemoveLayerVersionPermissionInput) error); ok { r1 = rf(_a0) } else { @@ -4138,6 +4956,10 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermissionRequest(_a0 *lambda.Remove ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.RemoveLayerVersionPermissionOutput + if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) (*request.Request, *lambda.RemoveLayerVersionPermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4146,7 +4968,6 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermissionRequest(_a0 *lambda.Remove } } - var r1 *lambda.RemoveLayerVersionPermissionOutput if rf, ok := ret.Get(1).(func(*lambda.RemoveLayerVersionPermissionInput) *lambda.RemoveLayerVersionPermissionOutput); ok { r1 = rf(_a0) } else { @@ -4170,6 +4991,10 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermissionWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *lambda.RemoveLayerVersionPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemoveLayerVersionPermissionInput, ...request.Option) (*lambda.RemoveLayerVersionPermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemoveLayerVersionPermissionInput, ...request.Option) *lambda.RemoveLayerVersionPermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4178,7 +5003,6 @@ func (_m *MockFakeLambda) RemoveLayerVersionPermissionWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.RemoveLayerVersionPermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4193,6 +5017,10 @@ func (_m *MockFakeLambda) RemovePermission(_a0 *lambda.RemovePermissionInput) (* ret := _m.Called(_a0) var r0 *lambda.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) *lambda.RemovePermissionOutput); ok { r0 = rf(_a0) } else { @@ -4201,7 +5029,6 @@ func (_m *MockFakeLambda) RemovePermission(_a0 *lambda.RemovePermissionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.RemovePermissionInput) error); ok { r1 = rf(_a0) } else { @@ -4216,6 +5043,10 @@ func (_m *MockFakeLambda) RemovePermissionRequest(_a0 *lambda.RemovePermissionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.RemovePermissionOutput + if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4224,7 +5055,6 @@ func (_m *MockFakeLambda) RemovePermissionRequest(_a0 *lambda.RemovePermissionIn } } - var r1 *lambda.RemovePermissionOutput if rf, ok := ret.Get(1).(func(*lambda.RemovePermissionInput) *lambda.RemovePermissionOutput); ok { r1 = rf(_a0) } else { @@ -4248,6 +5078,10 @@ func (_m *MockFakeLambda) RemovePermissionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *lambda.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemovePermissionInput, ...request.Option) (*lambda.RemovePermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemovePermissionInput, ...request.Option) *lambda.RemovePermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4256,7 +5090,6 @@ func (_m *MockFakeLambda) RemovePermissionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.RemovePermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4271,6 +5104,10 @@ func (_m *MockFakeLambda) TagResource(_a0 *lambda.TagResourceInput) (*lambda.Tag ret := _m.Called(_a0) var r0 *lambda.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) (*lambda.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) *lambda.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -4279,7 +5116,6 @@ func (_m *MockFakeLambda) TagResource(_a0 *lambda.TagResourceInput) (*lambda.Tag } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4294,6 +5130,10 @@ func (_m *MockFakeLambda) TagResourceRequest(_a0 *lambda.TagResourceInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.TagResourceOutput + if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4302,7 +5142,6 @@ func (_m *MockFakeLambda) TagResourceRequest(_a0 *lambda.TagResourceInput) (*req } } - var r1 *lambda.TagResourceOutput if rf, ok := ret.Get(1).(func(*lambda.TagResourceInput) *lambda.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -4326,6 +5165,10 @@ func (_m *MockFakeLambda) TagResourceWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.TagResourceInput, ...request.Option) (*lambda.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.TagResourceInput, ...request.Option) *lambda.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4334,7 +5177,6 @@ func (_m *MockFakeLambda) TagResourceWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4349,6 +5191,10 @@ func (_m *MockFakeLambda) UntagResource(_a0 *lambda.UntagResourceInput) (*lambda ret := _m.Called(_a0) var r0 *lambda.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) *lambda.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -4357,7 +5203,6 @@ func (_m *MockFakeLambda) UntagResource(_a0 *lambda.UntagResourceInput) (*lambda } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4372,6 +5217,10 @@ func (_m *MockFakeLambda) UntagResourceRequest(_a0 *lambda.UntagResourceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4380,7 +5229,6 @@ func (_m *MockFakeLambda) UntagResourceRequest(_a0 *lambda.UntagResourceInput) ( } } - var r1 *lambda.UntagResourceOutput if rf, ok := ret.Get(1).(func(*lambda.UntagResourceInput) *lambda.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -4404,6 +5252,10 @@ func (_m *MockFakeLambda) UntagResourceWithContext(_a0 context.Context, _a1 *lam ret := _m.Called(_ca...) var r0 *lambda.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UntagResourceInput, ...request.Option) (*lambda.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UntagResourceInput, ...request.Option) *lambda.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4412,7 +5264,6 @@ func (_m *MockFakeLambda) UntagResourceWithContext(_a0 context.Context, _a1 *lam } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4427,6 +5278,10 @@ func (_m *MockFakeLambda) UpdateAlias(_a0 *lambda.UpdateAliasInput) (*lambda.Ali ret := _m.Called(_a0) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) *lambda.AliasConfiguration); ok { r0 = rf(_a0) } else { @@ -4435,7 +5290,6 @@ func (_m *MockFakeLambda) UpdateAlias(_a0 *lambda.UpdateAliasInput) (*lambda.Ali } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateAliasInput) error); ok { r1 = rf(_a0) } else { @@ -4450,6 +5304,10 @@ func (_m *MockFakeLambda) UpdateAliasRequest(_a0 *lambda.UpdateAliasInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.AliasConfiguration + if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4458,7 +5316,6 @@ func (_m *MockFakeLambda) UpdateAliasRequest(_a0 *lambda.UpdateAliasInput) (*req } } - var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(1).(func(*lambda.UpdateAliasInput) *lambda.AliasConfiguration); ok { r1 = rf(_a0) } else { @@ -4482,6 +5339,10 @@ func (_m *MockFakeLambda) UpdateAliasWithContext(_a0 context.Context, _a1 *lambd ret := _m.Called(_ca...) var r0 *lambda.AliasConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateAliasInput, ...request.Option) *lambda.AliasConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4490,7 +5351,6 @@ func (_m *MockFakeLambda) UpdateAliasWithContext(_a0 context.Context, _a1 *lambd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateAliasInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4505,6 +5365,10 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfig(_a0 *lambda.UpdateCodeSigningC ret := _m.Called(_a0) var r0 *lambda.UpdateCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) (*lambda.UpdateCodeSigningConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) *lambda.UpdateCodeSigningConfigOutput); ok { r0 = rf(_a0) } else { @@ -4513,7 +5377,6 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfig(_a0 *lambda.UpdateCodeSigningC } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateCodeSigningConfigInput) error); ok { r1 = rf(_a0) } else { @@ -4528,6 +5391,10 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfigRequest(_a0 *lambda.UpdateCodeS ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.UpdateCodeSigningConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) (*request.Request, *lambda.UpdateCodeSigningConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4536,7 +5403,6 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfigRequest(_a0 *lambda.UpdateCodeS } } - var r1 *lambda.UpdateCodeSigningConfigOutput if rf, ok := ret.Get(1).(func(*lambda.UpdateCodeSigningConfigInput) *lambda.UpdateCodeSigningConfigOutput); ok { r1 = rf(_a0) } else { @@ -4560,6 +5426,10 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfigWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *lambda.UpdateCodeSigningConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateCodeSigningConfigInput, ...request.Option) (*lambda.UpdateCodeSigningConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateCodeSigningConfigInput, ...request.Option) *lambda.UpdateCodeSigningConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4568,7 +5438,6 @@ func (_m *MockFakeLambda) UpdateCodeSigningConfigWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateCodeSigningConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4583,6 +5452,10 @@ func (_m *MockFakeLambda) UpdateEventSourceMapping(_a0 *lambda.UpdateEventSource ret := _m.Called(_a0) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0) } else { @@ -4591,7 +5464,6 @@ func (_m *MockFakeLambda) UpdateEventSourceMapping(_a0 *lambda.UpdateEventSource } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateEventSourceMappingInput) error); ok { r1 = rf(_a0) } else { @@ -4606,6 +5478,10 @@ func (_m *MockFakeLambda) UpdateEventSourceMappingRequest(_a0 *lambda.UpdateEven ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.EventSourceMappingConfiguration + if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4614,7 +5490,6 @@ func (_m *MockFakeLambda) UpdateEventSourceMappingRequest(_a0 *lambda.UpdateEven } } - var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(1).(func(*lambda.UpdateEventSourceMappingInput) *lambda.EventSourceMappingConfiguration); ok { r1 = rf(_a0) } else { @@ -4638,6 +5513,10 @@ func (_m *MockFakeLambda) UpdateEventSourceMappingWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *lambda.EventSourceMappingConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateEventSourceMappingInput, ...request.Option) *lambda.EventSourceMappingConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4646,7 +5525,6 @@ func (_m *MockFakeLambda) UpdateEventSourceMappingWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateEventSourceMappingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4661,6 +5539,10 @@ func (_m *MockFakeLambda) UpdateFunctionCode(_a0 *lambda.UpdateFunctionCodeInput ret := _m.Called(_a0) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) *lambda.FunctionConfiguration); ok { r0 = rf(_a0) } else { @@ -4669,7 +5551,6 @@ func (_m *MockFakeLambda) UpdateFunctionCode(_a0 *lambda.UpdateFunctionCodeInput } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionCodeInput) error); ok { r1 = rf(_a0) } else { @@ -4684,6 +5565,10 @@ func (_m *MockFakeLambda) UpdateFunctionCodeRequest(_a0 *lambda.UpdateFunctionCo ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.FunctionConfiguration + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) (*request.Request, *lambda.FunctionConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4692,7 +5577,6 @@ func (_m *MockFakeLambda) UpdateFunctionCodeRequest(_a0 *lambda.UpdateFunctionCo } } - var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionCodeInput) *lambda.FunctionConfiguration); ok { r1 = rf(_a0) } else { @@ -4716,6 +5600,10 @@ func (_m *MockFakeLambda) UpdateFunctionCodeWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionCodeInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionCodeInput, ...request.Option) *lambda.FunctionConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4724,7 +5612,6 @@ func (_m *MockFakeLambda) UpdateFunctionCodeWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateFunctionCodeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4739,6 +5626,10 @@ func (_m *MockFakeLambda) UpdateFunctionConfiguration(_a0 *lambda.UpdateFunction ret := _m.Called(_a0) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) *lambda.FunctionConfiguration); ok { r0 = rf(_a0) } else { @@ -4747,7 +5638,6 @@ func (_m *MockFakeLambda) UpdateFunctionConfiguration(_a0 *lambda.UpdateFunction } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -4762,6 +5652,10 @@ func (_m *MockFakeLambda) UpdateFunctionConfigurationRequest(_a0 *lambda.UpdateF ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.FunctionConfiguration + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4770,7 +5664,6 @@ func (_m *MockFakeLambda) UpdateFunctionConfigurationRequest(_a0 *lambda.UpdateF } } - var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionConfigurationInput) *lambda.FunctionConfiguration); ok { r1 = rf(_a0) } else { @@ -4794,6 +5687,10 @@ func (_m *MockFakeLambda) UpdateFunctionConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *lambda.FunctionConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionConfigurationInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionConfigurationInput, ...request.Option) *lambda.FunctionConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4802,7 +5699,6 @@ func (_m *MockFakeLambda) UpdateFunctionConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateFunctionConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4817,6 +5713,10 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfig(_a0 *lambda.UpdateFunc ret := _m.Called(_a0) var r0 *lambda.UpdateFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) (*lambda.UpdateFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) *lambda.UpdateFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0) } else { @@ -4825,7 +5725,6 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfig(_a0 *lambda.UpdateFunc } } - var r1 error if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionEventInvokeConfigInput) error); ok { r1 = rf(_a0) } else { @@ -4840,6 +5739,10 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfigRequest(_a0 *lambda.Upd ret := _m.Called(_a0) var r0 *request.Request + var r1 *lambda.UpdateFunctionEventInvokeConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) (*request.Request, *lambda.UpdateFunctionEventInvokeConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4848,7 +5751,6 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfigRequest(_a0 *lambda.Upd } } - var r1 *lambda.UpdateFunctionEventInvokeConfigOutput if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionEventInvokeConfigInput) *lambda.UpdateFunctionEventInvokeConfigOutput); ok { r1 = rf(_a0) } else { @@ -4872,6 +5774,10 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfigWithContext(_a0 context ret := _m.Called(_ca...) var r0 *lambda.UpdateFunctionEventInvokeConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionEventInvokeConfigInput, ...request.Option) (*lambda.UpdateFunctionEventInvokeConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionEventInvokeConfigInput, ...request.Option) *lambda.UpdateFunctionEventInvokeConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4880,7 +5786,6 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfigWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateFunctionEventInvokeConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4890,6 +5795,93 @@ func (_m *MockFakeLambda) UpdateFunctionEventInvokeConfigWithContext(_a0 context return r0, r1 } +// UpdateFunctionUrlConfig provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) UpdateFunctionUrlConfig(_a0 *lambda.UpdateFunctionUrlConfigInput) (*lambda.UpdateFunctionUrlConfigOutput, error) { + ret := _m.Called(_a0) + + var r0 *lambda.UpdateFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) (*lambda.UpdateFunctionUrlConfigOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) *lambda.UpdateFunctionUrlConfigOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionUrlConfigInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateFunctionUrlConfigRequest provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) UpdateFunctionUrlConfigRequest(_a0 *lambda.UpdateFunctionUrlConfigInput) (*request.Request, *lambda.UpdateFunctionUrlConfigOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *lambda.UpdateFunctionUrlConfigOutput + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) (*request.Request, *lambda.UpdateFunctionUrlConfigOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*lambda.UpdateFunctionUrlConfigInput) *lambda.UpdateFunctionUrlConfigOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + return r0, r1 +} + +// UpdateFunctionUrlConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) UpdateFunctionUrlConfigWithContext(_a0 context.Context, _a1 *lambda.UpdateFunctionUrlConfigInput, _a2 ...request.Option) (*lambda.UpdateFunctionUrlConfigOutput, error) { + _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 *lambda.UpdateFunctionUrlConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) (*lambda.UpdateFunctionUrlConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) *lambda.UpdateFunctionUrlConfigOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*lambda.UpdateFunctionUrlConfigOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // WaitUntilFunctionActive provides a mock function with given fields: _a0 func (_m *MockFakeLambda) WaitUntilFunctionActive(_a0 *lambda.GetFunctionConfigurationInput) error { ret := _m.Called(_a0) @@ -4904,6 +5896,41 @@ func (_m *MockFakeLambda) WaitUntilFunctionActive(_a0 *lambda.GetFunctionConfigu return r0 } +// WaitUntilFunctionActiveV2 provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) WaitUntilFunctionActiveV2(_a0 *lambda.GetFunctionInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilFunctionActiveV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) WaitUntilFunctionActiveV2WithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilFunctionActiveWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeLambda) WaitUntilFunctionActiveWithContext(_a0 context.Context, _a1 *lambda.GetFunctionConfigurationInput, _a2 ...request.WaiterOption) error { _va := make([]interface{}, len(_a2)) @@ -4974,6 +6001,41 @@ func (_m *MockFakeLambda) WaitUntilFunctionUpdated(_a0 *lambda.GetFunctionConfig return r0 } +// WaitUntilFunctionUpdatedV2 provides a mock function with given fields: _a0 +func (_m *MockFakeLambda) WaitUntilFunctionUpdatedV2(_a0 *lambda.GetFunctionInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilFunctionUpdatedV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeLambda) WaitUntilFunctionUpdatedV2WithContext(_a0 context.Context, _a1 *lambda.GetFunctionInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilFunctionUpdatedWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeLambda) WaitUntilFunctionUpdatedWithContext(_a0 context.Context, _a1 *lambda.GetFunctionConfigurationInput, _a2 ...request.WaiterOption) error { _va := make([]interface{}, len(_a2)) @@ -4994,3 +6056,18 @@ func (_m *MockFakeLambda) WaitUntilFunctionUpdatedWithContext(_a0 context.Contex return r0 } + +type mockConstructorTestingTNewMockFakeLambda interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeLambda creates a new instance of MockFakeLambda. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeLambda(t mockConstructorTestingTNewMockFakeLambda) *MockFakeLambda { + mock := &MockFakeLambda{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeRDS.go b/test/aws/mock_FakeRDS.go index 8d97c4cd8..fe0b05202 100644 --- a/test/aws/mock_FakeRDS.go +++ b/test/aws/mock_FakeRDS.go @@ -1,14 +1,14 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws import ( - "context" + context "context" - "github.com/aws/aws-sdk-go/service/rds" - "github.com/stretchr/testify/mock" + rds "github.com/aws/aws-sdk-go/service/rds" + mock "github.com/stretchr/testify/mock" - "github.com/aws/aws-sdk-go/aws/request" + request "github.com/aws/aws-sdk-go/aws/request" ) // MockFakeRDS is an autogenerated mock type for the FakeRDS type @@ -21,6 +21,10 @@ func (_m *MockFakeRDS) AddRoleToDBCluster(_a0 *rds.AddRoleToDBClusterInput) (*rd ret := _m.Called(_a0) var r0 *rds.AddRoleToDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBClusterInput) (*rds.AddRoleToDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBClusterInput) *rds.AddRoleToDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeRDS) AddRoleToDBCluster(_a0 *rds.AddRoleToDBClusterInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.AddRoleToDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeRDS) AddRoleToDBClusterRequest(_a0 *rds.AddRoleToDBClusterInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.AddRoleToDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBClusterInput) (*request.Request, *rds.AddRoleToDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeRDS) AddRoleToDBClusterRequest(_a0 *rds.AddRoleToDBClusterInpu } } - var r1 *rds.AddRoleToDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.AddRoleToDBClusterInput) *rds.AddRoleToDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeRDS) AddRoleToDBClusterWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.AddRoleToDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.AddRoleToDBClusterInput, ...request.Option) (*rds.AddRoleToDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.AddRoleToDBClusterInput, ...request.Option) *rds.AddRoleToDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeRDS) AddRoleToDBClusterWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.AddRoleToDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeRDS) AddRoleToDBInstance(_a0 *rds.AddRoleToDBInstanceInput) (* ret := _m.Called(_a0) var r0 *rds.AddRoleToDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBInstanceInput) (*rds.AddRoleToDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBInstanceInput) *rds.AddRoleToDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeRDS) AddRoleToDBInstance(_a0 *rds.AddRoleToDBInstanceInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.AddRoleToDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeRDS) AddRoleToDBInstanceRequest(_a0 *rds.AddRoleToDBInstanceIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.AddRoleToDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBInstanceInput) (*request.Request, *rds.AddRoleToDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddRoleToDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeRDS) AddRoleToDBInstanceRequest(_a0 *rds.AddRoleToDBInstanceIn } } - var r1 *rds.AddRoleToDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.AddRoleToDBInstanceInput) *rds.AddRoleToDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeRDS) AddRoleToDBInstanceWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.AddRoleToDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.AddRoleToDBInstanceInput, ...request.Option) (*rds.AddRoleToDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.AddRoleToDBInstanceInput, ...request.Option) *rds.AddRoleToDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeRDS) AddRoleToDBInstanceWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.AddRoleToDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscription(_a0 *rds.AddSourceIdent ret := _m.Called(_a0) var r0 *rds.AddSourceIdentifierToSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.AddSourceIdentifierToSubscriptionInput) (*rds.AddSourceIdentifierToSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddSourceIdentifierToSubscriptionInput) *rds.AddSourceIdentifierToSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscription(_a0 *rds.AddSourceIdent } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.AddSourceIdentifierToSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscriptionRequest(_a0 *rds.AddSour ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.AddSourceIdentifierToSubscriptionOutput + if rf, ok := ret.Get(0).(func(*rds.AddSourceIdentifierToSubscriptionInput) (*request.Request, *rds.AddSourceIdentifierToSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddSourceIdentifierToSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscriptionRequest(_a0 *rds.AddSour } } - var r1 *rds.AddSourceIdentifierToSubscriptionOutput if rf, ok := ret.Get(1).(func(*rds.AddSourceIdentifierToSubscriptionInput) *rds.AddSourceIdentifierToSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscriptionWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *rds.AddSourceIdentifierToSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.AddSourceIdentifierToSubscriptionInput, ...request.Option) (*rds.AddSourceIdentifierToSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.AddSourceIdentifierToSubscriptionInput, ...request.Option) *rds.AddSourceIdentifierToSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeRDS) AddSourceIdentifierToSubscriptionWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.AddSourceIdentifierToSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeRDS) AddTagsToResource(_a0 *rds.AddTagsToResourceInput) (*rds. ret := _m.Called(_a0) var r0 *rds.AddTagsToResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.AddTagsToResourceInput) (*rds.AddTagsToResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddTagsToResourceInput) *rds.AddTagsToResourceOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeRDS) AddTagsToResource(_a0 *rds.AddTagsToResourceInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.AddTagsToResourceInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeRDS) AddTagsToResourceRequest(_a0 *rds.AddTagsToResourceInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.AddTagsToResourceOutput + if rf, ok := ret.Get(0).(func(*rds.AddTagsToResourceInput) (*request.Request, *rds.AddTagsToResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AddTagsToResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeRDS) AddTagsToResourceRequest(_a0 *rds.AddTagsToResourceInput) } } - var r1 *rds.AddTagsToResourceOutput if rf, ok := ret.Get(1).(func(*rds.AddTagsToResourceInput) *rds.AddTagsToResourceOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeRDS) AddTagsToResourceWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.AddTagsToResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.AddTagsToResourceInput, ...request.Option) (*rds.AddTagsToResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.AddTagsToResourceInput, ...request.Option) *rds.AddTagsToResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeRDS) AddTagsToResourceWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.AddTagsToResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceAction(_a0 *rds.ApplyPendingMainte ret := _m.Called(_a0) var r0 *rds.ApplyPendingMaintenanceActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ApplyPendingMaintenanceActionInput) (*rds.ApplyPendingMaintenanceActionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ApplyPendingMaintenanceActionInput) *rds.ApplyPendingMaintenanceActionOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceAction(_a0 *rds.ApplyPendingMainte } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ApplyPendingMaintenanceActionInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceActionRequest(_a0 *rds.ApplyPendin ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ApplyPendingMaintenanceActionOutput + if rf, ok := ret.Get(0).(func(*rds.ApplyPendingMaintenanceActionInput) (*request.Request, *rds.ApplyPendingMaintenanceActionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ApplyPendingMaintenanceActionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceActionRequest(_a0 *rds.ApplyPendin } } - var r1 *rds.ApplyPendingMaintenanceActionOutput if rf, ok := ret.Get(1).(func(*rds.ApplyPendingMaintenanceActionInput) *rds.ApplyPendingMaintenanceActionOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceActionWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *rds.ApplyPendingMaintenanceActionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ApplyPendingMaintenanceActionInput, ...request.Option) (*rds.ApplyPendingMaintenanceActionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ApplyPendingMaintenanceActionInput, ...request.Option) *rds.ApplyPendingMaintenanceActionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeRDS) ApplyPendingMaintenanceActionWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ApplyPendingMaintenanceActionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngress(_a0 *rds.AuthorizeDBSecur ret := _m.Called(_a0) var r0 *rds.AuthorizeDBSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.AuthorizeDBSecurityGroupIngressInput) (*rds.AuthorizeDBSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AuthorizeDBSecurityGroupIngressInput) *rds.AuthorizeDBSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngress(_a0 *rds.AuthorizeDBSecur } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.AuthorizeDBSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngressRequest(_a0 *rds.Authorize ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.AuthorizeDBSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*rds.AuthorizeDBSecurityGroupIngressInput) (*request.Request, *rds.AuthorizeDBSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.AuthorizeDBSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngressRequest(_a0 *rds.Authorize } } - var r1 *rds.AuthorizeDBSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*rds.AuthorizeDBSecurityGroupIngressInput) *rds.AuthorizeDBSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngressWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *rds.AuthorizeDBSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.AuthorizeDBSecurityGroupIngressInput, ...request.Option) (*rds.AuthorizeDBSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.AuthorizeDBSecurityGroupIngressInput, ...request.Option) *rds.AuthorizeDBSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeRDS) AuthorizeDBSecurityGroupIngressWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.AuthorizeDBSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeRDS) BacktrackDBCluster(_a0 *rds.BacktrackDBClusterInput) (*rd ret := _m.Called(_a0) var r0 *rds.BacktrackDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.BacktrackDBClusterInput) (*rds.BacktrackDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.BacktrackDBClusterInput) *rds.BacktrackDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeRDS) BacktrackDBCluster(_a0 *rds.BacktrackDBClusterInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.BacktrackDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeRDS) BacktrackDBClusterRequest(_a0 *rds.BacktrackDBClusterInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.BacktrackDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.BacktrackDBClusterInput) (*request.Request, *rds.BacktrackDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.BacktrackDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeRDS) BacktrackDBClusterRequest(_a0 *rds.BacktrackDBClusterInpu } } - var r1 *rds.BacktrackDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.BacktrackDBClusterInput) *rds.BacktrackDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeRDS) BacktrackDBClusterWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.BacktrackDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.BacktrackDBClusterInput, ...request.Option) (*rds.BacktrackDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.BacktrackDBClusterInput, ...request.Option) *rds.BacktrackDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeRDS) BacktrackDBClusterWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.BacktrackDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeRDS) CancelExportTask(_a0 *rds.CancelExportTaskInput) (*rds.Ca ret := _m.Called(_a0) var r0 *rds.CancelExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CancelExportTaskInput) (*rds.CancelExportTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CancelExportTaskInput) *rds.CancelExportTaskOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeRDS) CancelExportTask(_a0 *rds.CancelExportTaskInput) (*rds.Ca } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CancelExportTaskInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeRDS) CancelExportTaskRequest(_a0 *rds.CancelExportTaskInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CancelExportTaskOutput + if rf, ok := ret.Get(0).(func(*rds.CancelExportTaskInput) (*request.Request, *rds.CancelExportTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CancelExportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeRDS) CancelExportTaskRequest(_a0 *rds.CancelExportTaskInput) ( } } - var r1 *rds.CancelExportTaskOutput if rf, ok := ret.Get(1).(func(*rds.CancelExportTaskInput) *rds.CancelExportTaskOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeRDS) CancelExportTaskWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.CancelExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CancelExportTaskInput, ...request.Option) (*rds.CancelExportTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CancelExportTaskInput, ...request.Option) *rds.CancelExportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeRDS) CancelExportTaskWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CancelExportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroup(_a0 *rds.CopyDBClusterParamet ret := _m.Called(_a0) var r0 *rds.CopyDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterParameterGroupInput) (*rds.CopyDBClusterParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterParameterGroupInput) *rds.CopyDBClusterParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroup(_a0 *rds.CopyDBClusterParamet } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CopyDBClusterParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroupRequest(_a0 *rds.CopyDBCluster ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CopyDBClusterParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterParameterGroupInput) (*request.Request, *rds.CopyDBClusterParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroupRequest(_a0 *rds.CopyDBCluster } } - var r1 *rds.CopyDBClusterParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.CopyDBClusterParameterGroupInput) *rds.CopyDBClusterParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroupWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.CopyDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBClusterParameterGroupInput, ...request.Option) (*rds.CopyDBClusterParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBClusterParameterGroupInput, ...request.Option) *rds.CopyDBClusterParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeRDS) CopyDBClusterParameterGroupWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CopyDBClusterParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshot(_a0 *rds.CopyDBClusterSnapshotInput ret := _m.Called(_a0) var r0 *rds.CopyDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterSnapshotInput) (*rds.CopyDBClusterSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterSnapshotInput) *rds.CopyDBClusterSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshot(_a0 *rds.CopyDBClusterSnapshotInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CopyDBClusterSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshotRequest(_a0 *rds.CopyDBClusterSnapsh ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CopyDBClusterSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterSnapshotInput) (*request.Request, *rds.CopyDBClusterSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBClusterSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshotRequest(_a0 *rds.CopyDBClusterSnapsh } } - var r1 *rds.CopyDBClusterSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.CopyDBClusterSnapshotInput) *rds.CopyDBClusterSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshotWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.CopyDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBClusterSnapshotInput, ...request.Option) (*rds.CopyDBClusterSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBClusterSnapshotInput, ...request.Option) *rds.CopyDBClusterSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeRDS) CopyDBClusterSnapshotWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CopyDBClusterSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeRDS) CopyDBParameterGroup(_a0 *rds.CopyDBParameterGroupInput) ret := _m.Called(_a0) var r0 *rds.CopyDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CopyDBParameterGroupInput) (*rds.CopyDBParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBParameterGroupInput) *rds.CopyDBParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeRDS) CopyDBParameterGroup(_a0 *rds.CopyDBParameterGroupInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CopyDBParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeRDS) CopyDBParameterGroupRequest(_a0 *rds.CopyDBParameterGroup ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CopyDBParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CopyDBParameterGroupInput) (*request.Request, *rds.CopyDBParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeRDS) CopyDBParameterGroupRequest(_a0 *rds.CopyDBParameterGroup } } - var r1 *rds.CopyDBParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.CopyDBParameterGroupInput) *rds.CopyDBParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +952,10 @@ func (_m *MockFakeRDS) CopyDBParameterGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.CopyDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBParameterGroupInput, ...request.Option) (*rds.CopyDBParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBParameterGroupInput, ...request.Option) *rds.CopyDBParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +964,6 @@ func (_m *MockFakeRDS) CopyDBParameterGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CopyDBParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeRDS) CopyDBSnapshot(_a0 *rds.CopyDBSnapshotInput) (*rds.CopyDB ret := _m.Called(_a0) var r0 *rds.CopyDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CopyDBSnapshotInput) (*rds.CopyDBSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBSnapshotInput) *rds.CopyDBSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeRDS) CopyDBSnapshot(_a0 *rds.CopyDBSnapshotInput) (*rds.CopyDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CopyDBSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeRDS) CopyDBSnapshotRequest(_a0 *rds.CopyDBSnapshotInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CopyDBSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.CopyDBSnapshotInput) (*request.Request, *rds.CopyDBSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyDBSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeRDS) CopyDBSnapshotRequest(_a0 *rds.CopyDBSnapshotInput) (*req } } - var r1 *rds.CopyDBSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.CopyDBSnapshotInput) *rds.CopyDBSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1039,10 @@ func (_m *MockFakeRDS) CopyDBSnapshotWithContext(_a0 context.Context, _a1 *rds.C ret := _m.Called(_ca...) var r0 *rds.CopyDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBSnapshotInput, ...request.Option) (*rds.CopyDBSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyDBSnapshotInput, ...request.Option) *rds.CopyDBSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1051,6 @@ func (_m *MockFakeRDS) CopyDBSnapshotWithContext(_a0 context.Context, _a1 *rds.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CopyDBSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeRDS) CopyOptionGroup(_a0 *rds.CopyOptionGroupInput) (*rds.Copy ret := _m.Called(_a0) var r0 *rds.CopyOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CopyOptionGroupInput) (*rds.CopyOptionGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyOptionGroupInput) *rds.CopyOptionGroupOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeRDS) CopyOptionGroup(_a0 *rds.CopyOptionGroupInput) (*rds.Copy } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CopyOptionGroupInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeRDS) CopyOptionGroupRequest(_a0 *rds.CopyOptionGroupInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CopyOptionGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CopyOptionGroupInput) (*request.Request, *rds.CopyOptionGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CopyOptionGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeRDS) CopyOptionGroupRequest(_a0 *rds.CopyOptionGroupInput) (*r } } - var r1 *rds.CopyOptionGroupOutput if rf, ok := ret.Get(1).(func(*rds.CopyOptionGroupInput) *rds.CopyOptionGroupOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1126,10 @@ func (_m *MockFakeRDS) CopyOptionGroupWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.CopyOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyOptionGroupInput, ...request.Option) (*rds.CopyOptionGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CopyOptionGroupInput, ...request.Option) *rds.CopyOptionGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1138,6 @@ func (_m *MockFakeRDS) CopyOptionGroupWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CopyOptionGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1030,21 +1147,24 @@ func (_m *MockFakeRDS) CopyOptionGroupWithContext(_a0 context.Context, _a1 *rds. return r0, r1 } -// CreateCustomAvailabilityZone provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) CreateCustomAvailabilityZone(_a0 *rds.CreateCustomAvailabilityZoneInput) (*rds.CreateCustomAvailabilityZoneOutput, error) { +// CreateCustomDBEngineVersion provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) CreateCustomDBEngineVersion(_a0 *rds.CreateCustomDBEngineVersionInput) (*rds.CreateCustomDBEngineVersionOutput, error) { ret := _m.Called(_a0) - var r0 *rds.CreateCustomAvailabilityZoneOutput - if rf, ok := ret.Get(0).(func(*rds.CreateCustomAvailabilityZoneInput) *rds.CreateCustomAvailabilityZoneOutput); ok { + var r0 *rds.CreateCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateCustomDBEngineVersionInput) (*rds.CreateCustomDBEngineVersionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.CreateCustomDBEngineVersionInput) *rds.CreateCustomDBEngineVersionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.CreateCustomAvailabilityZoneOutput) + r0 = ret.Get(0).(*rds.CreateCustomDBEngineVersionOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.CreateCustomAvailabilityZoneInput) error); ok { + if rf, ok := ret.Get(1).(func(*rds.CreateCustomDBEngineVersionInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1053,12 +1173,16 @@ func (_m *MockFakeRDS) CreateCustomAvailabilityZone(_a0 *rds.CreateCustomAvailab return r0, r1 } -// CreateCustomAvailabilityZoneRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) CreateCustomAvailabilityZoneRequest(_a0 *rds.CreateCustomAvailabilityZoneInput) (*request.Request, *rds.CreateCustomAvailabilityZoneOutput) { +// CreateCustomDBEngineVersionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) CreateCustomDBEngineVersionRequest(_a0 *rds.CreateCustomDBEngineVersionInput) (*request.Request, *rds.CreateCustomDBEngineVersionOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.CreateCustomAvailabilityZoneInput) *request.Request); ok { + var r1 *rds.CreateCustomDBEngineVersionOutput + if rf, ok := ret.Get(0).(func(*rds.CreateCustomDBEngineVersionInput) (*request.Request, *rds.CreateCustomDBEngineVersionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.CreateCustomDBEngineVersionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1066,20 +1190,19 @@ func (_m *MockFakeRDS) CreateCustomAvailabilityZoneRequest(_a0 *rds.CreateCustom } } - var r1 *rds.CreateCustomAvailabilityZoneOutput - if rf, ok := ret.Get(1).(func(*rds.CreateCustomAvailabilityZoneInput) *rds.CreateCustomAvailabilityZoneOutput); ok { + if rf, ok := ret.Get(1).(func(*rds.CreateCustomDBEngineVersionInput) *rds.CreateCustomDBEngineVersionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.CreateCustomAvailabilityZoneOutput) + r1 = ret.Get(1).(*rds.CreateCustomDBEngineVersionOutput) } } return r0, r1 } -// CreateCustomAvailabilityZoneWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) CreateCustomAvailabilityZoneWithContext(_a0 context.Context, _a1 *rds.CreateCustomAvailabilityZoneInput, _a2 ...request.Option) (*rds.CreateCustomAvailabilityZoneOutput, error) { +// CreateCustomDBEngineVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) CreateCustomDBEngineVersionWithContext(_a0 context.Context, _a1 *rds.CreateCustomDBEngineVersionInput, _a2 ...request.Option) (*rds.CreateCustomDBEngineVersionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1089,17 +1212,20 @@ func (_m *MockFakeRDS) CreateCustomAvailabilityZoneWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *rds.CreateCustomAvailabilityZoneOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateCustomAvailabilityZoneInput, ...request.Option) *rds.CreateCustomAvailabilityZoneOutput); ok { + var r0 *rds.CreateCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateCustomDBEngineVersionInput, ...request.Option) (*rds.CreateCustomDBEngineVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateCustomDBEngineVersionInput, ...request.Option) *rds.CreateCustomDBEngineVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.CreateCustomAvailabilityZoneOutput) + r0 = ret.Get(0).(*rds.CreateCustomDBEngineVersionOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateCustomAvailabilityZoneInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateCustomDBEngineVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1113,6 +1239,10 @@ func (_m *MockFakeRDS) CreateDBCluster(_a0 *rds.CreateDBClusterInput) (*rds.Crea ret := _m.Called(_a0) var r0 *rds.CreateDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterInput) (*rds.CreateDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterInput) *rds.CreateDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1251,6 @@ func (_m *MockFakeRDS) CreateDBCluster(_a0 *rds.CreateDBClusterInput) (*rds.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1265,10 @@ func (_m *MockFakeRDS) CreateDBClusterEndpoint(_a0 *rds.CreateDBClusterEndpointI ret := _m.Called(_a0) var r0 *rds.CreateDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterEndpointInput) (*rds.CreateDBClusterEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterEndpointInput) *rds.CreateDBClusterEndpointOutput); ok { r0 = rf(_a0) } else { @@ -1144,7 +1277,6 @@ func (_m *MockFakeRDS) CreateDBClusterEndpoint(_a0 *rds.CreateDBClusterEndpointI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -1159,6 +1291,10 @@ func (_m *MockFakeRDS) CreateDBClusterEndpointRequest(_a0 *rds.CreateDBClusterEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBClusterEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterEndpointInput) (*request.Request, *rds.CreateDBClusterEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1167,7 +1303,6 @@ func (_m *MockFakeRDS) CreateDBClusterEndpointRequest(_a0 *rds.CreateDBClusterEn } } - var r1 *rds.CreateDBClusterEndpointOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterEndpointInput) *rds.CreateDBClusterEndpointOutput); ok { r1 = rf(_a0) } else { @@ -1191,6 +1326,10 @@ func (_m *MockFakeRDS) CreateDBClusterEndpointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.CreateDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterEndpointInput, ...request.Option) (*rds.CreateDBClusterEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterEndpointInput, ...request.Option) *rds.CreateDBClusterEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1199,7 +1338,6 @@ func (_m *MockFakeRDS) CreateDBClusterEndpointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBClusterEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1214,6 +1352,10 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroup(_a0 *rds.CreateDBClusterPar ret := _m.Called(_a0) var r0 *rds.CreateDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterParameterGroupInput) (*rds.CreateDBClusterParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterParameterGroupInput) *rds.CreateDBClusterParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -1222,7 +1364,6 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroup(_a0 *rds.CreateDBClusterPar } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1237,6 +1378,10 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroupRequest(_a0 *rds.CreateDBClu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBClusterParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterParameterGroupInput) (*request.Request, *rds.CreateDBClusterParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1245,7 +1390,6 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroupRequest(_a0 *rds.CreateDBClu } } - var r1 *rds.CreateDBClusterParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterParameterGroupInput) *rds.CreateDBClusterParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -1269,6 +1413,10 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroupWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *rds.CreateDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterParameterGroupInput, ...request.Option) (*rds.CreateDBClusterParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterParameterGroupInput, ...request.Option) *rds.CreateDBClusterParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1277,7 +1425,6 @@ func (_m *MockFakeRDS) CreateDBClusterParameterGroupWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBClusterParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1292,6 +1439,10 @@ func (_m *MockFakeRDS) CreateDBClusterRequest(_a0 *rds.CreateDBClusterInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterInput) (*request.Request, *rds.CreateDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1451,6 @@ func (_m *MockFakeRDS) CreateDBClusterRequest(_a0 *rds.CreateDBClusterInput) (*r } } - var r1 *rds.CreateDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterInput) *rds.CreateDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -1317,6 +1467,10 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshot(_a0 *rds.CreateDBClusterSnapshotI ret := _m.Called(_a0) var r0 *rds.CreateDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterSnapshotInput) (*rds.CreateDBClusterSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterSnapshotInput) *rds.CreateDBClusterSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -1325,7 +1479,6 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshot(_a0 *rds.CreateDBClusterSnapshotI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -1340,6 +1493,10 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshotRequest(_a0 *rds.CreateDBClusterSn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBClusterSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterSnapshotInput) (*request.Request, *rds.CreateDBClusterSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBClusterSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1348,7 +1505,6 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshotRequest(_a0 *rds.CreateDBClusterSn } } - var r1 *rds.CreateDBClusterSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBClusterSnapshotInput) *rds.CreateDBClusterSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -1372,6 +1528,10 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshotWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.CreateDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterSnapshotInput, ...request.Option) (*rds.CreateDBClusterSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterSnapshotInput, ...request.Option) *rds.CreateDBClusterSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1380,7 +1540,6 @@ func (_m *MockFakeRDS) CreateDBClusterSnapshotWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBClusterSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1402,6 +1561,10 @@ func (_m *MockFakeRDS) CreateDBClusterWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.CreateDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterInput, ...request.Option) (*rds.CreateDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBClusterInput, ...request.Option) *rds.CreateDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1573,6 @@ func (_m *MockFakeRDS) CreateDBClusterWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1587,10 @@ func (_m *MockFakeRDS) CreateDBInstance(_a0 *rds.CreateDBInstanceInput) (*rds.Cr ret := _m.Called(_a0) var r0 *rds.CreateDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceInput) (*rds.CreateDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceInput) *rds.CreateDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1599,6 @@ func (_m *MockFakeRDS) CreateDBInstance(_a0 *rds.CreateDBInstanceInput) (*rds.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1613,10 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplica(_a0 *rds.CreateDBInstanceRead ret := _m.Called(_a0) var r0 *rds.CreateDBInstanceReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceReadReplicaInput) (*rds.CreateDBInstanceReadReplicaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceReadReplicaInput) *rds.CreateDBInstanceReadReplicaOutput); ok { r0 = rf(_a0) } else { @@ -1456,7 +1625,6 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplica(_a0 *rds.CreateDBInstanceRead } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBInstanceReadReplicaInput) error); ok { r1 = rf(_a0) } else { @@ -1471,6 +1639,10 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplicaRequest(_a0 *rds.CreateDBInsta ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBInstanceReadReplicaOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceReadReplicaInput) (*request.Request, *rds.CreateDBInstanceReadReplicaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceReadReplicaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1479,7 +1651,6 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplicaRequest(_a0 *rds.CreateDBInsta } } - var r1 *rds.CreateDBInstanceReadReplicaOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBInstanceReadReplicaInput) *rds.CreateDBInstanceReadReplicaOutput); ok { r1 = rf(_a0) } else { @@ -1503,6 +1674,10 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplicaWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.CreateDBInstanceReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBInstanceReadReplicaInput, ...request.Option) (*rds.CreateDBInstanceReadReplicaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBInstanceReadReplicaInput, ...request.Option) *rds.CreateDBInstanceReadReplicaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1511,7 +1686,6 @@ func (_m *MockFakeRDS) CreateDBInstanceReadReplicaWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBInstanceReadReplicaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1526,6 +1700,10 @@ func (_m *MockFakeRDS) CreateDBInstanceRequest(_a0 *rds.CreateDBInstanceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceInput) (*request.Request, *rds.CreateDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1534,7 +1712,6 @@ func (_m *MockFakeRDS) CreateDBInstanceRequest(_a0 *rds.CreateDBInstanceInput) ( } } - var r1 *rds.CreateDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBInstanceInput) *rds.CreateDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -1558,6 +1735,10 @@ func (_m *MockFakeRDS) CreateDBInstanceWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.CreateDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBInstanceInput, ...request.Option) (*rds.CreateDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBInstanceInput, ...request.Option) *rds.CreateDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1566,7 +1747,6 @@ func (_m *MockFakeRDS) CreateDBInstanceWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1581,6 +1761,10 @@ func (_m *MockFakeRDS) CreateDBParameterGroup(_a0 *rds.CreateDBParameterGroupInp ret := _m.Called(_a0) var r0 *rds.CreateDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBParameterGroupInput) (*rds.CreateDBParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBParameterGroupInput) *rds.CreateDBParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -1589,7 +1773,6 @@ func (_m *MockFakeRDS) CreateDBParameterGroup(_a0 *rds.CreateDBParameterGroupInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1604,6 +1787,10 @@ func (_m *MockFakeRDS) CreateDBParameterGroupRequest(_a0 *rds.CreateDBParameterG ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBParameterGroupInput) (*request.Request, *rds.CreateDBParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +1799,6 @@ func (_m *MockFakeRDS) CreateDBParameterGroupRequest(_a0 *rds.CreateDBParameterG } } - var r1 *rds.CreateDBParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBParameterGroupInput) *rds.CreateDBParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +1822,10 @@ func (_m *MockFakeRDS) CreateDBParameterGroupWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.CreateDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBParameterGroupInput, ...request.Option) (*rds.CreateDBParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBParameterGroupInput, ...request.Option) *rds.CreateDBParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +1834,6 @@ func (_m *MockFakeRDS) CreateDBParameterGroupWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +1848,10 @@ func (_m *MockFakeRDS) CreateDBProxy(_a0 *rds.CreateDBProxyInput) (*rds.CreateDB ret := _m.Called(_a0) var r0 *rds.CreateDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyInput) (*rds.CreateDBProxyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyInput) *rds.CreateDBProxyOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +1860,6 @@ func (_m *MockFakeRDS) CreateDBProxy(_a0 *rds.CreateDBProxyInput) (*rds.CreateDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBProxyInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +1874,10 @@ func (_m *MockFakeRDS) CreateDBProxyEndpoint(_a0 *rds.CreateDBProxyEndpointInput ret := _m.Called(_a0) var r0 *rds.CreateDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyEndpointInput) (*rds.CreateDBProxyEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyEndpointInput) *rds.CreateDBProxyEndpointOutput); ok { r0 = rf(_a0) } else { @@ -1690,7 +1886,6 @@ func (_m *MockFakeRDS) CreateDBProxyEndpoint(_a0 *rds.CreateDBProxyEndpointInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBProxyEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -1705,6 +1900,10 @@ func (_m *MockFakeRDS) CreateDBProxyEndpointRequest(_a0 *rds.CreateDBProxyEndpoi ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBProxyEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyEndpointInput) (*request.Request, *rds.CreateDBProxyEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1713,7 +1912,6 @@ func (_m *MockFakeRDS) CreateDBProxyEndpointRequest(_a0 *rds.CreateDBProxyEndpoi } } - var r1 *rds.CreateDBProxyEndpointOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBProxyEndpointInput) *rds.CreateDBProxyEndpointOutput); ok { r1 = rf(_a0) } else { @@ -1737,6 +1935,10 @@ func (_m *MockFakeRDS) CreateDBProxyEndpointWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.CreateDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBProxyEndpointInput, ...request.Option) (*rds.CreateDBProxyEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBProxyEndpointInput, ...request.Option) *rds.CreateDBProxyEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1745,7 +1947,6 @@ func (_m *MockFakeRDS) CreateDBProxyEndpointWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBProxyEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1760,6 +1961,10 @@ func (_m *MockFakeRDS) CreateDBProxyRequest(_a0 *rds.CreateDBProxyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBProxyOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyInput) (*request.Request, *rds.CreateDBProxyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBProxyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +1973,6 @@ func (_m *MockFakeRDS) CreateDBProxyRequest(_a0 *rds.CreateDBProxyInput) (*reque } } - var r1 *rds.CreateDBProxyOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBProxyInput) *rds.CreateDBProxyOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +1996,10 @@ func (_m *MockFakeRDS) CreateDBProxyWithContext(_a0 context.Context, _a1 *rds.Cr ret := _m.Called(_ca...) var r0 *rds.CreateDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBProxyInput, ...request.Option) (*rds.CreateDBProxyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBProxyInput, ...request.Option) *rds.CreateDBProxyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2008,6 @@ func (_m *MockFakeRDS) CreateDBProxyWithContext(_a0 context.Context, _a1 *rds.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBProxyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2022,10 @@ func (_m *MockFakeRDS) CreateDBSecurityGroup(_a0 *rds.CreateDBSecurityGroupInput ret := _m.Called(_a0) var r0 *rds.CreateDBSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBSecurityGroupInput) (*rds.CreateDBSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSecurityGroupInput) *rds.CreateDBSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2034,6 @@ func (_m *MockFakeRDS) CreateDBSecurityGroup(_a0 *rds.CreateDBSecurityGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2048,10 @@ func (_m *MockFakeRDS) CreateDBSecurityGroupRequest(_a0 *rds.CreateDBSecurityGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBSecurityGroupInput) (*request.Request, *rds.CreateDBSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2060,6 @@ func (_m *MockFakeRDS) CreateDBSecurityGroupRequest(_a0 *rds.CreateDBSecurityGro } } - var r1 *rds.CreateDBSecurityGroupOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBSecurityGroupInput) *rds.CreateDBSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2083,10 @@ func (_m *MockFakeRDS) CreateDBSecurityGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.CreateDBSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSecurityGroupInput, ...request.Option) (*rds.CreateDBSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSecurityGroupInput, ...request.Option) *rds.CreateDBSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2095,6 @@ func (_m *MockFakeRDS) CreateDBSecurityGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2109,10 @@ func (_m *MockFakeRDS) CreateDBSnapshot(_a0 *rds.CreateDBSnapshotInput) (*rds.Cr ret := _m.Called(_a0) var r0 *rds.CreateDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBSnapshotInput) (*rds.CreateDBSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSnapshotInput) *rds.CreateDBSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2121,6 @@ func (_m *MockFakeRDS) CreateDBSnapshot(_a0 *rds.CreateDBSnapshotInput) (*rds.Cr } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2135,10 @@ func (_m *MockFakeRDS) CreateDBSnapshotRequest(_a0 *rds.CreateDBSnapshotInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBSnapshotInput) (*request.Request, *rds.CreateDBSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2147,6 @@ func (_m *MockFakeRDS) CreateDBSnapshotRequest(_a0 *rds.CreateDBSnapshotInput) ( } } - var r1 *rds.CreateDBSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBSnapshotInput) *rds.CreateDBSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2170,10 @@ func (_m *MockFakeRDS) CreateDBSnapshotWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.CreateDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSnapshotInput, ...request.Option) (*rds.CreateDBSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSnapshotInput, ...request.Option) *rds.CreateDBSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2182,6 @@ func (_m *MockFakeRDS) CreateDBSnapshotWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2196,10 @@ func (_m *MockFakeRDS) CreateDBSubnetGroup(_a0 *rds.CreateDBSubnetGroupInput) (* ret := _m.Called(_a0) var r0 *rds.CreateDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateDBSubnetGroupInput) (*rds.CreateDBSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSubnetGroupInput) *rds.CreateDBSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2208,6 @@ func (_m *MockFakeRDS) CreateDBSubnetGroup(_a0 *rds.CreateDBSubnetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateDBSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2222,10 @@ func (_m *MockFakeRDS) CreateDBSubnetGroupRequest(_a0 *rds.CreateDBSubnetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateDBSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CreateDBSubnetGroupInput) (*request.Request, *rds.CreateDBSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateDBSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2234,6 @@ func (_m *MockFakeRDS) CreateDBSubnetGroupRequest(_a0 *rds.CreateDBSubnetGroupIn } } - var r1 *rds.CreateDBSubnetGroupOutput if rf, ok := ret.Get(1).(func(*rds.CreateDBSubnetGroupInput) *rds.CreateDBSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2257,10 @@ func (_m *MockFakeRDS) CreateDBSubnetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.CreateDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSubnetGroupInput, ...request.Option) (*rds.CreateDBSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateDBSubnetGroupInput, ...request.Option) *rds.CreateDBSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2269,6 @@ func (_m *MockFakeRDS) CreateDBSubnetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateDBSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2283,10 @@ func (_m *MockFakeRDS) CreateEventSubscription(_a0 *rds.CreateEventSubscriptionI ret := _m.Called(_a0) var r0 *rds.CreateEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateEventSubscriptionInput) (*rds.CreateEventSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateEventSubscriptionInput) *rds.CreateEventSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -2057,7 +2295,6 @@ func (_m *MockFakeRDS) CreateEventSubscription(_a0 *rds.CreateEventSubscriptionI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateEventSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -2072,6 +2309,10 @@ func (_m *MockFakeRDS) CreateEventSubscriptionRequest(_a0 *rds.CreateEventSubscr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateEventSubscriptionOutput + if rf, ok := ret.Get(0).(func(*rds.CreateEventSubscriptionInput) (*request.Request, *rds.CreateEventSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateEventSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2321,6 @@ func (_m *MockFakeRDS) CreateEventSubscriptionRequest(_a0 *rds.CreateEventSubscr } } - var r1 *rds.CreateEventSubscriptionOutput if rf, ok := ret.Get(1).(func(*rds.CreateEventSubscriptionInput) *rds.CreateEventSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2344,10 @@ func (_m *MockFakeRDS) CreateEventSubscriptionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.CreateEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateEventSubscriptionInput, ...request.Option) (*rds.CreateEventSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateEventSubscriptionInput, ...request.Option) *rds.CreateEventSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2356,6 @@ func (_m *MockFakeRDS) CreateEventSubscriptionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateEventSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2370,10 @@ func (_m *MockFakeRDS) CreateGlobalCluster(_a0 *rds.CreateGlobalClusterInput) (* ret := _m.Called(_a0) var r0 *rds.CreateGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateGlobalClusterInput) (*rds.CreateGlobalClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateGlobalClusterInput) *rds.CreateGlobalClusterOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2382,6 @@ func (_m *MockFakeRDS) CreateGlobalCluster(_a0 *rds.CreateGlobalClusterInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateGlobalClusterInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2396,10 @@ func (_m *MockFakeRDS) CreateGlobalClusterRequest(_a0 *rds.CreateGlobalClusterIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateGlobalClusterOutput + if rf, ok := ret.Get(0).(func(*rds.CreateGlobalClusterInput) (*request.Request, *rds.CreateGlobalClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateGlobalClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2408,6 @@ func (_m *MockFakeRDS) CreateGlobalClusterRequest(_a0 *rds.CreateGlobalClusterIn } } - var r1 *rds.CreateGlobalClusterOutput if rf, ok := ret.Get(1).(func(*rds.CreateGlobalClusterInput) *rds.CreateGlobalClusterOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2431,10 @@ func (_m *MockFakeRDS) CreateGlobalClusterWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.CreateGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateGlobalClusterInput, ...request.Option) (*rds.CreateGlobalClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateGlobalClusterInput, ...request.Option) *rds.CreateGlobalClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2443,6 @@ func (_m *MockFakeRDS) CreateGlobalClusterWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateGlobalClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2457,10 @@ func (_m *MockFakeRDS) CreateOptionGroup(_a0 *rds.CreateOptionGroupInput) (*rds. ret := _m.Called(_a0) var r0 *rds.CreateOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.CreateOptionGroupInput) (*rds.CreateOptionGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateOptionGroupInput) *rds.CreateOptionGroupOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2469,6 @@ func (_m *MockFakeRDS) CreateOptionGroup(_a0 *rds.CreateOptionGroupInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.CreateOptionGroupInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2483,10 @@ func (_m *MockFakeRDS) CreateOptionGroupRequest(_a0 *rds.CreateOptionGroupInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.CreateOptionGroupOutput + if rf, ok := ret.Get(0).(func(*rds.CreateOptionGroupInput) (*request.Request, *rds.CreateOptionGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.CreateOptionGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2495,6 @@ func (_m *MockFakeRDS) CreateOptionGroupRequest(_a0 *rds.CreateOptionGroupInput) } } - var r1 *rds.CreateOptionGroupOutput if rf, ok := ret.Get(1).(func(*rds.CreateOptionGroupInput) *rds.CreateOptionGroupOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2518,10 @@ func (_m *MockFakeRDS) CreateOptionGroupWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.CreateOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateOptionGroupInput, ...request.Option) (*rds.CreateOptionGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.CreateOptionGroupInput, ...request.Option) *rds.CreateOptionGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2530,6 @@ func (_m *MockFakeRDS) CreateOptionGroupWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.CreateOptionGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2278,21 +2539,24 @@ func (_m *MockFakeRDS) CreateOptionGroupWithContext(_a0 context.Context, _a1 *rd return r0, r1 } -// DeleteCustomAvailabilityZone provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DeleteCustomAvailabilityZone(_a0 *rds.DeleteCustomAvailabilityZoneInput) (*rds.DeleteCustomAvailabilityZoneOutput, error) { +// DeleteCustomDBEngineVersion provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) DeleteCustomDBEngineVersion(_a0 *rds.DeleteCustomDBEngineVersionInput) (*rds.DeleteCustomDBEngineVersionOutput, error) { ret := _m.Called(_a0) - var r0 *rds.DeleteCustomAvailabilityZoneOutput - if rf, ok := ret.Get(0).(func(*rds.DeleteCustomAvailabilityZoneInput) *rds.DeleteCustomAvailabilityZoneOutput); ok { + var r0 *rds.DeleteCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteCustomDBEngineVersionInput) (*rds.DeleteCustomDBEngineVersionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.DeleteCustomDBEngineVersionInput) *rds.DeleteCustomDBEngineVersionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DeleteCustomAvailabilityZoneOutput) + r0 = ret.Get(0).(*rds.DeleteCustomDBEngineVersionOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.DeleteCustomAvailabilityZoneInput) error); ok { + if rf, ok := ret.Get(1).(func(*rds.DeleteCustomDBEngineVersionInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2301,12 +2565,16 @@ func (_m *MockFakeRDS) DeleteCustomAvailabilityZone(_a0 *rds.DeleteCustomAvailab return r0, r1 } -// DeleteCustomAvailabilityZoneRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DeleteCustomAvailabilityZoneRequest(_a0 *rds.DeleteCustomAvailabilityZoneInput) (*request.Request, *rds.DeleteCustomAvailabilityZoneOutput) { +// DeleteCustomDBEngineVersionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) DeleteCustomDBEngineVersionRequest(_a0 *rds.DeleteCustomDBEngineVersionInput) (*request.Request, *rds.DeleteCustomDBEngineVersionOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DeleteCustomAvailabilityZoneInput) *request.Request); ok { + var r1 *rds.DeleteCustomDBEngineVersionOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteCustomDBEngineVersionInput) (*request.Request, *rds.DeleteCustomDBEngineVersionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.DeleteCustomDBEngineVersionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2314,20 +2582,19 @@ func (_m *MockFakeRDS) DeleteCustomAvailabilityZoneRequest(_a0 *rds.DeleteCustom } } - var r1 *rds.DeleteCustomAvailabilityZoneOutput - if rf, ok := ret.Get(1).(func(*rds.DeleteCustomAvailabilityZoneInput) *rds.DeleteCustomAvailabilityZoneOutput); ok { + if rf, ok := ret.Get(1).(func(*rds.DeleteCustomDBEngineVersionInput) *rds.DeleteCustomDBEngineVersionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.DeleteCustomAvailabilityZoneOutput) + r1 = ret.Get(1).(*rds.DeleteCustomDBEngineVersionOutput) } } return r0, r1 } -// DeleteCustomAvailabilityZoneWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) DeleteCustomAvailabilityZoneWithContext(_a0 context.Context, _a1 *rds.DeleteCustomAvailabilityZoneInput, _a2 ...request.Option) (*rds.DeleteCustomAvailabilityZoneOutput, error) { +// DeleteCustomDBEngineVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) DeleteCustomDBEngineVersionWithContext(_a0 context.Context, _a1 *rds.DeleteCustomDBEngineVersionInput, _a2 ...request.Option) (*rds.DeleteCustomDBEngineVersionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2337,17 +2604,20 @@ func (_m *MockFakeRDS) DeleteCustomAvailabilityZoneWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *rds.DeleteCustomAvailabilityZoneOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteCustomAvailabilityZoneInput, ...request.Option) *rds.DeleteCustomAvailabilityZoneOutput); ok { + var r0 *rds.DeleteCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteCustomDBEngineVersionInput, ...request.Option) (*rds.DeleteCustomDBEngineVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteCustomDBEngineVersionInput, ...request.Option) *rds.DeleteCustomDBEngineVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DeleteCustomAvailabilityZoneOutput) + r0 = ret.Get(0).(*rds.DeleteCustomDBEngineVersionOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteCustomAvailabilityZoneInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteCustomDBEngineVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2361,6 +2631,10 @@ func (_m *MockFakeRDS) DeleteDBCluster(_a0 *rds.DeleteDBClusterInput) (*rds.Dele ret := _m.Called(_a0) var r0 *rds.DeleteDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterInput) (*rds.DeleteDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterInput) *rds.DeleteDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -2369,7 +2643,6 @@ func (_m *MockFakeRDS) DeleteDBCluster(_a0 *rds.DeleteDBClusterInput) (*rds.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -2384,6 +2657,10 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpoint(_a0 *rds.DeleteDBClusterEndpointI ret := _m.Called(_a0) var r0 *rds.DeleteDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterEndpointInput) (*rds.DeleteDBClusterEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterEndpointInput) *rds.DeleteDBClusterEndpointOutput); ok { r0 = rf(_a0) } else { @@ -2392,7 +2669,6 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpoint(_a0 *rds.DeleteDBClusterEndpointI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -2407,6 +2683,10 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpointRequest(_a0 *rds.DeleteDBClusterEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBClusterEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterEndpointInput) (*request.Request, *rds.DeleteDBClusterEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2415,7 +2695,6 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpointRequest(_a0 *rds.DeleteDBClusterEn } } - var r1 *rds.DeleteDBClusterEndpointOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterEndpointInput) *rds.DeleteDBClusterEndpointOutput); ok { r1 = rf(_a0) } else { @@ -2439,6 +2718,10 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.DeleteDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterEndpointInput, ...request.Option) (*rds.DeleteDBClusterEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterEndpointInput, ...request.Option) *rds.DeleteDBClusterEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2447,7 +2730,6 @@ func (_m *MockFakeRDS) DeleteDBClusterEndpointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBClusterEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2462,6 +2744,10 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroup(_a0 *rds.DeleteDBClusterPar ret := _m.Called(_a0) var r0 *rds.DeleteDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterParameterGroupInput) (*rds.DeleteDBClusterParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterParameterGroupInput) *rds.DeleteDBClusterParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -2470,7 +2756,6 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroup(_a0 *rds.DeleteDBClusterPar } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -2485,6 +2770,10 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroupRequest(_a0 *rds.DeleteDBClu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBClusterParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterParameterGroupInput) (*request.Request, *rds.DeleteDBClusterParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2493,7 +2782,6 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroupRequest(_a0 *rds.DeleteDBClu } } - var r1 *rds.DeleteDBClusterParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterParameterGroupInput) *rds.DeleteDBClusterParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -2517,6 +2805,10 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroupWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *rds.DeleteDBClusterParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterParameterGroupInput, ...request.Option) (*rds.DeleteDBClusterParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterParameterGroupInput, ...request.Option) *rds.DeleteDBClusterParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2525,7 +2817,6 @@ func (_m *MockFakeRDS) DeleteDBClusterParameterGroupWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBClusterParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2540,6 +2831,10 @@ func (_m *MockFakeRDS) DeleteDBClusterRequest(_a0 *rds.DeleteDBClusterInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterInput) (*request.Request, *rds.DeleteDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2548,7 +2843,6 @@ func (_m *MockFakeRDS) DeleteDBClusterRequest(_a0 *rds.DeleteDBClusterInput) (*r } } - var r1 *rds.DeleteDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterInput) *rds.DeleteDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -2565,6 +2859,10 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshot(_a0 *rds.DeleteDBClusterSnapshotI ret := _m.Called(_a0) var r0 *rds.DeleteDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterSnapshotInput) (*rds.DeleteDBClusterSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterSnapshotInput) *rds.DeleteDBClusterSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -2573,7 +2871,6 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshot(_a0 *rds.DeleteDBClusterSnapshotI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -2588,6 +2885,10 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshotRequest(_a0 *rds.DeleteDBClusterSn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBClusterSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterSnapshotInput) (*request.Request, *rds.DeleteDBClusterSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBClusterSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2596,7 +2897,6 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshotRequest(_a0 *rds.DeleteDBClusterSn } } - var r1 *rds.DeleteDBClusterSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBClusterSnapshotInput) *rds.DeleteDBClusterSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -2620,6 +2920,10 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshotWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.DeleteDBClusterSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterSnapshotInput, ...request.Option) (*rds.DeleteDBClusterSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterSnapshotInput, ...request.Option) *rds.DeleteDBClusterSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2628,7 +2932,6 @@ func (_m *MockFakeRDS) DeleteDBClusterSnapshotWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBClusterSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2650,6 +2953,10 @@ func (_m *MockFakeRDS) DeleteDBClusterWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.DeleteDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterInput, ...request.Option) (*rds.DeleteDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBClusterInput, ...request.Option) *rds.DeleteDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2658,7 +2965,6 @@ func (_m *MockFakeRDS) DeleteDBClusterWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2673,6 +2979,10 @@ func (_m *MockFakeRDS) DeleteDBInstance(_a0 *rds.DeleteDBInstanceInput) (*rds.De ret := _m.Called(_a0) var r0 *rds.DeleteDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceInput) (*rds.DeleteDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceInput) *rds.DeleteDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -2681,7 +2991,6 @@ func (_m *MockFakeRDS) DeleteDBInstance(_a0 *rds.DeleteDBInstanceInput) (*rds.De } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -2696,6 +3005,10 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackup(_a0 *rds.DeleteDBInstance ret := _m.Called(_a0) var r0 *rds.DeleteDBInstanceAutomatedBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceAutomatedBackupInput) (*rds.DeleteDBInstanceAutomatedBackupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceAutomatedBackupInput) *rds.DeleteDBInstanceAutomatedBackupOutput); ok { r0 = rf(_a0) } else { @@ -2704,7 +3017,6 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackup(_a0 *rds.DeleteDBInstance } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBInstanceAutomatedBackupInput) error); ok { r1 = rf(_a0) } else { @@ -2719,6 +3031,10 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackupRequest(_a0 *rds.DeleteDBI ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBInstanceAutomatedBackupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceAutomatedBackupInput) (*request.Request, *rds.DeleteDBInstanceAutomatedBackupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceAutomatedBackupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2727,7 +3043,6 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackupRequest(_a0 *rds.DeleteDBI } } - var r1 *rds.DeleteDBInstanceAutomatedBackupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBInstanceAutomatedBackupInput) *rds.DeleteDBInstanceAutomatedBackupOutput); ok { r1 = rf(_a0) } else { @@ -2751,6 +3066,10 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackupWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *rds.DeleteDBInstanceAutomatedBackupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBInstanceAutomatedBackupInput, ...request.Option) (*rds.DeleteDBInstanceAutomatedBackupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBInstanceAutomatedBackupInput, ...request.Option) *rds.DeleteDBInstanceAutomatedBackupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2759,7 +3078,6 @@ func (_m *MockFakeRDS) DeleteDBInstanceAutomatedBackupWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBInstanceAutomatedBackupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2774,6 +3092,10 @@ func (_m *MockFakeRDS) DeleteDBInstanceRequest(_a0 *rds.DeleteDBInstanceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceInput) (*request.Request, *rds.DeleteDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2782,7 +3104,6 @@ func (_m *MockFakeRDS) DeleteDBInstanceRequest(_a0 *rds.DeleteDBInstanceInput) ( } } - var r1 *rds.DeleteDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBInstanceInput) *rds.DeleteDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -2806,6 +3127,10 @@ func (_m *MockFakeRDS) DeleteDBInstanceWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.DeleteDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBInstanceInput, ...request.Option) (*rds.DeleteDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBInstanceInput, ...request.Option) *rds.DeleteDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2814,7 +3139,6 @@ func (_m *MockFakeRDS) DeleteDBInstanceWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2829,6 +3153,10 @@ func (_m *MockFakeRDS) DeleteDBParameterGroup(_a0 *rds.DeleteDBParameterGroupInp ret := _m.Called(_a0) var r0 *rds.DeleteDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBParameterGroupInput) (*rds.DeleteDBParameterGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBParameterGroupInput) *rds.DeleteDBParameterGroupOutput); ok { r0 = rf(_a0) } else { @@ -2837,7 +3165,6 @@ func (_m *MockFakeRDS) DeleteDBParameterGroup(_a0 *rds.DeleteDBParameterGroupInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -2852,6 +3179,10 @@ func (_m *MockFakeRDS) DeleteDBParameterGroupRequest(_a0 *rds.DeleteDBParameterG ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBParameterGroupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBParameterGroupInput) (*request.Request, *rds.DeleteDBParameterGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2860,7 +3191,6 @@ func (_m *MockFakeRDS) DeleteDBParameterGroupRequest(_a0 *rds.DeleteDBParameterG } } - var r1 *rds.DeleteDBParameterGroupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBParameterGroupInput) *rds.DeleteDBParameterGroupOutput); ok { r1 = rf(_a0) } else { @@ -2884,6 +3214,10 @@ func (_m *MockFakeRDS) DeleteDBParameterGroupWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.DeleteDBParameterGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBParameterGroupInput, ...request.Option) (*rds.DeleteDBParameterGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBParameterGroupInput, ...request.Option) *rds.DeleteDBParameterGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2892,7 +3226,6 @@ func (_m *MockFakeRDS) DeleteDBParameterGroupWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2907,6 +3240,10 @@ func (_m *MockFakeRDS) DeleteDBProxy(_a0 *rds.DeleteDBProxyInput) (*rds.DeleteDB ret := _m.Called(_a0) var r0 *rds.DeleteDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyInput) (*rds.DeleteDBProxyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyInput) *rds.DeleteDBProxyOutput); ok { r0 = rf(_a0) } else { @@ -2915,7 +3252,6 @@ func (_m *MockFakeRDS) DeleteDBProxy(_a0 *rds.DeleteDBProxyInput) (*rds.DeleteDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBProxyInput) error); ok { r1 = rf(_a0) } else { @@ -2930,6 +3266,10 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpoint(_a0 *rds.DeleteDBProxyEndpointInput ret := _m.Called(_a0) var r0 *rds.DeleteDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyEndpointInput) (*rds.DeleteDBProxyEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyEndpointInput) *rds.DeleteDBProxyEndpointOutput); ok { r0 = rf(_a0) } else { @@ -2938,7 +3278,6 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpoint(_a0 *rds.DeleteDBProxyEndpointInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBProxyEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -2953,6 +3292,10 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpointRequest(_a0 *rds.DeleteDBProxyEndpoi ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBProxyEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyEndpointInput) (*request.Request, *rds.DeleteDBProxyEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2961,7 +3304,6 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpointRequest(_a0 *rds.DeleteDBProxyEndpoi } } - var r1 *rds.DeleteDBProxyEndpointOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBProxyEndpointInput) *rds.DeleteDBProxyEndpointOutput); ok { r1 = rf(_a0) } else { @@ -2985,6 +3327,10 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpointWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DeleteDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBProxyEndpointInput, ...request.Option) (*rds.DeleteDBProxyEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBProxyEndpointInput, ...request.Option) *rds.DeleteDBProxyEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2993,7 +3339,6 @@ func (_m *MockFakeRDS) DeleteDBProxyEndpointWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBProxyEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3008,6 +3353,10 @@ func (_m *MockFakeRDS) DeleteDBProxyRequest(_a0 *rds.DeleteDBProxyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBProxyOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyInput) (*request.Request, *rds.DeleteDBProxyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBProxyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3016,7 +3365,6 @@ func (_m *MockFakeRDS) DeleteDBProxyRequest(_a0 *rds.DeleteDBProxyInput) (*reque } } - var r1 *rds.DeleteDBProxyOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBProxyInput) *rds.DeleteDBProxyOutput); ok { r1 = rf(_a0) } else { @@ -3040,6 +3388,10 @@ func (_m *MockFakeRDS) DeleteDBProxyWithContext(_a0 context.Context, _a1 *rds.De ret := _m.Called(_ca...) var r0 *rds.DeleteDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBProxyInput, ...request.Option) (*rds.DeleteDBProxyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBProxyInput, ...request.Option) *rds.DeleteDBProxyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3048,7 +3400,6 @@ func (_m *MockFakeRDS) DeleteDBProxyWithContext(_a0 context.Context, _a1 *rds.De } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBProxyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3063,6 +3414,10 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroup(_a0 *rds.DeleteDBSecurityGroupInput ret := _m.Called(_a0) var r0 *rds.DeleteDBSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSecurityGroupInput) (*rds.DeleteDBSecurityGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSecurityGroupInput) *rds.DeleteDBSecurityGroupOutput); ok { r0 = rf(_a0) } else { @@ -3071,7 +3426,6 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroup(_a0 *rds.DeleteDBSecurityGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBSecurityGroupInput) error); ok { r1 = rf(_a0) } else { @@ -3086,6 +3440,10 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroupRequest(_a0 *rds.DeleteDBSecurityGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBSecurityGroupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSecurityGroupInput) (*request.Request, *rds.DeleteDBSecurityGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSecurityGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3094,7 +3452,6 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroupRequest(_a0 *rds.DeleteDBSecurityGro } } - var r1 *rds.DeleteDBSecurityGroupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBSecurityGroupInput) *rds.DeleteDBSecurityGroupOutput); ok { r1 = rf(_a0) } else { @@ -3118,6 +3475,10 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DeleteDBSecurityGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSecurityGroupInput, ...request.Option) (*rds.DeleteDBSecurityGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSecurityGroupInput, ...request.Option) *rds.DeleteDBSecurityGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3126,7 +3487,6 @@ func (_m *MockFakeRDS) DeleteDBSecurityGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBSecurityGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3141,6 +3501,10 @@ func (_m *MockFakeRDS) DeleteDBSnapshot(_a0 *rds.DeleteDBSnapshotInput) (*rds.De ret := _m.Called(_a0) var r0 *rds.DeleteDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSnapshotInput) (*rds.DeleteDBSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSnapshotInput) *rds.DeleteDBSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -3149,7 +3513,6 @@ func (_m *MockFakeRDS) DeleteDBSnapshot(_a0 *rds.DeleteDBSnapshotInput) (*rds.De } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -3164,6 +3527,10 @@ func (_m *MockFakeRDS) DeleteDBSnapshotRequest(_a0 *rds.DeleteDBSnapshotInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSnapshotInput) (*request.Request, *rds.DeleteDBSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3172,7 +3539,6 @@ func (_m *MockFakeRDS) DeleteDBSnapshotRequest(_a0 *rds.DeleteDBSnapshotInput) ( } } - var r1 *rds.DeleteDBSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBSnapshotInput) *rds.DeleteDBSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -3196,6 +3562,10 @@ func (_m *MockFakeRDS) DeleteDBSnapshotWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.DeleteDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSnapshotInput, ...request.Option) (*rds.DeleteDBSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSnapshotInput, ...request.Option) *rds.DeleteDBSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3204,7 +3574,6 @@ func (_m *MockFakeRDS) DeleteDBSnapshotWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3219,6 +3588,10 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroup(_a0 *rds.DeleteDBSubnetGroupInput) (* ret := _m.Called(_a0) var r0 *rds.DeleteDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSubnetGroupInput) (*rds.DeleteDBSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSubnetGroupInput) *rds.DeleteDBSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -3227,7 +3600,6 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroup(_a0 *rds.DeleteDBSubnetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteDBSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -3242,6 +3614,10 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroupRequest(_a0 *rds.DeleteDBSubnetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteDBSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteDBSubnetGroupInput) (*request.Request, *rds.DeleteDBSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteDBSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3250,7 +3626,6 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroupRequest(_a0 *rds.DeleteDBSubnetGroupIn } } - var r1 *rds.DeleteDBSubnetGroupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteDBSubnetGroupInput) *rds.DeleteDBSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -3274,6 +3649,10 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.DeleteDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSubnetGroupInput, ...request.Option) (*rds.DeleteDBSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteDBSubnetGroupInput, ...request.Option) *rds.DeleteDBSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3282,7 +3661,6 @@ func (_m *MockFakeRDS) DeleteDBSubnetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteDBSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3297,6 +3675,10 @@ func (_m *MockFakeRDS) DeleteEventSubscription(_a0 *rds.DeleteEventSubscriptionI ret := _m.Called(_a0) var r0 *rds.DeleteEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteEventSubscriptionInput) (*rds.DeleteEventSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteEventSubscriptionInput) *rds.DeleteEventSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -3305,7 +3687,6 @@ func (_m *MockFakeRDS) DeleteEventSubscription(_a0 *rds.DeleteEventSubscriptionI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteEventSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -3320,6 +3701,10 @@ func (_m *MockFakeRDS) DeleteEventSubscriptionRequest(_a0 *rds.DeleteEventSubscr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteEventSubscriptionOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteEventSubscriptionInput) (*request.Request, *rds.DeleteEventSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteEventSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3328,7 +3713,6 @@ func (_m *MockFakeRDS) DeleteEventSubscriptionRequest(_a0 *rds.DeleteEventSubscr } } - var r1 *rds.DeleteEventSubscriptionOutput if rf, ok := ret.Get(1).(func(*rds.DeleteEventSubscriptionInput) *rds.DeleteEventSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -3352,6 +3736,10 @@ func (_m *MockFakeRDS) DeleteEventSubscriptionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.DeleteEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteEventSubscriptionInput, ...request.Option) (*rds.DeleteEventSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteEventSubscriptionInput, ...request.Option) *rds.DeleteEventSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3360,7 +3748,6 @@ func (_m *MockFakeRDS) DeleteEventSubscriptionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteEventSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3375,6 +3762,10 @@ func (_m *MockFakeRDS) DeleteGlobalCluster(_a0 *rds.DeleteGlobalClusterInput) (* ret := _m.Called(_a0) var r0 *rds.DeleteGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteGlobalClusterInput) (*rds.DeleteGlobalClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteGlobalClusterInput) *rds.DeleteGlobalClusterOutput); ok { r0 = rf(_a0) } else { @@ -3383,7 +3774,6 @@ func (_m *MockFakeRDS) DeleteGlobalCluster(_a0 *rds.DeleteGlobalClusterInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteGlobalClusterInput) error); ok { r1 = rf(_a0) } else { @@ -3398,6 +3788,10 @@ func (_m *MockFakeRDS) DeleteGlobalClusterRequest(_a0 *rds.DeleteGlobalClusterIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteGlobalClusterOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteGlobalClusterInput) (*request.Request, *rds.DeleteGlobalClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteGlobalClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3406,7 +3800,6 @@ func (_m *MockFakeRDS) DeleteGlobalClusterRequest(_a0 *rds.DeleteGlobalClusterIn } } - var r1 *rds.DeleteGlobalClusterOutput if rf, ok := ret.Get(1).(func(*rds.DeleteGlobalClusterInput) *rds.DeleteGlobalClusterOutput); ok { r1 = rf(_a0) } else { @@ -3430,6 +3823,10 @@ func (_m *MockFakeRDS) DeleteGlobalClusterWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.DeleteGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteGlobalClusterInput, ...request.Option) (*rds.DeleteGlobalClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteGlobalClusterInput, ...request.Option) *rds.DeleteGlobalClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3438,7 +3835,6 @@ func (_m *MockFakeRDS) DeleteGlobalClusterWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteGlobalClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3448,89 +3844,15 @@ func (_m *MockFakeRDS) DeleteGlobalClusterWithContext(_a0 context.Context, _a1 * return r0, r1 } -// DeleteInstallationMedia provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DeleteInstallationMedia(_a0 *rds.DeleteInstallationMediaInput) (*rds.DeleteInstallationMediaOutput, error) { - ret := _m.Called(_a0) - - var r0 *rds.DeleteInstallationMediaOutput - if rf, ok := ret.Get(0).(func(*rds.DeleteInstallationMediaInput) *rds.DeleteInstallationMediaOutput); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DeleteInstallationMediaOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(*rds.DeleteInstallationMediaInput) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DeleteInstallationMediaRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DeleteInstallationMediaRequest(_a0 *rds.DeleteInstallationMediaInput) (*request.Request, *rds.DeleteInstallationMediaOutput) { - ret := _m.Called(_a0) - - var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DeleteInstallationMediaInput) *request.Request); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } - } - - var r1 *rds.DeleteInstallationMediaOutput - if rf, ok := ret.Get(1).(func(*rds.DeleteInstallationMediaInput) *rds.DeleteInstallationMediaOutput); ok { - r1 = rf(_a0) - } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.DeleteInstallationMediaOutput) - } - } - - return r0, r1 -} - -// DeleteInstallationMediaWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) DeleteInstallationMediaWithContext(_a0 context.Context, _a1 *rds.DeleteInstallationMediaInput, _a2 ...request.Option) (*rds.DeleteInstallationMediaOutput, error) { - _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 *rds.DeleteInstallationMediaOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteInstallationMediaInput, ...request.Option) *rds.DeleteInstallationMediaOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DeleteInstallationMediaOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteInstallationMediaInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - // DeleteOptionGroup provides a mock function with given fields: _a0 func (_m *MockFakeRDS) DeleteOptionGroup(_a0 *rds.DeleteOptionGroupInput) (*rds.DeleteOptionGroupOutput, error) { ret := _m.Called(_a0) var r0 *rds.DeleteOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeleteOptionGroupInput) (*rds.DeleteOptionGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteOptionGroupInput) *rds.DeleteOptionGroupOutput); ok { r0 = rf(_a0) } else { @@ -3539,7 +3861,6 @@ func (_m *MockFakeRDS) DeleteOptionGroup(_a0 *rds.DeleteOptionGroupInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeleteOptionGroupInput) error); ok { r1 = rf(_a0) } else { @@ -3554,6 +3875,10 @@ func (_m *MockFakeRDS) DeleteOptionGroupRequest(_a0 *rds.DeleteOptionGroupInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeleteOptionGroupOutput + if rf, ok := ret.Get(0).(func(*rds.DeleteOptionGroupInput) (*request.Request, *rds.DeleteOptionGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeleteOptionGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3562,7 +3887,6 @@ func (_m *MockFakeRDS) DeleteOptionGroupRequest(_a0 *rds.DeleteOptionGroupInput) } } - var r1 *rds.DeleteOptionGroupOutput if rf, ok := ret.Get(1).(func(*rds.DeleteOptionGroupInput) *rds.DeleteOptionGroupOutput); ok { r1 = rf(_a0) } else { @@ -3586,6 +3910,10 @@ func (_m *MockFakeRDS) DeleteOptionGroupWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.DeleteOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteOptionGroupInput, ...request.Option) (*rds.DeleteOptionGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeleteOptionGroupInput, ...request.Option) *rds.DeleteOptionGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3594,7 +3922,6 @@ func (_m *MockFakeRDS) DeleteOptionGroupWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeleteOptionGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3609,6 +3936,10 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargets(_a0 *rds.DeregisterDBProxyTarget ret := _m.Called(_a0) var r0 *rds.DeregisterDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DeregisterDBProxyTargetsInput) (*rds.DeregisterDBProxyTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeregisterDBProxyTargetsInput) *rds.DeregisterDBProxyTargetsOutput); ok { r0 = rf(_a0) } else { @@ -3617,7 +3948,6 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargets(_a0 *rds.DeregisterDBProxyTarget } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DeregisterDBProxyTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -3632,6 +3962,10 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargetsRequest(_a0 *rds.DeregisterDBProx ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DeregisterDBProxyTargetsOutput + if rf, ok := ret.Get(0).(func(*rds.DeregisterDBProxyTargetsInput) (*request.Request, *rds.DeregisterDBProxyTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DeregisterDBProxyTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3640,7 +3974,6 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargetsRequest(_a0 *rds.DeregisterDBProx } } - var r1 *rds.DeregisterDBProxyTargetsOutput if rf, ok := ret.Get(1).(func(*rds.DeregisterDBProxyTargetsInput) *rds.DeregisterDBProxyTargetsOutput); ok { r1 = rf(_a0) } else { @@ -3664,6 +3997,10 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargetsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DeregisterDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DeregisterDBProxyTargetsInput, ...request.Option) (*rds.DeregisterDBProxyTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DeregisterDBProxyTargetsInput, ...request.Option) *rds.DeregisterDBProxyTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3672,7 +4009,6 @@ func (_m *MockFakeRDS) DeregisterDBProxyTargetsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DeregisterDBProxyTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3687,6 +4023,10 @@ func (_m *MockFakeRDS) DescribeAccountAttributes(_a0 *rds.DescribeAccountAttribu ret := _m.Called(_a0) var r0 *rds.DescribeAccountAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeAccountAttributesInput) (*rds.DescribeAccountAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeAccountAttributesInput) *rds.DescribeAccountAttributesOutput); ok { r0 = rf(_a0) } else { @@ -3695,7 +4035,6 @@ func (_m *MockFakeRDS) DescribeAccountAttributes(_a0 *rds.DescribeAccountAttribu } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeAccountAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -3710,6 +4049,10 @@ func (_m *MockFakeRDS) DescribeAccountAttributesRequest(_a0 *rds.DescribeAccount ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeAccountAttributesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeAccountAttributesInput) (*request.Request, *rds.DescribeAccountAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeAccountAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3718,7 +4061,6 @@ func (_m *MockFakeRDS) DescribeAccountAttributesRequest(_a0 *rds.DescribeAccount } } - var r1 *rds.DescribeAccountAttributesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeAccountAttributesInput) *rds.DescribeAccountAttributesOutput); ok { r1 = rf(_a0) } else { @@ -3742,6 +4084,10 @@ func (_m *MockFakeRDS) DescribeAccountAttributesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DescribeAccountAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeAccountAttributesInput, ...request.Option) (*rds.DescribeAccountAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeAccountAttributesInput, ...request.Option) *rds.DescribeAccountAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3750,7 +4096,6 @@ func (_m *MockFakeRDS) DescribeAccountAttributesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeAccountAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3765,6 +4110,10 @@ func (_m *MockFakeRDS) DescribeCertificates(_a0 *rds.DescribeCertificatesInput) ret := _m.Called(_a0) var r0 *rds.DescribeCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeCertificatesInput) (*rds.DescribeCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeCertificatesInput) *rds.DescribeCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -3773,7 +4122,6 @@ func (_m *MockFakeRDS) DescribeCertificates(_a0 *rds.DescribeCertificatesInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -3823,6 +4171,10 @@ func (_m *MockFakeRDS) DescribeCertificatesRequest(_a0 *rds.DescribeCertificates ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeCertificatesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeCertificatesInput) (*request.Request, *rds.DescribeCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3831,7 +4183,6 @@ func (_m *MockFakeRDS) DescribeCertificatesRequest(_a0 *rds.DescribeCertificates } } - var r1 *rds.DescribeCertificatesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeCertificatesInput) *rds.DescribeCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -3855,6 +4206,10 @@ func (_m *MockFakeRDS) DescribeCertificatesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DescribeCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeCertificatesInput, ...request.Option) (*rds.DescribeCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeCertificatesInput, ...request.Option) *rds.DescribeCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3863,7 +4218,6 @@ func (_m *MockFakeRDS) DescribeCertificatesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3873,21 +4227,24 @@ func (_m *MockFakeRDS) DescribeCertificatesWithContext(_a0 context.Context, _a1 return r0, r1 } -// DescribeCustomAvailabilityZones provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeCustomAvailabilityZones(_a0 *rds.DescribeCustomAvailabilityZonesInput) (*rds.DescribeCustomAvailabilityZonesOutput, error) { +// DescribeDBClusterBacktracks provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) DescribeDBClusterBacktracks(_a0 *rds.DescribeDBClusterBacktracksInput) (*rds.DescribeDBClusterBacktracksOutput, error) { ret := _m.Called(_a0) - var r0 *rds.DescribeCustomAvailabilityZonesOutput - if rf, ok := ret.Get(0).(func(*rds.DescribeCustomAvailabilityZonesInput) *rds.DescribeCustomAvailabilityZonesOutput); ok { + var r0 *rds.DescribeDBClusterBacktracksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) (*rds.DescribeDBClusterBacktracksOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) *rds.DescribeDBClusterBacktracksOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DescribeCustomAvailabilityZonesOutput) + r0 = ret.Get(0).(*rds.DescribeDBClusterBacktracksOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.DescribeCustomAvailabilityZonesInput) error); ok { + if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterBacktracksInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3896,12 +4253,12 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZones(_a0 *rds.DescribeCustomAv return r0, r1 } -// DescribeCustomAvailabilityZonesPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesPages(_a0 *rds.DescribeCustomAvailabilityZonesInput, _a1 func(*rds.DescribeCustomAvailabilityZonesOutput, bool) bool) error { +// DescribeDBClusterBacktracksPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeRDS) DescribeDBClusterBacktracksPages(_a0 *rds.DescribeDBClusterBacktracksInput, _a1 func(*rds.DescribeDBClusterBacktracksOutput, bool) bool) error { ret := _m.Called(_a0, _a1) var r0 error - if rf, ok := ret.Get(0).(func(*rds.DescribeCustomAvailabilityZonesInput, func(*rds.DescribeCustomAvailabilityZonesOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput, func(*rds.DescribeDBClusterBacktracksOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -3910,8 +4267,8 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesPages(_a0 *rds.DescribeCus return r0 } -// DescribeCustomAvailabilityZonesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesPagesWithContext(_a0 context.Context, _a1 *rds.DescribeCustomAvailabilityZonesInput, _a2 func(*rds.DescribeCustomAvailabilityZonesOutput, bool) bool, _a3 ...request.Option) error { +// DescribeDBClusterBacktracksPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeRDS) DescribeDBClusterBacktracksPagesWithContext(_a0 context.Context, _a1 *rds.DescribeDBClusterBacktracksInput, _a2 func(*rds.DescribeDBClusterBacktracksOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -3922,7 +4279,7 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesPagesWithContext(_a0 conte ret := _m.Called(_ca...) var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeCustomAvailabilityZonesInput, func(*rds.DescribeCustomAvailabilityZonesOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterBacktracksInput, func(*rds.DescribeDBClusterBacktracksOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -3931,12 +4288,16 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesPagesWithContext(_a0 conte return r0 } -// DescribeCustomAvailabilityZonesRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesRequest(_a0 *rds.DescribeCustomAvailabilityZonesInput) (*request.Request, *rds.DescribeCustomAvailabilityZonesOutput) { +// DescribeDBClusterBacktracksRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) DescribeDBClusterBacktracksRequest(_a0 *rds.DescribeDBClusterBacktracksInput) (*request.Request, *rds.DescribeDBClusterBacktracksOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DescribeCustomAvailabilityZonesInput) *request.Request); ok { + var r1 *rds.DescribeDBClusterBacktracksOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) (*request.Request, *rds.DescribeDBClusterBacktracksOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3944,20 +4305,19 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesRequest(_a0 *rds.DescribeC } } - var r1 *rds.DescribeCustomAvailabilityZonesOutput - if rf, ok := ret.Get(1).(func(*rds.DescribeCustomAvailabilityZonesInput) *rds.DescribeCustomAvailabilityZonesOutput); ok { + if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterBacktracksInput) *rds.DescribeDBClusterBacktracksOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.DescribeCustomAvailabilityZonesOutput) + r1 = ret.Get(1).(*rds.DescribeDBClusterBacktracksOutput) } } return r0, r1 } -// DescribeCustomAvailabilityZonesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesWithContext(_a0 context.Context, _a1 *rds.DescribeCustomAvailabilityZonesInput, _a2 ...request.Option) (*rds.DescribeCustomAvailabilityZonesOutput, error) { +// DescribeDBClusterBacktracksWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) DescribeDBClusterBacktracksWithContext(_a0 context.Context, _a1 *rds.DescribeDBClusterBacktracksInput, _a2 ...request.Option) (*rds.DescribeDBClusterBacktracksOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3967,120 +4327,11 @@ func (_m *MockFakeRDS) DescribeCustomAvailabilityZonesWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *rds.DescribeCustomAvailabilityZonesOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeCustomAvailabilityZonesInput, ...request.Option) *rds.DescribeCustomAvailabilityZonesOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DescribeCustomAvailabilityZonesOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeCustomAvailabilityZonesInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DescribeDBClusterBacktracks provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeDBClusterBacktracks(_a0 *rds.DescribeDBClusterBacktracksInput) (*rds.DescribeDBClusterBacktracksOutput, error) { - ret := _m.Called(_a0) - var r0 *rds.DescribeDBClusterBacktracksOutput - if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) *rds.DescribeDBClusterBacktracksOutput); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DescribeDBClusterBacktracksOutput) - } - } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterBacktracksInput) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DescribeDBClusterBacktracksPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeRDS) DescribeDBClusterBacktracksPages(_a0 *rds.DescribeDBClusterBacktracksInput, _a1 func(*rds.DescribeDBClusterBacktracksOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput, func(*rds.DescribeDBClusterBacktracksOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// DescribeDBClusterBacktracksPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeRDS) DescribeDBClusterBacktracksPagesWithContext(_a0 context.Context, _a1 *rds.DescribeDBClusterBacktracksInput, _a2 func(*rds.DescribeDBClusterBacktracksOutput, bool) bool, _a3 ...request.Option) error { - _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, *rds.DescribeDBClusterBacktracksInput, func(*rds.DescribeDBClusterBacktracksOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// DescribeDBClusterBacktracksRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeDBClusterBacktracksRequest(_a0 *rds.DescribeDBClusterBacktracksInput) (*request.Request, *rds.DescribeDBClusterBacktracksOutput) { - ret := _m.Called(_a0) - - var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterBacktracksInput) *request.Request); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } - } - - var r1 *rds.DescribeDBClusterBacktracksOutput - if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterBacktracksInput) *rds.DescribeDBClusterBacktracksOutput); ok { - r1 = rf(_a0) - } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.DescribeDBClusterBacktracksOutput) - } - } - - return r0, r1 -} - -// DescribeDBClusterBacktracksWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) DescribeDBClusterBacktracksWithContext(_a0 context.Context, _a1 *rds.DescribeDBClusterBacktracksInput, _a2 ...request.Option) (*rds.DescribeDBClusterBacktracksOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterBacktracksInput, ...request.Option) (*rds.DescribeDBClusterBacktracksOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *rds.DescribeDBClusterBacktracksOutput if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterBacktracksInput, ...request.Option) *rds.DescribeDBClusterBacktracksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4089,7 +4340,6 @@ func (_m *MockFakeRDS) DescribeDBClusterBacktracksWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterBacktracksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4104,6 +4354,10 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpoints(_a0 *rds.DescribeDBClusterEndp ret := _m.Called(_a0) var r0 *rds.DescribeDBClusterEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterEndpointsInput) (*rds.DescribeDBClusterEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterEndpointsInput) *rds.DescribeDBClusterEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -4112,7 +4366,6 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpoints(_a0 *rds.DescribeDBClusterEndp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -4162,6 +4415,10 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpointsRequest(_a0 *rds.DescribeDBClus ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClusterEndpointsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterEndpointsInput) (*request.Request, *rds.DescribeDBClusterEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4170,7 +4427,6 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpointsRequest(_a0 *rds.DescribeDBClus } } - var r1 *rds.DescribeDBClusterEndpointsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterEndpointsInput) *rds.DescribeDBClusterEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -4194,6 +4450,10 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpointsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *rds.DescribeDBClusterEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterEndpointsInput, ...request.Option) (*rds.DescribeDBClusterEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterEndpointsInput, ...request.Option) *rds.DescribeDBClusterEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4202,7 +4462,6 @@ func (_m *MockFakeRDS) DescribeDBClusterEndpointsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4217,6 +4476,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroups(_a0 *rds.DescribeDBClust ret := _m.Called(_a0) var r0 *rds.DescribeDBClusterParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParameterGroupsInput) (*rds.DescribeDBClusterParameterGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParameterGroupsInput) *rds.DescribeDBClusterParameterGroupsOutput); ok { r0 = rf(_a0) } else { @@ -4225,7 +4488,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroups(_a0 *rds.DescribeDBClust } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterParameterGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -4275,6 +4537,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroupsRequest(_a0 *rds.Describe ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClusterParameterGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParameterGroupsInput) (*request.Request, *rds.DescribeDBClusterParameterGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParameterGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4283,7 +4549,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroupsRequest(_a0 *rds.Describe } } - var r1 *rds.DescribeDBClusterParameterGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterParameterGroupsInput) *rds.DescribeDBClusterParameterGroupsOutput); ok { r1 = rf(_a0) } else { @@ -4307,6 +4572,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroupsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *rds.DescribeDBClusterParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterParameterGroupsInput, ...request.Option) (*rds.DescribeDBClusterParameterGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterParameterGroupsInput, ...request.Option) *rds.DescribeDBClusterParameterGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4315,7 +4584,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParameterGroupsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterParameterGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4330,6 +4598,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParameters(_a0 *rds.DescribeDBClusterPar ret := _m.Called(_a0) var r0 *rds.DescribeDBClusterParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParametersInput) (*rds.DescribeDBClusterParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParametersInput) *rds.DescribeDBClusterParametersOutput); ok { r0 = rf(_a0) } else { @@ -4338,7 +4610,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParameters(_a0 *rds.DescribeDBClusterPar } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterParametersInput) error); ok { r1 = rf(_a0) } else { @@ -4388,6 +4659,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParametersRequest(_a0 *rds.DescribeDBClu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClusterParametersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParametersInput) (*request.Request, *rds.DescribeDBClusterParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4396,7 +4671,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParametersRequest(_a0 *rds.DescribeDBClu } } - var r1 *rds.DescribeDBClusterParametersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterParametersInput) *rds.DescribeDBClusterParametersOutput); ok { r1 = rf(_a0) } else { @@ -4420,6 +4694,10 @@ func (_m *MockFakeRDS) DescribeDBClusterParametersWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.DescribeDBClusterParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterParametersInput, ...request.Option) (*rds.DescribeDBClusterParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterParametersInput, ...request.Option) *rds.DescribeDBClusterParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4428,7 +4706,6 @@ func (_m *MockFakeRDS) DescribeDBClusterParametersWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4443,6 +4720,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributes(_a0 *rds.DescribeDBCl ret := _m.Called(_a0) var r0 *rds.DescribeDBClusterSnapshotAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotAttributesInput) (*rds.DescribeDBClusterSnapshotAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotAttributesInput) *rds.DescribeDBClusterSnapshotAttributesOutput); ok { r0 = rf(_a0) } else { @@ -4451,7 +4732,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributes(_a0 *rds.DescribeDBCl } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterSnapshotAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -4466,6 +4746,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributesRequest(_a0 *rds.Descr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClusterSnapshotAttributesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotAttributesInput) (*request.Request, *rds.DescribeDBClusterSnapshotAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4474,7 +4758,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributesRequest(_a0 *rds.Descr } } - var r1 *rds.DescribeDBClusterSnapshotAttributesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterSnapshotAttributesInput) *rds.DescribeDBClusterSnapshotAttributesOutput); ok { r1 = rf(_a0) } else { @@ -4498,6 +4781,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributesWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *rds.DescribeDBClusterSnapshotAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterSnapshotAttributesInput, ...request.Option) (*rds.DescribeDBClusterSnapshotAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterSnapshotAttributesInput, ...request.Option) *rds.DescribeDBClusterSnapshotAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4506,7 +4793,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotAttributesWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterSnapshotAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4521,6 +4807,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshots(_a0 *rds.DescribeDBClusterSnap ret := _m.Called(_a0) var r0 *rds.DescribeDBClusterSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotsInput) (*rds.DescribeDBClusterSnapshotsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotsInput) *rds.DescribeDBClusterSnapshotsOutput); ok { r0 = rf(_a0) } else { @@ -4529,7 +4819,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshots(_a0 *rds.DescribeDBClusterSnap } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterSnapshotsInput) error); ok { r1 = rf(_a0) } else { @@ -4579,6 +4868,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotsRequest(_a0 *rds.DescribeDBClus ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClusterSnapshotsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotsInput) (*request.Request, *rds.DescribeDBClusterSnapshotsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClusterSnapshotsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4587,7 +4880,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotsRequest(_a0 *rds.DescribeDBClus } } - var r1 *rds.DescribeDBClusterSnapshotsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClusterSnapshotsInput) *rds.DescribeDBClusterSnapshotsOutput); ok { r1 = rf(_a0) } else { @@ -4611,6 +4903,10 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *rds.DescribeDBClusterSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterSnapshotsInput, ...request.Option) (*rds.DescribeDBClusterSnapshotsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClusterSnapshotsInput, ...request.Option) *rds.DescribeDBClusterSnapshotsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4619,7 +4915,6 @@ func (_m *MockFakeRDS) DescribeDBClusterSnapshotsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClusterSnapshotsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4634,6 +4929,10 @@ func (_m *MockFakeRDS) DescribeDBClusters(_a0 *rds.DescribeDBClustersInput) (*rd ret := _m.Called(_a0) var r0 *rds.DescribeDBClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) (*rds.DescribeDBClustersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) *rds.DescribeDBClustersOutput); ok { r0 = rf(_a0) } else { @@ -4642,7 +4941,6 @@ func (_m *MockFakeRDS) DescribeDBClusters(_a0 *rds.DescribeDBClustersInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBClustersInput) error); ok { r1 = rf(_a0) } else { @@ -4692,6 +4990,10 @@ func (_m *MockFakeRDS) DescribeDBClustersRequest(_a0 *rds.DescribeDBClustersInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBClustersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) (*request.Request, *rds.DescribeDBClustersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4700,7 +5002,6 @@ func (_m *MockFakeRDS) DescribeDBClustersRequest(_a0 *rds.DescribeDBClustersInpu } } - var r1 *rds.DescribeDBClustersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBClustersInput) *rds.DescribeDBClustersOutput); ok { r1 = rf(_a0) } else { @@ -4724,6 +5025,10 @@ func (_m *MockFakeRDS) DescribeDBClustersWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.DescribeDBClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClustersInput, ...request.Option) (*rds.DescribeDBClustersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClustersInput, ...request.Option) *rds.DescribeDBClustersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4732,7 +5037,6 @@ func (_m *MockFakeRDS) DescribeDBClustersWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBClustersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4747,6 +5051,10 @@ func (_m *MockFakeRDS) DescribeDBEngineVersions(_a0 *rds.DescribeDBEngineVersion ret := _m.Called(_a0) var r0 *rds.DescribeDBEngineVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBEngineVersionsInput) (*rds.DescribeDBEngineVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBEngineVersionsInput) *rds.DescribeDBEngineVersionsOutput); ok { r0 = rf(_a0) } else { @@ -4755,7 +5063,6 @@ func (_m *MockFakeRDS) DescribeDBEngineVersions(_a0 *rds.DescribeDBEngineVersion } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBEngineVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4805,6 +5112,10 @@ func (_m *MockFakeRDS) DescribeDBEngineVersionsRequest(_a0 *rds.DescribeDBEngine ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBEngineVersionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBEngineVersionsInput) (*request.Request, *rds.DescribeDBEngineVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBEngineVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4813,7 +5124,6 @@ func (_m *MockFakeRDS) DescribeDBEngineVersionsRequest(_a0 *rds.DescribeDBEngine } } - var r1 *rds.DescribeDBEngineVersionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBEngineVersionsInput) *rds.DescribeDBEngineVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4837,6 +5147,10 @@ func (_m *MockFakeRDS) DescribeDBEngineVersionsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DescribeDBEngineVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBEngineVersionsInput, ...request.Option) (*rds.DescribeDBEngineVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBEngineVersionsInput, ...request.Option) *rds.DescribeDBEngineVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4845,7 +5159,6 @@ func (_m *MockFakeRDS) DescribeDBEngineVersionsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBEngineVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4860,6 +5173,10 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackups(_a0 *rds.DescribeDBIns ret := _m.Called(_a0) var r0 *rds.DescribeDBInstanceAutomatedBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) (*rds.DescribeDBInstanceAutomatedBackupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) *rds.DescribeDBInstanceAutomatedBackupsOutput); ok { r0 = rf(_a0) } else { @@ -4868,7 +5185,6 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackups(_a0 *rds.DescribeDBIns } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) error); ok { r1 = rf(_a0) } else { @@ -4918,6 +5234,10 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackupsRequest(_a0 *rds.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBInstanceAutomatedBackupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) (*request.Request, *rds.DescribeDBInstanceAutomatedBackupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4926,7 +5246,6 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackupsRequest(_a0 *rds.Descri } } - var r1 *rds.DescribeDBInstanceAutomatedBackupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBInstanceAutomatedBackupsInput) *rds.DescribeDBInstanceAutomatedBackupsOutput); ok { r1 = rf(_a0) } else { @@ -4950,6 +5269,10 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackupsWithContext(_a0 context ret := _m.Called(_ca...) var r0 *rds.DescribeDBInstanceAutomatedBackupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBInstanceAutomatedBackupsInput, ...request.Option) (*rds.DescribeDBInstanceAutomatedBackupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBInstanceAutomatedBackupsInput, ...request.Option) *rds.DescribeDBInstanceAutomatedBackupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4958,7 +5281,6 @@ func (_m *MockFakeRDS) DescribeDBInstanceAutomatedBackupsWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBInstanceAutomatedBackupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4973,6 +5295,10 @@ func (_m *MockFakeRDS) DescribeDBInstances(_a0 *rds.DescribeDBInstancesInput) (* ret := _m.Called(_a0) var r0 *rds.DescribeDBInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstancesInput) (*rds.DescribeDBInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstancesInput) *rds.DescribeDBInstancesOutput); ok { r0 = rf(_a0) } else { @@ -4981,7 +5307,6 @@ func (_m *MockFakeRDS) DescribeDBInstances(_a0 *rds.DescribeDBInstancesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -5031,6 +5356,10 @@ func (_m *MockFakeRDS) DescribeDBInstancesRequest(_a0 *rds.DescribeDBInstancesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBInstancesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstancesInput) (*request.Request, *rds.DescribeDBInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5039,7 +5368,6 @@ func (_m *MockFakeRDS) DescribeDBInstancesRequest(_a0 *rds.DescribeDBInstancesIn } } - var r1 *rds.DescribeDBInstancesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBInstancesInput) *rds.DescribeDBInstancesOutput); ok { r1 = rf(_a0) } else { @@ -5063,6 +5391,10 @@ func (_m *MockFakeRDS) DescribeDBInstancesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.DescribeDBInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBInstancesInput, ...request.Option) (*rds.DescribeDBInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBInstancesInput, ...request.Option) *rds.DescribeDBInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5071,7 +5403,6 @@ func (_m *MockFakeRDS) DescribeDBInstancesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5086,6 +5417,10 @@ func (_m *MockFakeRDS) DescribeDBLogFiles(_a0 *rds.DescribeDBLogFilesInput) (*rd ret := _m.Called(_a0) var r0 *rds.DescribeDBLogFilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBLogFilesInput) (*rds.DescribeDBLogFilesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBLogFilesInput) *rds.DescribeDBLogFilesOutput); ok { r0 = rf(_a0) } else { @@ -5094,7 +5429,6 @@ func (_m *MockFakeRDS) DescribeDBLogFiles(_a0 *rds.DescribeDBLogFilesInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBLogFilesInput) error); ok { r1 = rf(_a0) } else { @@ -5144,6 +5478,10 @@ func (_m *MockFakeRDS) DescribeDBLogFilesRequest(_a0 *rds.DescribeDBLogFilesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBLogFilesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBLogFilesInput) (*request.Request, *rds.DescribeDBLogFilesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBLogFilesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5152,7 +5490,6 @@ func (_m *MockFakeRDS) DescribeDBLogFilesRequest(_a0 *rds.DescribeDBLogFilesInpu } } - var r1 *rds.DescribeDBLogFilesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBLogFilesInput) *rds.DescribeDBLogFilesOutput); ok { r1 = rf(_a0) } else { @@ -5176,6 +5513,10 @@ func (_m *MockFakeRDS) DescribeDBLogFilesWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.DescribeDBLogFilesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBLogFilesInput, ...request.Option) (*rds.DescribeDBLogFilesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBLogFilesInput, ...request.Option) *rds.DescribeDBLogFilesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5184,7 +5525,6 @@ func (_m *MockFakeRDS) DescribeDBLogFilesWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBLogFilesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5199,6 +5539,10 @@ func (_m *MockFakeRDS) DescribeDBParameterGroups(_a0 *rds.DescribeDBParameterGro ret := _m.Called(_a0) var r0 *rds.DescribeDBParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBParameterGroupsInput) (*rds.DescribeDBParameterGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBParameterGroupsInput) *rds.DescribeDBParameterGroupsOutput); ok { r0 = rf(_a0) } else { @@ -5207,7 +5551,6 @@ func (_m *MockFakeRDS) DescribeDBParameterGroups(_a0 *rds.DescribeDBParameterGro } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBParameterGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -5257,6 +5600,10 @@ func (_m *MockFakeRDS) DescribeDBParameterGroupsRequest(_a0 *rds.DescribeDBParam ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBParameterGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBParameterGroupsInput) (*request.Request, *rds.DescribeDBParameterGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBParameterGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5265,7 +5612,6 @@ func (_m *MockFakeRDS) DescribeDBParameterGroupsRequest(_a0 *rds.DescribeDBParam } } - var r1 *rds.DescribeDBParameterGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBParameterGroupsInput) *rds.DescribeDBParameterGroupsOutput); ok { r1 = rf(_a0) } else { @@ -5289,6 +5635,10 @@ func (_m *MockFakeRDS) DescribeDBParameterGroupsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DescribeDBParameterGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBParameterGroupsInput, ...request.Option) (*rds.DescribeDBParameterGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBParameterGroupsInput, ...request.Option) *rds.DescribeDBParameterGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5297,7 +5647,6 @@ func (_m *MockFakeRDS) DescribeDBParameterGroupsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBParameterGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5312,6 +5661,10 @@ func (_m *MockFakeRDS) DescribeDBParameters(_a0 *rds.DescribeDBParametersInput) ret := _m.Called(_a0) var r0 *rds.DescribeDBParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBParametersInput) (*rds.DescribeDBParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBParametersInput) *rds.DescribeDBParametersOutput); ok { r0 = rf(_a0) } else { @@ -5320,7 +5673,6 @@ func (_m *MockFakeRDS) DescribeDBParameters(_a0 *rds.DescribeDBParametersInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBParametersInput) error); ok { r1 = rf(_a0) } else { @@ -5370,6 +5722,10 @@ func (_m *MockFakeRDS) DescribeDBParametersRequest(_a0 *rds.DescribeDBParameters ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBParametersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBParametersInput) (*request.Request, *rds.DescribeDBParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5378,7 +5734,6 @@ func (_m *MockFakeRDS) DescribeDBParametersRequest(_a0 *rds.DescribeDBParameters } } - var r1 *rds.DescribeDBParametersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBParametersInput) *rds.DescribeDBParametersOutput); ok { r1 = rf(_a0) } else { @@ -5402,6 +5757,10 @@ func (_m *MockFakeRDS) DescribeDBParametersWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DescribeDBParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBParametersInput, ...request.Option) (*rds.DescribeDBParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBParametersInput, ...request.Option) *rds.DescribeDBParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5410,7 +5769,6 @@ func (_m *MockFakeRDS) DescribeDBParametersWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5425,6 +5783,10 @@ func (_m *MockFakeRDS) DescribeDBProxies(_a0 *rds.DescribeDBProxiesInput) (*rds. ret := _m.Called(_a0) var r0 *rds.DescribeDBProxiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxiesInput) (*rds.DescribeDBProxiesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxiesInput) *rds.DescribeDBProxiesOutput); ok { r0 = rf(_a0) } else { @@ -5433,7 +5795,6 @@ func (_m *MockFakeRDS) DescribeDBProxies(_a0 *rds.DescribeDBProxiesInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxiesInput) error); ok { r1 = rf(_a0) } else { @@ -5483,6 +5844,10 @@ func (_m *MockFakeRDS) DescribeDBProxiesRequest(_a0 *rds.DescribeDBProxiesInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBProxiesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxiesInput) (*request.Request, *rds.DescribeDBProxiesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxiesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5491,7 +5856,6 @@ func (_m *MockFakeRDS) DescribeDBProxiesRequest(_a0 *rds.DescribeDBProxiesInput) } } - var r1 *rds.DescribeDBProxiesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxiesInput) *rds.DescribeDBProxiesOutput); ok { r1 = rf(_a0) } else { @@ -5515,6 +5879,10 @@ func (_m *MockFakeRDS) DescribeDBProxiesWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.DescribeDBProxiesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxiesInput, ...request.Option) (*rds.DescribeDBProxiesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxiesInput, ...request.Option) *rds.DescribeDBProxiesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5523,7 +5891,6 @@ func (_m *MockFakeRDS) DescribeDBProxiesWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBProxiesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5538,6 +5905,10 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpoints(_a0 *rds.DescribeDBProxyEndpoint ret := _m.Called(_a0) var r0 *rds.DescribeDBProxyEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyEndpointsInput) (*rds.DescribeDBProxyEndpointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyEndpointsInput) *rds.DescribeDBProxyEndpointsOutput); ok { r0 = rf(_a0) } else { @@ -5546,7 +5917,6 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpoints(_a0 *rds.DescribeDBProxyEndpoint } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyEndpointsInput) error); ok { r1 = rf(_a0) } else { @@ -5596,6 +5966,10 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpointsRequest(_a0 *rds.DescribeDBProxyE ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBProxyEndpointsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyEndpointsInput) (*request.Request, *rds.DescribeDBProxyEndpointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyEndpointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5604,7 +5978,6 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpointsRequest(_a0 *rds.DescribeDBProxyE } } - var r1 *rds.DescribeDBProxyEndpointsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyEndpointsInput) *rds.DescribeDBProxyEndpointsOutput); ok { r1 = rf(_a0) } else { @@ -5628,6 +6001,10 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpointsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DescribeDBProxyEndpointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyEndpointsInput, ...request.Option) (*rds.DescribeDBProxyEndpointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyEndpointsInput, ...request.Option) *rds.DescribeDBProxyEndpointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5636,7 +6013,6 @@ func (_m *MockFakeRDS) DescribeDBProxyEndpointsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBProxyEndpointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5651,6 +6027,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroups(_a0 *rds.DescribeDBProxyTarge ret := _m.Called(_a0) var r0 *rds.DescribeDBProxyTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetGroupsInput) (*rds.DescribeDBProxyTargetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetGroupsInput) *rds.DescribeDBProxyTargetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -5659,7 +6039,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroups(_a0 *rds.DescribeDBProxyTarge } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyTargetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -5709,6 +6088,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroupsRequest(_a0 *rds.DescribeDBPro ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBProxyTargetGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetGroupsInput) (*request.Request, *rds.DescribeDBProxyTargetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5717,7 +6100,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroupsRequest(_a0 *rds.DescribeDBPro } } - var r1 *rds.DescribeDBProxyTargetGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyTargetGroupsInput) *rds.DescribeDBProxyTargetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -5741,6 +6123,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroupsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.DescribeDBProxyTargetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyTargetGroupsInput, ...request.Option) (*rds.DescribeDBProxyTargetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyTargetGroupsInput, ...request.Option) *rds.DescribeDBProxyTargetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5749,7 +6135,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetGroupsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBProxyTargetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5764,6 +6149,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargets(_a0 *rds.DescribeDBProxyTargetsInp ret := _m.Called(_a0) var r0 *rds.DescribeDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetsInput) (*rds.DescribeDBProxyTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetsInput) *rds.DescribeDBProxyTargetsOutput); ok { r0 = rf(_a0) } else { @@ -5772,7 +6161,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargets(_a0 *rds.DescribeDBProxyTargetsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -5822,6 +6210,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetsRequest(_a0 *rds.DescribeDBProxyTar ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBProxyTargetsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetsInput) (*request.Request, *rds.DescribeDBProxyTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBProxyTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5830,7 +6222,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetsRequest(_a0 *rds.DescribeDBProxyTar } } - var r1 *rds.DescribeDBProxyTargetsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBProxyTargetsInput) *rds.DescribeDBProxyTargetsOutput); ok { r1 = rf(_a0) } else { @@ -5854,6 +6245,10 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.DescribeDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyTargetsInput, ...request.Option) (*rds.DescribeDBProxyTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBProxyTargetsInput, ...request.Option) *rds.DescribeDBProxyTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5862,7 +6257,6 @@ func (_m *MockFakeRDS) DescribeDBProxyTargetsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBProxyTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5877,6 +6271,10 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroups(_a0 *rds.DescribeDBSecurityGroup ret := _m.Called(_a0) var r0 *rds.DescribeDBSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSecurityGroupsInput) (*rds.DescribeDBSecurityGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSecurityGroupsInput) *rds.DescribeDBSecurityGroupsOutput); ok { r0 = rf(_a0) } else { @@ -5885,7 +6283,6 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroups(_a0 *rds.DescribeDBSecurityGroup } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBSecurityGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -5935,7 +6332,11 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroupsRequest(_a0 *rds.DescribeDBSecuri ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DescribeDBSecurityGroupsInput) *request.Request); ok { + var r1 *rds.DescribeDBSecurityGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSecurityGroupsInput) (*request.Request, *rds.DescribeDBSecurityGroupsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSecurityGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -5943,7 +6344,6 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroupsRequest(_a0 *rds.DescribeDBSecuri } } - var r1 *rds.DescribeDBSecurityGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBSecurityGroupsInput) *rds.DescribeDBSecurityGroupsOutput); ok { r1 = rf(_a0) } else { @@ -5967,6 +6367,10 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroupsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DescribeDBSecurityGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSecurityGroupsInput, ...request.Option) (*rds.DescribeDBSecurityGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSecurityGroupsInput, ...request.Option) *rds.DescribeDBSecurityGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5975,7 +6379,6 @@ func (_m *MockFakeRDS) DescribeDBSecurityGroupsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBSecurityGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5990,6 +6393,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributes(_a0 *rds.DescribeDBSnapshotA ret := _m.Called(_a0) var r0 *rds.DescribeDBSnapshotAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotAttributesInput) (*rds.DescribeDBSnapshotAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotAttributesInput) *rds.DescribeDBSnapshotAttributesOutput); ok { r0 = rf(_a0) } else { @@ -5998,7 +6405,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributes(_a0 *rds.DescribeDBSnapshotA } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBSnapshotAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -6013,6 +6419,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributesRequest(_a0 *rds.DescribeDBSn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBSnapshotAttributesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotAttributesInput) (*request.Request, *rds.DescribeDBSnapshotAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6021,7 +6431,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributesRequest(_a0 *rds.DescribeDBSn } } - var r1 *rds.DescribeDBSnapshotAttributesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBSnapshotAttributesInput) *rds.DescribeDBSnapshotAttributesOutput); ok { r1 = rf(_a0) } else { @@ -6045,6 +6454,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributesWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *rds.DescribeDBSnapshotAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSnapshotAttributesInput, ...request.Option) (*rds.DescribeDBSnapshotAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSnapshotAttributesInput, ...request.Option) *rds.DescribeDBSnapshotAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6053,7 +6466,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshotAttributesWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBSnapshotAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6068,6 +6480,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshots(_a0 *rds.DescribeDBSnapshotsInput) (* ret := _m.Called(_a0) var r0 *rds.DescribeDBSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotsInput) (*rds.DescribeDBSnapshotsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotsInput) *rds.DescribeDBSnapshotsOutput); ok { r0 = rf(_a0) } else { @@ -6076,7 +6492,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshots(_a0 *rds.DescribeDBSnapshotsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBSnapshotsInput) error); ok { r1 = rf(_a0) } else { @@ -6126,6 +6541,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshotsRequest(_a0 *rds.DescribeDBSnapshotsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBSnapshotsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotsInput) (*request.Request, *rds.DescribeDBSnapshotsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSnapshotsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6134,7 +6553,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshotsRequest(_a0 *rds.DescribeDBSnapshotsIn } } - var r1 *rds.DescribeDBSnapshotsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBSnapshotsInput) *rds.DescribeDBSnapshotsOutput); ok { r1 = rf(_a0) } else { @@ -6158,6 +6576,10 @@ func (_m *MockFakeRDS) DescribeDBSnapshotsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.DescribeDBSnapshotsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSnapshotsInput, ...request.Option) (*rds.DescribeDBSnapshotsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSnapshotsInput, ...request.Option) *rds.DescribeDBSnapshotsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6166,7 +6588,6 @@ func (_m *MockFakeRDS) DescribeDBSnapshotsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBSnapshotsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6181,6 +6602,10 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroups(_a0 *rds.DescribeDBSubnetGroupsInp ret := _m.Called(_a0) var r0 *rds.DescribeDBSubnetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSubnetGroupsInput) (*rds.DescribeDBSubnetGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSubnetGroupsInput) *rds.DescribeDBSubnetGroupsOutput); ok { r0 = rf(_a0) } else { @@ -6189,7 +6614,6 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroups(_a0 *rds.DescribeDBSubnetGroupsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeDBSubnetGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -6239,6 +6663,10 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroupsRequest(_a0 *rds.DescribeDBSubnetGr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeDBSubnetGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeDBSubnetGroupsInput) (*request.Request, *rds.DescribeDBSubnetGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeDBSubnetGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6247,7 +6675,6 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroupsRequest(_a0 *rds.DescribeDBSubnetGr } } - var r1 *rds.DescribeDBSubnetGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeDBSubnetGroupsInput) *rds.DescribeDBSubnetGroupsOutput); ok { r1 = rf(_a0) } else { @@ -6271,6 +6698,10 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroupsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.DescribeDBSubnetGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSubnetGroupsInput, ...request.Option) (*rds.DescribeDBSubnetGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBSubnetGroupsInput, ...request.Option) *rds.DescribeDBSubnetGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6279,7 +6710,6 @@ func (_m *MockFakeRDS) DescribeDBSubnetGroupsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeDBSubnetGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6294,6 +6724,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParameters(_a0 *rds.DescribeE ret := _m.Called(_a0) var r0 *rds.DescribeEngineDefaultClusterParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultClusterParametersInput) (*rds.DescribeEngineDefaultClusterParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultClusterParametersInput) *rds.DescribeEngineDefaultClusterParametersOutput); ok { r0 = rf(_a0) } else { @@ -6302,7 +6736,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParameters(_a0 *rds.DescribeE } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeEngineDefaultClusterParametersInput) error); ok { r1 = rf(_a0) } else { @@ -6317,6 +6750,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParametersRequest(_a0 *rds.De ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeEngineDefaultClusterParametersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultClusterParametersInput) (*request.Request, *rds.DescribeEngineDefaultClusterParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultClusterParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6325,7 +6762,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParametersRequest(_a0 *rds.De } } - var r1 *rds.DescribeEngineDefaultClusterParametersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeEngineDefaultClusterParametersInput) *rds.DescribeEngineDefaultClusterParametersOutput); ok { r1 = rf(_a0) } else { @@ -6349,6 +6785,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParametersWithContext(_a0 con ret := _m.Called(_ca...) var r0 *rds.DescribeEngineDefaultClusterParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEngineDefaultClusterParametersInput, ...request.Option) (*rds.DescribeEngineDefaultClusterParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEngineDefaultClusterParametersInput, ...request.Option) *rds.DescribeEngineDefaultClusterParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6357,7 +6797,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultClusterParametersWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeEngineDefaultClusterParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6372,6 +6811,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParameters(_a0 *rds.DescribeEngineDe ret := _m.Called(_a0) var r0 *rds.DescribeEngineDefaultParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultParametersInput) (*rds.DescribeEngineDefaultParametersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultParametersInput) *rds.DescribeEngineDefaultParametersOutput); ok { r0 = rf(_a0) } else { @@ -6380,7 +6823,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParameters(_a0 *rds.DescribeEngineDe } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeEngineDefaultParametersInput) error); ok { r1 = rf(_a0) } else { @@ -6430,6 +6872,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParametersRequest(_a0 *rds.DescribeE ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeEngineDefaultParametersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultParametersInput) (*request.Request, *rds.DescribeEngineDefaultParametersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEngineDefaultParametersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6438,7 +6884,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParametersRequest(_a0 *rds.DescribeE } } - var r1 *rds.DescribeEngineDefaultParametersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeEngineDefaultParametersInput) *rds.DescribeEngineDefaultParametersOutput); ok { r1 = rf(_a0) } else { @@ -6462,6 +6907,10 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParametersWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *rds.DescribeEngineDefaultParametersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEngineDefaultParametersInput, ...request.Option) (*rds.DescribeEngineDefaultParametersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEngineDefaultParametersInput, ...request.Option) *rds.DescribeEngineDefaultParametersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6470,7 +6919,6 @@ func (_m *MockFakeRDS) DescribeEngineDefaultParametersWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeEngineDefaultParametersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6485,6 +6933,10 @@ func (_m *MockFakeRDS) DescribeEventCategories(_a0 *rds.DescribeEventCategoriesI ret := _m.Called(_a0) var r0 *rds.DescribeEventCategoriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeEventCategoriesInput) (*rds.DescribeEventCategoriesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventCategoriesInput) *rds.DescribeEventCategoriesOutput); ok { r0 = rf(_a0) } else { @@ -6493,7 +6945,6 @@ func (_m *MockFakeRDS) DescribeEventCategories(_a0 *rds.DescribeEventCategoriesI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeEventCategoriesInput) error); ok { r1 = rf(_a0) } else { @@ -6508,6 +6959,10 @@ func (_m *MockFakeRDS) DescribeEventCategoriesRequest(_a0 *rds.DescribeEventCate ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeEventCategoriesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeEventCategoriesInput) (*request.Request, *rds.DescribeEventCategoriesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventCategoriesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6516,7 +6971,6 @@ func (_m *MockFakeRDS) DescribeEventCategoriesRequest(_a0 *rds.DescribeEventCate } } - var r1 *rds.DescribeEventCategoriesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeEventCategoriesInput) *rds.DescribeEventCategoriesOutput); ok { r1 = rf(_a0) } else { @@ -6540,6 +6994,10 @@ func (_m *MockFakeRDS) DescribeEventCategoriesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.DescribeEventCategoriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventCategoriesInput, ...request.Option) (*rds.DescribeEventCategoriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventCategoriesInput, ...request.Option) *rds.DescribeEventCategoriesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6548,7 +7006,6 @@ func (_m *MockFakeRDS) DescribeEventCategoriesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeEventCategoriesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6563,6 +7020,10 @@ func (_m *MockFakeRDS) DescribeEventSubscriptions(_a0 *rds.DescribeEventSubscrip ret := _m.Called(_a0) var r0 *rds.DescribeEventSubscriptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeEventSubscriptionsInput) (*rds.DescribeEventSubscriptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventSubscriptionsInput) *rds.DescribeEventSubscriptionsOutput); ok { r0 = rf(_a0) } else { @@ -6571,7 +7032,6 @@ func (_m *MockFakeRDS) DescribeEventSubscriptions(_a0 *rds.DescribeEventSubscrip } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeEventSubscriptionsInput) error); ok { r1 = rf(_a0) } else { @@ -6621,6 +7081,10 @@ func (_m *MockFakeRDS) DescribeEventSubscriptionsRequest(_a0 *rds.DescribeEventS ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeEventSubscriptionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeEventSubscriptionsInput) (*request.Request, *rds.DescribeEventSubscriptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventSubscriptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6629,7 +7093,6 @@ func (_m *MockFakeRDS) DescribeEventSubscriptionsRequest(_a0 *rds.DescribeEventS } } - var r1 *rds.DescribeEventSubscriptionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeEventSubscriptionsInput) *rds.DescribeEventSubscriptionsOutput); ok { r1 = rf(_a0) } else { @@ -6653,6 +7116,10 @@ func (_m *MockFakeRDS) DescribeEventSubscriptionsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *rds.DescribeEventSubscriptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventSubscriptionsInput, ...request.Option) (*rds.DescribeEventSubscriptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventSubscriptionsInput, ...request.Option) *rds.DescribeEventSubscriptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6661,7 +7128,6 @@ func (_m *MockFakeRDS) DescribeEventSubscriptionsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeEventSubscriptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6676,6 +7142,10 @@ func (_m *MockFakeRDS) DescribeEvents(_a0 *rds.DescribeEventsInput) (*rds.Descri ret := _m.Called(_a0) var r0 *rds.DescribeEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeEventsInput) (*rds.DescribeEventsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventsInput) *rds.DescribeEventsOutput); ok { r0 = rf(_a0) } else { @@ -6684,7 +7154,6 @@ func (_m *MockFakeRDS) DescribeEvents(_a0 *rds.DescribeEventsInput) (*rds.Descri } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeEventsInput) error); ok { r1 = rf(_a0) } else { @@ -6734,6 +7203,10 @@ func (_m *MockFakeRDS) DescribeEventsRequest(_a0 *rds.DescribeEventsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeEventsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeEventsInput) (*request.Request, *rds.DescribeEventsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeEventsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6742,7 +7215,6 @@ func (_m *MockFakeRDS) DescribeEventsRequest(_a0 *rds.DescribeEventsInput) (*req } } - var r1 *rds.DescribeEventsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeEventsInput) *rds.DescribeEventsOutput); ok { r1 = rf(_a0) } else { @@ -6766,6 +7238,10 @@ func (_m *MockFakeRDS) DescribeEventsWithContext(_a0 context.Context, _a1 *rds.D ret := _m.Called(_ca...) var r0 *rds.DescribeEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventsInput, ...request.Option) (*rds.DescribeEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeEventsInput, ...request.Option) *rds.DescribeEventsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6774,7 +7250,6 @@ func (_m *MockFakeRDS) DescribeEventsWithContext(_a0 context.Context, _a1 *rds.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeEventsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6789,6 +7264,10 @@ func (_m *MockFakeRDS) DescribeExportTasks(_a0 *rds.DescribeExportTasksInput) (* ret := _m.Called(_a0) var r0 *rds.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeExportTasksInput) (*rds.DescribeExportTasksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeExportTasksInput) *rds.DescribeExportTasksOutput); ok { r0 = rf(_a0) } else { @@ -6797,7 +7276,6 @@ func (_m *MockFakeRDS) DescribeExportTasks(_a0 *rds.DescribeExportTasksInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeExportTasksInput) error); ok { r1 = rf(_a0) } else { @@ -6847,6 +7325,10 @@ func (_m *MockFakeRDS) DescribeExportTasksRequest(_a0 *rds.DescribeExportTasksIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeExportTasksOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeExportTasksInput) (*request.Request, *rds.DescribeExportTasksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeExportTasksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6855,7 +7337,6 @@ func (_m *MockFakeRDS) DescribeExportTasksRequest(_a0 *rds.DescribeExportTasksIn } } - var r1 *rds.DescribeExportTasksOutput if rf, ok := ret.Get(1).(func(*rds.DescribeExportTasksInput) *rds.DescribeExportTasksOutput); ok { r1 = rf(_a0) } else { @@ -6879,6 +7360,10 @@ func (_m *MockFakeRDS) DescribeExportTasksWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeExportTasksInput, ...request.Option) (*rds.DescribeExportTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeExportTasksInput, ...request.Option) *rds.DescribeExportTasksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6887,7 +7372,6 @@ func (_m *MockFakeRDS) DescribeExportTasksWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeExportTasksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6902,6 +7386,10 @@ func (_m *MockFakeRDS) DescribeGlobalClusters(_a0 *rds.DescribeGlobalClustersInp ret := _m.Called(_a0) var r0 *rds.DescribeGlobalClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeGlobalClustersInput) (*rds.DescribeGlobalClustersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeGlobalClustersInput) *rds.DescribeGlobalClustersOutput); ok { r0 = rf(_a0) } else { @@ -6910,7 +7398,6 @@ func (_m *MockFakeRDS) DescribeGlobalClusters(_a0 *rds.DescribeGlobalClustersInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeGlobalClustersInput) error); ok { r1 = rf(_a0) } else { @@ -6960,6 +7447,10 @@ func (_m *MockFakeRDS) DescribeGlobalClustersRequest(_a0 *rds.DescribeGlobalClus ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeGlobalClustersOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeGlobalClustersInput) (*request.Request, *rds.DescribeGlobalClustersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeGlobalClustersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6968,7 +7459,6 @@ func (_m *MockFakeRDS) DescribeGlobalClustersRequest(_a0 *rds.DescribeGlobalClus } } - var r1 *rds.DescribeGlobalClustersOutput if rf, ok := ret.Get(1).(func(*rds.DescribeGlobalClustersInput) *rds.DescribeGlobalClustersOutput); ok { r1 = rf(_a0) } else { @@ -6992,6 +7482,10 @@ func (_m *MockFakeRDS) DescribeGlobalClustersWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.DescribeGlobalClustersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeGlobalClustersInput, ...request.Option) (*rds.DescribeGlobalClustersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeGlobalClustersInput, ...request.Option) *rds.DescribeGlobalClustersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7000,7 +7494,6 @@ func (_m *MockFakeRDS) DescribeGlobalClustersWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeGlobalClustersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7010,124 +7503,15 @@ func (_m *MockFakeRDS) DescribeGlobalClustersWithContext(_a0 context.Context, _a return r0, r1 } -// DescribeInstallationMedia provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeInstallationMedia(_a0 *rds.DescribeInstallationMediaInput) (*rds.DescribeInstallationMediaOutput, error) { - ret := _m.Called(_a0) - - var r0 *rds.DescribeInstallationMediaOutput - if rf, ok := ret.Get(0).(func(*rds.DescribeInstallationMediaInput) *rds.DescribeInstallationMediaOutput); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DescribeInstallationMediaOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(*rds.DescribeInstallationMediaInput) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DescribeInstallationMediaPages provides a mock function with given fields: _a0, _a1 -func (_m *MockFakeRDS) DescribeInstallationMediaPages(_a0 *rds.DescribeInstallationMediaInput, _a1 func(*rds.DescribeInstallationMediaOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*rds.DescribeInstallationMediaInput, func(*rds.DescribeInstallationMediaOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// DescribeInstallationMediaPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockFakeRDS) DescribeInstallationMediaPagesWithContext(_a0 context.Context, _a1 *rds.DescribeInstallationMediaInput, _a2 func(*rds.DescribeInstallationMediaOutput, bool) bool, _a3 ...request.Option) error { - _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, *rds.DescribeInstallationMediaInput, func(*rds.DescribeInstallationMediaOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// DescribeInstallationMediaRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) DescribeInstallationMediaRequest(_a0 *rds.DescribeInstallationMediaInput) (*request.Request, *rds.DescribeInstallationMediaOutput) { - ret := _m.Called(_a0) - - var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.DescribeInstallationMediaInput) *request.Request); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } - } - - var r1 *rds.DescribeInstallationMediaOutput - if rf, ok := ret.Get(1).(func(*rds.DescribeInstallationMediaInput) *rds.DescribeInstallationMediaOutput); ok { - r1 = rf(_a0) - } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.DescribeInstallationMediaOutput) - } - } - - return r0, r1 -} - -// DescribeInstallationMediaWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) DescribeInstallationMediaWithContext(_a0 context.Context, _a1 *rds.DescribeInstallationMediaInput, _a2 ...request.Option) (*rds.DescribeInstallationMediaOutput, error) { - _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 *rds.DescribeInstallationMediaOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeInstallationMediaInput, ...request.Option) *rds.DescribeInstallationMediaOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.DescribeInstallationMediaOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeInstallationMediaInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - // DescribeOptionGroupOptions provides a mock function with given fields: _a0 func (_m *MockFakeRDS) DescribeOptionGroupOptions(_a0 *rds.DescribeOptionGroupOptionsInput) (*rds.DescribeOptionGroupOptionsOutput, error) { ret := _m.Called(_a0) var r0 *rds.DescribeOptionGroupOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupOptionsInput) (*rds.DescribeOptionGroupOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupOptionsInput) *rds.DescribeOptionGroupOptionsOutput); ok { r0 = rf(_a0) } else { @@ -7136,7 +7520,6 @@ func (_m *MockFakeRDS) DescribeOptionGroupOptions(_a0 *rds.DescribeOptionGroupOp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeOptionGroupOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -7186,6 +7569,10 @@ func (_m *MockFakeRDS) DescribeOptionGroupOptionsRequest(_a0 *rds.DescribeOption ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeOptionGroupOptionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupOptionsInput) (*request.Request, *rds.DescribeOptionGroupOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7194,7 +7581,6 @@ func (_m *MockFakeRDS) DescribeOptionGroupOptionsRequest(_a0 *rds.DescribeOption } } - var r1 *rds.DescribeOptionGroupOptionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeOptionGroupOptionsInput) *rds.DescribeOptionGroupOptionsOutput); ok { r1 = rf(_a0) } else { @@ -7218,6 +7604,10 @@ func (_m *MockFakeRDS) DescribeOptionGroupOptionsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *rds.DescribeOptionGroupOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOptionGroupOptionsInput, ...request.Option) (*rds.DescribeOptionGroupOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOptionGroupOptionsInput, ...request.Option) *rds.DescribeOptionGroupOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7226,7 +7616,6 @@ func (_m *MockFakeRDS) DescribeOptionGroupOptionsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeOptionGroupOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7241,6 +7630,10 @@ func (_m *MockFakeRDS) DescribeOptionGroups(_a0 *rds.DescribeOptionGroupsInput) ret := _m.Called(_a0) var r0 *rds.DescribeOptionGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupsInput) (*rds.DescribeOptionGroupsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupsInput) *rds.DescribeOptionGroupsOutput); ok { r0 = rf(_a0) } else { @@ -7249,7 +7642,6 @@ func (_m *MockFakeRDS) DescribeOptionGroups(_a0 *rds.DescribeOptionGroupsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeOptionGroupsInput) error); ok { r1 = rf(_a0) } else { @@ -7299,6 +7691,10 @@ func (_m *MockFakeRDS) DescribeOptionGroupsRequest(_a0 *rds.DescribeOptionGroups ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeOptionGroupsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupsInput) (*request.Request, *rds.DescribeOptionGroupsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOptionGroupsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7307,7 +7703,6 @@ func (_m *MockFakeRDS) DescribeOptionGroupsRequest(_a0 *rds.DescribeOptionGroups } } - var r1 *rds.DescribeOptionGroupsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeOptionGroupsInput) *rds.DescribeOptionGroupsOutput); ok { r1 = rf(_a0) } else { @@ -7331,6 +7726,10 @@ func (_m *MockFakeRDS) DescribeOptionGroupsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DescribeOptionGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOptionGroupsInput, ...request.Option) (*rds.DescribeOptionGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOptionGroupsInput, ...request.Option) *rds.DescribeOptionGroupsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7339,7 +7738,6 @@ func (_m *MockFakeRDS) DescribeOptionGroupsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeOptionGroupsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7354,6 +7752,10 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptions(_a0 *rds.DescribeOrder ret := _m.Called(_a0) var r0 *rds.DescribeOrderableDBInstanceOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeOrderableDBInstanceOptionsInput) (*rds.DescribeOrderableDBInstanceOptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOrderableDBInstanceOptionsInput) *rds.DescribeOrderableDBInstanceOptionsOutput); ok { r0 = rf(_a0) } else { @@ -7362,7 +7764,6 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptions(_a0 *rds.DescribeOrder } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeOrderableDBInstanceOptionsInput) error); ok { r1 = rf(_a0) } else { @@ -7412,6 +7813,10 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptionsRequest(_a0 *rds.Descri ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeOrderableDBInstanceOptionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeOrderableDBInstanceOptionsInput) (*request.Request, *rds.DescribeOrderableDBInstanceOptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeOrderableDBInstanceOptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7420,7 +7825,6 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptionsRequest(_a0 *rds.Descri } } - var r1 *rds.DescribeOrderableDBInstanceOptionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeOrderableDBInstanceOptionsInput) *rds.DescribeOrderableDBInstanceOptionsOutput); ok { r1 = rf(_a0) } else { @@ -7444,6 +7848,10 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptionsWithContext(_a0 context ret := _m.Called(_ca...) var r0 *rds.DescribeOrderableDBInstanceOptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOrderableDBInstanceOptionsInput, ...request.Option) (*rds.DescribeOrderableDBInstanceOptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeOrderableDBInstanceOptionsInput, ...request.Option) *rds.DescribeOrderableDBInstanceOptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7452,7 +7860,6 @@ func (_m *MockFakeRDS) DescribeOrderableDBInstanceOptionsWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeOrderableDBInstanceOptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7467,6 +7874,10 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActions(_a0 *rds.DescribePendin ret := _m.Called(_a0) var r0 *rds.DescribePendingMaintenanceActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribePendingMaintenanceActionsInput) (*rds.DescribePendingMaintenanceActionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribePendingMaintenanceActionsInput) *rds.DescribePendingMaintenanceActionsOutput); ok { r0 = rf(_a0) } else { @@ -7475,7 +7886,6 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActions(_a0 *rds.DescribePendin } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribePendingMaintenanceActionsInput) error); ok { r1 = rf(_a0) } else { @@ -7525,6 +7935,10 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActionsRequest(_a0 *rds.Describ ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribePendingMaintenanceActionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribePendingMaintenanceActionsInput) (*request.Request, *rds.DescribePendingMaintenanceActionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribePendingMaintenanceActionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7533,7 +7947,6 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActionsRequest(_a0 *rds.Describ } } - var r1 *rds.DescribePendingMaintenanceActionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribePendingMaintenanceActionsInput) *rds.DescribePendingMaintenanceActionsOutput); ok { r1 = rf(_a0) } else { @@ -7557,6 +7970,10 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActionsWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *rds.DescribePendingMaintenanceActionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribePendingMaintenanceActionsInput, ...request.Option) (*rds.DescribePendingMaintenanceActionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribePendingMaintenanceActionsInput, ...request.Option) *rds.DescribePendingMaintenanceActionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7565,7 +7982,6 @@ func (_m *MockFakeRDS) DescribePendingMaintenanceActionsWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribePendingMaintenanceActionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7580,6 +7996,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstances(_a0 *rds.DescribeReservedDBIn ret := _m.Called(_a0) var r0 *rds.DescribeReservedDBInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesInput) (*rds.DescribeReservedDBInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesInput) *rds.DescribeReservedDBInstancesOutput); ok { r0 = rf(_a0) } else { @@ -7588,7 +8008,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstances(_a0 *rds.DescribeReservedDBIn } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeReservedDBInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -7603,6 +8022,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferings(_a0 *rds.DescribeRes ret := _m.Called(_a0) var r0 *rds.DescribeReservedDBInstancesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesOfferingsInput) (*rds.DescribeReservedDBInstancesOfferingsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesOfferingsInput) *rds.DescribeReservedDBInstancesOfferingsOutput); ok { r0 = rf(_a0) } else { @@ -7611,7 +8034,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferings(_a0 *rds.DescribeRes } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeReservedDBInstancesOfferingsInput) error); ok { r1 = rf(_a0) } else { @@ -7661,6 +8083,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferingsRequest(_a0 *rds.Desc ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeReservedDBInstancesOfferingsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesOfferingsInput) (*request.Request, *rds.DescribeReservedDBInstancesOfferingsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesOfferingsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7669,7 +8095,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferingsRequest(_a0 *rds.Desc } } - var r1 *rds.DescribeReservedDBInstancesOfferingsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeReservedDBInstancesOfferingsInput) *rds.DescribeReservedDBInstancesOfferingsOutput); ok { r1 = rf(_a0) } else { @@ -7693,6 +8118,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferingsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *rds.DescribeReservedDBInstancesOfferingsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeReservedDBInstancesOfferingsInput, ...request.Option) (*rds.DescribeReservedDBInstancesOfferingsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeReservedDBInstancesOfferingsInput, ...request.Option) *rds.DescribeReservedDBInstancesOfferingsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7701,7 +8130,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesOfferingsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeReservedDBInstancesOfferingsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7751,6 +8179,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesRequest(_a0 *rds.DescribeReser ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeReservedDBInstancesOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesInput) (*request.Request, *rds.DescribeReservedDBInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeReservedDBInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7759,7 +8191,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesRequest(_a0 *rds.DescribeReser } } - var r1 *rds.DescribeReservedDBInstancesOutput if rf, ok := ret.Get(1).(func(*rds.DescribeReservedDBInstancesInput) *rds.DescribeReservedDBInstancesOutput); ok { r1 = rf(_a0) } else { @@ -7783,6 +8214,10 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.DescribeReservedDBInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeReservedDBInstancesInput, ...request.Option) (*rds.DescribeReservedDBInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeReservedDBInstancesInput, ...request.Option) *rds.DescribeReservedDBInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7791,7 +8226,6 @@ func (_m *MockFakeRDS) DescribeReservedDBInstancesWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeReservedDBInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7806,6 +8240,10 @@ func (_m *MockFakeRDS) DescribeSourceRegions(_a0 *rds.DescribeSourceRegionsInput ret := _m.Called(_a0) var r0 *rds.DescribeSourceRegionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeSourceRegionsInput) (*rds.DescribeSourceRegionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeSourceRegionsInput) *rds.DescribeSourceRegionsOutput); ok { r0 = rf(_a0) } else { @@ -7814,7 +8252,6 @@ func (_m *MockFakeRDS) DescribeSourceRegions(_a0 *rds.DescribeSourceRegionsInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeSourceRegionsInput) error); ok { r1 = rf(_a0) } else { @@ -7864,6 +8301,10 @@ func (_m *MockFakeRDS) DescribeSourceRegionsRequest(_a0 *rds.DescribeSourceRegio ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeSourceRegionsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeSourceRegionsInput) (*request.Request, *rds.DescribeSourceRegionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeSourceRegionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7872,7 +8313,6 @@ func (_m *MockFakeRDS) DescribeSourceRegionsRequest(_a0 *rds.DescribeSourceRegio } } - var r1 *rds.DescribeSourceRegionsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeSourceRegionsInput) *rds.DescribeSourceRegionsOutput); ok { r1 = rf(_a0) } else { @@ -7896,6 +8336,10 @@ func (_m *MockFakeRDS) DescribeSourceRegionsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DescribeSourceRegionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeSourceRegionsInput, ...request.Option) (*rds.DescribeSourceRegionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeSourceRegionsInput, ...request.Option) *rds.DescribeSourceRegionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7904,7 +8348,6 @@ func (_m *MockFakeRDS) DescribeSourceRegionsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeSourceRegionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7919,6 +8362,10 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModifications(_a0 *rds.DescribeVal ret := _m.Called(_a0) var r0 *rds.DescribeValidDBInstanceModificationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DescribeValidDBInstanceModificationsInput) (*rds.DescribeValidDBInstanceModificationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeValidDBInstanceModificationsInput) *rds.DescribeValidDBInstanceModificationsOutput); ok { r0 = rf(_a0) } else { @@ -7927,7 +8374,6 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModifications(_a0 *rds.DescribeVal } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DescribeValidDBInstanceModificationsInput) error); ok { r1 = rf(_a0) } else { @@ -7942,6 +8388,10 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModificationsRequest(_a0 *rds.Desc ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DescribeValidDBInstanceModificationsOutput + if rf, ok := ret.Get(0).(func(*rds.DescribeValidDBInstanceModificationsInput) (*request.Request, *rds.DescribeValidDBInstanceModificationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DescribeValidDBInstanceModificationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7950,7 +8400,6 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModificationsRequest(_a0 *rds.Desc } } - var r1 *rds.DescribeValidDBInstanceModificationsOutput if rf, ok := ret.Get(1).(func(*rds.DescribeValidDBInstanceModificationsInput) *rds.DescribeValidDBInstanceModificationsOutput); ok { r1 = rf(_a0) } else { @@ -7974,7 +8423,11 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModificationsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *rds.DescribeValidDBInstanceModificationsOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeValidDBInstanceModificationsInput, ...request.Option) *rds.DescribeValidDBInstanceModificationsOutput); ok { + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeValidDBInstanceModificationsInput, ...request.Option) (*rds.DescribeValidDBInstanceModificationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeValidDBInstanceModificationsInput, ...request.Option) *rds.DescribeValidDBInstanceModificationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { @@ -7982,7 +8435,6 @@ func (_m *MockFakeRDS) DescribeValidDBInstanceModificationsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DescribeValidDBInstanceModificationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7997,6 +8449,10 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortion(_a0 *rds.DownloadDBLogFilePortio ret := _m.Called(_a0) var r0 *rds.DownloadDBLogFilePortionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.DownloadDBLogFilePortionInput) (*rds.DownloadDBLogFilePortionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DownloadDBLogFilePortionInput) *rds.DownloadDBLogFilePortionOutput); ok { r0 = rf(_a0) } else { @@ -8005,7 +8461,6 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortion(_a0 *rds.DownloadDBLogFilePortio } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.DownloadDBLogFilePortionInput) error); ok { r1 = rf(_a0) } else { @@ -8055,6 +8510,10 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortionRequest(_a0 *rds.DownloadDBLogFil ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DownloadDBLogFilePortionOutput + if rf, ok := ret.Get(0).(func(*rds.DownloadDBLogFilePortionInput) (*request.Request, *rds.DownloadDBLogFilePortionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.DownloadDBLogFilePortionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8063,7 +8522,6 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortionRequest(_a0 *rds.DownloadDBLogFil } } - var r1 *rds.DownloadDBLogFilePortionOutput if rf, ok := ret.Get(1).(func(*rds.DownloadDBLogFilePortionInput) *rds.DownloadDBLogFilePortionOutput); ok { r1 = rf(_a0) } else { @@ -8087,6 +8545,10 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortionWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.DownloadDBLogFilePortionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DownloadDBLogFilePortionInput, ...request.Option) (*rds.DownloadDBLogFilePortionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.DownloadDBLogFilePortionInput, ...request.Option) *rds.DownloadDBLogFilePortionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8095,7 +8557,6 @@ func (_m *MockFakeRDS) DownloadDBLogFilePortionWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.DownloadDBLogFilePortionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8110,6 +8571,10 @@ func (_m *MockFakeRDS) FailoverDBCluster(_a0 *rds.FailoverDBClusterInput) (*rds. ret := _m.Called(_a0) var r0 *rds.FailoverDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.FailoverDBClusterInput) (*rds.FailoverDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.FailoverDBClusterInput) *rds.FailoverDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -8118,7 +8583,6 @@ func (_m *MockFakeRDS) FailoverDBCluster(_a0 *rds.FailoverDBClusterInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.FailoverDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -8133,6 +8597,10 @@ func (_m *MockFakeRDS) FailoverDBClusterRequest(_a0 *rds.FailoverDBClusterInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.FailoverDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.FailoverDBClusterInput) (*request.Request, *rds.FailoverDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.FailoverDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8141,7 +8609,6 @@ func (_m *MockFakeRDS) FailoverDBClusterRequest(_a0 *rds.FailoverDBClusterInput) } } - var r1 *rds.FailoverDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.FailoverDBClusterInput) *rds.FailoverDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -8165,6 +8632,10 @@ func (_m *MockFakeRDS) FailoverDBClusterWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.FailoverDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.FailoverDBClusterInput, ...request.Option) (*rds.FailoverDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.FailoverDBClusterInput, ...request.Option) *rds.FailoverDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8173,7 +8644,6 @@ func (_m *MockFakeRDS) FailoverDBClusterWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.FailoverDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8188,6 +8658,10 @@ func (_m *MockFakeRDS) FailoverGlobalCluster(_a0 *rds.FailoverGlobalClusterInput ret := _m.Called(_a0) var r0 *rds.FailoverGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.FailoverGlobalClusterInput) (*rds.FailoverGlobalClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.FailoverGlobalClusterInput) *rds.FailoverGlobalClusterOutput); ok { r0 = rf(_a0) } else { @@ -8196,7 +8670,6 @@ func (_m *MockFakeRDS) FailoverGlobalCluster(_a0 *rds.FailoverGlobalClusterInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.FailoverGlobalClusterInput) error); ok { r1 = rf(_a0) } else { @@ -8211,6 +8684,10 @@ func (_m *MockFakeRDS) FailoverGlobalClusterRequest(_a0 *rds.FailoverGlobalClust ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.FailoverGlobalClusterOutput + if rf, ok := ret.Get(0).(func(*rds.FailoverGlobalClusterInput) (*request.Request, *rds.FailoverGlobalClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.FailoverGlobalClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8219,7 +8696,6 @@ func (_m *MockFakeRDS) FailoverGlobalClusterRequest(_a0 *rds.FailoverGlobalClust } } - var r1 *rds.FailoverGlobalClusterOutput if rf, ok := ret.Get(1).(func(*rds.FailoverGlobalClusterInput) *rds.FailoverGlobalClusterOutput); ok { r1 = rf(_a0) } else { @@ -8243,6 +8719,10 @@ func (_m *MockFakeRDS) FailoverGlobalClusterWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.FailoverGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.FailoverGlobalClusterInput, ...request.Option) (*rds.FailoverGlobalClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.FailoverGlobalClusterInput, ...request.Option) *rds.FailoverGlobalClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8251,7 +8731,6 @@ func (_m *MockFakeRDS) FailoverGlobalClusterWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.FailoverGlobalClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8261,21 +8740,24 @@ func (_m *MockFakeRDS) FailoverGlobalClusterWithContext(_a0 context.Context, _a1 return r0, r1 } -// ImportInstallationMedia provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) ImportInstallationMedia(_a0 *rds.ImportInstallationMediaInput) (*rds.ImportInstallationMediaOutput, error) { +// ListTagsForResource provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ListTagsForResource(_a0 *rds.ListTagsForResourceInput) (*rds.ListTagsForResourceOutput, error) { ret := _m.Called(_a0) - var r0 *rds.ImportInstallationMediaOutput - if rf, ok := ret.Get(0).(func(*rds.ImportInstallationMediaInput) *rds.ImportInstallationMediaOutput); ok { + var r0 *rds.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) (*rds.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) *rds.ListTagsForResourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.ImportInstallationMediaOutput) + r0 = ret.Get(0).(*rds.ListTagsForResourceOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.ImportInstallationMediaInput) error); ok { + if rf, ok := ret.Get(1).(func(*rds.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8284,12 +8766,16 @@ func (_m *MockFakeRDS) ImportInstallationMedia(_a0 *rds.ImportInstallationMediaI return r0, r1 } -// ImportInstallationMediaRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) ImportInstallationMediaRequest(_a0 *rds.ImportInstallationMediaInput) (*request.Request, *rds.ImportInstallationMediaOutput) { +// ListTagsForResourceRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ListTagsForResourceRequest(_a0 *rds.ListTagsForResourceInput) (*request.Request, *rds.ListTagsForResourceOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.ImportInstallationMediaInput) *request.Request); ok { + var r1 *rds.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) (*request.Request, *rds.ListTagsForResourceOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8297,20 +8783,19 @@ func (_m *MockFakeRDS) ImportInstallationMediaRequest(_a0 *rds.ImportInstallatio } } - var r1 *rds.ImportInstallationMediaOutput - if rf, ok := ret.Get(1).(func(*rds.ImportInstallationMediaInput) *rds.ImportInstallationMediaOutput); ok { + if rf, ok := ret.Get(1).(func(*rds.ListTagsForResourceInput) *rds.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.ImportInstallationMediaOutput) + r1 = ret.Get(1).(*rds.ListTagsForResourceOutput) } } return r0, r1 } -// ImportInstallationMediaWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) ImportInstallationMediaWithContext(_a0 context.Context, _a1 *rds.ImportInstallationMediaInput, _a2 ...request.Option) (*rds.ImportInstallationMediaOutput, error) { +// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) ListTagsForResourceWithContext(_a0 context.Context, _a1 *rds.ListTagsForResourceInput, _a2 ...request.Option) (*rds.ListTagsForResourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8320,17 +8805,20 @@ func (_m *MockFakeRDS) ImportInstallationMediaWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *rds.ImportInstallationMediaOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.ImportInstallationMediaInput, ...request.Option) *rds.ImportInstallationMediaOutput); ok { + var r0 *rds.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ListTagsForResourceInput, ...request.Option) (*rds.ListTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.ListTagsForResourceInput, ...request.Option) *rds.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.ImportInstallationMediaOutput) + r0 = ret.Get(0).(*rds.ListTagsForResourceOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.ImportInstallationMediaInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rds.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8339,21 +8827,24 @@ func (_m *MockFakeRDS) ImportInstallationMediaWithContext(_a0 context.Context, _ return r0, r1 } -// ListTagsForResource provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) ListTagsForResource(_a0 *rds.ListTagsForResourceInput) (*rds.ListTagsForResourceOutput, error) { +// ModifyActivityStream provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ModifyActivityStream(_a0 *rds.ModifyActivityStreamInput) (*rds.ModifyActivityStreamOutput, error) { ret := _m.Called(_a0) - var r0 *rds.ListTagsForResourceOutput - if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) *rds.ListTagsForResourceOutput); ok { + var r0 *rds.ModifyActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyActivityStreamInput) (*rds.ModifyActivityStreamOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ModifyActivityStreamInput) *rds.ModifyActivityStreamOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.ListTagsForResourceOutput) + r0 = ret.Get(0).(*rds.ModifyActivityStreamOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(*rds.ListTagsForResourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*rds.ModifyActivityStreamInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8362,12 +8853,16 @@ func (_m *MockFakeRDS) ListTagsForResource(_a0 *rds.ListTagsForResourceInput) (* return r0, r1 } -// ListTagsForResourceRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRDS) ListTagsForResourceRequest(_a0 *rds.ListTagsForResourceInput) (*request.Request, *rds.ListTagsForResourceOutput) { +// ModifyActivityStreamRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ModifyActivityStreamRequest(_a0 *rds.ModifyActivityStreamInput) (*request.Request, *rds.ModifyActivityStreamOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.ListTagsForResourceInput) *request.Request); ok { + var r1 *rds.ModifyActivityStreamOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyActivityStreamInput) (*request.Request, *rds.ModifyActivityStreamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ModifyActivityStreamInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8375,20 +8870,19 @@ func (_m *MockFakeRDS) ListTagsForResourceRequest(_a0 *rds.ListTagsForResourceIn } } - var r1 *rds.ListTagsForResourceOutput - if rf, ok := ret.Get(1).(func(*rds.ListTagsForResourceInput) *rds.ListTagsForResourceOutput); ok { + if rf, ok := ret.Get(1).(func(*rds.ModifyActivityStreamInput) *rds.ModifyActivityStreamOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*rds.ListTagsForResourceOutput) + r1 = ret.Get(1).(*rds.ModifyActivityStreamOutput) } } return r0, r1 } -// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRDS) ListTagsForResourceWithContext(_a0 context.Context, _a1 *rds.ListTagsForResourceInput, _a2 ...request.Option) (*rds.ListTagsForResourceOutput, error) { +// ModifyActivityStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) ModifyActivityStreamWithContext(_a0 context.Context, _a1 *rds.ModifyActivityStreamInput, _a2 ...request.Option) (*rds.ModifyActivityStreamOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8398,17 +8892,20 @@ func (_m *MockFakeRDS) ListTagsForResourceWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *rds.ListTagsForResourceOutput - if rf, ok := ret.Get(0).(func(context.Context, *rds.ListTagsForResourceInput, ...request.Option) *rds.ListTagsForResourceOutput); ok { + var r0 *rds.ModifyActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyActivityStreamInput, ...request.Option) (*rds.ModifyActivityStreamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyActivityStreamInput, ...request.Option) *rds.ModifyActivityStreamOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*rds.ListTagsForResourceOutput) + r0 = ret.Get(0).(*rds.ModifyActivityStreamOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *rds.ListTagsForResourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyActivityStreamInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8422,6 +8919,10 @@ func (_m *MockFakeRDS) ModifyCertificates(_a0 *rds.ModifyCertificatesInput) (*rd ret := _m.Called(_a0) var r0 *rds.ModifyCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyCertificatesInput) (*rds.ModifyCertificatesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyCertificatesInput) *rds.ModifyCertificatesOutput); ok { r0 = rf(_a0) } else { @@ -8430,7 +8931,6 @@ func (_m *MockFakeRDS) ModifyCertificates(_a0 *rds.ModifyCertificatesInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyCertificatesInput) error); ok { r1 = rf(_a0) } else { @@ -8445,6 +8945,10 @@ func (_m *MockFakeRDS) ModifyCertificatesRequest(_a0 *rds.ModifyCertificatesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyCertificatesOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyCertificatesInput) (*request.Request, *rds.ModifyCertificatesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyCertificatesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8453,7 +8957,6 @@ func (_m *MockFakeRDS) ModifyCertificatesRequest(_a0 *rds.ModifyCertificatesInpu } } - var r1 *rds.ModifyCertificatesOutput if rf, ok := ret.Get(1).(func(*rds.ModifyCertificatesInput) *rds.ModifyCertificatesOutput); ok { r1 = rf(_a0) } else { @@ -8477,6 +8980,10 @@ func (_m *MockFakeRDS) ModifyCertificatesWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.ModifyCertificatesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCertificatesInput, ...request.Option) (*rds.ModifyCertificatesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCertificatesInput, ...request.Option) *rds.ModifyCertificatesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8485,7 +8992,6 @@ func (_m *MockFakeRDS) ModifyCertificatesWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyCertificatesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8500,6 +9006,10 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacity(_a0 *rds.ModifyCurrentDBCl ret := _m.Called(_a0) var r0 *rds.ModifyCurrentDBClusterCapacityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyCurrentDBClusterCapacityInput) (*rds.ModifyCurrentDBClusterCapacityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyCurrentDBClusterCapacityInput) *rds.ModifyCurrentDBClusterCapacityOutput); ok { r0 = rf(_a0) } else { @@ -8508,7 +9018,6 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacity(_a0 *rds.ModifyCurrentDBCl } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyCurrentDBClusterCapacityInput) error); ok { r1 = rf(_a0) } else { @@ -8523,6 +9032,10 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacityRequest(_a0 *rds.ModifyCurr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyCurrentDBClusterCapacityOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyCurrentDBClusterCapacityInput) (*request.Request, *rds.ModifyCurrentDBClusterCapacityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyCurrentDBClusterCapacityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8531,7 +9044,6 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacityRequest(_a0 *rds.ModifyCurr } } - var r1 *rds.ModifyCurrentDBClusterCapacityOutput if rf, ok := ret.Get(1).(func(*rds.ModifyCurrentDBClusterCapacityInput) *rds.ModifyCurrentDBClusterCapacityOutput); ok { r1 = rf(_a0) } else { @@ -8555,6 +9067,10 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacityWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *rds.ModifyCurrentDBClusterCapacityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCurrentDBClusterCapacityInput, ...request.Option) (*rds.ModifyCurrentDBClusterCapacityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCurrentDBClusterCapacityInput, ...request.Option) *rds.ModifyCurrentDBClusterCapacityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8563,7 +9079,6 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacityWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyCurrentDBClusterCapacityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8573,11 +9088,102 @@ func (_m *MockFakeRDS) ModifyCurrentDBClusterCapacityWithContext(_a0 context.Con return r0, r1 } +// ModifyCustomDBEngineVersion provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ModifyCustomDBEngineVersion(_a0 *rds.ModifyCustomDBEngineVersionInput) (*rds.ModifyCustomDBEngineVersionOutput, error) { + ret := _m.Called(_a0) + + var r0 *rds.ModifyCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyCustomDBEngineVersionInput) (*rds.ModifyCustomDBEngineVersionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ModifyCustomDBEngineVersionInput) *rds.ModifyCustomDBEngineVersionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.ModifyCustomDBEngineVersionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*rds.ModifyCustomDBEngineVersionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ModifyCustomDBEngineVersionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) ModifyCustomDBEngineVersionRequest(_a0 *rds.ModifyCustomDBEngineVersionInput) (*request.Request, *rds.ModifyCustomDBEngineVersionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *rds.ModifyCustomDBEngineVersionOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyCustomDBEngineVersionInput) (*request.Request, *rds.ModifyCustomDBEngineVersionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ModifyCustomDBEngineVersionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*rds.ModifyCustomDBEngineVersionInput) *rds.ModifyCustomDBEngineVersionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*rds.ModifyCustomDBEngineVersionOutput) + } + } + + return r0, r1 +} + +// ModifyCustomDBEngineVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) ModifyCustomDBEngineVersionWithContext(_a0 context.Context, _a1 *rds.ModifyCustomDBEngineVersionInput, _a2 ...request.Option) (*rds.ModifyCustomDBEngineVersionOutput, error) { + _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 *rds.ModifyCustomDBEngineVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCustomDBEngineVersionInput, ...request.Option) (*rds.ModifyCustomDBEngineVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyCustomDBEngineVersionInput, ...request.Option) *rds.ModifyCustomDBEngineVersionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.ModifyCustomDBEngineVersionOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyCustomDBEngineVersionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ModifyDBCluster provides a mock function with given fields: _a0 func (_m *MockFakeRDS) ModifyDBCluster(_a0 *rds.ModifyDBClusterInput) (*rds.ModifyDBClusterOutput, error) { ret := _m.Called(_a0) var r0 *rds.ModifyDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterInput) (*rds.ModifyDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterInput) *rds.ModifyDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -8586,7 +9192,6 @@ func (_m *MockFakeRDS) ModifyDBCluster(_a0 *rds.ModifyDBClusterInput) (*rds.Modi } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -8601,6 +9206,10 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpoint(_a0 *rds.ModifyDBClusterEndpointI ret := _m.Called(_a0) var r0 *rds.ModifyDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterEndpointInput) (*rds.ModifyDBClusterEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterEndpointInput) *rds.ModifyDBClusterEndpointOutput); ok { r0 = rf(_a0) } else { @@ -8609,7 +9218,6 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpoint(_a0 *rds.ModifyDBClusterEndpointI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -8624,6 +9232,10 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpointRequest(_a0 *rds.ModifyDBClusterEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBClusterEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterEndpointInput) (*request.Request, *rds.ModifyDBClusterEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8632,7 +9244,6 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpointRequest(_a0 *rds.ModifyDBClusterEn } } - var r1 *rds.ModifyDBClusterEndpointOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterEndpointInput) *rds.ModifyDBClusterEndpointOutput); ok { r1 = rf(_a0) } else { @@ -8656,6 +9267,10 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.ModifyDBClusterEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterEndpointInput, ...request.Option) (*rds.ModifyDBClusterEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterEndpointInput, ...request.Option) *rds.ModifyDBClusterEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8664,7 +9279,6 @@ func (_m *MockFakeRDS) ModifyDBClusterEndpointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBClusterEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8679,6 +9293,10 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroup(_a0 *rds.ModifyDBClusterPar ret := _m.Called(_a0) var r0 *rds.DBClusterParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterParameterGroupInput) (*rds.DBClusterParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterParameterGroupInput) *rds.DBClusterParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -8687,7 +9305,6 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroup(_a0 *rds.ModifyDBClusterPar } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -8702,6 +9319,10 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroupRequest(_a0 *rds.ModifyDBClu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DBClusterParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterParameterGroupInput) (*request.Request, *rds.DBClusterParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8710,7 +9331,6 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroupRequest(_a0 *rds.ModifyDBClu } } - var r1 *rds.DBClusterParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterParameterGroupInput) *rds.DBClusterParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -8734,6 +9354,10 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroupWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *rds.DBClusterParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterParameterGroupInput, ...request.Option) (*rds.DBClusterParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterParameterGroupInput, ...request.Option) *rds.DBClusterParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8742,7 +9366,6 @@ func (_m *MockFakeRDS) ModifyDBClusterParameterGroupWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBClusterParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8757,6 +9380,10 @@ func (_m *MockFakeRDS) ModifyDBClusterRequest(_a0 *rds.ModifyDBClusterInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterInput) (*request.Request, *rds.ModifyDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8765,7 +9392,6 @@ func (_m *MockFakeRDS) ModifyDBClusterRequest(_a0 *rds.ModifyDBClusterInput) (*r } } - var r1 *rds.ModifyDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterInput) *rds.ModifyDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -8782,6 +9408,10 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttribute(_a0 *rds.ModifyDBCluster ret := _m.Called(_a0) var r0 *rds.ModifyDBClusterSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterSnapshotAttributeInput) (*rds.ModifyDBClusterSnapshotAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterSnapshotAttributeInput) *rds.ModifyDBClusterSnapshotAttributeOutput); ok { r0 = rf(_a0) } else { @@ -8790,7 +9420,6 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttribute(_a0 *rds.ModifyDBCluster } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterSnapshotAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -8805,6 +9434,10 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttributeRequest(_a0 *rds.ModifyDB ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBClusterSnapshotAttributeOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterSnapshotAttributeInput) (*request.Request, *rds.ModifyDBClusterSnapshotAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBClusterSnapshotAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8813,7 +9446,6 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttributeRequest(_a0 *rds.ModifyDB } } - var r1 *rds.ModifyDBClusterSnapshotAttributeOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBClusterSnapshotAttributeInput) *rds.ModifyDBClusterSnapshotAttributeOutput); ok { r1 = rf(_a0) } else { @@ -8837,6 +9469,10 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttributeWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *rds.ModifyDBClusterSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterSnapshotAttributeInput, ...request.Option) (*rds.ModifyDBClusterSnapshotAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterSnapshotAttributeInput, ...request.Option) *rds.ModifyDBClusterSnapshotAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8845,7 +9481,6 @@ func (_m *MockFakeRDS) ModifyDBClusterSnapshotAttributeWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBClusterSnapshotAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8867,6 +9502,10 @@ func (_m *MockFakeRDS) ModifyDBClusterWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.ModifyDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterInput, ...request.Option) (*rds.ModifyDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBClusterInput, ...request.Option) *rds.ModifyDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8875,7 +9514,6 @@ func (_m *MockFakeRDS) ModifyDBClusterWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8890,6 +9528,10 @@ func (_m *MockFakeRDS) ModifyDBInstance(_a0 *rds.ModifyDBInstanceInput) (*rds.Mo ret := _m.Called(_a0) var r0 *rds.ModifyDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBInstanceInput) (*rds.ModifyDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBInstanceInput) *rds.ModifyDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -8898,7 +9540,6 @@ func (_m *MockFakeRDS) ModifyDBInstance(_a0 *rds.ModifyDBInstanceInput) (*rds.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -8913,6 +9554,10 @@ func (_m *MockFakeRDS) ModifyDBInstanceRequest(_a0 *rds.ModifyDBInstanceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBInstanceInput) (*request.Request, *rds.ModifyDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8921,7 +9566,6 @@ func (_m *MockFakeRDS) ModifyDBInstanceRequest(_a0 *rds.ModifyDBInstanceInput) ( } } - var r1 *rds.ModifyDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBInstanceInput) *rds.ModifyDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -8945,6 +9589,10 @@ func (_m *MockFakeRDS) ModifyDBInstanceWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.ModifyDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBInstanceInput, ...request.Option) (*rds.ModifyDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBInstanceInput, ...request.Option) *rds.ModifyDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -8953,7 +9601,6 @@ func (_m *MockFakeRDS) ModifyDBInstanceWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -8968,6 +9615,10 @@ func (_m *MockFakeRDS) ModifyDBParameterGroup(_a0 *rds.ModifyDBParameterGroupInp ret := _m.Called(_a0) var r0 *rds.DBParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBParameterGroupInput) (*rds.DBParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBParameterGroupInput) *rds.DBParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -8976,7 +9627,6 @@ func (_m *MockFakeRDS) ModifyDBParameterGroup(_a0 *rds.ModifyDBParameterGroupInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -8991,6 +9641,10 @@ func (_m *MockFakeRDS) ModifyDBParameterGroupRequest(_a0 *rds.ModifyDBParameterG ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DBParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*rds.ModifyDBParameterGroupInput) (*request.Request, *rds.DBParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -8999,7 +9653,6 @@ func (_m *MockFakeRDS) ModifyDBParameterGroupRequest(_a0 *rds.ModifyDBParameterG } } - var r1 *rds.DBParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*rds.ModifyDBParameterGroupInput) *rds.DBParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -9023,6 +9676,10 @@ func (_m *MockFakeRDS) ModifyDBParameterGroupWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.DBParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBParameterGroupInput, ...request.Option) (*rds.DBParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBParameterGroupInput, ...request.Option) *rds.DBParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9031,7 +9688,6 @@ func (_m *MockFakeRDS) ModifyDBParameterGroupWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9046,6 +9702,10 @@ func (_m *MockFakeRDS) ModifyDBProxy(_a0 *rds.ModifyDBProxyInput) (*rds.ModifyDB ret := _m.Called(_a0) var r0 *rds.ModifyDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyInput) (*rds.ModifyDBProxyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyInput) *rds.ModifyDBProxyOutput); ok { r0 = rf(_a0) } else { @@ -9054,7 +9714,6 @@ func (_m *MockFakeRDS) ModifyDBProxy(_a0 *rds.ModifyDBProxyInput) (*rds.ModifyDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyInput) error); ok { r1 = rf(_a0) } else { @@ -9069,6 +9728,10 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpoint(_a0 *rds.ModifyDBProxyEndpointInput ret := _m.Called(_a0) var r0 *rds.ModifyDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyEndpointInput) (*rds.ModifyDBProxyEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyEndpointInput) *rds.ModifyDBProxyEndpointOutput); ok { r0 = rf(_a0) } else { @@ -9077,7 +9740,6 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpoint(_a0 *rds.ModifyDBProxyEndpointInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -9092,6 +9754,10 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpointRequest(_a0 *rds.ModifyDBProxyEndpoi ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBProxyEndpointOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyEndpointInput) (*request.Request, *rds.ModifyDBProxyEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9100,7 +9766,6 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpointRequest(_a0 *rds.ModifyDBProxyEndpoi } } - var r1 *rds.ModifyDBProxyEndpointOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyEndpointInput) *rds.ModifyDBProxyEndpointOutput); ok { r1 = rf(_a0) } else { @@ -9124,6 +9789,10 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpointWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.ModifyDBProxyEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyEndpointInput, ...request.Option) (*rds.ModifyDBProxyEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyEndpointInput, ...request.Option) *rds.ModifyDBProxyEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9132,7 +9801,6 @@ func (_m *MockFakeRDS) ModifyDBProxyEndpointWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBProxyEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9147,6 +9815,10 @@ func (_m *MockFakeRDS) ModifyDBProxyRequest(_a0 *rds.ModifyDBProxyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBProxyOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyInput) (*request.Request, *rds.ModifyDBProxyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9155,7 +9827,6 @@ func (_m *MockFakeRDS) ModifyDBProxyRequest(_a0 *rds.ModifyDBProxyInput) (*reque } } - var r1 *rds.ModifyDBProxyOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyInput) *rds.ModifyDBProxyOutput); ok { r1 = rf(_a0) } else { @@ -9172,6 +9843,10 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroup(_a0 *rds.ModifyDBProxyTargetGrou ret := _m.Called(_a0) var r0 *rds.ModifyDBProxyTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyTargetGroupInput) (*rds.ModifyDBProxyTargetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyTargetGroupInput) *rds.ModifyDBProxyTargetGroupOutput); ok { r0 = rf(_a0) } else { @@ -9180,7 +9855,6 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroup(_a0 *rds.ModifyDBProxyTargetGrou } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyTargetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -9195,6 +9869,10 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroupRequest(_a0 *rds.ModifyDBProxyTar ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBProxyTargetGroupOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyTargetGroupInput) (*request.Request, *rds.ModifyDBProxyTargetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBProxyTargetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9203,7 +9881,6 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroupRequest(_a0 *rds.ModifyDBProxyTar } } - var r1 *rds.ModifyDBProxyTargetGroupOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBProxyTargetGroupInput) *rds.ModifyDBProxyTargetGroupOutput); ok { r1 = rf(_a0) } else { @@ -9227,6 +9904,10 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroupWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.ModifyDBProxyTargetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyTargetGroupInput, ...request.Option) (*rds.ModifyDBProxyTargetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyTargetGroupInput, ...request.Option) *rds.ModifyDBProxyTargetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9235,7 +9916,6 @@ func (_m *MockFakeRDS) ModifyDBProxyTargetGroupWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBProxyTargetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9257,6 +9937,10 @@ func (_m *MockFakeRDS) ModifyDBProxyWithContext(_a0 context.Context, _a1 *rds.Mo ret := _m.Called(_ca...) var r0 *rds.ModifyDBProxyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyInput, ...request.Option) (*rds.ModifyDBProxyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBProxyInput, ...request.Option) *rds.ModifyDBProxyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9265,7 +9949,6 @@ func (_m *MockFakeRDS) ModifyDBProxyWithContext(_a0 context.Context, _a1 *rds.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBProxyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9280,6 +9963,10 @@ func (_m *MockFakeRDS) ModifyDBSnapshot(_a0 *rds.ModifyDBSnapshotInput) (*rds.Mo ret := _m.Called(_a0) var r0 *rds.ModifyDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotInput) (*rds.ModifyDBSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotInput) *rds.ModifyDBSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -9288,7 +9975,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshot(_a0 *rds.ModifyDBSnapshotInput) (*rds.Mo } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -9303,6 +9989,10 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttribute(_a0 *rds.ModifyDBSnapshotAttrib ret := _m.Called(_a0) var r0 *rds.ModifyDBSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotAttributeInput) (*rds.ModifyDBSnapshotAttributeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotAttributeInput) *rds.ModifyDBSnapshotAttributeOutput); ok { r0 = rf(_a0) } else { @@ -9311,7 +10001,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttribute(_a0 *rds.ModifyDBSnapshotAttrib } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBSnapshotAttributeInput) error); ok { r1 = rf(_a0) } else { @@ -9326,6 +10015,10 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttributeRequest(_a0 *rds.ModifyDBSnapsho ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBSnapshotAttributeOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotAttributeInput) (*request.Request, *rds.ModifyDBSnapshotAttributeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotAttributeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9334,7 +10027,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttributeRequest(_a0 *rds.ModifyDBSnapsho } } - var r1 *rds.ModifyDBSnapshotAttributeOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBSnapshotAttributeInput) *rds.ModifyDBSnapshotAttributeOutput); ok { r1 = rf(_a0) } else { @@ -9358,6 +10050,10 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttributeWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.ModifyDBSnapshotAttributeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSnapshotAttributeInput, ...request.Option) (*rds.ModifyDBSnapshotAttributeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSnapshotAttributeInput, ...request.Option) *rds.ModifyDBSnapshotAttributeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9366,7 +10062,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshotAttributeWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBSnapshotAttributeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9381,7 +10076,11 @@ func (_m *MockFakeRDS) ModifyDBSnapshotRequest(_a0 *rds.ModifyDBSnapshotInput) ( ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotInput) *request.Request); ok { + var r1 *rds.ModifyDBSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotInput) (*request.Request, *rds.ModifyDBSnapshotOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9389,7 +10088,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshotRequest(_a0 *rds.ModifyDBSnapshotInput) ( } } - var r1 *rds.ModifyDBSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBSnapshotInput) *rds.ModifyDBSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -9413,6 +10111,10 @@ func (_m *MockFakeRDS) ModifyDBSnapshotWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.ModifyDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSnapshotInput, ...request.Option) (*rds.ModifyDBSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSnapshotInput, ...request.Option) *rds.ModifyDBSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9421,7 +10123,6 @@ func (_m *MockFakeRDS) ModifyDBSnapshotWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9436,6 +10137,10 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroup(_a0 *rds.ModifyDBSubnetGroupInput) (* ret := _m.Called(_a0) var r0 *rds.ModifyDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSubnetGroupInput) (*rds.ModifyDBSubnetGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBSubnetGroupInput) *rds.ModifyDBSubnetGroupOutput); ok { r0 = rf(_a0) } else { @@ -9444,7 +10149,6 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroup(_a0 *rds.ModifyDBSubnetGroupInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyDBSubnetGroupInput) error); ok { r1 = rf(_a0) } else { @@ -9459,6 +10163,10 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroupRequest(_a0 *rds.ModifyDBSubnetGroupIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyDBSubnetGroupOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyDBSubnetGroupInput) (*request.Request, *rds.ModifyDBSubnetGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyDBSubnetGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9467,7 +10175,6 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroupRequest(_a0 *rds.ModifyDBSubnetGroupIn } } - var r1 *rds.ModifyDBSubnetGroupOutput if rf, ok := ret.Get(1).(func(*rds.ModifyDBSubnetGroupInput) *rds.ModifyDBSubnetGroupOutput); ok { r1 = rf(_a0) } else { @@ -9491,6 +10198,10 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroupWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.ModifyDBSubnetGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSubnetGroupInput, ...request.Option) (*rds.ModifyDBSubnetGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyDBSubnetGroupInput, ...request.Option) *rds.ModifyDBSubnetGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9499,7 +10210,6 @@ func (_m *MockFakeRDS) ModifyDBSubnetGroupWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyDBSubnetGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9514,6 +10224,10 @@ func (_m *MockFakeRDS) ModifyEventSubscription(_a0 *rds.ModifyEventSubscriptionI ret := _m.Called(_a0) var r0 *rds.ModifyEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyEventSubscriptionInput) (*rds.ModifyEventSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyEventSubscriptionInput) *rds.ModifyEventSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -9522,7 +10236,6 @@ func (_m *MockFakeRDS) ModifyEventSubscription(_a0 *rds.ModifyEventSubscriptionI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyEventSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -9537,6 +10250,10 @@ func (_m *MockFakeRDS) ModifyEventSubscriptionRequest(_a0 *rds.ModifyEventSubscr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyEventSubscriptionOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyEventSubscriptionInput) (*request.Request, *rds.ModifyEventSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyEventSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9545,7 +10262,6 @@ func (_m *MockFakeRDS) ModifyEventSubscriptionRequest(_a0 *rds.ModifyEventSubscr } } - var r1 *rds.ModifyEventSubscriptionOutput if rf, ok := ret.Get(1).(func(*rds.ModifyEventSubscriptionInput) *rds.ModifyEventSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -9569,6 +10285,10 @@ func (_m *MockFakeRDS) ModifyEventSubscriptionWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.ModifyEventSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyEventSubscriptionInput, ...request.Option) (*rds.ModifyEventSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyEventSubscriptionInput, ...request.Option) *rds.ModifyEventSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9577,7 +10297,6 @@ func (_m *MockFakeRDS) ModifyEventSubscriptionWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyEventSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9592,6 +10311,10 @@ func (_m *MockFakeRDS) ModifyGlobalCluster(_a0 *rds.ModifyGlobalClusterInput) (* ret := _m.Called(_a0) var r0 *rds.ModifyGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyGlobalClusterInput) (*rds.ModifyGlobalClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyGlobalClusterInput) *rds.ModifyGlobalClusterOutput); ok { r0 = rf(_a0) } else { @@ -9600,7 +10323,6 @@ func (_m *MockFakeRDS) ModifyGlobalCluster(_a0 *rds.ModifyGlobalClusterInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyGlobalClusterInput) error); ok { r1 = rf(_a0) } else { @@ -9615,6 +10337,10 @@ func (_m *MockFakeRDS) ModifyGlobalClusterRequest(_a0 *rds.ModifyGlobalClusterIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyGlobalClusterOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyGlobalClusterInput) (*request.Request, *rds.ModifyGlobalClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyGlobalClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9623,7 +10349,6 @@ func (_m *MockFakeRDS) ModifyGlobalClusterRequest(_a0 *rds.ModifyGlobalClusterIn } } - var r1 *rds.ModifyGlobalClusterOutput if rf, ok := ret.Get(1).(func(*rds.ModifyGlobalClusterInput) *rds.ModifyGlobalClusterOutput); ok { r1 = rf(_a0) } else { @@ -9647,6 +10372,10 @@ func (_m *MockFakeRDS) ModifyGlobalClusterWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.ModifyGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyGlobalClusterInput, ...request.Option) (*rds.ModifyGlobalClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyGlobalClusterInput, ...request.Option) *rds.ModifyGlobalClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9655,7 +10384,6 @@ func (_m *MockFakeRDS) ModifyGlobalClusterWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyGlobalClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9670,6 +10398,10 @@ func (_m *MockFakeRDS) ModifyOptionGroup(_a0 *rds.ModifyOptionGroupInput) (*rds. ret := _m.Called(_a0) var r0 *rds.ModifyOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ModifyOptionGroupInput) (*rds.ModifyOptionGroupOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyOptionGroupInput) *rds.ModifyOptionGroupOutput); ok { r0 = rf(_a0) } else { @@ -9678,7 +10410,6 @@ func (_m *MockFakeRDS) ModifyOptionGroup(_a0 *rds.ModifyOptionGroupInput) (*rds. } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ModifyOptionGroupInput) error); ok { r1 = rf(_a0) } else { @@ -9693,6 +10424,10 @@ func (_m *MockFakeRDS) ModifyOptionGroupRequest(_a0 *rds.ModifyOptionGroupInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.ModifyOptionGroupOutput + if rf, ok := ret.Get(0).(func(*rds.ModifyOptionGroupInput) (*request.Request, *rds.ModifyOptionGroupOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ModifyOptionGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9701,7 +10436,6 @@ func (_m *MockFakeRDS) ModifyOptionGroupRequest(_a0 *rds.ModifyOptionGroupInput) } } - var r1 *rds.ModifyOptionGroupOutput if rf, ok := ret.Get(1).(func(*rds.ModifyOptionGroupInput) *rds.ModifyOptionGroupOutput); ok { r1 = rf(_a0) } else { @@ -9725,6 +10459,10 @@ func (_m *MockFakeRDS) ModifyOptionGroupWithContext(_a0 context.Context, _a1 *rd ret := _m.Called(_ca...) var r0 *rds.ModifyOptionGroupOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyOptionGroupInput, ...request.Option) (*rds.ModifyOptionGroupOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ModifyOptionGroupInput, ...request.Option) *rds.ModifyOptionGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9733,7 +10471,6 @@ func (_m *MockFakeRDS) ModifyOptionGroupWithContext(_a0 context.Context, _a1 *rd } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ModifyOptionGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9748,6 +10485,10 @@ func (_m *MockFakeRDS) PromoteReadReplica(_a0 *rds.PromoteReadReplicaInput) (*rd ret := _m.Called(_a0) var r0 *rds.PromoteReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaInput) (*rds.PromoteReadReplicaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaInput) *rds.PromoteReadReplicaOutput); ok { r0 = rf(_a0) } else { @@ -9756,7 +10497,6 @@ func (_m *MockFakeRDS) PromoteReadReplica(_a0 *rds.PromoteReadReplicaInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.PromoteReadReplicaInput) error); ok { r1 = rf(_a0) } else { @@ -9771,6 +10511,10 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBCluster(_a0 *rds.PromoteReadReplicaDB ret := _m.Called(_a0) var r0 *rds.PromoteReadReplicaDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaDBClusterInput) (*rds.PromoteReadReplicaDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaDBClusterInput) *rds.PromoteReadReplicaDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -9779,7 +10523,6 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBCluster(_a0 *rds.PromoteReadReplicaDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.PromoteReadReplicaDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -9794,6 +10537,10 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBClusterRequest(_a0 *rds.PromoteReadRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.PromoteReadReplicaDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaDBClusterInput) (*request.Request, *rds.PromoteReadReplicaDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9802,7 +10549,6 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBClusterRequest(_a0 *rds.PromoteReadRe } } - var r1 *rds.PromoteReadReplicaDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.PromoteReadReplicaDBClusterInput) *rds.PromoteReadReplicaDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -9826,6 +10572,10 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBClusterWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *rds.PromoteReadReplicaDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.PromoteReadReplicaDBClusterInput, ...request.Option) (*rds.PromoteReadReplicaDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.PromoteReadReplicaDBClusterInput, ...request.Option) *rds.PromoteReadReplicaDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9834,7 +10584,6 @@ func (_m *MockFakeRDS) PromoteReadReplicaDBClusterWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.PromoteReadReplicaDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9849,6 +10598,10 @@ func (_m *MockFakeRDS) PromoteReadReplicaRequest(_a0 *rds.PromoteReadReplicaInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.PromoteReadReplicaOutput + if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaInput) (*request.Request, *rds.PromoteReadReplicaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PromoteReadReplicaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9857,7 +10610,6 @@ func (_m *MockFakeRDS) PromoteReadReplicaRequest(_a0 *rds.PromoteReadReplicaInpu } } - var r1 *rds.PromoteReadReplicaOutput if rf, ok := ret.Get(1).(func(*rds.PromoteReadReplicaInput) *rds.PromoteReadReplicaOutput); ok { r1 = rf(_a0) } else { @@ -9881,6 +10633,10 @@ func (_m *MockFakeRDS) PromoteReadReplicaWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.PromoteReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.PromoteReadReplicaInput, ...request.Option) (*rds.PromoteReadReplicaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.PromoteReadReplicaInput, ...request.Option) *rds.PromoteReadReplicaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9889,7 +10645,6 @@ func (_m *MockFakeRDS) PromoteReadReplicaWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.PromoteReadReplicaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9904,6 +10659,10 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOffering(_a0 *rds.PurchaseRese ret := _m.Called(_a0) var r0 *rds.PurchaseReservedDBInstancesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.PurchaseReservedDBInstancesOfferingInput) (*rds.PurchaseReservedDBInstancesOfferingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PurchaseReservedDBInstancesOfferingInput) *rds.PurchaseReservedDBInstancesOfferingOutput); ok { r0 = rf(_a0) } else { @@ -9912,7 +10671,6 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOffering(_a0 *rds.PurchaseRese } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.PurchaseReservedDBInstancesOfferingInput) error); ok { r1 = rf(_a0) } else { @@ -9927,6 +10685,10 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOfferingRequest(_a0 *rds.Purch ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.PurchaseReservedDBInstancesOfferingOutput + if rf, ok := ret.Get(0).(func(*rds.PurchaseReservedDBInstancesOfferingInput) (*request.Request, *rds.PurchaseReservedDBInstancesOfferingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.PurchaseReservedDBInstancesOfferingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -9935,7 +10697,6 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOfferingRequest(_a0 *rds.Purch } } - var r1 *rds.PurchaseReservedDBInstancesOfferingOutput if rf, ok := ret.Get(1).(func(*rds.PurchaseReservedDBInstancesOfferingInput) *rds.PurchaseReservedDBInstancesOfferingOutput); ok { r1 = rf(_a0) } else { @@ -9959,6 +10720,10 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOfferingWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *rds.PurchaseReservedDBInstancesOfferingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.PurchaseReservedDBInstancesOfferingInput, ...request.Option) (*rds.PurchaseReservedDBInstancesOfferingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.PurchaseReservedDBInstancesOfferingInput, ...request.Option) *rds.PurchaseReservedDBInstancesOfferingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -9967,7 +10732,6 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOfferingWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.PurchaseReservedDBInstancesOfferingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -9977,11 +10741,102 @@ func (_m *MockFakeRDS) PurchaseReservedDBInstancesOfferingWithContext(_a0 contex return r0, r1 } +// RebootDBCluster provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) RebootDBCluster(_a0 *rds.RebootDBClusterInput) (*rds.RebootDBClusterOutput, error) { + ret := _m.Called(_a0) + + var r0 *rds.RebootDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RebootDBClusterInput) (*rds.RebootDBClusterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.RebootDBClusterInput) *rds.RebootDBClusterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.RebootDBClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*rds.RebootDBClusterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// RebootDBClusterRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) RebootDBClusterRequest(_a0 *rds.RebootDBClusterInput) (*request.Request, *rds.RebootDBClusterOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *rds.RebootDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.RebootDBClusterInput) (*request.Request, *rds.RebootDBClusterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.RebootDBClusterInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*rds.RebootDBClusterInput) *rds.RebootDBClusterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*rds.RebootDBClusterOutput) + } + } + + return r0, r1 +} + +// RebootDBClusterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) RebootDBClusterWithContext(_a0 context.Context, _a1 *rds.RebootDBClusterInput, _a2 ...request.Option) (*rds.RebootDBClusterOutput, error) { + _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 *rds.RebootDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RebootDBClusterInput, ...request.Option) (*rds.RebootDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.RebootDBClusterInput, ...request.Option) *rds.RebootDBClusterOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.RebootDBClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *rds.RebootDBClusterInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // RebootDBInstance provides a mock function with given fields: _a0 func (_m *MockFakeRDS) RebootDBInstance(_a0 *rds.RebootDBInstanceInput) (*rds.RebootDBInstanceOutput, error) { ret := _m.Called(_a0) var r0 *rds.RebootDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RebootDBInstanceInput) (*rds.RebootDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RebootDBInstanceInput) *rds.RebootDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -9990,7 +10845,6 @@ func (_m *MockFakeRDS) RebootDBInstance(_a0 *rds.RebootDBInstanceInput) (*rds.Re } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RebootDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -10005,6 +10859,10 @@ func (_m *MockFakeRDS) RebootDBInstanceRequest(_a0 *rds.RebootDBInstanceInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RebootDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.RebootDBInstanceInput) (*request.Request, *rds.RebootDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RebootDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10013,7 +10871,6 @@ func (_m *MockFakeRDS) RebootDBInstanceRequest(_a0 *rds.RebootDBInstanceInput) ( } } - var r1 *rds.RebootDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.RebootDBInstanceInput) *rds.RebootDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -10037,6 +10894,10 @@ func (_m *MockFakeRDS) RebootDBInstanceWithContext(_a0 context.Context, _a1 *rds ret := _m.Called(_ca...) var r0 *rds.RebootDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RebootDBInstanceInput, ...request.Option) (*rds.RebootDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RebootDBInstanceInput, ...request.Option) *rds.RebootDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10045,7 +10906,6 @@ func (_m *MockFakeRDS) RebootDBInstanceWithContext(_a0 context.Context, _a1 *rds } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RebootDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10060,6 +10920,10 @@ func (_m *MockFakeRDS) RegisterDBProxyTargets(_a0 *rds.RegisterDBProxyTargetsInp ret := _m.Called(_a0) var r0 *rds.RegisterDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RegisterDBProxyTargetsInput) (*rds.RegisterDBProxyTargetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RegisterDBProxyTargetsInput) *rds.RegisterDBProxyTargetsOutput); ok { r0 = rf(_a0) } else { @@ -10068,7 +10932,6 @@ func (_m *MockFakeRDS) RegisterDBProxyTargets(_a0 *rds.RegisterDBProxyTargetsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RegisterDBProxyTargetsInput) error); ok { r1 = rf(_a0) } else { @@ -10083,6 +10946,10 @@ func (_m *MockFakeRDS) RegisterDBProxyTargetsRequest(_a0 *rds.RegisterDBProxyTar ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RegisterDBProxyTargetsOutput + if rf, ok := ret.Get(0).(func(*rds.RegisterDBProxyTargetsInput) (*request.Request, *rds.RegisterDBProxyTargetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RegisterDBProxyTargetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10091,7 +10958,6 @@ func (_m *MockFakeRDS) RegisterDBProxyTargetsRequest(_a0 *rds.RegisterDBProxyTar } } - var r1 *rds.RegisterDBProxyTargetsOutput if rf, ok := ret.Get(1).(func(*rds.RegisterDBProxyTargetsInput) *rds.RegisterDBProxyTargetsOutput); ok { r1 = rf(_a0) } else { @@ -10115,6 +10981,10 @@ func (_m *MockFakeRDS) RegisterDBProxyTargetsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.RegisterDBProxyTargetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RegisterDBProxyTargetsInput, ...request.Option) (*rds.RegisterDBProxyTargetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RegisterDBProxyTargetsInput, ...request.Option) *rds.RegisterDBProxyTargetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10123,7 +10993,6 @@ func (_m *MockFakeRDS) RegisterDBProxyTargetsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RegisterDBProxyTargetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10138,6 +11007,10 @@ func (_m *MockFakeRDS) RemoveFromGlobalCluster(_a0 *rds.RemoveFromGlobalClusterI ret := _m.Called(_a0) var r0 *rds.RemoveFromGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RemoveFromGlobalClusterInput) (*rds.RemoveFromGlobalClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveFromGlobalClusterInput) *rds.RemoveFromGlobalClusterOutput); ok { r0 = rf(_a0) } else { @@ -10146,7 +11019,6 @@ func (_m *MockFakeRDS) RemoveFromGlobalCluster(_a0 *rds.RemoveFromGlobalClusterI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RemoveFromGlobalClusterInput) error); ok { r1 = rf(_a0) } else { @@ -10161,6 +11033,10 @@ func (_m *MockFakeRDS) RemoveFromGlobalClusterRequest(_a0 *rds.RemoveFromGlobalC ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RemoveFromGlobalClusterOutput + if rf, ok := ret.Get(0).(func(*rds.RemoveFromGlobalClusterInput) (*request.Request, *rds.RemoveFromGlobalClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveFromGlobalClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10169,7 +11045,6 @@ func (_m *MockFakeRDS) RemoveFromGlobalClusterRequest(_a0 *rds.RemoveFromGlobalC } } - var r1 *rds.RemoveFromGlobalClusterOutput if rf, ok := ret.Get(1).(func(*rds.RemoveFromGlobalClusterInput) *rds.RemoveFromGlobalClusterOutput); ok { r1 = rf(_a0) } else { @@ -10193,6 +11068,10 @@ func (_m *MockFakeRDS) RemoveFromGlobalClusterWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.RemoveFromGlobalClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveFromGlobalClusterInput, ...request.Option) (*rds.RemoveFromGlobalClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveFromGlobalClusterInput, ...request.Option) *rds.RemoveFromGlobalClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10201,7 +11080,6 @@ func (_m *MockFakeRDS) RemoveFromGlobalClusterWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RemoveFromGlobalClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10216,6 +11094,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBCluster(_a0 *rds.RemoveRoleFromDBClusterI ret := _m.Called(_a0) var r0 *rds.RemoveRoleFromDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBClusterInput) (*rds.RemoveRoleFromDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBClusterInput) *rds.RemoveRoleFromDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -10224,7 +11106,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBCluster(_a0 *rds.RemoveRoleFromDBClusterI } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RemoveRoleFromDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -10239,6 +11120,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBClusterRequest(_a0 *rds.RemoveRoleFromDBC ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RemoveRoleFromDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBClusterInput) (*request.Request, *rds.RemoveRoleFromDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10247,7 +11132,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBClusterRequest(_a0 *rds.RemoveRoleFromDBC } } - var r1 *rds.RemoveRoleFromDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.RemoveRoleFromDBClusterInput) *rds.RemoveRoleFromDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -10271,6 +11155,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBClusterWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.RemoveRoleFromDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveRoleFromDBClusterInput, ...request.Option) (*rds.RemoveRoleFromDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveRoleFromDBClusterInput, ...request.Option) *rds.RemoveRoleFromDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10279,7 +11167,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBClusterWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RemoveRoleFromDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10294,6 +11181,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstance(_a0 *rds.RemoveRoleFromDBInstanc ret := _m.Called(_a0) var r0 *rds.RemoveRoleFromDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBInstanceInput) (*rds.RemoveRoleFromDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBInstanceInput) *rds.RemoveRoleFromDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -10302,7 +11193,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstance(_a0 *rds.RemoveRoleFromDBInstanc } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RemoveRoleFromDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -10317,6 +11207,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstanceRequest(_a0 *rds.RemoveRoleFromDB ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RemoveRoleFromDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBInstanceInput) (*request.Request, *rds.RemoveRoleFromDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveRoleFromDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10325,7 +11219,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstanceRequest(_a0 *rds.RemoveRoleFromDB } } - var r1 *rds.RemoveRoleFromDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.RemoveRoleFromDBInstanceInput) *rds.RemoveRoleFromDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -10349,6 +11242,10 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstanceWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *rds.RemoveRoleFromDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveRoleFromDBInstanceInput, ...request.Option) (*rds.RemoveRoleFromDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveRoleFromDBInstanceInput, ...request.Option) *rds.RemoveRoleFromDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10357,7 +11254,6 @@ func (_m *MockFakeRDS) RemoveRoleFromDBInstanceWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RemoveRoleFromDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10372,6 +11268,10 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscription(_a0 *rds.RemoveSou ret := _m.Called(_a0) var r0 *rds.RemoveSourceIdentifierFromSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) (*rds.RemoveSourceIdentifierFromSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) *rds.RemoveSourceIdentifierFromSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -10380,7 +11280,6 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscription(_a0 *rds.RemoveSou } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -10395,6 +11294,10 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscriptionRequest(_a0 *rds.Re ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RemoveSourceIdentifierFromSubscriptionOutput + if rf, ok := ret.Get(0).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) (*request.Request, *rds.RemoveSourceIdentifierFromSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10403,7 +11306,6 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscriptionRequest(_a0 *rds.Re } } - var r1 *rds.RemoveSourceIdentifierFromSubscriptionOutput if rf, ok := ret.Get(1).(func(*rds.RemoveSourceIdentifierFromSubscriptionInput) *rds.RemoveSourceIdentifierFromSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -10427,6 +11329,10 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscriptionWithContext(_a0 con ret := _m.Called(_ca...) var r0 *rds.RemoveSourceIdentifierFromSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveSourceIdentifierFromSubscriptionInput, ...request.Option) (*rds.RemoveSourceIdentifierFromSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveSourceIdentifierFromSubscriptionInput, ...request.Option) *rds.RemoveSourceIdentifierFromSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10435,7 +11341,6 @@ func (_m *MockFakeRDS) RemoveSourceIdentifierFromSubscriptionWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RemoveSourceIdentifierFromSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10450,6 +11355,10 @@ func (_m *MockFakeRDS) RemoveTagsFromResource(_a0 *rds.RemoveTagsFromResourceInp ret := _m.Called(_a0) var r0 *rds.RemoveTagsFromResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RemoveTagsFromResourceInput) (*rds.RemoveTagsFromResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveTagsFromResourceInput) *rds.RemoveTagsFromResourceOutput); ok { r0 = rf(_a0) } else { @@ -10458,7 +11367,6 @@ func (_m *MockFakeRDS) RemoveTagsFromResource(_a0 *rds.RemoveTagsFromResourceInp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RemoveTagsFromResourceInput) error); ok { r1 = rf(_a0) } else { @@ -10473,6 +11381,10 @@ func (_m *MockFakeRDS) RemoveTagsFromResourceRequest(_a0 *rds.RemoveTagsFromReso ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RemoveTagsFromResourceOutput + if rf, ok := ret.Get(0).(func(*rds.RemoveTagsFromResourceInput) (*request.Request, *rds.RemoveTagsFromResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RemoveTagsFromResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10481,7 +11393,6 @@ func (_m *MockFakeRDS) RemoveTagsFromResourceRequest(_a0 *rds.RemoveTagsFromReso } } - var r1 *rds.RemoveTagsFromResourceOutput if rf, ok := ret.Get(1).(func(*rds.RemoveTagsFromResourceInput) *rds.RemoveTagsFromResourceOutput); ok { r1 = rf(_a0) } else { @@ -10505,6 +11416,10 @@ func (_m *MockFakeRDS) RemoveTagsFromResourceWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.RemoveTagsFromResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveTagsFromResourceInput, ...request.Option) (*rds.RemoveTagsFromResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RemoveTagsFromResourceInput, ...request.Option) *rds.RemoveTagsFromResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10513,7 +11428,6 @@ func (_m *MockFakeRDS) RemoveTagsFromResourceWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RemoveTagsFromResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10528,6 +11442,10 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroup(_a0 *rds.ResetDBClusterParam ret := _m.Called(_a0) var r0 *rds.DBClusterParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ResetDBClusterParameterGroupInput) (*rds.DBClusterParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ResetDBClusterParameterGroupInput) *rds.DBClusterParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -10536,7 +11454,6 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroup(_a0 *rds.ResetDBClusterParam } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ResetDBClusterParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -10551,6 +11468,10 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroupRequest(_a0 *rds.ResetDBClust ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DBClusterParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*rds.ResetDBClusterParameterGroupInput) (*request.Request, *rds.DBClusterParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ResetDBClusterParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10559,7 +11480,6 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroupRequest(_a0 *rds.ResetDBClust } } - var r1 *rds.DBClusterParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*rds.ResetDBClusterParameterGroupInput) *rds.DBClusterParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -10583,6 +11503,10 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroupWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *rds.DBClusterParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ResetDBClusterParameterGroupInput, ...request.Option) (*rds.DBClusterParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ResetDBClusterParameterGroupInput, ...request.Option) *rds.DBClusterParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10591,7 +11515,6 @@ func (_m *MockFakeRDS) ResetDBClusterParameterGroupWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ResetDBClusterParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10606,6 +11529,10 @@ func (_m *MockFakeRDS) ResetDBParameterGroup(_a0 *rds.ResetDBParameterGroupInput ret := _m.Called(_a0) var r0 *rds.DBParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(*rds.ResetDBParameterGroupInput) (*rds.DBParameterGroupNameMessage, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ResetDBParameterGroupInput) *rds.DBParameterGroupNameMessage); ok { r0 = rf(_a0) } else { @@ -10614,7 +11541,6 @@ func (_m *MockFakeRDS) ResetDBParameterGroup(_a0 *rds.ResetDBParameterGroupInput } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.ResetDBParameterGroupInput) error); ok { r1 = rf(_a0) } else { @@ -10629,6 +11555,10 @@ func (_m *MockFakeRDS) ResetDBParameterGroupRequest(_a0 *rds.ResetDBParameterGro ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.DBParameterGroupNameMessage + if rf, ok := ret.Get(0).(func(*rds.ResetDBParameterGroupInput) (*request.Request, *rds.DBParameterGroupNameMessage)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.ResetDBParameterGroupInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10637,7 +11567,6 @@ func (_m *MockFakeRDS) ResetDBParameterGroupRequest(_a0 *rds.ResetDBParameterGro } } - var r1 *rds.DBParameterGroupNameMessage if rf, ok := ret.Get(1).(func(*rds.ResetDBParameterGroupInput) *rds.DBParameterGroupNameMessage); ok { r1 = rf(_a0) } else { @@ -10661,6 +11590,10 @@ func (_m *MockFakeRDS) ResetDBParameterGroupWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *rds.DBParameterGroupNameMessage + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.ResetDBParameterGroupInput, ...request.Option) (*rds.DBParameterGroupNameMessage, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.ResetDBParameterGroupInput, ...request.Option) *rds.DBParameterGroupNameMessage); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10669,7 +11602,6 @@ func (_m *MockFakeRDS) ResetDBParameterGroupWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.ResetDBParameterGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10684,6 +11616,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3(_a0 *rds.RestoreDBClusterFromS3Inp ret := _m.Called(_a0) var r0 *rds.RestoreDBClusterFromS3Output + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromS3Input) (*rds.RestoreDBClusterFromS3Output, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromS3Input) *rds.RestoreDBClusterFromS3Output); ok { r0 = rf(_a0) } else { @@ -10692,7 +11628,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3(_a0 *rds.RestoreDBClusterFromS3Inp } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterFromS3Input) error); ok { r1 = rf(_a0) } else { @@ -10707,6 +11642,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3Request(_a0 *rds.RestoreDBClusterFr ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBClusterFromS3Output + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromS3Input) (*request.Request, *rds.RestoreDBClusterFromS3Output)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromS3Input) *request.Request); ok { r0 = rf(_a0) } else { @@ -10715,7 +11654,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3Request(_a0 *rds.RestoreDBClusterFr } } - var r1 *rds.RestoreDBClusterFromS3Output if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterFromS3Input) *rds.RestoreDBClusterFromS3Output); ok { r1 = rf(_a0) } else { @@ -10739,6 +11677,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3WithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *rds.RestoreDBClusterFromS3Output + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterFromS3Input, ...request.Option) (*rds.RestoreDBClusterFromS3Output, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterFromS3Input, ...request.Option) *rds.RestoreDBClusterFromS3Output); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10747,7 +11689,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromS3WithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBClusterFromS3Input, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10762,6 +11703,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshot(_a0 *rds.RestoreDBClusterFro ret := _m.Called(_a0) var r0 *rds.RestoreDBClusterFromSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromSnapshotInput) (*rds.RestoreDBClusterFromSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromSnapshotInput) *rds.RestoreDBClusterFromSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -10770,7 +11715,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshot(_a0 *rds.RestoreDBClusterFro } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterFromSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -10785,6 +11729,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshotRequest(_a0 *rds.RestoreDBClu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBClusterFromSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromSnapshotInput) (*request.Request, *rds.RestoreDBClusterFromSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterFromSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10793,7 +11741,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshotRequest(_a0 *rds.RestoreDBClu } } - var r1 *rds.RestoreDBClusterFromSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterFromSnapshotInput) *rds.RestoreDBClusterFromSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -10817,6 +11764,10 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshotWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *rds.RestoreDBClusterFromSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterFromSnapshotInput, ...request.Option) (*rds.RestoreDBClusterFromSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterFromSnapshotInput, ...request.Option) *rds.RestoreDBClusterFromSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10825,7 +11776,6 @@ func (_m *MockFakeRDS) RestoreDBClusterFromSnapshotWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBClusterFromSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10840,6 +11790,10 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTime(_a0 *rds.RestoreDBClusterTo ret := _m.Called(_a0) var r0 *rds.RestoreDBClusterToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterToPointInTimeInput) (*rds.RestoreDBClusterToPointInTimeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterToPointInTimeInput) *rds.RestoreDBClusterToPointInTimeOutput); ok { r0 = rf(_a0) } else { @@ -10848,7 +11802,6 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTime(_a0 *rds.RestoreDBClusterTo } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterToPointInTimeInput) error); ok { r1 = rf(_a0) } else { @@ -10863,6 +11816,10 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTimeRequest(_a0 *rds.RestoreDBCl ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBClusterToPointInTimeOutput + if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterToPointInTimeInput) (*request.Request, *rds.RestoreDBClusterToPointInTimeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBClusterToPointInTimeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10871,7 +11828,6 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTimeRequest(_a0 *rds.RestoreDBCl } } - var r1 *rds.RestoreDBClusterToPointInTimeOutput if rf, ok := ret.Get(1).(func(*rds.RestoreDBClusterToPointInTimeInput) *rds.RestoreDBClusterToPointInTimeOutput); ok { r1 = rf(_a0) } else { @@ -10895,6 +11851,10 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTimeWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *rds.RestoreDBClusterToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterToPointInTimeInput, ...request.Option) (*rds.RestoreDBClusterToPointInTimeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBClusterToPointInTimeInput, ...request.Option) *rds.RestoreDBClusterToPointInTimeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10903,7 +11863,6 @@ func (_m *MockFakeRDS) RestoreDBClusterToPointInTimeWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBClusterToPointInTimeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10918,6 +11877,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshot(_a0 *rds.RestoreDBInstanc ret := _m.Called(_a0) var r0 *rds.RestoreDBInstanceFromDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) (*rds.RestoreDBInstanceFromDBSnapshotOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) *rds.RestoreDBInstanceFromDBSnapshotOutput); ok { r0 = rf(_a0) } else { @@ -10926,7 +11889,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshot(_a0 *rds.RestoreDBInstanc } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) error); ok { r1 = rf(_a0) } else { @@ -10941,6 +11903,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshotRequest(_a0 *rds.RestoreDB ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBInstanceFromDBSnapshotOutput + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) (*request.Request, *rds.RestoreDBInstanceFromDBSnapshotOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -10949,7 +11915,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshotRequest(_a0 *rds.RestoreDB } } - var r1 *rds.RestoreDBInstanceFromDBSnapshotOutput if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceFromDBSnapshotInput) *rds.RestoreDBInstanceFromDBSnapshotOutput); ok { r1 = rf(_a0) } else { @@ -10973,6 +11938,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshotWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *rds.RestoreDBInstanceFromDBSnapshotOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceFromDBSnapshotInput, ...request.Option) (*rds.RestoreDBInstanceFromDBSnapshotOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceFromDBSnapshotInput, ...request.Option) *rds.RestoreDBInstanceFromDBSnapshotOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -10981,7 +11950,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromDBSnapshotWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBInstanceFromDBSnapshotInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -10996,6 +11964,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3(_a0 *rds.RestoreDBInstanceFromS3I ret := _m.Called(_a0) var r0 *rds.RestoreDBInstanceFromS3Output + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromS3Input) (*rds.RestoreDBInstanceFromS3Output, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromS3Input) *rds.RestoreDBInstanceFromS3Output); ok { r0 = rf(_a0) } else { @@ -11004,7 +11976,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3(_a0 *rds.RestoreDBInstanceFromS3I } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceFromS3Input) error); ok { r1 = rf(_a0) } else { @@ -11019,6 +11990,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3Request(_a0 *rds.RestoreDBInstance ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBInstanceFromS3Output + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromS3Input) (*request.Request, *rds.RestoreDBInstanceFromS3Output)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceFromS3Input) *request.Request); ok { r0 = rf(_a0) } else { @@ -11027,7 +12002,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3Request(_a0 *rds.RestoreDBInstance } } - var r1 *rds.RestoreDBInstanceFromS3Output if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceFromS3Input) *rds.RestoreDBInstanceFromS3Output); ok { r1 = rf(_a0) } else { @@ -11051,6 +12025,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3WithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *rds.RestoreDBInstanceFromS3Output + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceFromS3Input, ...request.Option) (*rds.RestoreDBInstanceFromS3Output, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceFromS3Input, ...request.Option) *rds.RestoreDBInstanceFromS3Output); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11059,7 +12037,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceFromS3WithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBInstanceFromS3Input, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11074,6 +12051,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTime(_a0 *rds.RestoreDBInstance ret := _m.Called(_a0) var r0 *rds.RestoreDBInstanceToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceToPointInTimeInput) (*rds.RestoreDBInstanceToPointInTimeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceToPointInTimeInput) *rds.RestoreDBInstanceToPointInTimeOutput); ok { r0 = rf(_a0) } else { @@ -11082,7 +12063,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTime(_a0 *rds.RestoreDBInstance } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceToPointInTimeInput) error); ok { r1 = rf(_a0) } else { @@ -11097,6 +12077,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTimeRequest(_a0 *rds.RestoreDBI ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RestoreDBInstanceToPointInTimeOutput + if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceToPointInTimeInput) (*request.Request, *rds.RestoreDBInstanceToPointInTimeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RestoreDBInstanceToPointInTimeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11105,7 +12089,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTimeRequest(_a0 *rds.RestoreDBI } } - var r1 *rds.RestoreDBInstanceToPointInTimeOutput if rf, ok := ret.Get(1).(func(*rds.RestoreDBInstanceToPointInTimeInput) *rds.RestoreDBInstanceToPointInTimeOutput); ok { r1 = rf(_a0) } else { @@ -11129,6 +12112,10 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTimeWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *rds.RestoreDBInstanceToPointInTimeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceToPointInTimeInput, ...request.Option) (*rds.RestoreDBInstanceToPointInTimeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RestoreDBInstanceToPointInTimeInput, ...request.Option) *rds.RestoreDBInstanceToPointInTimeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11137,7 +12124,6 @@ func (_m *MockFakeRDS) RestoreDBInstanceToPointInTimeWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RestoreDBInstanceToPointInTimeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11152,6 +12138,10 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngress(_a0 *rds.RevokeDBSecurityGro ret := _m.Called(_a0) var r0 *rds.RevokeDBSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.RevokeDBSecurityGroupIngressInput) (*rds.RevokeDBSecurityGroupIngressOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RevokeDBSecurityGroupIngressInput) *rds.RevokeDBSecurityGroupIngressOutput); ok { r0 = rf(_a0) } else { @@ -11160,7 +12150,6 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngress(_a0 *rds.RevokeDBSecurityGro } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.RevokeDBSecurityGroupIngressInput) error); ok { r1 = rf(_a0) } else { @@ -11175,6 +12164,10 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngressRequest(_a0 *rds.RevokeDBSecu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.RevokeDBSecurityGroupIngressOutput + if rf, ok := ret.Get(0).(func(*rds.RevokeDBSecurityGroupIngressInput) (*request.Request, *rds.RevokeDBSecurityGroupIngressOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.RevokeDBSecurityGroupIngressInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11183,7 +12176,6 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngressRequest(_a0 *rds.RevokeDBSecu } } - var r1 *rds.RevokeDBSecurityGroupIngressOutput if rf, ok := ret.Get(1).(func(*rds.RevokeDBSecurityGroupIngressInput) *rds.RevokeDBSecurityGroupIngressOutput); ok { r1 = rf(_a0) } else { @@ -11207,6 +12199,10 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngressWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *rds.RevokeDBSecurityGroupIngressOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.RevokeDBSecurityGroupIngressInput, ...request.Option) (*rds.RevokeDBSecurityGroupIngressOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.RevokeDBSecurityGroupIngressInput, ...request.Option) *rds.RevokeDBSecurityGroupIngressOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11215,7 +12211,6 @@ func (_m *MockFakeRDS) RevokeDBSecurityGroupIngressWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.RevokeDBSecurityGroupIngressInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11230,6 +12225,10 @@ func (_m *MockFakeRDS) StartActivityStream(_a0 *rds.StartActivityStreamInput) (* ret := _m.Called(_a0) var r0 *rds.StartActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StartActivityStreamInput) (*rds.StartActivityStreamOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartActivityStreamInput) *rds.StartActivityStreamOutput); ok { r0 = rf(_a0) } else { @@ -11238,7 +12237,6 @@ func (_m *MockFakeRDS) StartActivityStream(_a0 *rds.StartActivityStreamInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StartActivityStreamInput) error); ok { r1 = rf(_a0) } else { @@ -11253,6 +12251,10 @@ func (_m *MockFakeRDS) StartActivityStreamRequest(_a0 *rds.StartActivityStreamIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StartActivityStreamOutput + if rf, ok := ret.Get(0).(func(*rds.StartActivityStreamInput) (*request.Request, *rds.StartActivityStreamOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartActivityStreamInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11261,7 +12263,6 @@ func (_m *MockFakeRDS) StartActivityStreamRequest(_a0 *rds.StartActivityStreamIn } } - var r1 *rds.StartActivityStreamOutput if rf, ok := ret.Get(1).(func(*rds.StartActivityStreamInput) *rds.StartActivityStreamOutput); ok { r1 = rf(_a0) } else { @@ -11285,6 +12286,10 @@ func (_m *MockFakeRDS) StartActivityStreamWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *rds.StartActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StartActivityStreamInput, ...request.Option) (*rds.StartActivityStreamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StartActivityStreamInput, ...request.Option) *rds.StartActivityStreamOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11293,7 +12298,6 @@ func (_m *MockFakeRDS) StartActivityStreamWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StartActivityStreamInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11308,6 +12312,10 @@ func (_m *MockFakeRDS) StartDBCluster(_a0 *rds.StartDBClusterInput) (*rds.StartD ret := _m.Called(_a0) var r0 *rds.StartDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StartDBClusterInput) (*rds.StartDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBClusterInput) *rds.StartDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -11316,7 +12324,6 @@ func (_m *MockFakeRDS) StartDBCluster(_a0 *rds.StartDBClusterInput) (*rds.StartD } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StartDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -11331,6 +12338,10 @@ func (_m *MockFakeRDS) StartDBClusterRequest(_a0 *rds.StartDBClusterInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StartDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.StartDBClusterInput) (*request.Request, *rds.StartDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11339,7 +12350,6 @@ func (_m *MockFakeRDS) StartDBClusterRequest(_a0 *rds.StartDBClusterInput) (*req } } - var r1 *rds.StartDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.StartDBClusterInput) *rds.StartDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -11363,6 +12373,10 @@ func (_m *MockFakeRDS) StartDBClusterWithContext(_a0 context.Context, _a1 *rds.S ret := _m.Called(_ca...) var r0 *rds.StartDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBClusterInput, ...request.Option) (*rds.StartDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBClusterInput, ...request.Option) *rds.StartDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11371,7 +12385,6 @@ func (_m *MockFakeRDS) StartDBClusterWithContext(_a0 context.Context, _a1 *rds.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StartDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11386,6 +12399,10 @@ func (_m *MockFakeRDS) StartDBInstance(_a0 *rds.StartDBInstanceInput) (*rds.Star ret := _m.Called(_a0) var r0 *rds.StartDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceInput) (*rds.StartDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceInput) *rds.StartDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -11394,7 +12411,6 @@ func (_m *MockFakeRDS) StartDBInstance(_a0 *rds.StartDBInstanceInput) (*rds.Star } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StartDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -11409,6 +12425,10 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplication(_a0 *rds.Start ret := _m.Called(_a0) var r0 *rds.StartDBInstanceAutomatedBackupsReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) (*rds.StartDBInstanceAutomatedBackupsReplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) *rds.StartDBInstanceAutomatedBackupsReplicationOutput); ok { r0 = rf(_a0) } else { @@ -11417,7 +12437,6 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplication(_a0 *rds.Start } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -11432,6 +12451,10 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplicationRequest(_a0 *rd ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StartDBInstanceAutomatedBackupsReplicationOutput + if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) (*request.Request, *rds.StartDBInstanceAutomatedBackupsReplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11440,7 +12463,6 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplicationRequest(_a0 *rd } } - var r1 *rds.StartDBInstanceAutomatedBackupsReplicationOutput if rf, ok := ret.Get(1).(func(*rds.StartDBInstanceAutomatedBackupsReplicationInput) *rds.StartDBInstanceAutomatedBackupsReplicationOutput); ok { r1 = rf(_a0) } else { @@ -11464,6 +12486,10 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplicationWithContext(_a0 ret := _m.Called(_ca...) var r0 *rds.StartDBInstanceAutomatedBackupsReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBInstanceAutomatedBackupsReplicationInput, ...request.Option) (*rds.StartDBInstanceAutomatedBackupsReplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBInstanceAutomatedBackupsReplicationInput, ...request.Option) *rds.StartDBInstanceAutomatedBackupsReplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11472,7 +12498,6 @@ func (_m *MockFakeRDS) StartDBInstanceAutomatedBackupsReplicationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StartDBInstanceAutomatedBackupsReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11487,6 +12512,10 @@ func (_m *MockFakeRDS) StartDBInstanceRequest(_a0 *rds.StartDBInstanceInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StartDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceInput) (*request.Request, *rds.StartDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11495,7 +12524,6 @@ func (_m *MockFakeRDS) StartDBInstanceRequest(_a0 *rds.StartDBInstanceInput) (*r } } - var r1 *rds.StartDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.StartDBInstanceInput) *rds.StartDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -11519,6 +12547,10 @@ func (_m *MockFakeRDS) StartDBInstanceWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.StartDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBInstanceInput, ...request.Option) (*rds.StartDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StartDBInstanceInput, ...request.Option) *rds.StartDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11527,7 +12559,6 @@ func (_m *MockFakeRDS) StartDBInstanceWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StartDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11542,6 +12573,10 @@ func (_m *MockFakeRDS) StartExportTask(_a0 *rds.StartExportTaskInput) (*rds.Star ret := _m.Called(_a0) var r0 *rds.StartExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StartExportTaskInput) (*rds.StartExportTaskOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartExportTaskInput) *rds.StartExportTaskOutput); ok { r0 = rf(_a0) } else { @@ -11550,7 +12585,6 @@ func (_m *MockFakeRDS) StartExportTask(_a0 *rds.StartExportTaskInput) (*rds.Star } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StartExportTaskInput) error); ok { r1 = rf(_a0) } else { @@ -11565,6 +12599,10 @@ func (_m *MockFakeRDS) StartExportTaskRequest(_a0 *rds.StartExportTaskInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StartExportTaskOutput + if rf, ok := ret.Get(0).(func(*rds.StartExportTaskInput) (*request.Request, *rds.StartExportTaskOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StartExportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11573,7 +12611,6 @@ func (_m *MockFakeRDS) StartExportTaskRequest(_a0 *rds.StartExportTaskInput) (*r } } - var r1 *rds.StartExportTaskOutput if rf, ok := ret.Get(1).(func(*rds.StartExportTaskInput) *rds.StartExportTaskOutput); ok { r1 = rf(_a0) } else { @@ -11597,6 +12634,10 @@ func (_m *MockFakeRDS) StartExportTaskWithContext(_a0 context.Context, _a1 *rds. ret := _m.Called(_ca...) var r0 *rds.StartExportTaskOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StartExportTaskInput, ...request.Option) (*rds.StartExportTaskOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StartExportTaskInput, ...request.Option) *rds.StartExportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11605,7 +12646,6 @@ func (_m *MockFakeRDS) StartExportTaskWithContext(_a0 context.Context, _a1 *rds. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StartExportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11620,6 +12660,10 @@ func (_m *MockFakeRDS) StopActivityStream(_a0 *rds.StopActivityStreamInput) (*rd ret := _m.Called(_a0) var r0 *rds.StopActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StopActivityStreamInput) (*rds.StopActivityStreamOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopActivityStreamInput) *rds.StopActivityStreamOutput); ok { r0 = rf(_a0) } else { @@ -11628,7 +12672,6 @@ func (_m *MockFakeRDS) StopActivityStream(_a0 *rds.StopActivityStreamInput) (*rd } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StopActivityStreamInput) error); ok { r1 = rf(_a0) } else { @@ -11643,6 +12686,10 @@ func (_m *MockFakeRDS) StopActivityStreamRequest(_a0 *rds.StopActivityStreamInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StopActivityStreamOutput + if rf, ok := ret.Get(0).(func(*rds.StopActivityStreamInput) (*request.Request, *rds.StopActivityStreamOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopActivityStreamInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11651,7 +12698,6 @@ func (_m *MockFakeRDS) StopActivityStreamRequest(_a0 *rds.StopActivityStreamInpu } } - var r1 *rds.StopActivityStreamOutput if rf, ok := ret.Get(1).(func(*rds.StopActivityStreamInput) *rds.StopActivityStreamOutput); ok { r1 = rf(_a0) } else { @@ -11675,6 +12721,10 @@ func (_m *MockFakeRDS) StopActivityStreamWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *rds.StopActivityStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StopActivityStreamInput, ...request.Option) (*rds.StopActivityStreamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StopActivityStreamInput, ...request.Option) *rds.StopActivityStreamOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11683,7 +12733,6 @@ func (_m *MockFakeRDS) StopActivityStreamWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StopActivityStreamInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11698,6 +12747,10 @@ func (_m *MockFakeRDS) StopDBCluster(_a0 *rds.StopDBClusterInput) (*rds.StopDBCl ret := _m.Called(_a0) var r0 *rds.StopDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StopDBClusterInput) (*rds.StopDBClusterOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBClusterInput) *rds.StopDBClusterOutput); ok { r0 = rf(_a0) } else { @@ -11706,7 +12759,6 @@ func (_m *MockFakeRDS) StopDBCluster(_a0 *rds.StopDBClusterInput) (*rds.StopDBCl } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StopDBClusterInput) error); ok { r1 = rf(_a0) } else { @@ -11721,6 +12773,10 @@ func (_m *MockFakeRDS) StopDBClusterRequest(_a0 *rds.StopDBClusterInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StopDBClusterOutput + if rf, ok := ret.Get(0).(func(*rds.StopDBClusterInput) (*request.Request, *rds.StopDBClusterOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBClusterInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11729,7 +12785,6 @@ func (_m *MockFakeRDS) StopDBClusterRequest(_a0 *rds.StopDBClusterInput) (*reque } } - var r1 *rds.StopDBClusterOutput if rf, ok := ret.Get(1).(func(*rds.StopDBClusterInput) *rds.StopDBClusterOutput); ok { r1 = rf(_a0) } else { @@ -11753,6 +12808,10 @@ func (_m *MockFakeRDS) StopDBClusterWithContext(_a0 context.Context, _a1 *rds.St ret := _m.Called(_ca...) var r0 *rds.StopDBClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBClusterInput, ...request.Option) (*rds.StopDBClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBClusterInput, ...request.Option) *rds.StopDBClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11761,7 +12820,6 @@ func (_m *MockFakeRDS) StopDBClusterWithContext(_a0 context.Context, _a1 *rds.St } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StopDBClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11776,6 +12834,10 @@ func (_m *MockFakeRDS) StopDBInstance(_a0 *rds.StopDBInstanceInput) (*rds.StopDB ret := _m.Called(_a0) var r0 *rds.StopDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceInput) (*rds.StopDBInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceInput) *rds.StopDBInstanceOutput); ok { r0 = rf(_a0) } else { @@ -11784,7 +12846,6 @@ func (_m *MockFakeRDS) StopDBInstance(_a0 *rds.StopDBInstanceInput) (*rds.StopDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StopDBInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -11799,6 +12860,10 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplication(_a0 *rds.StopDB ret := _m.Called(_a0) var r0 *rds.StopDBInstanceAutomatedBackupsReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) (*rds.StopDBInstanceAutomatedBackupsReplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) *rds.StopDBInstanceAutomatedBackupsReplicationOutput); ok { r0 = rf(_a0) } else { @@ -11807,7 +12872,6 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplication(_a0 *rds.StopDB } } - var r1 error if rf, ok := ret.Get(1).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -11822,6 +12886,10 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplicationRequest(_a0 *rds ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StopDBInstanceAutomatedBackupsReplicationOutput + if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) (*request.Request, *rds.StopDBInstanceAutomatedBackupsReplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11830,7 +12898,6 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplicationRequest(_a0 *rds } } - var r1 *rds.StopDBInstanceAutomatedBackupsReplicationOutput if rf, ok := ret.Get(1).(func(*rds.StopDBInstanceAutomatedBackupsReplicationInput) *rds.StopDBInstanceAutomatedBackupsReplicationOutput); ok { r1 = rf(_a0) } else { @@ -11854,6 +12921,10 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplicationWithContext(_a0 ret := _m.Called(_ca...) var r0 *rds.StopDBInstanceAutomatedBackupsReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBInstanceAutomatedBackupsReplicationInput, ...request.Option) (*rds.StopDBInstanceAutomatedBackupsReplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBInstanceAutomatedBackupsReplicationInput, ...request.Option) *rds.StopDBInstanceAutomatedBackupsReplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11862,7 +12933,6 @@ func (_m *MockFakeRDS) StopDBInstanceAutomatedBackupsReplicationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StopDBInstanceAutomatedBackupsReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11877,6 +12947,10 @@ func (_m *MockFakeRDS) StopDBInstanceRequest(_a0 *rds.StopDBInstanceInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *rds.StopDBInstanceOutput + if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceInput) (*request.Request, *rds.StopDBInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*rds.StopDBInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -11885,7 +12959,6 @@ func (_m *MockFakeRDS) StopDBInstanceRequest(_a0 *rds.StopDBInstanceInput) (*req } } - var r1 *rds.StopDBInstanceOutput if rf, ok := ret.Get(1).(func(*rds.StopDBInstanceInput) *rds.StopDBInstanceOutput); ok { r1 = rf(_a0) } else { @@ -11909,6 +12982,10 @@ func (_m *MockFakeRDS) StopDBInstanceWithContext(_a0 context.Context, _a1 *rds.S ret := _m.Called(_ca...) var r0 *rds.StopDBInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBInstanceInput, ...request.Option) (*rds.StopDBInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *rds.StopDBInstanceInput, ...request.Option) *rds.StopDBInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -11917,7 +12994,6 @@ func (_m *MockFakeRDS) StopDBInstanceWithContext(_a0 context.Context, _a1 *rds.S } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *rds.StopDBInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -11927,6 +13003,163 @@ func (_m *MockFakeRDS) StopDBInstanceWithContext(_a0 context.Context, _a1 *rds.S return r0, r1 } +// SwitchoverReadReplica provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) SwitchoverReadReplica(_a0 *rds.SwitchoverReadReplicaInput) (*rds.SwitchoverReadReplicaOutput, error) { + ret := _m.Called(_a0) + + var r0 *rds.SwitchoverReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*rds.SwitchoverReadReplicaInput) (*rds.SwitchoverReadReplicaOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.SwitchoverReadReplicaInput) *rds.SwitchoverReadReplicaOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.SwitchoverReadReplicaOutput) + } + } + + if rf, ok := ret.Get(1).(func(*rds.SwitchoverReadReplicaInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// SwitchoverReadReplicaRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) SwitchoverReadReplicaRequest(_a0 *rds.SwitchoverReadReplicaInput) (*request.Request, *rds.SwitchoverReadReplicaOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *rds.SwitchoverReadReplicaOutput + if rf, ok := ret.Get(0).(func(*rds.SwitchoverReadReplicaInput) (*request.Request, *rds.SwitchoverReadReplicaOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*rds.SwitchoverReadReplicaInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*rds.SwitchoverReadReplicaInput) *rds.SwitchoverReadReplicaOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*rds.SwitchoverReadReplicaOutput) + } + } + + return r0, r1 +} + +// SwitchoverReadReplicaWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) SwitchoverReadReplicaWithContext(_a0 context.Context, _a1 *rds.SwitchoverReadReplicaInput, _a2 ...request.Option) (*rds.SwitchoverReadReplicaOutput, error) { + _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 *rds.SwitchoverReadReplicaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.SwitchoverReadReplicaInput, ...request.Option) (*rds.SwitchoverReadReplicaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *rds.SwitchoverReadReplicaInput, ...request.Option) *rds.SwitchoverReadReplicaOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*rds.SwitchoverReadReplicaOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *rds.SwitchoverReadReplicaInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// WaitUntilDBClusterAvailable provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) WaitUntilDBClusterAvailable(_a0 *rds.DescribeDBClustersInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilDBClusterAvailableWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) WaitUntilDBClusterAvailableWithContext(_a0 context.Context, _a1 *rds.DescribeDBClustersInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClustersInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilDBClusterDeleted provides a mock function with given fields: _a0 +func (_m *MockFakeRDS) WaitUntilDBClusterDeleted(_a0 *rds.DescribeDBClustersInput) error { + ret := _m.Called(_a0) + + var r0 error + if rf, ok := ret.Get(0).(func(*rds.DescribeDBClustersInput) error); ok { + r0 = rf(_a0) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// WaitUntilDBClusterDeletedWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRDS) WaitUntilDBClusterDeletedWithContext(_a0 context.Context, _a1 *rds.DescribeDBClustersInput, _a2 ...request.WaiterOption) error { + _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 error + if rf, ok := ret.Get(0).(func(context.Context, *rds.DescribeDBClustersInput, ...request.WaiterOption) error); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + // WaitUntilDBClusterSnapshotAvailable provides a mock function with given fields: _a0 func (_m *MockFakeRDS) WaitUntilDBClusterSnapshotAvailable(_a0 *rds.DescribeDBClusterSnapshotsInput) error { ret := _m.Called(_a0) @@ -12136,3 +13369,18 @@ func (_m *MockFakeRDS) WaitUntilDBSnapshotDeletedWithContext(_a0 context.Context return r0 } + +type mockConstructorTestingTNewMockFakeRDS interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeRDS creates a new instance of MockFakeRDS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeRDS(t mockConstructorTestingTNewMockFakeRDS) *MockFakeRDS { + mock := &MockFakeRDS{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeRequestFailure.go b/test/aws/mock_FakeRequestFailure.go index 01049ab40..104abf419 100644 --- a/test/aws/mock_FakeRequestFailure.go +++ b/test/aws/mock_FakeRequestFailure.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -106,3 +106,18 @@ func (_m *MockFakeRequestFailure) StatusCode() int { return r0 } + +type mockConstructorTestingTNewMockFakeRequestFailure interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeRequestFailure creates a new instance of MockFakeRequestFailure. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeRequestFailure(t mockConstructorTestingTNewMockFakeRequestFailure) *MockFakeRequestFailure { + mock := &MockFakeRequestFailure{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeRoute53.go b/test/aws/mock_FakeRoute53.go index 0a0018176..30f67ac6e 100644 --- a/test/aws/mock_FakeRoute53.go +++ b/test/aws/mock_FakeRoute53.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeRoute53) ActivateKeySigningKey(_a0 *route53.ActivateKeySigning ret := _m.Called(_a0) var r0 *route53.ActivateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ActivateKeySigningKeyInput) (*route53.ActivateKeySigningKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ActivateKeySigningKeyInput) *route53.ActivateKeySigningKeyOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeRoute53) ActivateKeySigningKey(_a0 *route53.ActivateKeySigning } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ActivateKeySigningKeyInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeRoute53) ActivateKeySigningKeyRequest(_a0 *route53.ActivateKey ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ActivateKeySigningKeyOutput + if rf, ok := ret.Get(0).(func(*route53.ActivateKeySigningKeyInput) (*request.Request, *route53.ActivateKeySigningKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ActivateKeySigningKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeRoute53) ActivateKeySigningKeyRequest(_a0 *route53.ActivateKey } } - var r1 *route53.ActivateKeySigningKeyOutput if rf, ok := ret.Get(1).(func(*route53.ActivateKeySigningKeyInput) *route53.ActivateKeySigningKeyOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeRoute53) ActivateKeySigningKeyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.ActivateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ActivateKeySigningKeyInput, ...request.Option) (*route53.ActivateKeySigningKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ActivateKeySigningKeyInput, ...request.Option) *route53.ActivateKeySigningKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeRoute53) ActivateKeySigningKeyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ActivateKeySigningKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZone(_a0 *route53.AssociateVPCW ret := _m.Called(_a0) var r0 *route53.AssociateVPCWithHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.AssociateVPCWithHostedZoneInput) (*route53.AssociateVPCWithHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.AssociateVPCWithHostedZoneInput) *route53.AssociateVPCWithHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZone(_a0 *route53.AssociateVPCW } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.AssociateVPCWithHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZoneRequest(_a0 *route53.Associ ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.AssociateVPCWithHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.AssociateVPCWithHostedZoneInput) (*request.Request, *route53.AssociateVPCWithHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.AssociateVPCWithHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZoneRequest(_a0 *route53.Associ } } - var r1 *route53.AssociateVPCWithHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.AssociateVPCWithHostedZoneInput) *route53.AssociateVPCWithHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZoneWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *route53.AssociateVPCWithHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.AssociateVPCWithHostedZoneInput, ...request.Option) (*route53.AssociateVPCWithHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.AssociateVPCWithHostedZoneInput, ...request.Option) *route53.AssociateVPCWithHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZoneWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.AssociateVPCWithHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -172,11 +190,102 @@ func (_m *MockFakeRoute53) AssociateVPCWithHostedZoneWithContext(_a0 context.Con return r0, r1 } +// ChangeCidrCollection provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ChangeCidrCollection(_a0 *route53.ChangeCidrCollectionInput) (*route53.ChangeCidrCollectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.ChangeCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ChangeCidrCollectionInput) (*route53.ChangeCidrCollectionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ChangeCidrCollectionInput) *route53.ChangeCidrCollectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ChangeCidrCollectionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ChangeCidrCollectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ChangeCidrCollectionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ChangeCidrCollectionRequest(_a0 *route53.ChangeCidrCollectionInput) (*request.Request, *route53.ChangeCidrCollectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.ChangeCidrCollectionOutput + if rf, ok := ret.Get(0).(func(*route53.ChangeCidrCollectionInput) (*request.Request, *route53.ChangeCidrCollectionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ChangeCidrCollectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ChangeCidrCollectionInput) *route53.ChangeCidrCollectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.ChangeCidrCollectionOutput) + } + } + + return r0, r1 +} + +// ChangeCidrCollectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) ChangeCidrCollectionWithContext(_a0 context.Context, _a1 *route53.ChangeCidrCollectionInput, _a2 ...request.Option) (*route53.ChangeCidrCollectionOutput, error) { + _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 *route53.ChangeCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeCidrCollectionInput, ...request.Option) (*route53.ChangeCidrCollectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeCidrCollectionInput, ...request.Option) *route53.ChangeCidrCollectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ChangeCidrCollectionOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.ChangeCidrCollectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ChangeResourceRecordSets provides a mock function with given fields: _a0 func (_m *MockFakeRoute53) ChangeResourceRecordSets(_a0 *route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error) { ret := _m.Called(_a0) var r0 *route53.ChangeResourceRecordSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ChangeResourceRecordSetsInput) *route53.ChangeResourceRecordSetsOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +294,6 @@ func (_m *MockFakeRoute53) ChangeResourceRecordSets(_a0 *route53.ChangeResourceR } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ChangeResourceRecordSetsInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +308,10 @@ func (_m *MockFakeRoute53) ChangeResourceRecordSetsRequest(_a0 *route53.ChangeRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ChangeResourceRecordSetsOutput + if rf, ok := ret.Get(0).(func(*route53.ChangeResourceRecordSetsInput) (*request.Request, *route53.ChangeResourceRecordSetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ChangeResourceRecordSetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +320,6 @@ func (_m *MockFakeRoute53) ChangeResourceRecordSetsRequest(_a0 *route53.ChangeRe } } - var r1 *route53.ChangeResourceRecordSetsOutput if rf, ok := ret.Get(1).(func(*route53.ChangeResourceRecordSetsInput) *route53.ChangeResourceRecordSetsOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +343,10 @@ func (_m *MockFakeRoute53) ChangeResourceRecordSetsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *route53.ChangeResourceRecordSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeResourceRecordSetsInput, ...request.Option) (*route53.ChangeResourceRecordSetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeResourceRecordSetsInput, ...request.Option) *route53.ChangeResourceRecordSetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +355,6 @@ func (_m *MockFakeRoute53) ChangeResourceRecordSetsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ChangeResourceRecordSetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +369,10 @@ func (_m *MockFakeRoute53) ChangeTagsForResource(_a0 *route53.ChangeTagsForResou ret := _m.Called(_a0) var r0 *route53.ChangeTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ChangeTagsForResourceInput) (*route53.ChangeTagsForResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ChangeTagsForResourceInput) *route53.ChangeTagsForResourceOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +381,6 @@ func (_m *MockFakeRoute53) ChangeTagsForResource(_a0 *route53.ChangeTagsForResou } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ChangeTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +395,10 @@ func (_m *MockFakeRoute53) ChangeTagsForResourceRequest(_a0 *route53.ChangeTagsF ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ChangeTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*route53.ChangeTagsForResourceInput) (*request.Request, *route53.ChangeTagsForResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ChangeTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +407,6 @@ func (_m *MockFakeRoute53) ChangeTagsForResourceRequest(_a0 *route53.ChangeTagsF } } - var r1 *route53.ChangeTagsForResourceOutput if rf, ok := ret.Get(1).(func(*route53.ChangeTagsForResourceInput) *route53.ChangeTagsForResourceOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +430,10 @@ func (_m *MockFakeRoute53) ChangeTagsForResourceWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.ChangeTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeTagsForResourceInput, ...request.Option) (*route53.ChangeTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ChangeTagsForResourceInput, ...request.Option) *route53.ChangeTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +442,6 @@ func (_m *MockFakeRoute53) ChangeTagsForResourceWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ChangeTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -328,11 +451,102 @@ func (_m *MockFakeRoute53) ChangeTagsForResourceWithContext(_a0 context.Context, return r0, r1 } +// CreateCidrCollection provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) CreateCidrCollection(_a0 *route53.CreateCidrCollectionInput) (*route53.CreateCidrCollectionOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.CreateCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateCidrCollectionInput) (*route53.CreateCidrCollectionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.CreateCidrCollectionInput) *route53.CreateCidrCollectionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.CreateCidrCollectionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.CreateCidrCollectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateCidrCollectionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) CreateCidrCollectionRequest(_a0 *route53.CreateCidrCollectionInput) (*request.Request, *route53.CreateCidrCollectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.CreateCidrCollectionOutput + if rf, ok := ret.Get(0).(func(*route53.CreateCidrCollectionInput) (*request.Request, *route53.CreateCidrCollectionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.CreateCidrCollectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.CreateCidrCollectionInput) *route53.CreateCidrCollectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.CreateCidrCollectionOutput) + } + } + + return r0, r1 +} + +// CreateCidrCollectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) CreateCidrCollectionWithContext(_a0 context.Context, _a1 *route53.CreateCidrCollectionInput, _a2 ...request.Option) (*route53.CreateCidrCollectionOutput, error) { + _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 *route53.CreateCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateCidrCollectionInput, ...request.Option) (*route53.CreateCidrCollectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateCidrCollectionInput, ...request.Option) *route53.CreateCidrCollectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.CreateCidrCollectionOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateCidrCollectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateHealthCheck provides a mock function with given fields: _a0 func (_m *MockFakeRoute53) CreateHealthCheck(_a0 *route53.CreateHealthCheckInput) (*route53.CreateHealthCheckOutput, error) { ret := _m.Called(_a0) var r0 *route53.CreateHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateHealthCheckInput) (*route53.CreateHealthCheckOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateHealthCheckInput) *route53.CreateHealthCheckOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +555,6 @@ func (_m *MockFakeRoute53) CreateHealthCheck(_a0 *route53.CreateHealthCheckInput } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateHealthCheckInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +569,10 @@ func (_m *MockFakeRoute53) CreateHealthCheckRequest(_a0 *route53.CreateHealthChe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateHealthCheckOutput + if rf, ok := ret.Get(0).(func(*route53.CreateHealthCheckInput) (*request.Request, *route53.CreateHealthCheckOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateHealthCheckInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +581,6 @@ func (_m *MockFakeRoute53) CreateHealthCheckRequest(_a0 *route53.CreateHealthChe } } - var r1 *route53.CreateHealthCheckOutput if rf, ok := ret.Get(1).(func(*route53.CreateHealthCheckInput) *route53.CreateHealthCheckOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +604,10 @@ func (_m *MockFakeRoute53) CreateHealthCheckWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.CreateHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateHealthCheckInput, ...request.Option) (*route53.CreateHealthCheckOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateHealthCheckInput, ...request.Option) *route53.CreateHealthCheckOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +616,6 @@ func (_m *MockFakeRoute53) CreateHealthCheckWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateHealthCheckInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +630,10 @@ func (_m *MockFakeRoute53) CreateHostedZone(_a0 *route53.CreateHostedZoneInput) ret := _m.Called(_a0) var r0 *route53.CreateHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateHostedZoneInput) (*route53.CreateHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateHostedZoneInput) *route53.CreateHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +642,6 @@ func (_m *MockFakeRoute53) CreateHostedZone(_a0 *route53.CreateHostedZoneInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +656,10 @@ func (_m *MockFakeRoute53) CreateHostedZoneRequest(_a0 *route53.CreateHostedZone ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.CreateHostedZoneInput) (*request.Request, *route53.CreateHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +668,6 @@ func (_m *MockFakeRoute53) CreateHostedZoneRequest(_a0 *route53.CreateHostedZone } } - var r1 *route53.CreateHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.CreateHostedZoneInput) *route53.CreateHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +691,10 @@ func (_m *MockFakeRoute53) CreateHostedZoneWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.CreateHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateHostedZoneInput, ...request.Option) (*route53.CreateHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateHostedZoneInput, ...request.Option) *route53.CreateHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +703,6 @@ func (_m *MockFakeRoute53) CreateHostedZoneWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +717,10 @@ func (_m *MockFakeRoute53) CreateKeySigningKey(_a0 *route53.CreateKeySigningKeyI ret := _m.Called(_a0) var r0 *route53.CreateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateKeySigningKeyInput) (*route53.CreateKeySigningKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateKeySigningKeyInput) *route53.CreateKeySigningKeyOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +729,6 @@ func (_m *MockFakeRoute53) CreateKeySigningKey(_a0 *route53.CreateKeySigningKeyI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateKeySigningKeyInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +743,10 @@ func (_m *MockFakeRoute53) CreateKeySigningKeyRequest(_a0 *route53.CreateKeySign ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateKeySigningKeyOutput + if rf, ok := ret.Get(0).(func(*route53.CreateKeySigningKeyInput) (*request.Request, *route53.CreateKeySigningKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateKeySigningKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +755,6 @@ func (_m *MockFakeRoute53) CreateKeySigningKeyRequest(_a0 *route53.CreateKeySign } } - var r1 *route53.CreateKeySigningKeyOutput if rf, ok := ret.Get(1).(func(*route53.CreateKeySigningKeyInput) *route53.CreateKeySigningKeyOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +778,10 @@ func (_m *MockFakeRoute53) CreateKeySigningKeyWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.CreateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateKeySigningKeyInput, ...request.Option) (*route53.CreateKeySigningKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateKeySigningKeyInput, ...request.Option) *route53.CreateKeySigningKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +790,6 @@ func (_m *MockFakeRoute53) CreateKeySigningKeyWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateKeySigningKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +804,10 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfig(_a0 *route53.CreateQueryLogg ret := _m.Called(_a0) var r0 *route53.CreateQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateQueryLoggingConfigInput) (*route53.CreateQueryLoggingConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateQueryLoggingConfigInput) *route53.CreateQueryLoggingConfigOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +816,6 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfig(_a0 *route53.CreateQueryLogg } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateQueryLoggingConfigInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +830,10 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfigRequest(_a0 *route53.CreateQu ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateQueryLoggingConfigOutput + if rf, ok := ret.Get(0).(func(*route53.CreateQueryLoggingConfigInput) (*request.Request, *route53.CreateQueryLoggingConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateQueryLoggingConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +842,6 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfigRequest(_a0 *route53.CreateQu } } - var r1 *route53.CreateQueryLoggingConfigOutput if rf, ok := ret.Get(1).(func(*route53.CreateQueryLoggingConfigInput) *route53.CreateQueryLoggingConfigOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +865,10 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfigWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *route53.CreateQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateQueryLoggingConfigInput, ...request.Option) (*route53.CreateQueryLoggingConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateQueryLoggingConfigInput, ...request.Option) *route53.CreateQueryLoggingConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +877,6 @@ func (_m *MockFakeRoute53) CreateQueryLoggingConfigWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateQueryLoggingConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +891,10 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSet(_a0 *route53.CreateReusab ret := _m.Called(_a0) var r0 *route53.CreateReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateReusableDelegationSetInput) (*route53.CreateReusableDelegationSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateReusableDelegationSetInput) *route53.CreateReusableDelegationSetOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +903,6 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSet(_a0 *route53.CreateReusab } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateReusableDelegationSetInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +917,10 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSetRequest(_a0 *route53.Creat ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateReusableDelegationSetOutput + if rf, ok := ret.Get(0).(func(*route53.CreateReusableDelegationSetInput) (*request.Request, *route53.CreateReusableDelegationSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateReusableDelegationSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +929,6 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSetRequest(_a0 *route53.Creat } } - var r1 *route53.CreateReusableDelegationSetOutput if rf, ok := ret.Get(1).(func(*route53.CreateReusableDelegationSetInput) *route53.CreateReusableDelegationSetOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +952,10 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSetWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *route53.CreateReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateReusableDelegationSetInput, ...request.Option) (*route53.CreateReusableDelegationSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateReusableDelegationSetInput, ...request.Option) *route53.CreateReusableDelegationSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +964,6 @@ func (_m *MockFakeRoute53) CreateReusableDelegationSetWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateReusableDelegationSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +978,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicy(_a0 *route53.CreateTrafficPolicyI ret := _m.Called(_a0) var r0 *route53.CreateTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInput) (*route53.CreateTrafficPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInput) *route53.CreateTrafficPolicyOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +990,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicy(_a0 *route53.CreateTrafficPolicyI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +1004,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstance(_a0 *route53.CreateTraffi ret := _m.Called(_a0) var r0 *route53.CreateTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInstanceInput) (*route53.CreateTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInstanceInput) *route53.CreateTrafficPolicyInstanceOutput); ok { r0 = rf(_a0) } else { @@ -754,7 +1016,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstance(_a0 *route53.CreateTraffi } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -769,6 +1030,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstanceRequest(_a0 *route53.Creat ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateTrafficPolicyInstanceOutput + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInstanceInput) (*request.Request, *route53.CreateTrafficPolicyInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -777,7 +1042,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstanceRequest(_a0 *route53.Creat } } - var r1 *route53.CreateTrafficPolicyInstanceOutput if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyInstanceInput) *route53.CreateTrafficPolicyInstanceOutput); ok { r1 = rf(_a0) } else { @@ -801,6 +1065,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstanceWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *route53.CreateTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyInstanceInput, ...request.Option) (*route53.CreateTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyInstanceInput, ...request.Option) *route53.CreateTrafficPolicyInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -809,7 +1077,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyInstanceWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateTrafficPolicyInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -824,6 +1091,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyRequest(_a0 *route53.CreateTraffic ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateTrafficPolicyOutput + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInput) (*request.Request, *route53.CreateTrafficPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +1103,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyRequest(_a0 *route53.CreateTraffic } } - var r1 *route53.CreateTrafficPolicyOutput if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyInput) *route53.CreateTrafficPolicyOutput); ok { r1 = rf(_a0) } else { @@ -849,6 +1119,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersion(_a0 *route53.CreateTraffic ret := _m.Called(_a0) var r0 *route53.CreateTrafficPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyVersionInput) (*route53.CreateTrafficPolicyVersionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyVersionInput) *route53.CreateTrafficPolicyVersionOutput); ok { r0 = rf(_a0) } else { @@ -857,7 +1131,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersion(_a0 *route53.CreateTraffic } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyVersionInput) error); ok { r1 = rf(_a0) } else { @@ -872,6 +1145,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersionRequest(_a0 *route53.Create ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateTrafficPolicyVersionOutput + if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyVersionInput) (*request.Request, *route53.CreateTrafficPolicyVersionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateTrafficPolicyVersionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -880,7 +1157,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersionRequest(_a0 *route53.Create } } - var r1 *route53.CreateTrafficPolicyVersionOutput if rf, ok := ret.Get(1).(func(*route53.CreateTrafficPolicyVersionInput) *route53.CreateTrafficPolicyVersionOutput); ok { r1 = rf(_a0) } else { @@ -904,6 +1180,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersionWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *route53.CreateTrafficPolicyVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyVersionInput, ...request.Option) (*route53.CreateTrafficPolicyVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyVersionInput, ...request.Option) *route53.CreateTrafficPolicyVersionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -912,7 +1192,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyVersionWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateTrafficPolicyVersionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -934,6 +1213,10 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.CreateTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyInput, ...request.Option) (*route53.CreateTrafficPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateTrafficPolicyInput, ...request.Option) *route53.CreateTrafficPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1225,6 @@ func (_m *MockFakeRoute53) CreateTrafficPolicyWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateTrafficPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1239,10 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorization(_a0 *route53.Create ret := _m.Called(_a0) var r0 *route53.CreateVPCAssociationAuthorizationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.CreateVPCAssociationAuthorizationInput) (*route53.CreateVPCAssociationAuthorizationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateVPCAssociationAuthorizationInput) *route53.CreateVPCAssociationAuthorizationOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1251,6 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorization(_a0 *route53.Create } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.CreateVPCAssociationAuthorizationInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1265,10 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorizationRequest(_a0 *route53 ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.CreateVPCAssociationAuthorizationOutput + if rf, ok := ret.Get(0).(func(*route53.CreateVPCAssociationAuthorizationInput) (*request.Request, *route53.CreateVPCAssociationAuthorizationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.CreateVPCAssociationAuthorizationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1277,6 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorizationRequest(_a0 *route53 } } - var r1 *route53.CreateVPCAssociationAuthorizationOutput if rf, ok := ret.Get(1).(func(*route53.CreateVPCAssociationAuthorizationInput) *route53.CreateVPCAssociationAuthorizationOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1300,10 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorizationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *route53.CreateVPCAssociationAuthorizationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateVPCAssociationAuthorizationInput, ...request.Option) (*route53.CreateVPCAssociationAuthorizationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.CreateVPCAssociationAuthorizationInput, ...request.Option) *route53.CreateVPCAssociationAuthorizationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1312,6 @@ func (_m *MockFakeRoute53) CreateVPCAssociationAuthorizationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.CreateVPCAssociationAuthorizationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1326,10 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKey(_a0 *route53.DeactivateKeySig ret := _m.Called(_a0) var r0 *route53.DeactivateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeactivateKeySigningKeyInput) (*route53.DeactivateKeySigningKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeactivateKeySigningKeyInput) *route53.DeactivateKeySigningKeyOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1338,6 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKey(_a0 *route53.DeactivateKeySig } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeactivateKeySigningKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1352,10 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKeyRequest(_a0 *route53.Deactivat ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeactivateKeySigningKeyOutput + if rf, ok := ret.Get(0).(func(*route53.DeactivateKeySigningKeyInput) (*request.Request, *route53.DeactivateKeySigningKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeactivateKeySigningKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1364,6 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKeyRequest(_a0 *route53.Deactivat } } - var r1 *route53.DeactivateKeySigningKeyOutput if rf, ok := ret.Get(1).(func(*route53.DeactivateKeySigningKeyInput) *route53.DeactivateKeySigningKeyOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1387,10 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKeyWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *route53.DeactivateKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeactivateKeySigningKeyInput, ...request.Option) (*route53.DeactivateKeySigningKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeactivateKeySigningKeyInput, ...request.Option) *route53.DeactivateKeySigningKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1399,6 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKeyWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeactivateKeySigningKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1108,20 +1408,110 @@ func (_m *MockFakeRoute53) DeactivateKeySigningKeyWithContext(_a0 context.Contex return r0, r1 } -// DeleteHealthCheck provides a mock function with given fields: _a0 -func (_m *MockFakeRoute53) DeleteHealthCheck(_a0 *route53.DeleteHealthCheckInput) (*route53.DeleteHealthCheckOutput, error) { +// DeleteCidrCollection provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) DeleteCidrCollection(_a0 *route53.DeleteCidrCollectionInput) (*route53.DeleteCidrCollectionOutput, error) { ret := _m.Called(_a0) - var r0 *route53.DeleteHealthCheckOutput - if rf, ok := ret.Get(0).(func(*route53.DeleteHealthCheckInput) *route53.DeleteHealthCheckOutput); ok { + var r0 *route53.DeleteCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteCidrCollectionInput) (*route53.DeleteCidrCollectionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.DeleteCidrCollectionInput) *route53.DeleteCidrCollectionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*route53.DeleteHealthCheckOutput) + r0 = ret.Get(0).(*route53.DeleteCidrCollectionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.DeleteCidrCollectionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteCidrCollectionRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) DeleteCidrCollectionRequest(_a0 *route53.DeleteCidrCollectionInput) (*request.Request, *route53.DeleteCidrCollectionOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.DeleteCidrCollectionOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteCidrCollectionInput) (*request.Request, *route53.DeleteCidrCollectionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.DeleteCidrCollectionInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.DeleteCidrCollectionInput) *route53.DeleteCidrCollectionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.DeleteCidrCollectionOutput) + } + } + + return r0, r1 +} + +// DeleteCidrCollectionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) DeleteCidrCollectionWithContext(_a0 context.Context, _a1 *route53.DeleteCidrCollectionInput, _a2 ...request.Option) (*route53.DeleteCidrCollectionOutput, error) { + _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 *route53.DeleteCidrCollectionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteCidrCollectionInput, ...request.Option) (*route53.DeleteCidrCollectionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteCidrCollectionInput, ...request.Option) *route53.DeleteCidrCollectionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.DeleteCidrCollectionOutput) } } + if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteCidrCollectionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteHealthCheck provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) DeleteHealthCheck(_a0 *route53.DeleteHealthCheckInput) (*route53.DeleteHealthCheckOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.DeleteHealthCheckOutput var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteHealthCheckInput) (*route53.DeleteHealthCheckOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.DeleteHealthCheckInput) *route53.DeleteHealthCheckOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.DeleteHealthCheckOutput) + } + } + if rf, ok := ret.Get(1).(func(*route53.DeleteHealthCheckInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1526,10 @@ func (_m *MockFakeRoute53) DeleteHealthCheckRequest(_a0 *route53.DeleteHealthChe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteHealthCheckOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteHealthCheckInput) (*request.Request, *route53.DeleteHealthCheckOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteHealthCheckInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1538,6 @@ func (_m *MockFakeRoute53) DeleteHealthCheckRequest(_a0 *route53.DeleteHealthChe } } - var r1 *route53.DeleteHealthCheckOutput if rf, ok := ret.Get(1).(func(*route53.DeleteHealthCheckInput) *route53.DeleteHealthCheckOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1561,10 @@ func (_m *MockFakeRoute53) DeleteHealthCheckWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.DeleteHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteHealthCheckInput, ...request.Option) (*route53.DeleteHealthCheckOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteHealthCheckInput, ...request.Option) *route53.DeleteHealthCheckOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1573,6 @@ func (_m *MockFakeRoute53) DeleteHealthCheckWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteHealthCheckInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1587,10 @@ func (_m *MockFakeRoute53) DeleteHostedZone(_a0 *route53.DeleteHostedZoneInput) ret := _m.Called(_a0) var r0 *route53.DeleteHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteHostedZoneInput) (*route53.DeleteHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteHostedZoneInput) *route53.DeleteHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1599,6 @@ func (_m *MockFakeRoute53) DeleteHostedZone(_a0 *route53.DeleteHostedZoneInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1613,10 @@ func (_m *MockFakeRoute53) DeleteHostedZoneRequest(_a0 *route53.DeleteHostedZone ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteHostedZoneInput) (*request.Request, *route53.DeleteHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1625,6 @@ func (_m *MockFakeRoute53) DeleteHostedZoneRequest(_a0 *route53.DeleteHostedZone } } - var r1 *route53.DeleteHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.DeleteHostedZoneInput) *route53.DeleteHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1648,10 @@ func (_m *MockFakeRoute53) DeleteHostedZoneWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.DeleteHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteHostedZoneInput, ...request.Option) (*route53.DeleteHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteHostedZoneInput, ...request.Option) *route53.DeleteHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1660,6 @@ func (_m *MockFakeRoute53) DeleteHostedZoneWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1674,10 @@ func (_m *MockFakeRoute53) DeleteKeySigningKey(_a0 *route53.DeleteKeySigningKeyI ret := _m.Called(_a0) var r0 *route53.DeleteKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteKeySigningKeyInput) (*route53.DeleteKeySigningKeyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteKeySigningKeyInput) *route53.DeleteKeySigningKeyOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1686,6 @@ func (_m *MockFakeRoute53) DeleteKeySigningKey(_a0 *route53.DeleteKeySigningKeyI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteKeySigningKeyInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1700,10 @@ func (_m *MockFakeRoute53) DeleteKeySigningKeyRequest(_a0 *route53.DeleteKeySign ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteKeySigningKeyOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteKeySigningKeyInput) (*request.Request, *route53.DeleteKeySigningKeyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteKeySigningKeyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1712,6 @@ func (_m *MockFakeRoute53) DeleteKeySigningKeyRequest(_a0 *route53.DeleteKeySign } } - var r1 *route53.DeleteKeySigningKeyOutput if rf, ok := ret.Get(1).(func(*route53.DeleteKeySigningKeyInput) *route53.DeleteKeySigningKeyOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1735,10 @@ func (_m *MockFakeRoute53) DeleteKeySigningKeyWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.DeleteKeySigningKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteKeySigningKeyInput, ...request.Option) (*route53.DeleteKeySigningKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteKeySigningKeyInput, ...request.Option) *route53.DeleteKeySigningKeyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1747,6 @@ func (_m *MockFakeRoute53) DeleteKeySigningKeyWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteKeySigningKeyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1761,10 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfig(_a0 *route53.DeleteQueryLogg ret := _m.Called(_a0) var r0 *route53.DeleteQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteQueryLoggingConfigInput) (*route53.DeleteQueryLoggingConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteQueryLoggingConfigInput) *route53.DeleteQueryLoggingConfigOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1773,6 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfig(_a0 *route53.DeleteQueryLogg } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteQueryLoggingConfigInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1787,10 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfigRequest(_a0 *route53.DeleteQu ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteQueryLoggingConfigOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteQueryLoggingConfigInput) (*request.Request, *route53.DeleteQueryLoggingConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteQueryLoggingConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1378,7 +1799,6 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfigRequest(_a0 *route53.DeleteQu } } - var r1 *route53.DeleteQueryLoggingConfigOutput if rf, ok := ret.Get(1).(func(*route53.DeleteQueryLoggingConfigInput) *route53.DeleteQueryLoggingConfigOutput); ok { r1 = rf(_a0) } else { @@ -1402,6 +1822,10 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfigWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *route53.DeleteQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteQueryLoggingConfigInput, ...request.Option) (*route53.DeleteQueryLoggingConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteQueryLoggingConfigInput, ...request.Option) *route53.DeleteQueryLoggingConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1834,6 @@ func (_m *MockFakeRoute53) DeleteQueryLoggingConfigWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteQueryLoggingConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1848,10 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSet(_a0 *route53.DeleteReusab ret := _m.Called(_a0) var r0 *route53.DeleteReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteReusableDelegationSetInput) (*route53.DeleteReusableDelegationSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteReusableDelegationSetInput) *route53.DeleteReusableDelegationSetOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1860,6 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSet(_a0 *route53.DeleteReusab } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteReusableDelegationSetInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1874,10 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSetRequest(_a0 *route53.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteReusableDelegationSetOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteReusableDelegationSetInput) (*request.Request, *route53.DeleteReusableDelegationSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteReusableDelegationSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1886,6 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSetRequest(_a0 *route53.Delet } } - var r1 *route53.DeleteReusableDelegationSetOutput if rf, ok := ret.Get(1).(func(*route53.DeleteReusableDelegationSetInput) *route53.DeleteReusableDelegationSetOutput); ok { r1 = rf(_a0) } else { @@ -1480,6 +1909,10 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSetWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *route53.DeleteReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteReusableDelegationSetInput, ...request.Option) (*route53.DeleteReusableDelegationSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteReusableDelegationSetInput, ...request.Option) *route53.DeleteReusableDelegationSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1488,7 +1921,6 @@ func (_m *MockFakeRoute53) DeleteReusableDelegationSetWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteReusableDelegationSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1503,6 +1935,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicy(_a0 *route53.DeleteTrafficPolicyI ret := _m.Called(_a0) var r0 *route53.DeleteTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInput) (*route53.DeleteTrafficPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInput) *route53.DeleteTrafficPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1511,7 +1947,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicy(_a0 *route53.DeleteTrafficPolicyI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteTrafficPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1526,6 +1961,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstance(_a0 *route53.DeleteTraffi ret := _m.Called(_a0) var r0 *route53.DeleteTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInstanceInput) (*route53.DeleteTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInstanceInput) *route53.DeleteTrafficPolicyInstanceOutput); ok { r0 = rf(_a0) } else { @@ -1534,7 +1973,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstance(_a0 *route53.DeleteTraffi } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteTrafficPolicyInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -1549,6 +1987,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstanceRequest(_a0 *route53.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteTrafficPolicyInstanceOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInstanceInput) (*request.Request, *route53.DeleteTrafficPolicyInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1557,7 +1999,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstanceRequest(_a0 *route53.Delet } } - var r1 *route53.DeleteTrafficPolicyInstanceOutput if rf, ok := ret.Get(1).(func(*route53.DeleteTrafficPolicyInstanceInput) *route53.DeleteTrafficPolicyInstanceOutput); ok { r1 = rf(_a0) } else { @@ -1581,6 +2022,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstanceWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *route53.DeleteTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteTrafficPolicyInstanceInput, ...request.Option) (*route53.DeleteTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteTrafficPolicyInstanceInput, ...request.Option) *route53.DeleteTrafficPolicyInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1589,7 +2034,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyInstanceWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteTrafficPolicyInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1604,6 +2048,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyRequest(_a0 *route53.DeleteTraffic ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteTrafficPolicyOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInput) (*request.Request, *route53.DeleteTrafficPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteTrafficPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +2060,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyRequest(_a0 *route53.DeleteTraffic } } - var r1 *route53.DeleteTrafficPolicyOutput if rf, ok := ret.Get(1).(func(*route53.DeleteTrafficPolicyInput) *route53.DeleteTrafficPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +2083,10 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.DeleteTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteTrafficPolicyInput, ...request.Option) (*route53.DeleteTrafficPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteTrafficPolicyInput, ...request.Option) *route53.DeleteTrafficPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +2095,6 @@ func (_m *MockFakeRoute53) DeleteTrafficPolicyWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteTrafficPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +2109,10 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorization(_a0 *route53.Delete ret := _m.Called(_a0) var r0 *route53.DeleteVPCAssociationAuthorizationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DeleteVPCAssociationAuthorizationInput) (*route53.DeleteVPCAssociationAuthorizationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteVPCAssociationAuthorizationInput) *route53.DeleteVPCAssociationAuthorizationOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +2121,6 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorization(_a0 *route53.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DeleteVPCAssociationAuthorizationInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +2135,10 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorizationRequest(_a0 *route53 ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DeleteVPCAssociationAuthorizationOutput + if rf, ok := ret.Get(0).(func(*route53.DeleteVPCAssociationAuthorizationInput) (*request.Request, *route53.DeleteVPCAssociationAuthorizationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DeleteVPCAssociationAuthorizationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +2147,6 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorizationRequest(_a0 *route53 } } - var r1 *route53.DeleteVPCAssociationAuthorizationOutput if rf, ok := ret.Get(1).(func(*route53.DeleteVPCAssociationAuthorizationInput) *route53.DeleteVPCAssociationAuthorizationOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +2170,10 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorizationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *route53.DeleteVPCAssociationAuthorizationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteVPCAssociationAuthorizationInput, ...request.Option) (*route53.DeleteVPCAssociationAuthorizationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DeleteVPCAssociationAuthorizationInput, ...request.Option) *route53.DeleteVPCAssociationAuthorizationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +2182,6 @@ func (_m *MockFakeRoute53) DeleteVPCAssociationAuthorizationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DeleteVPCAssociationAuthorizationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1737,6 +2196,10 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSEC(_a0 *route53.DisableHostedZon ret := _m.Called(_a0) var r0 *route53.DisableHostedZoneDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DisableHostedZoneDNSSECInput) (*route53.DisableHostedZoneDNSSECOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DisableHostedZoneDNSSECInput) *route53.DisableHostedZoneDNSSECOutput); ok { r0 = rf(_a0) } else { @@ -1745,7 +2208,6 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSEC(_a0 *route53.DisableHostedZon } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DisableHostedZoneDNSSECInput) error); ok { r1 = rf(_a0) } else { @@ -1760,6 +2222,10 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSECRequest(_a0 *route53.DisableHo ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DisableHostedZoneDNSSECOutput + if rf, ok := ret.Get(0).(func(*route53.DisableHostedZoneDNSSECInput) (*request.Request, *route53.DisableHostedZoneDNSSECOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DisableHostedZoneDNSSECInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +2234,6 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSECRequest(_a0 *route53.DisableHo } } - var r1 *route53.DisableHostedZoneDNSSECOutput if rf, ok := ret.Get(1).(func(*route53.DisableHostedZoneDNSSECInput) *route53.DisableHostedZoneDNSSECOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +2257,10 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSECWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *route53.DisableHostedZoneDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DisableHostedZoneDNSSECInput, ...request.Option) (*route53.DisableHostedZoneDNSSECOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DisableHostedZoneDNSSECInput, ...request.Option) *route53.DisableHostedZoneDNSSECOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2269,6 @@ func (_m *MockFakeRoute53) DisableHostedZoneDNSSECWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DisableHostedZoneDNSSECInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2283,10 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZone(_a0 *route53.Disassocia ret := _m.Called(_a0) var r0 *route53.DisassociateVPCFromHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.DisassociateVPCFromHostedZoneInput) (*route53.DisassociateVPCFromHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DisassociateVPCFromHostedZoneInput) *route53.DisassociateVPCFromHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2295,6 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZone(_a0 *route53.Disassocia } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.DisassociateVPCFromHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2309,10 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZoneRequest(_a0 *route53.Dis ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.DisassociateVPCFromHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.DisassociateVPCFromHostedZoneInput) (*request.Request, *route53.DisassociateVPCFromHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.DisassociateVPCFromHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2321,6 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZoneRequest(_a0 *route53.Dis } } - var r1 *route53.DisassociateVPCFromHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.DisassociateVPCFromHostedZoneInput) *route53.DisassociateVPCFromHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2344,10 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZoneWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *route53.DisassociateVPCFromHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.DisassociateVPCFromHostedZoneInput, ...request.Option) (*route53.DisassociateVPCFromHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.DisassociateVPCFromHostedZoneInput, ...request.Option) *route53.DisassociateVPCFromHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2356,6 @@ func (_m *MockFakeRoute53) DisassociateVPCFromHostedZoneWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.DisassociateVPCFromHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2370,10 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSEC(_a0 *route53.EnableHostedZoneD ret := _m.Called(_a0) var r0 *route53.EnableHostedZoneDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.EnableHostedZoneDNSSECInput) (*route53.EnableHostedZoneDNSSECOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.EnableHostedZoneDNSSECInput) *route53.EnableHostedZoneDNSSECOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2382,6 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSEC(_a0 *route53.EnableHostedZoneD } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.EnableHostedZoneDNSSECInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2396,10 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSECRequest(_a0 *route53.EnableHost ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.EnableHostedZoneDNSSECOutput + if rf, ok := ret.Get(0).(func(*route53.EnableHostedZoneDNSSECInput) (*request.Request, *route53.EnableHostedZoneDNSSECOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.EnableHostedZoneDNSSECInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2408,6 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSECRequest(_a0 *route53.EnableHost } } - var r1 *route53.EnableHostedZoneDNSSECOutput if rf, ok := ret.Get(1).(func(*route53.EnableHostedZoneDNSSECInput) *route53.EnableHostedZoneDNSSECOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2431,10 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSECWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *route53.EnableHostedZoneDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.EnableHostedZoneDNSSECInput, ...request.Option) (*route53.EnableHostedZoneDNSSECOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.EnableHostedZoneDNSSECInput, ...request.Option) *route53.EnableHostedZoneDNSSECOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2443,6 @@ func (_m *MockFakeRoute53) EnableHostedZoneDNSSECWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.EnableHostedZoneDNSSECInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2457,10 @@ func (_m *MockFakeRoute53) GetAccountLimit(_a0 *route53.GetAccountLimitInput) (* ret := _m.Called(_a0) var r0 *route53.GetAccountLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetAccountLimitInput) (*route53.GetAccountLimitOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetAccountLimitInput) *route53.GetAccountLimitOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2469,6 @@ func (_m *MockFakeRoute53) GetAccountLimit(_a0 *route53.GetAccountLimitInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetAccountLimitInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2483,10 @@ func (_m *MockFakeRoute53) GetAccountLimitRequest(_a0 *route53.GetAccountLimitIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetAccountLimitOutput + if rf, ok := ret.Get(0).(func(*route53.GetAccountLimitInput) (*request.Request, *route53.GetAccountLimitOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetAccountLimitInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2495,6 @@ func (_m *MockFakeRoute53) GetAccountLimitRequest(_a0 *route53.GetAccountLimitIn } } - var r1 *route53.GetAccountLimitOutput if rf, ok := ret.Get(1).(func(*route53.GetAccountLimitInput) *route53.GetAccountLimitOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2518,10 @@ func (_m *MockFakeRoute53) GetAccountLimitWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *route53.GetAccountLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetAccountLimitInput, ...request.Option) (*route53.GetAccountLimitOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetAccountLimitInput, ...request.Option) *route53.GetAccountLimitOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2530,6 @@ func (_m *MockFakeRoute53) GetAccountLimitWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetAccountLimitInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2544,10 @@ func (_m *MockFakeRoute53) GetChange(_a0 *route53.GetChangeInput) (*route53.GetC ret := _m.Called(_a0) var r0 *route53.GetChangeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetChangeInput) (*route53.GetChangeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetChangeInput) *route53.GetChangeOutput); ok { r0 = rf(_a0) } else { @@ -2057,7 +2556,6 @@ func (_m *MockFakeRoute53) GetChange(_a0 *route53.GetChangeInput) (*route53.GetC } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetChangeInput) error); ok { r1 = rf(_a0) } else { @@ -2072,6 +2570,10 @@ func (_m *MockFakeRoute53) GetChangeRequest(_a0 *route53.GetChangeInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetChangeOutput + if rf, ok := ret.Get(0).(func(*route53.GetChangeInput) (*request.Request, *route53.GetChangeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetChangeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2582,6 @@ func (_m *MockFakeRoute53) GetChangeRequest(_a0 *route53.GetChangeInput) (*reque } } - var r1 *route53.GetChangeOutput if rf, ok := ret.Get(1).(func(*route53.GetChangeInput) *route53.GetChangeOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2605,10 @@ func (_m *MockFakeRoute53) GetChangeWithContext(_a0 context.Context, _a1 *route5 ret := _m.Called(_ca...) var r0 *route53.GetChangeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetChangeInput, ...request.Option) (*route53.GetChangeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetChangeInput, ...request.Option) *route53.GetChangeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2617,6 @@ func (_m *MockFakeRoute53) GetChangeWithContext(_a0 context.Context, _a1 *route5 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetChangeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2631,10 @@ func (_m *MockFakeRoute53) GetCheckerIpRanges(_a0 *route53.GetCheckerIpRangesInp ret := _m.Called(_a0) var r0 *route53.GetCheckerIpRangesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetCheckerIpRangesInput) (*route53.GetCheckerIpRangesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetCheckerIpRangesInput) *route53.GetCheckerIpRangesOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2643,6 @@ func (_m *MockFakeRoute53) GetCheckerIpRanges(_a0 *route53.GetCheckerIpRangesInp } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetCheckerIpRangesInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2657,10 @@ func (_m *MockFakeRoute53) GetCheckerIpRangesRequest(_a0 *route53.GetCheckerIpRa ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetCheckerIpRangesOutput + if rf, ok := ret.Get(0).(func(*route53.GetCheckerIpRangesInput) (*request.Request, *route53.GetCheckerIpRangesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetCheckerIpRangesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2669,6 @@ func (_m *MockFakeRoute53) GetCheckerIpRangesRequest(_a0 *route53.GetCheckerIpRa } } - var r1 *route53.GetCheckerIpRangesOutput if rf, ok := ret.Get(1).(func(*route53.GetCheckerIpRangesInput) *route53.GetCheckerIpRangesOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2692,10 @@ func (_m *MockFakeRoute53) GetCheckerIpRangesWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *route53.GetCheckerIpRangesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetCheckerIpRangesInput, ...request.Option) (*route53.GetCheckerIpRangesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetCheckerIpRangesInput, ...request.Option) *route53.GetCheckerIpRangesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2704,6 @@ func (_m *MockFakeRoute53) GetCheckerIpRangesWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetCheckerIpRangesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2718,10 @@ func (_m *MockFakeRoute53) GetDNSSEC(_a0 *route53.GetDNSSECInput) (*route53.GetD ret := _m.Called(_a0) var r0 *route53.GetDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetDNSSECInput) (*route53.GetDNSSECOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetDNSSECInput) *route53.GetDNSSECOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2730,6 @@ func (_m *MockFakeRoute53) GetDNSSEC(_a0 *route53.GetDNSSECInput) (*route53.GetD } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetDNSSECInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2744,10 @@ func (_m *MockFakeRoute53) GetDNSSECRequest(_a0 *route53.GetDNSSECInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetDNSSECOutput + if rf, ok := ret.Get(0).(func(*route53.GetDNSSECInput) (*request.Request, *route53.GetDNSSECOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetDNSSECInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2756,6 @@ func (_m *MockFakeRoute53) GetDNSSECRequest(_a0 *route53.GetDNSSECInput) (*reque } } - var r1 *route53.GetDNSSECOutput if rf, ok := ret.Get(1).(func(*route53.GetDNSSECInput) *route53.GetDNSSECOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2779,10 @@ func (_m *MockFakeRoute53) GetDNSSECWithContext(_a0 context.Context, _a1 *route5 ret := _m.Called(_ca...) var r0 *route53.GetDNSSECOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetDNSSECInput, ...request.Option) (*route53.GetDNSSECOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetDNSSECInput, ...request.Option) *route53.GetDNSSECOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2791,6 @@ func (_m *MockFakeRoute53) GetDNSSECWithContext(_a0 context.Context, _a1 *route5 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetDNSSECInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2283,6 +2805,10 @@ func (_m *MockFakeRoute53) GetGeoLocation(_a0 *route53.GetGeoLocationInput) (*ro ret := _m.Called(_a0) var r0 *route53.GetGeoLocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetGeoLocationInput) (*route53.GetGeoLocationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetGeoLocationInput) *route53.GetGeoLocationOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +2817,6 @@ func (_m *MockFakeRoute53) GetGeoLocation(_a0 *route53.GetGeoLocationInput) (*ro } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetGeoLocationInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +2831,10 @@ func (_m *MockFakeRoute53) GetGeoLocationRequest(_a0 *route53.GetGeoLocationInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetGeoLocationOutput + if rf, ok := ret.Get(0).(func(*route53.GetGeoLocationInput) (*request.Request, *route53.GetGeoLocationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetGeoLocationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2314,7 +2843,6 @@ func (_m *MockFakeRoute53) GetGeoLocationRequest(_a0 *route53.GetGeoLocationInpu } } - var r1 *route53.GetGeoLocationOutput if rf, ok := ret.Get(1).(func(*route53.GetGeoLocationInput) *route53.GetGeoLocationOutput); ok { r1 = rf(_a0) } else { @@ -2338,6 +2866,10 @@ func (_m *MockFakeRoute53) GetGeoLocationWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *route53.GetGeoLocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetGeoLocationInput, ...request.Option) (*route53.GetGeoLocationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetGeoLocationInput, ...request.Option) *route53.GetGeoLocationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2346,7 +2878,6 @@ func (_m *MockFakeRoute53) GetGeoLocationWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetGeoLocationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2361,6 +2892,10 @@ func (_m *MockFakeRoute53) GetHealthCheck(_a0 *route53.GetHealthCheckInput) (*ro ret := _m.Called(_a0) var r0 *route53.GetHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckInput) (*route53.GetHealthCheckOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckInput) *route53.GetHealthCheckOutput); ok { r0 = rf(_a0) } else { @@ -2369,7 +2904,6 @@ func (_m *MockFakeRoute53) GetHealthCheck(_a0 *route53.GetHealthCheckInput) (*ro } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckInput) error); ok { r1 = rf(_a0) } else { @@ -2384,6 +2918,10 @@ func (_m *MockFakeRoute53) GetHealthCheckCount(_a0 *route53.GetHealthCheckCountI ret := _m.Called(_a0) var r0 *route53.GetHealthCheckCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckCountInput) (*route53.GetHealthCheckCountOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckCountInput) *route53.GetHealthCheckCountOutput); ok { r0 = rf(_a0) } else { @@ -2392,7 +2930,6 @@ func (_m *MockFakeRoute53) GetHealthCheckCount(_a0 *route53.GetHealthCheckCountI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckCountInput) error); ok { r1 = rf(_a0) } else { @@ -2407,6 +2944,10 @@ func (_m *MockFakeRoute53) GetHealthCheckCountRequest(_a0 *route53.GetHealthChec ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHealthCheckCountOutput + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckCountInput) (*request.Request, *route53.GetHealthCheckCountOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckCountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2415,7 +2956,6 @@ func (_m *MockFakeRoute53) GetHealthCheckCountRequest(_a0 *route53.GetHealthChec } } - var r1 *route53.GetHealthCheckCountOutput if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckCountInput) *route53.GetHealthCheckCountOutput); ok { r1 = rf(_a0) } else { @@ -2439,6 +2979,10 @@ func (_m *MockFakeRoute53) GetHealthCheckCountWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.GetHealthCheckCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckCountInput, ...request.Option) (*route53.GetHealthCheckCountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckCountInput, ...request.Option) *route53.GetHealthCheckCountOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2447,7 +2991,6 @@ func (_m *MockFakeRoute53) GetHealthCheckCountWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHealthCheckCountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2462,6 +3005,10 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReason(_a0 *route53.GetHealt ret := _m.Called(_a0) var r0 *route53.GetHealthCheckLastFailureReasonOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckLastFailureReasonInput) (*route53.GetHealthCheckLastFailureReasonOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckLastFailureReasonInput) *route53.GetHealthCheckLastFailureReasonOutput); ok { r0 = rf(_a0) } else { @@ -2470,7 +3017,6 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReason(_a0 *route53.GetHealt } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckLastFailureReasonInput) error); ok { r1 = rf(_a0) } else { @@ -2485,6 +3031,10 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReasonRequest(_a0 *route53.G ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHealthCheckLastFailureReasonOutput + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckLastFailureReasonInput) (*request.Request, *route53.GetHealthCheckLastFailureReasonOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckLastFailureReasonInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2493,7 +3043,6 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReasonRequest(_a0 *route53.G } } - var r1 *route53.GetHealthCheckLastFailureReasonOutput if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckLastFailureReasonInput) *route53.GetHealthCheckLastFailureReasonOutput); ok { r1 = rf(_a0) } else { @@ -2517,6 +3066,10 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReasonWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *route53.GetHealthCheckLastFailureReasonOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckLastFailureReasonInput, ...request.Option) (*route53.GetHealthCheckLastFailureReasonOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckLastFailureReasonInput, ...request.Option) *route53.GetHealthCheckLastFailureReasonOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2525,7 +3078,6 @@ func (_m *MockFakeRoute53) GetHealthCheckLastFailureReasonWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHealthCheckLastFailureReasonInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2540,6 +3092,10 @@ func (_m *MockFakeRoute53) GetHealthCheckRequest(_a0 *route53.GetHealthCheckInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHealthCheckOutput + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckInput) (*request.Request, *route53.GetHealthCheckOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2548,7 +3104,6 @@ func (_m *MockFakeRoute53) GetHealthCheckRequest(_a0 *route53.GetHealthCheckInpu } } - var r1 *route53.GetHealthCheckOutput if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckInput) *route53.GetHealthCheckOutput); ok { r1 = rf(_a0) } else { @@ -2565,6 +3120,10 @@ func (_m *MockFakeRoute53) GetHealthCheckStatus(_a0 *route53.GetHealthCheckStatu ret := _m.Called(_a0) var r0 *route53.GetHealthCheckStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckStatusInput) (*route53.GetHealthCheckStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckStatusInput) *route53.GetHealthCheckStatusOutput); ok { r0 = rf(_a0) } else { @@ -2573,7 +3132,6 @@ func (_m *MockFakeRoute53) GetHealthCheckStatus(_a0 *route53.GetHealthCheckStatu } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckStatusInput) error); ok { r1 = rf(_a0) } else { @@ -2588,6 +3146,10 @@ func (_m *MockFakeRoute53) GetHealthCheckStatusRequest(_a0 *route53.GetHealthChe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHealthCheckStatusOutput + if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckStatusInput) (*request.Request, *route53.GetHealthCheckStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHealthCheckStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2596,7 +3158,6 @@ func (_m *MockFakeRoute53) GetHealthCheckStatusRequest(_a0 *route53.GetHealthChe } } - var r1 *route53.GetHealthCheckStatusOutput if rf, ok := ret.Get(1).(func(*route53.GetHealthCheckStatusInput) *route53.GetHealthCheckStatusOutput); ok { r1 = rf(_a0) } else { @@ -2620,6 +3181,10 @@ func (_m *MockFakeRoute53) GetHealthCheckStatusWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.GetHealthCheckStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckStatusInput, ...request.Option) (*route53.GetHealthCheckStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckStatusInput, ...request.Option) *route53.GetHealthCheckStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2628,7 +3193,6 @@ func (_m *MockFakeRoute53) GetHealthCheckStatusWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHealthCheckStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2650,6 +3214,10 @@ func (_m *MockFakeRoute53) GetHealthCheckWithContext(_a0 context.Context, _a1 *r ret := _m.Called(_ca...) var r0 *route53.GetHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckInput, ...request.Option) (*route53.GetHealthCheckOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHealthCheckInput, ...request.Option) *route53.GetHealthCheckOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2658,7 +3226,6 @@ func (_m *MockFakeRoute53) GetHealthCheckWithContext(_a0 context.Context, _a1 *r } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHealthCheckInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2673,6 +3240,10 @@ func (_m *MockFakeRoute53) GetHostedZone(_a0 *route53.GetHostedZoneInput) (*rout ret := _m.Called(_a0) var r0 *route53.GetHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneInput) (*route53.GetHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneInput) *route53.GetHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -2681,7 +3252,6 @@ func (_m *MockFakeRoute53) GetHostedZone(_a0 *route53.GetHostedZoneInput) (*rout } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -2696,6 +3266,10 @@ func (_m *MockFakeRoute53) GetHostedZoneCount(_a0 *route53.GetHostedZoneCountInp ret := _m.Called(_a0) var r0 *route53.GetHostedZoneCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneCountInput) (*route53.GetHostedZoneCountOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneCountInput) *route53.GetHostedZoneCountOutput); ok { r0 = rf(_a0) } else { @@ -2704,7 +3278,6 @@ func (_m *MockFakeRoute53) GetHostedZoneCount(_a0 *route53.GetHostedZoneCountInp } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneCountInput) error); ok { r1 = rf(_a0) } else { @@ -2719,6 +3292,10 @@ func (_m *MockFakeRoute53) GetHostedZoneCountRequest(_a0 *route53.GetHostedZoneC ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHostedZoneCountOutput + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneCountInput) (*request.Request, *route53.GetHostedZoneCountOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneCountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2727,7 +3304,6 @@ func (_m *MockFakeRoute53) GetHostedZoneCountRequest(_a0 *route53.GetHostedZoneC } } - var r1 *route53.GetHostedZoneCountOutput if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneCountInput) *route53.GetHostedZoneCountOutput); ok { r1 = rf(_a0) } else { @@ -2751,6 +3327,10 @@ func (_m *MockFakeRoute53) GetHostedZoneCountWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *route53.GetHostedZoneCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneCountInput, ...request.Option) (*route53.GetHostedZoneCountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneCountInput, ...request.Option) *route53.GetHostedZoneCountOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2759,7 +3339,6 @@ func (_m *MockFakeRoute53) GetHostedZoneCountWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHostedZoneCountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2774,6 +3353,10 @@ func (_m *MockFakeRoute53) GetHostedZoneLimit(_a0 *route53.GetHostedZoneLimitInp ret := _m.Called(_a0) var r0 *route53.GetHostedZoneLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneLimitInput) (*route53.GetHostedZoneLimitOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneLimitInput) *route53.GetHostedZoneLimitOutput); ok { r0 = rf(_a0) } else { @@ -2782,7 +3365,6 @@ func (_m *MockFakeRoute53) GetHostedZoneLimit(_a0 *route53.GetHostedZoneLimitInp } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneLimitInput) error); ok { r1 = rf(_a0) } else { @@ -2797,6 +3379,10 @@ func (_m *MockFakeRoute53) GetHostedZoneLimitRequest(_a0 *route53.GetHostedZoneL ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHostedZoneLimitOutput + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneLimitInput) (*request.Request, *route53.GetHostedZoneLimitOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneLimitInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2805,7 +3391,6 @@ func (_m *MockFakeRoute53) GetHostedZoneLimitRequest(_a0 *route53.GetHostedZoneL } } - var r1 *route53.GetHostedZoneLimitOutput if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneLimitInput) *route53.GetHostedZoneLimitOutput); ok { r1 = rf(_a0) } else { @@ -2829,6 +3414,10 @@ func (_m *MockFakeRoute53) GetHostedZoneLimitWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *route53.GetHostedZoneLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneLimitInput, ...request.Option) (*route53.GetHostedZoneLimitOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneLimitInput, ...request.Option) *route53.GetHostedZoneLimitOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2837,7 +3426,6 @@ func (_m *MockFakeRoute53) GetHostedZoneLimitWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHostedZoneLimitInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2852,6 +3440,10 @@ func (_m *MockFakeRoute53) GetHostedZoneRequest(_a0 *route53.GetHostedZoneInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneInput) (*request.Request, *route53.GetHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2860,7 +3452,6 @@ func (_m *MockFakeRoute53) GetHostedZoneRequest(_a0 *route53.GetHostedZoneInput) } } - var r1 *route53.GetHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.GetHostedZoneInput) *route53.GetHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -2884,6 +3475,10 @@ func (_m *MockFakeRoute53) GetHostedZoneWithContext(_a0 context.Context, _a1 *ro ret := _m.Called(_ca...) var r0 *route53.GetHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneInput, ...request.Option) (*route53.GetHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetHostedZoneInput, ...request.Option) *route53.GetHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2892,7 +3487,6 @@ func (_m *MockFakeRoute53) GetHostedZoneWithContext(_a0 context.Context, _a1 *ro } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2907,6 +3501,10 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfig(_a0 *route53.GetQueryLoggingCon ret := _m.Called(_a0) var r0 *route53.GetQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetQueryLoggingConfigInput) (*route53.GetQueryLoggingConfigOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetQueryLoggingConfigInput) *route53.GetQueryLoggingConfigOutput); ok { r0 = rf(_a0) } else { @@ -2915,7 +3513,6 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfig(_a0 *route53.GetQueryLoggingCon } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetQueryLoggingConfigInput) error); ok { r1 = rf(_a0) } else { @@ -2930,6 +3527,10 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfigRequest(_a0 *route53.GetQueryLog ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetQueryLoggingConfigOutput + if rf, ok := ret.Get(0).(func(*route53.GetQueryLoggingConfigInput) (*request.Request, *route53.GetQueryLoggingConfigOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetQueryLoggingConfigInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2938,7 +3539,6 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfigRequest(_a0 *route53.GetQueryLog } } - var r1 *route53.GetQueryLoggingConfigOutput if rf, ok := ret.Get(1).(func(*route53.GetQueryLoggingConfigInput) *route53.GetQueryLoggingConfigOutput); ok { r1 = rf(_a0) } else { @@ -2962,6 +3562,10 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfigWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.GetQueryLoggingConfigOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetQueryLoggingConfigInput, ...request.Option) (*route53.GetQueryLoggingConfigOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetQueryLoggingConfigInput, ...request.Option) *route53.GetQueryLoggingConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2970,7 +3574,6 @@ func (_m *MockFakeRoute53) GetQueryLoggingConfigWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetQueryLoggingConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2985,6 +3588,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSet(_a0 *route53.GetReusableDele ret := _m.Called(_a0) var r0 *route53.GetReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetInput) (*route53.GetReusableDelegationSetOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetInput) *route53.GetReusableDelegationSetOutput); ok { r0 = rf(_a0) } else { @@ -2993,7 +3600,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSet(_a0 *route53.GetReusableDele } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetReusableDelegationSetInput) error); ok { r1 = rf(_a0) } else { @@ -3008,6 +3614,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimit(_a0 *route53.GetReusabl ret := _m.Called(_a0) var r0 *route53.GetReusableDelegationSetLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetLimitInput) (*route53.GetReusableDelegationSetLimitOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetLimitInput) *route53.GetReusableDelegationSetLimitOutput); ok { r0 = rf(_a0) } else { @@ -3016,7 +3626,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimit(_a0 *route53.GetReusabl } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetReusableDelegationSetLimitInput) error); ok { r1 = rf(_a0) } else { @@ -3031,6 +3640,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimitRequest(_a0 *route53.Get ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetReusableDelegationSetLimitOutput + if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetLimitInput) (*request.Request, *route53.GetReusableDelegationSetLimitOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetLimitInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3039,7 +3652,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimitRequest(_a0 *route53.Get } } - var r1 *route53.GetReusableDelegationSetLimitOutput if rf, ok := ret.Get(1).(func(*route53.GetReusableDelegationSetLimitInput) *route53.GetReusableDelegationSetLimitOutput); ok { r1 = rf(_a0) } else { @@ -3063,6 +3675,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimitWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *route53.GetReusableDelegationSetLimitOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetReusableDelegationSetLimitInput, ...request.Option) (*route53.GetReusableDelegationSetLimitOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetReusableDelegationSetLimitInput, ...request.Option) *route53.GetReusableDelegationSetLimitOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3071,7 +3687,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetLimitWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetReusableDelegationSetLimitInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3086,6 +3701,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetRequest(_a0 *route53.GetReusa ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetReusableDelegationSetOutput + if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetInput) (*request.Request, *route53.GetReusableDelegationSetOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetReusableDelegationSetInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3094,7 +3713,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetRequest(_a0 *route53.GetReusa } } - var r1 *route53.GetReusableDelegationSetOutput if rf, ok := ret.Get(1).(func(*route53.GetReusableDelegationSetInput) *route53.GetReusableDelegationSetOutput); ok { r1 = rf(_a0) } else { @@ -3118,6 +3736,10 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *route53.GetReusableDelegationSetOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetReusableDelegationSetInput, ...request.Option) (*route53.GetReusableDelegationSetOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetReusableDelegationSetInput, ...request.Option) *route53.GetReusableDelegationSetOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3126,7 +3748,6 @@ func (_m *MockFakeRoute53) GetReusableDelegationSetWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetReusableDelegationSetInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3141,6 +3762,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicy(_a0 *route53.GetTrafficPolicyInput) ret := _m.Called(_a0) var r0 *route53.GetTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInput) (*route53.GetTrafficPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInput) *route53.GetTrafficPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3149,7 +3774,6 @@ func (_m *MockFakeRoute53) GetTrafficPolicy(_a0 *route53.GetTrafficPolicyInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3164,6 +3788,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstance(_a0 *route53.GetTrafficPolic ret := _m.Called(_a0) var r0 *route53.GetTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceInput) (*route53.GetTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceInput) *route53.GetTrafficPolicyInstanceOutput); ok { r0 = rf(_a0) } else { @@ -3172,7 +3800,6 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstance(_a0 *route53.GetTrafficPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -3187,6 +3814,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCount(_a0 *route53.GetTraffic ret := _m.Called(_a0) var r0 *route53.GetTrafficPolicyInstanceCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceCountInput) (*route53.GetTrafficPolicyInstanceCountOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceCountInput) *route53.GetTrafficPolicyInstanceCountOutput); ok { r0 = rf(_a0) } else { @@ -3195,7 +3826,6 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCount(_a0 *route53.GetTraffic } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInstanceCountInput) error); ok { r1 = rf(_a0) } else { @@ -3210,6 +3840,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCountRequest(_a0 *route53.Get ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetTrafficPolicyInstanceCountOutput + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceCountInput) (*request.Request, *route53.GetTrafficPolicyInstanceCountOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceCountInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3218,7 +3852,6 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCountRequest(_a0 *route53.Get } } - var r1 *route53.GetTrafficPolicyInstanceCountOutput if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInstanceCountInput) *route53.GetTrafficPolicyInstanceCountOutput); ok { r1 = rf(_a0) } else { @@ -3242,6 +3875,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCountWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *route53.GetTrafficPolicyInstanceCountOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInstanceCountInput, ...request.Option) (*route53.GetTrafficPolicyInstanceCountOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInstanceCountInput, ...request.Option) *route53.GetTrafficPolicyInstanceCountOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3250,7 +3887,6 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceCountWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.GetTrafficPolicyInstanceCountInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3265,6 +3901,10 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceRequest(_a0 *route53.GetTraff ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.GetTrafficPolicyInstanceOutput + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceInput) (*request.Request, *route53.GetTrafficPolicyInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3273,54 +3913,426 @@ func (_m *MockFakeRoute53) GetTrafficPolicyInstanceRequest(_a0 *route53.GetTraff } } - var r1 *route53.GetTrafficPolicyInstanceOutput - if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInstanceInput) *route53.GetTrafficPolicyInstanceOutput); ok { + if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInstanceInput) *route53.GetTrafficPolicyInstanceOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.GetTrafficPolicyInstanceOutput) + } + } + + return r0, r1 +} + +// GetTrafficPolicyInstanceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) GetTrafficPolicyInstanceWithContext(_a0 context.Context, _a1 *route53.GetTrafficPolicyInstanceInput, _a2 ...request.Option) (*route53.GetTrafficPolicyInstanceOutput, error) { + _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 *route53.GetTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInstanceInput, ...request.Option) (*route53.GetTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInstanceInput, ...request.Option) *route53.GetTrafficPolicyInstanceOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.GetTrafficPolicyInstanceOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.GetTrafficPolicyInstanceInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetTrafficPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) GetTrafficPolicyRequest(_a0 *route53.GetTrafficPolicyInput) (*request.Request, *route53.GetTrafficPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.GetTrafficPolicyOutput + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInput) (*request.Request, *route53.GetTrafficPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInput) *route53.GetTrafficPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.GetTrafficPolicyOutput) + } + } + + return r0, r1 +} + +// GetTrafficPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) GetTrafficPolicyWithContext(_a0 context.Context, _a1 *route53.GetTrafficPolicyInput, _a2 ...request.Option) (*route53.GetTrafficPolicyOutput, error) { + _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 *route53.GetTrafficPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInput, ...request.Option) (*route53.GetTrafficPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInput, ...request.Option) *route53.GetTrafficPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.GetTrafficPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.GetTrafficPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCidrBlocks provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrBlocks(_a0 *route53.ListCidrBlocksInput) (*route53.ListCidrBlocksOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.ListCidrBlocksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrBlocksInput) (*route53.ListCidrBlocksOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrBlocksInput) *route53.ListCidrBlocksOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ListCidrBlocksOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ListCidrBlocksInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCidrBlocksPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeRoute53) ListCidrBlocksPages(_a0 *route53.ListCidrBlocksInput, _a1 func(*route53.ListCidrBlocksOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrBlocksInput, func(*route53.ListCidrBlocksOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCidrBlocksPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeRoute53) ListCidrBlocksPagesWithContext(_a0 context.Context, _a1 *route53.ListCidrBlocksInput, _a2 func(*route53.ListCidrBlocksOutput, bool) bool, _a3 ...request.Option) error { + _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, *route53.ListCidrBlocksInput, func(*route53.ListCidrBlocksOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCidrBlocksRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrBlocksRequest(_a0 *route53.ListCidrBlocksInput) (*request.Request, *route53.ListCidrBlocksOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.ListCidrBlocksOutput + if rf, ok := ret.Get(0).(func(*route53.ListCidrBlocksInput) (*request.Request, *route53.ListCidrBlocksOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrBlocksInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ListCidrBlocksInput) *route53.ListCidrBlocksOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.ListCidrBlocksOutput) + } + } + + return r0, r1 +} + +// ListCidrBlocksWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) ListCidrBlocksWithContext(_a0 context.Context, _a1 *route53.ListCidrBlocksInput, _a2 ...request.Option) (*route53.ListCidrBlocksOutput, error) { + _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 *route53.ListCidrBlocksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrBlocksInput, ...request.Option) (*route53.ListCidrBlocksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrBlocksInput, ...request.Option) *route53.ListCidrBlocksOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ListCidrBlocksOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.ListCidrBlocksInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCidrCollections provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrCollections(_a0 *route53.ListCidrCollectionsInput) (*route53.ListCidrCollectionsOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.ListCidrCollectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrCollectionsInput) (*route53.ListCidrCollectionsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrCollectionsInput) *route53.ListCidrCollectionsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ListCidrCollectionsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ListCidrCollectionsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCidrCollectionsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeRoute53) ListCidrCollectionsPages(_a0 *route53.ListCidrCollectionsInput, _a1 func(*route53.ListCidrCollectionsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrCollectionsInput, func(*route53.ListCidrCollectionsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCidrCollectionsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeRoute53) ListCidrCollectionsPagesWithContext(_a0 context.Context, _a1 *route53.ListCidrCollectionsInput, _a2 func(*route53.ListCidrCollectionsOutput, bool) bool, _a3 ...request.Option) error { + _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, *route53.ListCidrCollectionsInput, func(*route53.ListCidrCollectionsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCidrCollectionsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrCollectionsRequest(_a0 *route53.ListCidrCollectionsInput) (*request.Request, *route53.ListCidrCollectionsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *route53.ListCidrCollectionsOutput + if rf, ok := ret.Get(0).(func(*route53.ListCidrCollectionsInput) (*request.Request, *route53.ListCidrCollectionsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrCollectionsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ListCidrCollectionsInput) *route53.ListCidrCollectionsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*route53.ListCidrCollectionsOutput) + } + } + + return r0, r1 +} + +// ListCidrCollectionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) ListCidrCollectionsWithContext(_a0 context.Context, _a1 *route53.ListCidrCollectionsInput, _a2 ...request.Option) (*route53.ListCidrCollectionsOutput, error) { + _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 *route53.ListCidrCollectionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrCollectionsInput, ...request.Option) (*route53.ListCidrCollectionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrCollectionsInput, ...request.Option) *route53.ListCidrCollectionsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ListCidrCollectionsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *route53.ListCidrCollectionsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCidrLocations provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrLocations(_a0 *route53.ListCidrLocationsInput) (*route53.ListCidrLocationsOutput, error) { + ret := _m.Called(_a0) + + var r0 *route53.ListCidrLocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrLocationsInput) (*route53.ListCidrLocationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrLocationsInput) *route53.ListCidrLocationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*route53.ListCidrLocationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*route53.ListCidrLocationsInput) error); ok { r1 = rf(_a0) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*route53.GetTrafficPolicyInstanceOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// GetTrafficPolicyInstanceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRoute53) GetTrafficPolicyInstanceWithContext(_a0 context.Context, _a1 *route53.GetTrafficPolicyInstanceInput, _a2 ...request.Option) (*route53.GetTrafficPolicyInstanceOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// ListCidrLocationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeRoute53) ListCidrLocationsPages(_a0 *route53.ListCidrLocationsInput, _a1 func(*route53.ListCidrLocationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*route53.ListCidrLocationsInput, func(*route53.ListCidrLocationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCidrLocationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeRoute53) ListCidrLocationsPagesWithContext(_a0 context.Context, _a1 *route53.ListCidrLocationsInput, _a2 func(*route53.ListCidrLocationsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _a0, _a1, _a2) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *route53.GetTrafficPolicyInstanceOutput - if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInstanceInput, ...request.Option) *route53.GetTrafficPolicyInstanceOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*route53.GetTrafficPolicyInstanceOutput) - } - } - - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *route53.GetTrafficPolicyInstanceInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrLocationsInput, func(*route53.ListCidrLocationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) } else { - r1 = ret.Error(1) + r0 = ret.Error(0) } - return r0, r1 + return r0 } -// GetTrafficPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockFakeRoute53) GetTrafficPolicyRequest(_a0 *route53.GetTrafficPolicyInput) (*request.Request, *route53.GetTrafficPolicyOutput) { +// ListCidrLocationsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeRoute53) ListCidrLocationsRequest(_a0 *route53.ListCidrLocationsInput) (*request.Request, *route53.ListCidrLocationsOutput) { ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*route53.GetTrafficPolicyInput) *request.Request); ok { + var r1 *route53.ListCidrLocationsOutput + if rf, ok := ret.Get(0).(func(*route53.ListCidrLocationsInput) (*request.Request, *route53.ListCidrLocationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*route53.ListCidrLocationsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3328,20 +4340,19 @@ func (_m *MockFakeRoute53) GetTrafficPolicyRequest(_a0 *route53.GetTrafficPolicy } } - var r1 *route53.GetTrafficPolicyOutput - if rf, ok := ret.Get(1).(func(*route53.GetTrafficPolicyInput) *route53.GetTrafficPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*route53.ListCidrLocationsInput) *route53.ListCidrLocationsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*route53.GetTrafficPolicyOutput) + r1 = ret.Get(1).(*route53.ListCidrLocationsOutput) } } return r0, r1 } -// GetTrafficPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockFakeRoute53) GetTrafficPolicyWithContext(_a0 context.Context, _a1 *route53.GetTrafficPolicyInput, _a2 ...request.Option) (*route53.GetTrafficPolicyOutput, error) { +// ListCidrLocationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeRoute53) ListCidrLocationsWithContext(_a0 context.Context, _a1 *route53.ListCidrLocationsInput, _a2 ...request.Option) (*route53.ListCidrLocationsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3351,17 +4362,20 @@ func (_m *MockFakeRoute53) GetTrafficPolicyWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *route53.GetTrafficPolicyOutput - if rf, ok := ret.Get(0).(func(context.Context, *route53.GetTrafficPolicyInput, ...request.Option) *route53.GetTrafficPolicyOutput); ok { + var r0 *route53.ListCidrLocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrLocationsInput, ...request.Option) (*route53.ListCidrLocationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListCidrLocationsInput, ...request.Option) *route53.ListCidrLocationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*route53.GetTrafficPolicyOutput) + r0 = ret.Get(0).(*route53.ListCidrLocationsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *route53.GetTrafficPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *route53.ListCidrLocationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3375,6 +4389,10 @@ func (_m *MockFakeRoute53) ListGeoLocations(_a0 *route53.ListGeoLocationsInput) ret := _m.Called(_a0) var r0 *route53.ListGeoLocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListGeoLocationsInput) (*route53.ListGeoLocationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListGeoLocationsInput) *route53.ListGeoLocationsOutput); ok { r0 = rf(_a0) } else { @@ -3383,7 +4401,6 @@ func (_m *MockFakeRoute53) ListGeoLocations(_a0 *route53.ListGeoLocationsInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListGeoLocationsInput) error); ok { r1 = rf(_a0) } else { @@ -3398,6 +4415,10 @@ func (_m *MockFakeRoute53) ListGeoLocationsRequest(_a0 *route53.ListGeoLocations ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListGeoLocationsOutput + if rf, ok := ret.Get(0).(func(*route53.ListGeoLocationsInput) (*request.Request, *route53.ListGeoLocationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListGeoLocationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3406,7 +4427,6 @@ func (_m *MockFakeRoute53) ListGeoLocationsRequest(_a0 *route53.ListGeoLocations } } - var r1 *route53.ListGeoLocationsOutput if rf, ok := ret.Get(1).(func(*route53.ListGeoLocationsInput) *route53.ListGeoLocationsOutput); ok { r1 = rf(_a0) } else { @@ -3430,6 +4450,10 @@ func (_m *MockFakeRoute53) ListGeoLocationsWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.ListGeoLocationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListGeoLocationsInput, ...request.Option) (*route53.ListGeoLocationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListGeoLocationsInput, ...request.Option) *route53.ListGeoLocationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3438,7 +4462,6 @@ func (_m *MockFakeRoute53) ListGeoLocationsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListGeoLocationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3453,6 +4476,10 @@ func (_m *MockFakeRoute53) ListHealthChecks(_a0 *route53.ListHealthChecksInput) ret := _m.Called(_a0) var r0 *route53.ListHealthChecksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListHealthChecksInput) (*route53.ListHealthChecksOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHealthChecksInput) *route53.ListHealthChecksOutput); ok { r0 = rf(_a0) } else { @@ -3461,7 +4488,6 @@ func (_m *MockFakeRoute53) ListHealthChecks(_a0 *route53.ListHealthChecksInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListHealthChecksInput) error); ok { r1 = rf(_a0) } else { @@ -3511,6 +4537,10 @@ func (_m *MockFakeRoute53) ListHealthChecksRequest(_a0 *route53.ListHealthChecks ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListHealthChecksOutput + if rf, ok := ret.Get(0).(func(*route53.ListHealthChecksInput) (*request.Request, *route53.ListHealthChecksOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHealthChecksInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3519,7 +4549,6 @@ func (_m *MockFakeRoute53) ListHealthChecksRequest(_a0 *route53.ListHealthChecks } } - var r1 *route53.ListHealthChecksOutput if rf, ok := ret.Get(1).(func(*route53.ListHealthChecksInput) *route53.ListHealthChecksOutput); ok { r1 = rf(_a0) } else { @@ -3543,6 +4572,10 @@ func (_m *MockFakeRoute53) ListHealthChecksWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.ListHealthChecksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHealthChecksInput, ...request.Option) (*route53.ListHealthChecksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHealthChecksInput, ...request.Option) *route53.ListHealthChecksOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3551,7 +4584,6 @@ func (_m *MockFakeRoute53) ListHealthChecksWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListHealthChecksInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3566,6 +4598,10 @@ func (_m *MockFakeRoute53) ListHostedZones(_a0 *route53.ListHostedZonesInput) (* ret := _m.Called(_a0) var r0 *route53.ListHostedZonesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesInput) *route53.ListHostedZonesOutput); ok { r0 = rf(_a0) } else { @@ -3574,7 +4610,6 @@ func (_m *MockFakeRoute53) ListHostedZones(_a0 *route53.ListHostedZonesInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesInput) error); ok { r1 = rf(_a0) } else { @@ -3589,6 +4624,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByName(_a0 *route53.ListHostedZonesByN ret := _m.Called(_a0) var r0 *route53.ListHostedZonesByNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByNameInput) (*route53.ListHostedZonesByNameOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByNameInput) *route53.ListHostedZonesByNameOutput); ok { r0 = rf(_a0) } else { @@ -3597,7 +4636,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByName(_a0 *route53.ListHostedZonesByN } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesByNameInput) error); ok { r1 = rf(_a0) } else { @@ -3612,6 +4650,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByNameRequest(_a0 *route53.ListHostedZ ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListHostedZonesByNameOutput + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByNameInput) (*request.Request, *route53.ListHostedZonesByNameOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByNameInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3620,7 +4662,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByNameRequest(_a0 *route53.ListHostedZ } } - var r1 *route53.ListHostedZonesByNameOutput if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesByNameInput) *route53.ListHostedZonesByNameOutput); ok { r1 = rf(_a0) } else { @@ -3644,6 +4685,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByNameWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.ListHostedZonesByNameOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesByNameInput, ...request.Option) (*route53.ListHostedZonesByNameOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesByNameInput, ...request.Option) *route53.ListHostedZonesByNameOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3652,7 +4697,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByNameWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListHostedZonesByNameInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3667,6 +4711,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPC(_a0 *route53.ListHostedZonesByVP ret := _m.Called(_a0) var r0 *route53.ListHostedZonesByVPCOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByVPCInput) (*route53.ListHostedZonesByVPCOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByVPCInput) *route53.ListHostedZonesByVPCOutput); ok { r0 = rf(_a0) } else { @@ -3675,7 +4723,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPC(_a0 *route53.ListHostedZonesByVP } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesByVPCInput) error); ok { r1 = rf(_a0) } else { @@ -3690,6 +4737,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPCRequest(_a0 *route53.ListHostedZo ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListHostedZonesByVPCOutput + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByVPCInput) (*request.Request, *route53.ListHostedZonesByVPCOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesByVPCInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3698,7 +4749,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPCRequest(_a0 *route53.ListHostedZo } } - var r1 *route53.ListHostedZonesByVPCOutput if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesByVPCInput) *route53.ListHostedZonesByVPCOutput); ok { r1 = rf(_a0) } else { @@ -3722,6 +4772,10 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPCWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.ListHostedZonesByVPCOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesByVPCInput, ...request.Option) (*route53.ListHostedZonesByVPCOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesByVPCInput, ...request.Option) *route53.ListHostedZonesByVPCOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3730,7 +4784,6 @@ func (_m *MockFakeRoute53) ListHostedZonesByVPCWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListHostedZonesByVPCInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3780,6 +4833,10 @@ func (_m *MockFakeRoute53) ListHostedZonesRequest(_a0 *route53.ListHostedZonesIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListHostedZonesOutput + if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesInput) (*request.Request, *route53.ListHostedZonesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListHostedZonesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3788,7 +4845,6 @@ func (_m *MockFakeRoute53) ListHostedZonesRequest(_a0 *route53.ListHostedZonesIn } } - var r1 *route53.ListHostedZonesOutput if rf, ok := ret.Get(1).(func(*route53.ListHostedZonesInput) *route53.ListHostedZonesOutput); ok { r1 = rf(_a0) } else { @@ -3812,6 +4868,10 @@ func (_m *MockFakeRoute53) ListHostedZonesWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *route53.ListHostedZonesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesInput, ...request.Option) (*route53.ListHostedZonesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListHostedZonesInput, ...request.Option) *route53.ListHostedZonesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3820,7 +4880,6 @@ func (_m *MockFakeRoute53) ListHostedZonesWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListHostedZonesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3835,6 +4894,10 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigs(_a0 *route53.ListQueryLogging ret := _m.Called(_a0) var r0 *route53.ListQueryLoggingConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListQueryLoggingConfigsInput) (*route53.ListQueryLoggingConfigsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListQueryLoggingConfigsInput) *route53.ListQueryLoggingConfigsOutput); ok { r0 = rf(_a0) } else { @@ -3843,7 +4906,6 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigs(_a0 *route53.ListQueryLogging } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListQueryLoggingConfigsInput) error); ok { r1 = rf(_a0) } else { @@ -3893,6 +4955,10 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigsRequest(_a0 *route53.ListQuery ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListQueryLoggingConfigsOutput + if rf, ok := ret.Get(0).(func(*route53.ListQueryLoggingConfigsInput) (*request.Request, *route53.ListQueryLoggingConfigsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListQueryLoggingConfigsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3901,7 +4967,6 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigsRequest(_a0 *route53.ListQuery } } - var r1 *route53.ListQueryLoggingConfigsOutput if rf, ok := ret.Get(1).(func(*route53.ListQueryLoggingConfigsInput) *route53.ListQueryLoggingConfigsOutput); ok { r1 = rf(_a0) } else { @@ -3925,6 +4990,10 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigsWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *route53.ListQueryLoggingConfigsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListQueryLoggingConfigsInput, ...request.Option) (*route53.ListQueryLoggingConfigsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListQueryLoggingConfigsInput, ...request.Option) *route53.ListQueryLoggingConfigsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3933,7 +5002,6 @@ func (_m *MockFakeRoute53) ListQueryLoggingConfigsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListQueryLoggingConfigsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3948,6 +5016,10 @@ func (_m *MockFakeRoute53) ListResourceRecordSets(_a0 *route53.ListResourceRecor ret := _m.Called(_a0) var r0 *route53.ListResourceRecordSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListResourceRecordSetsInput) *route53.ListResourceRecordSetsOutput); ok { r0 = rf(_a0) } else { @@ -3956,7 +5028,6 @@ func (_m *MockFakeRoute53) ListResourceRecordSets(_a0 *route53.ListResourceRecor } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListResourceRecordSetsInput) error); ok { r1 = rf(_a0) } else { @@ -4006,6 +5077,10 @@ func (_m *MockFakeRoute53) ListResourceRecordSetsRequest(_a0 *route53.ListResour ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListResourceRecordSetsOutput + if rf, ok := ret.Get(0).(func(*route53.ListResourceRecordSetsInput) (*request.Request, *route53.ListResourceRecordSetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListResourceRecordSetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4014,7 +5089,6 @@ func (_m *MockFakeRoute53) ListResourceRecordSetsRequest(_a0 *route53.ListResour } } - var r1 *route53.ListResourceRecordSetsOutput if rf, ok := ret.Get(1).(func(*route53.ListResourceRecordSetsInput) *route53.ListResourceRecordSetsOutput); ok { r1 = rf(_a0) } else { @@ -4038,6 +5112,10 @@ func (_m *MockFakeRoute53) ListResourceRecordSetsWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *route53.ListResourceRecordSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListResourceRecordSetsInput, ...request.Option) (*route53.ListResourceRecordSetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListResourceRecordSetsInput, ...request.Option) *route53.ListResourceRecordSetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4046,7 +5124,6 @@ func (_m *MockFakeRoute53) ListResourceRecordSetsWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListResourceRecordSetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4061,6 +5138,10 @@ func (_m *MockFakeRoute53) ListReusableDelegationSets(_a0 *route53.ListReusableD ret := _m.Called(_a0) var r0 *route53.ListReusableDelegationSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListReusableDelegationSetsInput) (*route53.ListReusableDelegationSetsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListReusableDelegationSetsInput) *route53.ListReusableDelegationSetsOutput); ok { r0 = rf(_a0) } else { @@ -4069,7 +5150,6 @@ func (_m *MockFakeRoute53) ListReusableDelegationSets(_a0 *route53.ListReusableD } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListReusableDelegationSetsInput) error); ok { r1 = rf(_a0) } else { @@ -4084,6 +5164,10 @@ func (_m *MockFakeRoute53) ListReusableDelegationSetsRequest(_a0 *route53.ListRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListReusableDelegationSetsOutput + if rf, ok := ret.Get(0).(func(*route53.ListReusableDelegationSetsInput) (*request.Request, *route53.ListReusableDelegationSetsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListReusableDelegationSetsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4092,7 +5176,6 @@ func (_m *MockFakeRoute53) ListReusableDelegationSetsRequest(_a0 *route53.ListRe } } - var r1 *route53.ListReusableDelegationSetsOutput if rf, ok := ret.Get(1).(func(*route53.ListReusableDelegationSetsInput) *route53.ListReusableDelegationSetsOutput); ok { r1 = rf(_a0) } else { @@ -4116,6 +5199,10 @@ func (_m *MockFakeRoute53) ListReusableDelegationSetsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *route53.ListReusableDelegationSetsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListReusableDelegationSetsInput, ...request.Option) (*route53.ListReusableDelegationSetsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListReusableDelegationSetsInput, ...request.Option) *route53.ListReusableDelegationSetsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4124,7 +5211,6 @@ func (_m *MockFakeRoute53) ListReusableDelegationSetsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListReusableDelegationSetsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4139,6 +5225,10 @@ func (_m *MockFakeRoute53) ListTagsForResource(_a0 *route53.ListTagsForResourceI ret := _m.Called(_a0) var r0 *route53.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourceInput) (*route53.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourceInput) *route53.ListTagsForResourceOutput); ok { r0 = rf(_a0) } else { @@ -4147,7 +5237,6 @@ func (_m *MockFakeRoute53) ListTagsForResource(_a0 *route53.ListTagsForResourceI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -4162,6 +5251,10 @@ func (_m *MockFakeRoute53) ListTagsForResourceRequest(_a0 *route53.ListTagsForRe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourceInput) (*request.Request, *route53.ListTagsForResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4170,7 +5263,6 @@ func (_m *MockFakeRoute53) ListTagsForResourceRequest(_a0 *route53.ListTagsForRe } } - var r1 *route53.ListTagsForResourceOutput if rf, ok := ret.Get(1).(func(*route53.ListTagsForResourceInput) *route53.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { @@ -4194,6 +5286,10 @@ func (_m *MockFakeRoute53) ListTagsForResourceWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTagsForResourceInput, ...request.Option) (*route53.ListTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTagsForResourceInput, ...request.Option) *route53.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4202,7 +5298,6 @@ func (_m *MockFakeRoute53) ListTagsForResourceWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4217,6 +5312,10 @@ func (_m *MockFakeRoute53) ListTagsForResources(_a0 *route53.ListTagsForResource ret := _m.Called(_a0) var r0 *route53.ListTagsForResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourcesInput) (*route53.ListTagsForResourcesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourcesInput) *route53.ListTagsForResourcesOutput); ok { r0 = rf(_a0) } else { @@ -4225,7 +5324,6 @@ func (_m *MockFakeRoute53) ListTagsForResources(_a0 *route53.ListTagsForResource } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTagsForResourcesInput) error); ok { r1 = rf(_a0) } else { @@ -4240,6 +5338,10 @@ func (_m *MockFakeRoute53) ListTagsForResourcesRequest(_a0 *route53.ListTagsForR ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTagsForResourcesOutput + if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourcesInput) (*request.Request, *route53.ListTagsForResourcesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTagsForResourcesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4248,7 +5350,6 @@ func (_m *MockFakeRoute53) ListTagsForResourcesRequest(_a0 *route53.ListTagsForR } } - var r1 *route53.ListTagsForResourcesOutput if rf, ok := ret.Get(1).(func(*route53.ListTagsForResourcesInput) *route53.ListTagsForResourcesOutput); ok { r1 = rf(_a0) } else { @@ -4272,6 +5373,10 @@ func (_m *MockFakeRoute53) ListTagsForResourcesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *route53.ListTagsForResourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTagsForResourcesInput, ...request.Option) (*route53.ListTagsForResourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTagsForResourcesInput, ...request.Option) *route53.ListTagsForResourcesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4280,7 +5385,6 @@ func (_m *MockFakeRoute53) ListTagsForResourcesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTagsForResourcesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4295,6 +5399,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicies(_a0 *route53.ListTrafficPoliciesI ret := _m.Called(_a0) var r0 *route53.ListTrafficPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPoliciesInput) (*route53.ListTrafficPoliciesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPoliciesInput) *route53.ListTrafficPoliciesOutput); ok { r0 = rf(_a0) } else { @@ -4303,7 +5411,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicies(_a0 *route53.ListTrafficPoliciesI } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTrafficPoliciesInput) error); ok { r1 = rf(_a0) } else { @@ -4318,6 +5425,10 @@ func (_m *MockFakeRoute53) ListTrafficPoliciesRequest(_a0 *route53.ListTrafficPo ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTrafficPoliciesOutput + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPoliciesInput) (*request.Request, *route53.ListTrafficPoliciesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPoliciesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4326,7 +5437,6 @@ func (_m *MockFakeRoute53) ListTrafficPoliciesRequest(_a0 *route53.ListTrafficPo } } - var r1 *route53.ListTrafficPoliciesOutput if rf, ok := ret.Get(1).(func(*route53.ListTrafficPoliciesInput) *route53.ListTrafficPoliciesOutput); ok { r1 = rf(_a0) } else { @@ -4350,6 +5460,10 @@ func (_m *MockFakeRoute53) ListTrafficPoliciesWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *route53.ListTrafficPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPoliciesInput, ...request.Option) (*route53.ListTrafficPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPoliciesInput, ...request.Option) *route53.ListTrafficPoliciesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4358,7 +5472,6 @@ func (_m *MockFakeRoute53) ListTrafficPoliciesWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTrafficPoliciesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4373,6 +5486,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstances(_a0 *route53.ListTrafficPo ret := _m.Called(_a0) var r0 *route53.ListTrafficPolicyInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesInput) (*route53.ListTrafficPolicyInstancesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesInput) *route53.ListTrafficPolicyInstancesOutput); ok { r0 = rf(_a0) } else { @@ -4381,7 +5498,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstances(_a0 *route53.ListTrafficPo } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesInput) error); ok { r1 = rf(_a0) } else { @@ -4396,6 +5512,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZone(_a0 *route53.L ret := _m.Called(_a0) var r0 *route53.ListTrafficPolicyInstancesByHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) (*route53.ListTrafficPolicyInstancesByHostedZoneOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) *route53.ListTrafficPolicyInstancesByHostedZoneOutput); ok { r0 = rf(_a0) } else { @@ -4404,7 +5524,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZone(_a0 *route53.L } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) error); ok { r1 = rf(_a0) } else { @@ -4419,6 +5538,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZoneRequest(_a0 *ro ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTrafficPolicyInstancesByHostedZoneOutput + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) (*request.Request, *route53.ListTrafficPolicyInstancesByHostedZoneOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4427,7 +5550,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZoneRequest(_a0 *ro } } - var r1 *route53.ListTrafficPolicyInstancesByHostedZoneOutput if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesByHostedZoneInput) *route53.ListTrafficPolicyInstancesByHostedZoneOutput); ok { r1 = rf(_a0) } else { @@ -4451,6 +5573,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZoneWithContext(_a0 ret := _m.Called(_ca...) var r0 *route53.ListTrafficPolicyInstancesByHostedZoneOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesByHostedZoneInput, ...request.Option) (*route53.ListTrafficPolicyInstancesByHostedZoneOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesByHostedZoneInput, ...request.Option) *route53.ListTrafficPolicyInstancesByHostedZoneOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4459,7 +5585,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByHostedZoneWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTrafficPolicyInstancesByHostedZoneInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4474,6 +5599,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicy(_a0 *route53.ListT ret := _m.Called(_a0) var r0 *route53.ListTrafficPolicyInstancesByPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) (*route53.ListTrafficPolicyInstancesByPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) *route53.ListTrafficPolicyInstancesByPolicyOutput); ok { r0 = rf(_a0) } else { @@ -4482,7 +5611,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicy(_a0 *route53.ListT } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -4497,6 +5625,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicyRequest(_a0 *route5 ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTrafficPolicyInstancesByPolicyOutput + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) (*request.Request, *route53.ListTrafficPolicyInstancesByPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4505,7 +5637,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicyRequest(_a0 *route5 } } - var r1 *route53.ListTrafficPolicyInstancesByPolicyOutput if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesByPolicyInput) *route53.ListTrafficPolicyInstancesByPolicyOutput); ok { r1 = rf(_a0) } else { @@ -4529,6 +5660,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicyWithContext(_a0 con ret := _m.Called(_ca...) var r0 *route53.ListTrafficPolicyInstancesByPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesByPolicyInput, ...request.Option) (*route53.ListTrafficPolicyInstancesByPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesByPolicyInput, ...request.Option) *route53.ListTrafficPolicyInstancesByPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4537,7 +5672,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesByPolicyWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTrafficPolicyInstancesByPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4552,6 +5686,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesRequest(_a0 *route53.ListTr ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTrafficPolicyInstancesOutput + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesInput) (*request.Request, *route53.ListTrafficPolicyInstancesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyInstancesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4560,7 +5698,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesRequest(_a0 *route53.ListTr } } - var r1 *route53.ListTrafficPolicyInstancesOutput if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyInstancesInput) *route53.ListTrafficPolicyInstancesOutput); ok { r1 = rf(_a0) } else { @@ -4584,6 +5721,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *route53.ListTrafficPolicyInstancesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesInput, ...request.Option) (*route53.ListTrafficPolicyInstancesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyInstancesInput, ...request.Option) *route53.ListTrafficPolicyInstancesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4592,7 +5733,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyInstancesWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTrafficPolicyInstancesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4607,6 +5747,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersions(_a0 *route53.ListTrafficPol ret := _m.Called(_a0) var r0 *route53.ListTrafficPolicyVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyVersionsInput) (*route53.ListTrafficPolicyVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyVersionsInput) *route53.ListTrafficPolicyVersionsOutput); ok { r0 = rf(_a0) } else { @@ -4615,7 +5759,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersions(_a0 *route53.ListTrafficPol } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4630,6 +5773,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersionsRequest(_a0 *route53.ListTra ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListTrafficPolicyVersionsOutput + if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyVersionsInput) (*request.Request, *route53.ListTrafficPolicyVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListTrafficPolicyVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4638,7 +5785,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersionsRequest(_a0 *route53.ListTra } } - var r1 *route53.ListTrafficPolicyVersionsOutput if rf, ok := ret.Get(1).(func(*route53.ListTrafficPolicyVersionsInput) *route53.ListTrafficPolicyVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4662,6 +5808,10 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersionsWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *route53.ListTrafficPolicyVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyVersionsInput, ...request.Option) (*route53.ListTrafficPolicyVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListTrafficPolicyVersionsInput, ...request.Option) *route53.ListTrafficPolicyVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4670,7 +5820,6 @@ func (_m *MockFakeRoute53) ListTrafficPolicyVersionsWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListTrafficPolicyVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4685,6 +5834,10 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizations(_a0 *route53.ListVPC ret := _m.Called(_a0) var r0 *route53.ListVPCAssociationAuthorizationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.ListVPCAssociationAuthorizationsInput) (*route53.ListVPCAssociationAuthorizationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListVPCAssociationAuthorizationsInput) *route53.ListVPCAssociationAuthorizationsOutput); ok { r0 = rf(_a0) } else { @@ -4693,7 +5846,6 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizations(_a0 *route53.ListVPC } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.ListVPCAssociationAuthorizationsInput) error); ok { r1 = rf(_a0) } else { @@ -4708,6 +5860,10 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizationsRequest(_a0 *route53. ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.ListVPCAssociationAuthorizationsOutput + if rf, ok := ret.Get(0).(func(*route53.ListVPCAssociationAuthorizationsInput) (*request.Request, *route53.ListVPCAssociationAuthorizationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.ListVPCAssociationAuthorizationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4716,7 +5872,6 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizationsRequest(_a0 *route53. } } - var r1 *route53.ListVPCAssociationAuthorizationsOutput if rf, ok := ret.Get(1).(func(*route53.ListVPCAssociationAuthorizationsInput) *route53.ListVPCAssociationAuthorizationsOutput); ok { r1 = rf(_a0) } else { @@ -4740,6 +5895,10 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizationsWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *route53.ListVPCAssociationAuthorizationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.ListVPCAssociationAuthorizationsInput, ...request.Option) (*route53.ListVPCAssociationAuthorizationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.ListVPCAssociationAuthorizationsInput, ...request.Option) *route53.ListVPCAssociationAuthorizationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4748,7 +5907,6 @@ func (_m *MockFakeRoute53) ListVPCAssociationAuthorizationsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.ListVPCAssociationAuthorizationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4763,6 +5921,10 @@ func (_m *MockFakeRoute53) TestDNSAnswer(_a0 *route53.TestDNSAnswerInput) (*rout ret := _m.Called(_a0) var r0 *route53.TestDNSAnswerOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.TestDNSAnswerInput) (*route53.TestDNSAnswerOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.TestDNSAnswerInput) *route53.TestDNSAnswerOutput); ok { r0 = rf(_a0) } else { @@ -4771,7 +5933,6 @@ func (_m *MockFakeRoute53) TestDNSAnswer(_a0 *route53.TestDNSAnswerInput) (*rout } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.TestDNSAnswerInput) error); ok { r1 = rf(_a0) } else { @@ -4786,6 +5947,10 @@ func (_m *MockFakeRoute53) TestDNSAnswerRequest(_a0 *route53.TestDNSAnswerInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.TestDNSAnswerOutput + if rf, ok := ret.Get(0).(func(*route53.TestDNSAnswerInput) (*request.Request, *route53.TestDNSAnswerOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.TestDNSAnswerInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4794,7 +5959,6 @@ func (_m *MockFakeRoute53) TestDNSAnswerRequest(_a0 *route53.TestDNSAnswerInput) } } - var r1 *route53.TestDNSAnswerOutput if rf, ok := ret.Get(1).(func(*route53.TestDNSAnswerInput) *route53.TestDNSAnswerOutput); ok { r1 = rf(_a0) } else { @@ -4818,6 +5982,10 @@ func (_m *MockFakeRoute53) TestDNSAnswerWithContext(_a0 context.Context, _a1 *ro ret := _m.Called(_ca...) var r0 *route53.TestDNSAnswerOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.TestDNSAnswerInput, ...request.Option) (*route53.TestDNSAnswerOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.TestDNSAnswerInput, ...request.Option) *route53.TestDNSAnswerOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4826,7 +5994,6 @@ func (_m *MockFakeRoute53) TestDNSAnswerWithContext(_a0 context.Context, _a1 *ro } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.TestDNSAnswerInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4841,6 +6008,10 @@ func (_m *MockFakeRoute53) UpdateHealthCheck(_a0 *route53.UpdateHealthCheckInput ret := _m.Called(_a0) var r0 *route53.UpdateHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.UpdateHealthCheckInput) (*route53.UpdateHealthCheckOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateHealthCheckInput) *route53.UpdateHealthCheckOutput); ok { r0 = rf(_a0) } else { @@ -4849,7 +6020,6 @@ func (_m *MockFakeRoute53) UpdateHealthCheck(_a0 *route53.UpdateHealthCheckInput } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.UpdateHealthCheckInput) error); ok { r1 = rf(_a0) } else { @@ -4864,6 +6034,10 @@ func (_m *MockFakeRoute53) UpdateHealthCheckRequest(_a0 *route53.UpdateHealthChe ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.UpdateHealthCheckOutput + if rf, ok := ret.Get(0).(func(*route53.UpdateHealthCheckInput) (*request.Request, *route53.UpdateHealthCheckOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateHealthCheckInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4872,7 +6046,6 @@ func (_m *MockFakeRoute53) UpdateHealthCheckRequest(_a0 *route53.UpdateHealthChe } } - var r1 *route53.UpdateHealthCheckOutput if rf, ok := ret.Get(1).(func(*route53.UpdateHealthCheckInput) *route53.UpdateHealthCheckOutput); ok { r1 = rf(_a0) } else { @@ -4896,6 +6069,10 @@ func (_m *MockFakeRoute53) UpdateHealthCheckWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *route53.UpdateHealthCheckOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateHealthCheckInput, ...request.Option) (*route53.UpdateHealthCheckOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateHealthCheckInput, ...request.Option) *route53.UpdateHealthCheckOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4904,7 +6081,6 @@ func (_m *MockFakeRoute53) UpdateHealthCheckWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.UpdateHealthCheckInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4919,6 +6095,10 @@ func (_m *MockFakeRoute53) UpdateHostedZoneComment(_a0 *route53.UpdateHostedZone ret := _m.Called(_a0) var r0 *route53.UpdateHostedZoneCommentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.UpdateHostedZoneCommentInput) (*route53.UpdateHostedZoneCommentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateHostedZoneCommentInput) *route53.UpdateHostedZoneCommentOutput); ok { r0 = rf(_a0) } else { @@ -4927,7 +6107,6 @@ func (_m *MockFakeRoute53) UpdateHostedZoneComment(_a0 *route53.UpdateHostedZone } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.UpdateHostedZoneCommentInput) error); ok { r1 = rf(_a0) } else { @@ -4942,6 +6121,10 @@ func (_m *MockFakeRoute53) UpdateHostedZoneCommentRequest(_a0 *route53.UpdateHos ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.UpdateHostedZoneCommentOutput + if rf, ok := ret.Get(0).(func(*route53.UpdateHostedZoneCommentInput) (*request.Request, *route53.UpdateHostedZoneCommentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateHostedZoneCommentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4950,7 +6133,6 @@ func (_m *MockFakeRoute53) UpdateHostedZoneCommentRequest(_a0 *route53.UpdateHos } } - var r1 *route53.UpdateHostedZoneCommentOutput if rf, ok := ret.Get(1).(func(*route53.UpdateHostedZoneCommentInput) *route53.UpdateHostedZoneCommentOutput); ok { r1 = rf(_a0) } else { @@ -4974,6 +6156,10 @@ func (_m *MockFakeRoute53) UpdateHostedZoneCommentWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *route53.UpdateHostedZoneCommentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateHostedZoneCommentInput, ...request.Option) (*route53.UpdateHostedZoneCommentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateHostedZoneCommentInput, ...request.Option) *route53.UpdateHostedZoneCommentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4982,7 +6168,6 @@ func (_m *MockFakeRoute53) UpdateHostedZoneCommentWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.UpdateHostedZoneCommentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4997,6 +6182,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyComment(_a0 *route53.UpdateTraffic ret := _m.Called(_a0) var r0 *route53.UpdateTrafficPolicyCommentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyCommentInput) (*route53.UpdateTrafficPolicyCommentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyCommentInput) *route53.UpdateTrafficPolicyCommentOutput); ok { r0 = rf(_a0) } else { @@ -5005,7 +6194,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyComment(_a0 *route53.UpdateTraffic } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.UpdateTrafficPolicyCommentInput) error); ok { r1 = rf(_a0) } else { @@ -5020,6 +6208,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyCommentRequest(_a0 *route53.Update ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.UpdateTrafficPolicyCommentOutput + if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyCommentInput) (*request.Request, *route53.UpdateTrafficPolicyCommentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyCommentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5028,7 +6220,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyCommentRequest(_a0 *route53.Update } } - var r1 *route53.UpdateTrafficPolicyCommentOutput if rf, ok := ret.Get(1).(func(*route53.UpdateTrafficPolicyCommentInput) *route53.UpdateTrafficPolicyCommentOutput); ok { r1 = rf(_a0) } else { @@ -5052,6 +6243,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyCommentWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *route53.UpdateTrafficPolicyCommentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateTrafficPolicyCommentInput, ...request.Option) (*route53.UpdateTrafficPolicyCommentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateTrafficPolicyCommentInput, ...request.Option) *route53.UpdateTrafficPolicyCommentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5060,7 +6255,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyCommentWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.UpdateTrafficPolicyCommentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5075,6 +6269,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstance(_a0 *route53.UpdateTraffi ret := _m.Called(_a0) var r0 *route53.UpdateTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyInstanceInput) (*route53.UpdateTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyInstanceInput) *route53.UpdateTrafficPolicyInstanceOutput); ok { r0 = rf(_a0) } else { @@ -5083,7 +6281,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstance(_a0 *route53.UpdateTraffi } } - var r1 error if rf, ok := ret.Get(1).(func(*route53.UpdateTrafficPolicyInstanceInput) error); ok { r1 = rf(_a0) } else { @@ -5098,6 +6295,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstanceRequest(_a0 *route53.Updat ret := _m.Called(_a0) var r0 *request.Request + var r1 *route53.UpdateTrafficPolicyInstanceOutput + if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyInstanceInput) (*request.Request, *route53.UpdateTrafficPolicyInstanceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*route53.UpdateTrafficPolicyInstanceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5106,7 +6307,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstanceRequest(_a0 *route53.Updat } } - var r1 *route53.UpdateTrafficPolicyInstanceOutput if rf, ok := ret.Get(1).(func(*route53.UpdateTrafficPolicyInstanceInput) *route53.UpdateTrafficPolicyInstanceOutput); ok { r1 = rf(_a0) } else { @@ -5130,6 +6330,10 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstanceWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *route53.UpdateTrafficPolicyInstanceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateTrafficPolicyInstanceInput, ...request.Option) (*route53.UpdateTrafficPolicyInstanceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *route53.UpdateTrafficPolicyInstanceInput, ...request.Option) *route53.UpdateTrafficPolicyInstanceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5138,7 +6342,6 @@ func (_m *MockFakeRoute53) UpdateTrafficPolicyInstanceWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *route53.UpdateTrafficPolicyInstanceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5182,3 +6385,18 @@ func (_m *MockFakeRoute53) WaitUntilResourceRecordSetsChangedWithContext(_a0 con return r0 } + +type mockConstructorTestingTNewMockFakeRoute53 interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeRoute53 creates a new instance of MockFakeRoute53. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeRoute53(t mockConstructorTestingTNewMockFakeRoute53) *MockFakeRoute53 { + mock := &MockFakeRoute53{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeS3.go b/test/aws/mock_FakeS3.go index 6d724705e..ff2ef25f3 100644 --- a/test/aws/mock_FakeS3.go +++ b/test/aws/mock_FakeS3.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeS3) AbortMultipartUpload(_a0 *s3.AbortMultipartUploadInput) (* ret := _m.Called(_a0) var r0 *s3.AbortMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.AbortMultipartUploadInput) (*s3.AbortMultipartUploadOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.AbortMultipartUploadInput) *s3.AbortMultipartUploadOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeS3) AbortMultipartUpload(_a0 *s3.AbortMultipartUploadInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.AbortMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeS3) AbortMultipartUploadRequest(_a0 *s3.AbortMultipartUploadIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.AbortMultipartUploadOutput + if rf, ok := ret.Get(0).(func(*s3.AbortMultipartUploadInput) (*request.Request, *s3.AbortMultipartUploadOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.AbortMultipartUploadInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeS3) AbortMultipartUploadRequest(_a0 *s3.AbortMultipartUploadIn } } - var r1 *s3.AbortMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.AbortMultipartUploadInput) *s3.AbortMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeS3) AbortMultipartUploadWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.AbortMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.AbortMultipartUploadInput, ...request.Option) (*s3.AbortMultipartUploadOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.AbortMultipartUploadInput, ...request.Option) *s3.AbortMultipartUploadOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeS3) AbortMultipartUploadWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.AbortMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeS3) CompleteMultipartUpload(_a0 *s3.CompleteMultipartUploadInp ret := _m.Called(_a0) var r0 *s3.CompleteMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CompleteMultipartUploadInput) *s3.CompleteMultipartUploadOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeS3) CompleteMultipartUpload(_a0 *s3.CompleteMultipartUploadInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CompleteMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeS3) CompleteMultipartUploadRequest(_a0 *s3.CompleteMultipartUp ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.CompleteMultipartUploadOutput + if rf, ok := ret.Get(0).(func(*s3.CompleteMultipartUploadInput) (*request.Request, *s3.CompleteMultipartUploadOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CompleteMultipartUploadInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeS3) CompleteMultipartUploadRequest(_a0 *s3.CompleteMultipartUp } } - var r1 *s3.CompleteMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.CompleteMultipartUploadInput) *s3.CompleteMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeS3) CompleteMultipartUploadWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3.CompleteMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.CompleteMultipartUploadInput, ...request.Option) (*s3.CompleteMultipartUploadOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.CompleteMultipartUploadInput, ...request.Option) *s3.CompleteMultipartUploadOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeS3) CompleteMultipartUploadWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CompleteMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeS3) CopyObject(_a0 *s3.CopyObjectInput) (*s3.CopyObjectOutput, ret := _m.Called(_a0) var r0 *s3.CopyObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.CopyObjectInput) (*s3.CopyObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CopyObjectInput) *s3.CopyObjectOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeS3) CopyObject(_a0 *s3.CopyObjectInput) (*s3.CopyObjectOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CopyObjectInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeS3) CopyObjectRequest(_a0 *s3.CopyObjectInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.CopyObjectOutput + if rf, ok := ret.Get(0).(func(*s3.CopyObjectInput) (*request.Request, *s3.CopyObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CopyObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeS3) CopyObjectRequest(_a0 *s3.CopyObjectInput) (*request.Reque } } - var r1 *s3.CopyObjectOutput if rf, ok := ret.Get(1).(func(*s3.CopyObjectInput) *s3.CopyObjectOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeS3) CopyObjectWithContext(_a0 context.Context, _a1 *s3.CopyObj ret := _m.Called(_ca...) var r0 *s3.CopyObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.CopyObjectInput, ...request.Option) (*s3.CopyObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.CopyObjectInput, ...request.Option) *s3.CopyObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeS3) CopyObjectWithContext(_a0 context.Context, _a1 *s3.CopyObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CopyObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeS3) CreateBucket(_a0 *s3.CreateBucketInput) (*s3.CreateBucketO ret := _m.Called(_a0) var r0 *s3.CreateBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.CreateBucketInput) (*s3.CreateBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CreateBucketInput) *s3.CreateBucketOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeS3) CreateBucket(_a0 *s3.CreateBucketInput) (*s3.CreateBucketO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CreateBucketInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeS3) CreateBucketRequest(_a0 *s3.CreateBucketInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.CreateBucketOutput + if rf, ok := ret.Get(0).(func(*s3.CreateBucketInput) (*request.Request, *s3.CreateBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CreateBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeS3) CreateBucketRequest(_a0 *s3.CreateBucketInput) (*request.R } } - var r1 *s3.CreateBucketOutput if rf, ok := ret.Get(1).(func(*s3.CreateBucketInput) *s3.CreateBucketOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeS3) CreateBucketWithContext(_a0 context.Context, _a1 *s3.Creat ret := _m.Called(_ca...) var r0 *s3.CreateBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateBucketInput, ...request.Option) (*s3.CreateBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateBucketInput, ...request.Option) *s3.CreateBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeS3) CreateBucketWithContext(_a0 context.Context, _a1 *s3.Creat } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CreateBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeS3) CreateMultipartUpload(_a0 *s3.CreateMultipartUploadInput) ret := _m.Called(_a0) var r0 *s3.CreateMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.CreateMultipartUploadInput) (*s3.CreateMultipartUploadOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CreateMultipartUploadInput) *s3.CreateMultipartUploadOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeS3) CreateMultipartUpload(_a0 *s3.CreateMultipartUploadInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CreateMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeS3) CreateMultipartUploadRequest(_a0 *s3.CreateMultipartUpload ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.CreateMultipartUploadOutput + if rf, ok := ret.Get(0).(func(*s3.CreateMultipartUploadInput) (*request.Request, *s3.CreateMultipartUploadOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.CreateMultipartUploadInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeS3) CreateMultipartUploadRequest(_a0 *s3.CreateMultipartUpload } } - var r1 *s3.CreateMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.CreateMultipartUploadInput) *s3.CreateMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeS3) CreateMultipartUploadWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.CreateMultipartUploadOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateMultipartUploadInput, ...request.Option) (*s3.CreateMultipartUploadOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateMultipartUploadInput, ...request.Option) *s3.CreateMultipartUploadOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeS3) CreateMultipartUploadWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CreateMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeS3) DeleteBucket(_a0 *s3.DeleteBucketInput) (*s3.DeleteBucketO ret := _m.Called(_a0) var r0 *s3.DeleteBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInput) *s3.DeleteBucketOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeS3) DeleteBucket(_a0 *s3.DeleteBucketInput) (*s3.DeleteBucketO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfiguration(_a0 *s3.DeleteBucketAna ret := _m.Called(_a0) var r0 *s3.DeleteBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketAnalyticsConfigurationInput) (*s3.DeleteBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketAnalyticsConfigurationInput) *s3.DeleteBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfiguration(_a0 *s3.DeleteBucketAna } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -457,6 +508,10 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfigurationRequest(_a0 *s3.DeleteBu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketAnalyticsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketAnalyticsConfigurationInput) (*request.Request, *s3.DeleteBucketAnalyticsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketAnalyticsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -465,7 +520,6 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfigurationRequest(_a0 *s3.DeleteBu } } - var r1 *s3.DeleteBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketAnalyticsConfigurationInput) *s3.DeleteBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3.DeleteBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketAnalyticsConfigurationInput, ...request.Option) (*s3.DeleteBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketAnalyticsConfigurationInput, ...request.Option) *s3.DeleteBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeS3) DeleteBucketAnalyticsConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeS3) DeleteBucketCors(_a0 *s3.DeleteBucketCorsInput) (*s3.Delet ret := _m.Called(_a0) var r0 *s3.DeleteBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketCorsInput) (*s3.DeleteBucketCorsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketCorsInput) *s3.DeleteBucketCorsOutput); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeS3) DeleteBucketCors(_a0 *s3.DeleteBucketCorsInput) (*s3.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -535,6 +595,10 @@ func (_m *MockFakeS3) DeleteBucketCorsRequest(_a0 *s3.DeleteBucketCorsInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketCorsOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketCorsInput) (*request.Request, *s3.DeleteBucketCorsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketCorsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -543,7 +607,6 @@ func (_m *MockFakeS3) DeleteBucketCorsRequest(_a0 *s3.DeleteBucketCorsInput) (*r } } - var r1 *s3.DeleteBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketCorsInput) *s3.DeleteBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeS3) DeleteBucketCorsWithContext(_a0 context.Context, _a1 *s3.D ret := _m.Called(_ca...) var r0 *s3.DeleteBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketCorsInput, ...request.Option) (*s3.DeleteBucketCorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketCorsInput, ...request.Option) *s3.DeleteBucketCorsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeS3) DeleteBucketCorsWithContext(_a0 context.Context, _a1 *s3.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeS3) DeleteBucketEncryption(_a0 *s3.DeleteBucketEncryptionInput ret := _m.Called(_a0) var r0 *s3.DeleteBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketEncryptionInput) (*s3.DeleteBucketEncryptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketEncryptionInput) *s3.DeleteBucketEncryptionOutput); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeS3) DeleteBucketEncryption(_a0 *s3.DeleteBucketEncryptionInput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -613,6 +682,10 @@ func (_m *MockFakeS3) DeleteBucketEncryptionRequest(_a0 *s3.DeleteBucketEncrypti ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketEncryptionOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketEncryptionInput) (*request.Request, *s3.DeleteBucketEncryptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketEncryptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -621,7 +694,6 @@ func (_m *MockFakeS3) DeleteBucketEncryptionRequest(_a0 *s3.DeleteBucketEncrypti } } - var r1 *s3.DeleteBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketEncryptionInput) *s3.DeleteBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeS3) DeleteBucketEncryptionWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.DeleteBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketEncryptionInput, ...request.Option) (*s3.DeleteBucketEncryptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketEncryptionInput, ...request.Option) *s3.DeleteBucketEncryptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeS3) DeleteBucketEncryptionWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfiguration(_a0 *s3.Delete ret := _m.Called(_a0) var r0 *s3.DeleteBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) (*s3.DeleteBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) *s3.DeleteBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfiguration(_a0 *s3.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -691,6 +769,10 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfigurationRequest(_a0 *s3 ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketIntelligentTieringConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.DeleteBucketIntelligentTieringConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -699,7 +781,6 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfigurationRequest(_a0 *s3 } } - var r1 *s3.DeleteBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) *s3.DeleteBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfigurationWithContext(_a0 ret := _m.Called(_ca...) var r0 *s3.DeleteBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketIntelligentTieringConfigurationInput, ...request.Option) (*s3.DeleteBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketIntelligentTieringConfigurationInput, ...request.Option) *s3.DeleteBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeS3) DeleteBucketIntelligentTieringConfigurationWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfiguration(_a0 *s3.DeleteBucketInv ret := _m.Called(_a0) var r0 *s3.DeleteBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInventoryConfigurationInput) (*s3.DeleteBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInventoryConfigurationInput) *s3.DeleteBucketInventoryConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfiguration(_a0 *s3.DeleteBucketInv } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -769,6 +856,10 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfigurationRequest(_a0 *s3.DeleteBu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketInventoryConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInventoryConfigurationInput) (*request.Request, *s3.DeleteBucketInventoryConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInventoryConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -777,7 +868,6 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfigurationRequest(_a0 *s3.DeleteBu } } - var r1 *s3.DeleteBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInventoryConfigurationInput) *s3.DeleteBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3.DeleteBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketInventoryConfigurationInput, ...request.Option) (*s3.DeleteBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketInventoryConfigurationInput, ...request.Option) *s3.DeleteBucketInventoryConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeS3) DeleteBucketInventoryConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeS3) DeleteBucketLifecycle(_a0 *s3.DeleteBucketLifecycleInput) ret := _m.Called(_a0) var r0 *s3.DeleteBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketLifecycleInput) (*s3.DeleteBucketLifecycleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketLifecycleInput) *s3.DeleteBucketLifecycleOutput); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeS3) DeleteBucketLifecycle(_a0 *s3.DeleteBucketLifecycleInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -847,6 +943,10 @@ func (_m *MockFakeS3) DeleteBucketLifecycleRequest(_a0 *s3.DeleteBucketLifecycle ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketLifecycleOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketLifecycleInput) (*request.Request, *s3.DeleteBucketLifecycleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketLifecycleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -855,7 +955,6 @@ func (_m *MockFakeS3) DeleteBucketLifecycleRequest(_a0 *s3.DeleteBucketLifecycle } } - var r1 *s3.DeleteBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketLifecycleInput) *s3.DeleteBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -879,6 +978,10 @@ func (_m *MockFakeS3) DeleteBucketLifecycleWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.DeleteBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketLifecycleInput, ...request.Option) (*s3.DeleteBucketLifecycleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketLifecycleInput, ...request.Option) *s3.DeleteBucketLifecycleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -887,7 +990,6 @@ func (_m *MockFakeS3) DeleteBucketLifecycleWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -902,6 +1004,10 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfiguration(_a0 *s3.DeleteBucketMetri ret := _m.Called(_a0) var r0 *s3.DeleteBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketMetricsConfigurationInput) (*s3.DeleteBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketMetricsConfigurationInput) *s3.DeleteBucketMetricsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -910,7 +1016,6 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfiguration(_a0 *s3.DeleteBucketMetri } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -925,6 +1030,10 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfigurationRequest(_a0 *s3.DeleteBuck ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketMetricsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketMetricsConfigurationInput) (*request.Request, *s3.DeleteBucketMetricsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketMetricsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -933,7 +1042,6 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfigurationRequest(_a0 *s3.DeleteBuck } } - var r1 *s3.DeleteBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketMetricsConfigurationInput) *s3.DeleteBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -957,6 +1065,10 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfigurationWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *s3.DeleteBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketMetricsConfigurationInput, ...request.Option) (*s3.DeleteBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketMetricsConfigurationInput, ...request.Option) *s3.DeleteBucketMetricsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -965,7 +1077,6 @@ func (_m *MockFakeS3) DeleteBucketMetricsConfigurationWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -980,6 +1091,10 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControls(_a0 *s3.DeleteBucketOwnershi ret := _m.Called(_a0) var r0 *s3.DeleteBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketOwnershipControlsInput) (*s3.DeleteBucketOwnershipControlsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketOwnershipControlsInput) *s3.DeleteBucketOwnershipControlsOutput); ok { r0 = rf(_a0) } else { @@ -988,7 +1103,6 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControls(_a0 *s3.DeleteBucketOwnershi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -1003,6 +1117,10 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControlsRequest(_a0 *s3.DeleteBucketO ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketOwnershipControlsOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketOwnershipControlsInput) (*request.Request, *s3.DeleteBucketOwnershipControlsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketOwnershipControlsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1011,7 +1129,6 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControlsRequest(_a0 *s3.DeleteBucketO } } - var r1 *s3.DeleteBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketOwnershipControlsInput) *s3.DeleteBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -1035,6 +1152,10 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControlsWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *s3.DeleteBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketOwnershipControlsInput, ...request.Option) (*s3.DeleteBucketOwnershipControlsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketOwnershipControlsInput, ...request.Option) *s3.DeleteBucketOwnershipControlsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1043,7 +1164,6 @@ func (_m *MockFakeS3) DeleteBucketOwnershipControlsWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1058,6 +1178,10 @@ func (_m *MockFakeS3) DeleteBucketPolicy(_a0 *s3.DeleteBucketPolicyInput) (*s3.D ret := _m.Called(_a0) var r0 *s3.DeleteBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketPolicyInput) (*s3.DeleteBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketPolicyInput) *s3.DeleteBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1066,7 +1190,6 @@ func (_m *MockFakeS3) DeleteBucketPolicy(_a0 *s3.DeleteBucketPolicyInput) (*s3.D } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1081,6 +1204,10 @@ func (_m *MockFakeS3) DeleteBucketPolicyRequest(_a0 *s3.DeleteBucketPolicyInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketPolicyInput) (*request.Request, *s3.DeleteBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1089,7 +1216,6 @@ func (_m *MockFakeS3) DeleteBucketPolicyRequest(_a0 *s3.DeleteBucketPolicyInput) } } - var r1 *s3.DeleteBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketPolicyInput) *s3.DeleteBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1113,6 +1239,10 @@ func (_m *MockFakeS3) DeleteBucketPolicyWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.DeleteBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketPolicyInput, ...request.Option) (*s3.DeleteBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketPolicyInput, ...request.Option) *s3.DeleteBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1121,7 +1251,6 @@ func (_m *MockFakeS3) DeleteBucketPolicyWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1136,6 +1265,10 @@ func (_m *MockFakeS3) DeleteBucketReplication(_a0 *s3.DeleteBucketReplicationInp ret := _m.Called(_a0) var r0 *s3.DeleteBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketReplicationInput) (*s3.DeleteBucketReplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketReplicationInput) *s3.DeleteBucketReplicationOutput); ok { r0 = rf(_a0) } else { @@ -1144,7 +1277,6 @@ func (_m *MockFakeS3) DeleteBucketReplication(_a0 *s3.DeleteBucketReplicationInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -1159,6 +1291,10 @@ func (_m *MockFakeS3) DeleteBucketReplicationRequest(_a0 *s3.DeleteBucketReplica ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketReplicationOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketReplicationInput) (*request.Request, *s3.DeleteBucketReplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketReplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1167,7 +1303,6 @@ func (_m *MockFakeS3) DeleteBucketReplicationRequest(_a0 *s3.DeleteBucketReplica } } - var r1 *s3.DeleteBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketReplicationInput) *s3.DeleteBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -1191,6 +1326,10 @@ func (_m *MockFakeS3) DeleteBucketReplicationWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3.DeleteBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketReplicationInput, ...request.Option) (*s3.DeleteBucketReplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketReplicationInput, ...request.Option) *s3.DeleteBucketReplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1199,7 +1338,6 @@ func (_m *MockFakeS3) DeleteBucketReplicationWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1214,6 +1352,10 @@ func (_m *MockFakeS3) DeleteBucketRequest(_a0 *s3.DeleteBucketInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInput) (*request.Request, *s3.DeleteBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1364,6 @@ func (_m *MockFakeS3) DeleteBucketRequest(_a0 *s3.DeleteBucketInput) (*request.R } } - var r1 *s3.DeleteBucketOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInput) *s3.DeleteBucketOutput); ok { r1 = rf(_a0) } else { @@ -1239,6 +1380,10 @@ func (_m *MockFakeS3) DeleteBucketTagging(_a0 *s3.DeleteBucketTaggingInput) (*s3 ret := _m.Called(_a0) var r0 *s3.DeleteBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketTaggingInput) (*s3.DeleteBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketTaggingInput) *s3.DeleteBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -1247,7 +1392,6 @@ func (_m *MockFakeS3) DeleteBucketTagging(_a0 *s3.DeleteBucketTaggingInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -1262,6 +1406,10 @@ func (_m *MockFakeS3) DeleteBucketTaggingRequest(_a0 *s3.DeleteBucketTaggingInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketTaggingInput) (*request.Request, *s3.DeleteBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1270,7 +1418,6 @@ func (_m *MockFakeS3) DeleteBucketTaggingRequest(_a0 *s3.DeleteBucketTaggingInpu } } - var r1 *s3.DeleteBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketTaggingInput) *s3.DeleteBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1294,6 +1441,10 @@ func (_m *MockFakeS3) DeleteBucketTaggingWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.DeleteBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketTaggingInput, ...request.Option) (*s3.DeleteBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketTaggingInput, ...request.Option) *s3.DeleteBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1302,7 +1453,6 @@ func (_m *MockFakeS3) DeleteBucketTaggingWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1317,6 +1467,10 @@ func (_m *MockFakeS3) DeleteBucketWebsite(_a0 *s3.DeleteBucketWebsiteInput) (*s3 ret := _m.Called(_a0) var r0 *s3.DeleteBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketWebsiteInput) (*s3.DeleteBucketWebsiteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketWebsiteInput) *s3.DeleteBucketWebsiteOutput); ok { r0 = rf(_a0) } else { @@ -1325,7 +1479,6 @@ func (_m *MockFakeS3) DeleteBucketWebsite(_a0 *s3.DeleteBucketWebsiteInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -1340,6 +1493,10 @@ func (_m *MockFakeS3) DeleteBucketWebsiteRequest(_a0 *s3.DeleteBucketWebsiteInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteBucketWebsiteOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteBucketWebsiteInput) (*request.Request, *s3.DeleteBucketWebsiteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteBucketWebsiteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1348,7 +1505,6 @@ func (_m *MockFakeS3) DeleteBucketWebsiteRequest(_a0 *s3.DeleteBucketWebsiteInpu } } - var r1 *s3.DeleteBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketWebsiteInput) *s3.DeleteBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -1372,6 +1528,10 @@ func (_m *MockFakeS3) DeleteBucketWebsiteWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.DeleteBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketWebsiteInput, ...request.Option) (*s3.DeleteBucketWebsiteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketWebsiteInput, ...request.Option) *s3.DeleteBucketWebsiteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1380,7 +1540,6 @@ func (_m *MockFakeS3) DeleteBucketWebsiteWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1402,6 +1561,10 @@ func (_m *MockFakeS3) DeleteBucketWithContext(_a0 context.Context, _a1 *s3.Delet ret := _m.Called(_ca...) var r0 *s3.DeleteBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketInput, ...request.Option) (*s3.DeleteBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteBucketInput, ...request.Option) *s3.DeleteBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1410,7 +1573,6 @@ func (_m *MockFakeS3) DeleteBucketWithContext(_a0 context.Context, _a1 *s3.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1425,6 +1587,10 @@ func (_m *MockFakeS3) DeleteObject(_a0 *s3.DeleteObjectInput) (*s3.DeleteObjectO ret := _m.Called(_a0) var r0 *s3.DeleteObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectInput) *s3.DeleteObjectOutput); ok { r0 = rf(_a0) } else { @@ -1433,7 +1599,6 @@ func (_m *MockFakeS3) DeleteObject(_a0 *s3.DeleteObjectInput) (*s3.DeleteObjectO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectInput) error); ok { r1 = rf(_a0) } else { @@ -1448,6 +1613,10 @@ func (_m *MockFakeS3) DeleteObjectRequest(_a0 *s3.DeleteObjectInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteObjectOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectInput) (*request.Request, *s3.DeleteObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1456,7 +1625,6 @@ func (_m *MockFakeS3) DeleteObjectRequest(_a0 *s3.DeleteObjectInput) (*request.R } } - var r1 *s3.DeleteObjectOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectInput) *s3.DeleteObjectOutput); ok { r1 = rf(_a0) } else { @@ -1473,6 +1641,10 @@ func (_m *MockFakeS3) DeleteObjectTagging(_a0 *s3.DeleteObjectTaggingInput) (*s3 ret := _m.Called(_a0) var r0 *s3.DeleteObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectTaggingInput) (*s3.DeleteObjectTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectTaggingInput) *s3.DeleteObjectTaggingOutput); ok { r0 = rf(_a0) } else { @@ -1481,7 +1653,6 @@ func (_m *MockFakeS3) DeleteObjectTagging(_a0 *s3.DeleteObjectTaggingInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -1496,6 +1667,10 @@ func (_m *MockFakeS3) DeleteObjectTaggingRequest(_a0 *s3.DeleteObjectTaggingInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteObjectTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectTaggingInput) (*request.Request, *s3.DeleteObjectTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1504,7 +1679,6 @@ func (_m *MockFakeS3) DeleteObjectTaggingRequest(_a0 *s3.DeleteObjectTaggingInpu } } - var r1 *s3.DeleteObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectTaggingInput) *s3.DeleteObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1528,6 +1702,10 @@ func (_m *MockFakeS3) DeleteObjectTaggingWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.DeleteObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectTaggingInput, ...request.Option) (*s3.DeleteObjectTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectTaggingInput, ...request.Option) *s3.DeleteObjectTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1536,7 +1714,6 @@ func (_m *MockFakeS3) DeleteObjectTaggingWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1558,6 +1735,10 @@ func (_m *MockFakeS3) DeleteObjectWithContext(_a0 context.Context, _a1 *s3.Delet ret := _m.Called(_ca...) var r0 *s3.DeleteObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectInput, ...request.Option) (*s3.DeleteObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectInput, ...request.Option) *s3.DeleteObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1566,7 +1747,6 @@ func (_m *MockFakeS3) DeleteObjectWithContext(_a0 context.Context, _a1 *s3.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1581,6 +1761,10 @@ func (_m *MockFakeS3) DeleteObjects(_a0 *s3.DeleteObjectsInput) (*s3.DeleteObjec ret := _m.Called(_a0) var r0 *s3.DeleteObjectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectsInput) *s3.DeleteObjectsOutput); ok { r0 = rf(_a0) } else { @@ -1589,7 +1773,6 @@ func (_m *MockFakeS3) DeleteObjects(_a0 *s3.DeleteObjectsInput) (*s3.DeleteObjec } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectsInput) error); ok { r1 = rf(_a0) } else { @@ -1604,6 +1787,10 @@ func (_m *MockFakeS3) DeleteObjectsRequest(_a0 *s3.DeleteObjectsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeleteObjectsOutput + if rf, ok := ret.Get(0).(func(*s3.DeleteObjectsInput) (*request.Request, *s3.DeleteObjectsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeleteObjectsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1612,7 +1799,6 @@ func (_m *MockFakeS3) DeleteObjectsRequest(_a0 *s3.DeleteObjectsInput) (*request } } - var r1 *s3.DeleteObjectsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectsInput) *s3.DeleteObjectsOutput); ok { r1 = rf(_a0) } else { @@ -1636,6 +1822,10 @@ func (_m *MockFakeS3) DeleteObjectsWithContext(_a0 context.Context, _a1 *s3.Dele ret := _m.Called(_ca...) var r0 *s3.DeleteObjectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectsInput, ...request.Option) (*s3.DeleteObjectsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeleteObjectsInput, ...request.Option) *s3.DeleteObjectsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1644,7 +1834,6 @@ func (_m *MockFakeS3) DeleteObjectsWithContext(_a0 context.Context, _a1 *s3.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1659,6 +1848,10 @@ func (_m *MockFakeS3) DeletePublicAccessBlock(_a0 *s3.DeletePublicAccessBlockInp ret := _m.Called(_a0) var r0 *s3.DeletePublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.DeletePublicAccessBlockInput) (*s3.DeletePublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeletePublicAccessBlockInput) *s3.DeletePublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -1667,7 +1860,6 @@ func (_m *MockFakeS3) DeletePublicAccessBlock(_a0 *s3.DeletePublicAccessBlockInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeletePublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -1682,6 +1874,10 @@ func (_m *MockFakeS3) DeletePublicAccessBlockRequest(_a0 *s3.DeletePublicAccessB ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.DeletePublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3.DeletePublicAccessBlockInput) (*request.Request, *s3.DeletePublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.DeletePublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1690,7 +1886,6 @@ func (_m *MockFakeS3) DeletePublicAccessBlockRequest(_a0 *s3.DeletePublicAccessB } } - var r1 *s3.DeletePublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.DeletePublicAccessBlockInput) *s3.DeletePublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -1714,6 +1909,10 @@ func (_m *MockFakeS3) DeletePublicAccessBlockWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3.DeletePublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.DeletePublicAccessBlockInput, ...request.Option) (*s3.DeletePublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.DeletePublicAccessBlockInput, ...request.Option) *s3.DeletePublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1722,7 +1921,6 @@ func (_m *MockFakeS3) DeletePublicAccessBlockWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeletePublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1737,6 +1935,10 @@ func (_m *MockFakeS3) GetBucketAccelerateConfiguration(_a0 *s3.GetBucketAccelera ret := _m.Called(_a0) var r0 *s3.GetBucketAccelerateConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketAccelerateConfigurationInput) (*s3.GetBucketAccelerateConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAccelerateConfigurationInput) *s3.GetBucketAccelerateConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1745,7 +1947,6 @@ func (_m *MockFakeS3) GetBucketAccelerateConfiguration(_a0 *s3.GetBucketAccelera } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAccelerateConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1760,6 +1961,10 @@ func (_m *MockFakeS3) GetBucketAccelerateConfigurationRequest(_a0 *s3.GetBucketA ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketAccelerateConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketAccelerateConfigurationInput) (*request.Request, *s3.GetBucketAccelerateConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAccelerateConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1768,7 +1973,6 @@ func (_m *MockFakeS3) GetBucketAccelerateConfigurationRequest(_a0 *s3.GetBucketA } } - var r1 *s3.GetBucketAccelerateConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAccelerateConfigurationInput) *s3.GetBucketAccelerateConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1792,6 +1996,10 @@ func (_m *MockFakeS3) GetBucketAccelerateConfigurationWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *s3.GetBucketAccelerateConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAccelerateConfigurationInput, ...request.Option) (*s3.GetBucketAccelerateConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAccelerateConfigurationInput, ...request.Option) *s3.GetBucketAccelerateConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1800,7 +2008,6 @@ func (_m *MockFakeS3) GetBucketAccelerateConfigurationWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAccelerateConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2022,10 @@ func (_m *MockFakeS3) GetBucketAcl(_a0 *s3.GetBucketAclInput) (*s3.GetBucketAclO ret := _m.Called(_a0) var r0 *s3.GetBucketAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAclInput) *s3.GetBucketAclOutput); ok { r0 = rf(_a0) } else { @@ -1823,7 +2034,6 @@ func (_m *MockFakeS3) GetBucketAcl(_a0 *s3.GetBucketAclInput) (*s3.GetBucketAclO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAclInput) error); ok { r1 = rf(_a0) } else { @@ -1838,6 +2048,10 @@ func (_m *MockFakeS3) GetBucketAclRequest(_a0 *s3.GetBucketAclInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketAclOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketAclInput) (*request.Request, *s3.GetBucketAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2060,6 @@ func (_m *MockFakeS3) GetBucketAclRequest(_a0 *s3.GetBucketAclInput) (*request.R } } - var r1 *s3.GetBucketAclOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAclInput) *s3.GetBucketAclOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2083,10 @@ func (_m *MockFakeS3) GetBucketAclWithContext(_a0 context.Context, _a1 *s3.GetBu ret := _m.Called(_ca...) var r0 *s3.GetBucketAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAclInput, ...request.Option) (*s3.GetBucketAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAclInput, ...request.Option) *s3.GetBucketAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2095,6 @@ func (_m *MockFakeS3) GetBucketAclWithContext(_a0 context.Context, _a1 *s3.GetBu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2109,10 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfiguration(_a0 *s3.GetBucketAnalytics ret := _m.Called(_a0) var r0 *s3.GetBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketAnalyticsConfigurationInput) (*s3.GetBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAnalyticsConfigurationInput) *s3.GetBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2121,6 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfiguration(_a0 *s3.GetBucketAnalytics } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2135,10 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfigurationRequest(_a0 *s3.GetBucketAn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketAnalyticsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketAnalyticsConfigurationInput) (*request.Request, *s3.GetBucketAnalyticsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketAnalyticsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1924,7 +2147,6 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfigurationRequest(_a0 *s3.GetBucketAn } } - var r1 *s3.GetBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAnalyticsConfigurationInput) *s3.GetBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1948,6 +2170,10 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.GetBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAnalyticsConfigurationInput, ...request.Option) (*s3.GetBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketAnalyticsConfigurationInput, ...request.Option) *s3.GetBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1956,7 +2182,6 @@ func (_m *MockFakeS3) GetBucketAnalyticsConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1971,6 +2196,10 @@ func (_m *MockFakeS3) GetBucketCors(_a0 *s3.GetBucketCorsInput) (*s3.GetBucketCo ret := _m.Called(_a0) var r0 *s3.GetBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketCorsInput) (*s3.GetBucketCorsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketCorsInput) *s3.GetBucketCorsOutput); ok { r0 = rf(_a0) } else { @@ -1979,7 +2208,6 @@ func (_m *MockFakeS3) GetBucketCors(_a0 *s3.GetBucketCorsInput) (*s3.GetBucketCo } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -1994,6 +2222,10 @@ func (_m *MockFakeS3) GetBucketCorsRequest(_a0 *s3.GetBucketCorsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketCorsOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketCorsInput) (*request.Request, *s3.GetBucketCorsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketCorsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2002,7 +2234,6 @@ func (_m *MockFakeS3) GetBucketCorsRequest(_a0 *s3.GetBucketCorsInput) (*request } } - var r1 *s3.GetBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketCorsInput) *s3.GetBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -2026,6 +2257,10 @@ func (_m *MockFakeS3) GetBucketCorsWithContext(_a0 context.Context, _a1 *s3.GetB ret := _m.Called(_ca...) var r0 *s3.GetBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketCorsInput, ...request.Option) (*s3.GetBucketCorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketCorsInput, ...request.Option) *s3.GetBucketCorsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2034,7 +2269,6 @@ func (_m *MockFakeS3) GetBucketCorsWithContext(_a0 context.Context, _a1 *s3.GetB } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2049,6 +2283,10 @@ func (_m *MockFakeS3) GetBucketEncryption(_a0 *s3.GetBucketEncryptionInput) (*s3 ret := _m.Called(_a0) var r0 *s3.GetBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketEncryptionInput) *s3.GetBucketEncryptionOutput); ok { r0 = rf(_a0) } else { @@ -2057,7 +2295,6 @@ func (_m *MockFakeS3) GetBucketEncryption(_a0 *s3.GetBucketEncryptionInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -2072,6 +2309,10 @@ func (_m *MockFakeS3) GetBucketEncryptionRequest(_a0 *s3.GetBucketEncryptionInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketEncryptionOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketEncryptionInput) (*request.Request, *s3.GetBucketEncryptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketEncryptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2321,6 @@ func (_m *MockFakeS3) GetBucketEncryptionRequest(_a0 *s3.GetBucketEncryptionInpu } } - var r1 *s3.GetBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketEncryptionInput) *s3.GetBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -2104,6 +2344,10 @@ func (_m *MockFakeS3) GetBucketEncryptionWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.GetBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketEncryptionInput, ...request.Option) (*s3.GetBucketEncryptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketEncryptionInput, ...request.Option) *s3.GetBucketEncryptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2112,7 +2356,6 @@ func (_m *MockFakeS3) GetBucketEncryptionWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2127,6 +2370,10 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfiguration(_a0 *s3.GetBucket ret := _m.Called(_a0) var r0 *s3.GetBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketIntelligentTieringConfigurationInput) (*s3.GetBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketIntelligentTieringConfigurationInput) *s3.GetBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2135,7 +2382,6 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfiguration(_a0 *s3.GetBucket } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2150,6 +2396,10 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfigurationRequest(_a0 *s3.Ge ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketIntelligentTieringConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.GetBucketIntelligentTieringConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketIntelligentTieringConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2158,7 +2408,6 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfigurationRequest(_a0 *s3.Ge } } - var r1 *s3.GetBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketIntelligentTieringConfigurationInput) *s3.GetBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2182,6 +2431,10 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfigurationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *s3.GetBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketIntelligentTieringConfigurationInput, ...request.Option) (*s3.GetBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketIntelligentTieringConfigurationInput, ...request.Option) *s3.GetBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2443,6 @@ func (_m *MockFakeS3) GetBucketIntelligentTieringConfigurationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2457,10 @@ func (_m *MockFakeS3) GetBucketInventoryConfiguration(_a0 *s3.GetBucketInventory ret := _m.Called(_a0) var r0 *s3.GetBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketInventoryConfigurationInput) (*s3.GetBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketInventoryConfigurationInput) *s3.GetBucketInventoryConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2469,6 @@ func (_m *MockFakeS3) GetBucketInventoryConfiguration(_a0 *s3.GetBucketInventory } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2228,7 +2483,11 @@ func (_m *MockFakeS3) GetBucketInventoryConfigurationRequest(_a0 *s3.GetBucketIn ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*s3.GetBucketInventoryConfigurationInput) *request.Request); ok { + var r1 *s3.GetBucketInventoryConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketInventoryConfigurationInput) (*request.Request, *s3.GetBucketInventoryConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.GetBucketInventoryConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2236,7 +2495,6 @@ func (_m *MockFakeS3) GetBucketInventoryConfigurationRequest(_a0 *s3.GetBucketIn } } - var r1 *s3.GetBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketInventoryConfigurationInput) *s3.GetBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2518,10 @@ func (_m *MockFakeS3) GetBucketInventoryConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.GetBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketInventoryConfigurationInput, ...request.Option) (*s3.GetBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketInventoryConfigurationInput, ...request.Option) *s3.GetBucketInventoryConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2530,6 @@ func (_m *MockFakeS3) GetBucketInventoryConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2283,6 +2544,10 @@ func (_m *MockFakeS3) GetBucketLifecycle(_a0 *s3.GetBucketLifecycleInput) (*s3.G ret := _m.Called(_a0) var r0 *s3.GetBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleInput) (*s3.GetBucketLifecycleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleInput) *s3.GetBucketLifecycleOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +2556,6 @@ func (_m *MockFakeS3) GetBucketLifecycle(_a0 *s3.GetBucketLifecycleInput) (*s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +2570,10 @@ func (_m *MockFakeS3) GetBucketLifecycleConfiguration(_a0 *s3.GetBucketLifecycle ret := _m.Called(_a0) var r0 *s3.GetBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleConfigurationInput) (*s3.GetBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleConfigurationInput) *s3.GetBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2314,7 +2582,6 @@ func (_m *MockFakeS3) GetBucketLifecycleConfiguration(_a0 *s3.GetBucketLifecycle } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2329,6 +2596,10 @@ func (_m *MockFakeS3) GetBucketLifecycleConfigurationRequest(_a0 *s3.GetBucketLi ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketLifecycleConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleConfigurationInput) (*request.Request, *s3.GetBucketLifecycleConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2337,7 +2608,6 @@ func (_m *MockFakeS3) GetBucketLifecycleConfigurationRequest(_a0 *s3.GetBucketLi } } - var r1 *s3.GetBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleConfigurationInput) *s3.GetBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2361,6 +2631,10 @@ func (_m *MockFakeS3) GetBucketLifecycleConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.GetBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLifecycleConfigurationInput, ...request.Option) (*s3.GetBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLifecycleConfigurationInput, ...request.Option) *s3.GetBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2369,7 +2643,6 @@ func (_m *MockFakeS3) GetBucketLifecycleConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2384,6 +2657,10 @@ func (_m *MockFakeS3) GetBucketLifecycleRequest(_a0 *s3.GetBucketLifecycleInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketLifecycleOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleInput) (*request.Request, *s3.GetBucketLifecycleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2392,7 +2669,6 @@ func (_m *MockFakeS3) GetBucketLifecycleRequest(_a0 *s3.GetBucketLifecycleInput) } } - var r1 *s3.GetBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleInput) *s3.GetBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -2416,6 +2692,10 @@ func (_m *MockFakeS3) GetBucketLifecycleWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.GetBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLifecycleInput, ...request.Option) (*s3.GetBucketLifecycleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLifecycleInput, ...request.Option) *s3.GetBucketLifecycleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2424,7 +2704,6 @@ func (_m *MockFakeS3) GetBucketLifecycleWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2439,6 +2718,10 @@ func (_m *MockFakeS3) GetBucketLocation(_a0 *s3.GetBucketLocationInput) (*s3.Get ret := _m.Called(_a0) var r0 *s3.GetBucketLocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLocationInput) *s3.GetBucketLocationOutput); ok { r0 = rf(_a0) } else { @@ -2447,7 +2730,6 @@ func (_m *MockFakeS3) GetBucketLocation(_a0 *s3.GetBucketLocationInput) (*s3.Get } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLocationInput) error); ok { r1 = rf(_a0) } else { @@ -2462,6 +2744,10 @@ func (_m *MockFakeS3) GetBucketLocationRequest(_a0 *s3.GetBucketLocationInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketLocationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketLocationInput) (*request.Request, *s3.GetBucketLocationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLocationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2470,7 +2756,6 @@ func (_m *MockFakeS3) GetBucketLocationRequest(_a0 *s3.GetBucketLocationInput) ( } } - var r1 *s3.GetBucketLocationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLocationInput) *s3.GetBucketLocationOutput); ok { r1 = rf(_a0) } else { @@ -2494,6 +2779,10 @@ func (_m *MockFakeS3) GetBucketLocationWithContext(_a0 context.Context, _a1 *s3. ret := _m.Called(_ca...) var r0 *s3.GetBucketLocationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLocationInput, ...request.Option) (*s3.GetBucketLocationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLocationInput, ...request.Option) *s3.GetBucketLocationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2502,7 +2791,6 @@ func (_m *MockFakeS3) GetBucketLocationWithContext(_a0 context.Context, _a1 *s3. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLocationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2517,6 +2805,10 @@ func (_m *MockFakeS3) GetBucketLogging(_a0 *s3.GetBucketLoggingInput) (*s3.GetBu ret := _m.Called(_a0) var r0 *s3.GetBucketLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLoggingInput) *s3.GetBucketLoggingOutput); ok { r0 = rf(_a0) } else { @@ -2525,7 +2817,6 @@ func (_m *MockFakeS3) GetBucketLogging(_a0 *s3.GetBucketLoggingInput) (*s3.GetBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLoggingInput) error); ok { r1 = rf(_a0) } else { @@ -2540,6 +2831,10 @@ func (_m *MockFakeS3) GetBucketLoggingRequest(_a0 *s3.GetBucketLoggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketLoggingOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketLoggingInput) (*request.Request, *s3.GetBucketLoggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketLoggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2548,7 +2843,6 @@ func (_m *MockFakeS3) GetBucketLoggingRequest(_a0 *s3.GetBucketLoggingInput) (*r } } - var r1 *s3.GetBucketLoggingOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLoggingInput) *s3.GetBucketLoggingOutput); ok { r1 = rf(_a0) } else { @@ -2572,6 +2866,10 @@ func (_m *MockFakeS3) GetBucketLoggingWithContext(_a0 context.Context, _a1 *s3.G ret := _m.Called(_ca...) var r0 *s3.GetBucketLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLoggingInput, ...request.Option) (*s3.GetBucketLoggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketLoggingInput, ...request.Option) *s3.GetBucketLoggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2580,7 +2878,6 @@ func (_m *MockFakeS3) GetBucketLoggingWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2595,6 +2892,10 @@ func (_m *MockFakeS3) GetBucketMetricsConfiguration(_a0 *s3.GetBucketMetricsConf ret := _m.Called(_a0) var r0 *s3.GetBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketMetricsConfigurationInput) (*s3.GetBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketMetricsConfigurationInput) *s3.GetBucketMetricsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2603,7 +2904,6 @@ func (_m *MockFakeS3) GetBucketMetricsConfiguration(_a0 *s3.GetBucketMetricsConf } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2618,6 +2918,10 @@ func (_m *MockFakeS3) GetBucketMetricsConfigurationRequest(_a0 *s3.GetBucketMetr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketMetricsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketMetricsConfigurationInput) (*request.Request, *s3.GetBucketMetricsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketMetricsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2626,7 +2930,6 @@ func (_m *MockFakeS3) GetBucketMetricsConfigurationRequest(_a0 *s3.GetBucketMetr } } - var r1 *s3.GetBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketMetricsConfigurationInput) *s3.GetBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2650,6 +2953,10 @@ func (_m *MockFakeS3) GetBucketMetricsConfigurationWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *s3.GetBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketMetricsConfigurationInput, ...request.Option) (*s3.GetBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketMetricsConfigurationInput, ...request.Option) *s3.GetBucketMetricsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2658,7 +2965,6 @@ func (_m *MockFakeS3) GetBucketMetricsConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2673,6 +2979,10 @@ func (_m *MockFakeS3) GetBucketNotification(_a0 *s3.GetBucketNotificationConfigu ret := _m.Called(_a0) var r0 *s3.NotificationConfigurationDeprecated + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) (*s3.NotificationConfigurationDeprecated, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfigurationDeprecated); ok { r0 = rf(_a0) } else { @@ -2681,7 +2991,6 @@ func (_m *MockFakeS3) GetBucketNotification(_a0 *s3.GetBucketNotificationConfigu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) error); ok { r1 = rf(_a0) } else { @@ -2696,6 +3005,10 @@ func (_m *MockFakeS3) GetBucketNotificationConfiguration(_a0 *s3.GetBucketNotifi ret := _m.Called(_a0) var r0 *s3.NotificationConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) (*s3.NotificationConfiguration, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfiguration); ok { r0 = rf(_a0) } else { @@ -2704,7 +3017,6 @@ func (_m *MockFakeS3) GetBucketNotificationConfiguration(_a0 *s3.GetBucketNotifi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) error); ok { r1 = rf(_a0) } else { @@ -2719,6 +3031,10 @@ func (_m *MockFakeS3) GetBucketNotificationConfigurationRequest(_a0 *s3.GetBucke ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.NotificationConfiguration + if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) (*request.Request, *s3.NotificationConfiguration)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) *request.Request); ok { r0 = rf(_a0) } else { @@ -2727,7 +3043,6 @@ func (_m *MockFakeS3) GetBucketNotificationConfigurationRequest(_a0 *s3.GetBucke } } - var r1 *s3.NotificationConfiguration if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfiguration); ok { r1 = rf(_a0) } else { @@ -2751,6 +3066,10 @@ func (_m *MockFakeS3) GetBucketNotificationConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3.NotificationConfiguration + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) (*s3.NotificationConfiguration, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) *s3.NotificationConfiguration); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2759,7 +3078,6 @@ func (_m *MockFakeS3) GetBucketNotificationConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2774,6 +3092,10 @@ func (_m *MockFakeS3) GetBucketNotificationRequest(_a0 *s3.GetBucketNotification ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.NotificationConfigurationDeprecated + if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) (*request.Request, *s3.NotificationConfigurationDeprecated)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketNotificationConfigurationRequest) *request.Request); ok { r0 = rf(_a0) } else { @@ -2782,7 +3104,6 @@ func (_m *MockFakeS3) GetBucketNotificationRequest(_a0 *s3.GetBucketNotification } } - var r1 *s3.NotificationConfigurationDeprecated if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfigurationDeprecated); ok { r1 = rf(_a0) } else { @@ -2806,6 +3127,10 @@ func (_m *MockFakeS3) GetBucketNotificationWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.NotificationConfigurationDeprecated + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) (*s3.NotificationConfigurationDeprecated, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) *s3.NotificationConfigurationDeprecated); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2814,7 +3139,6 @@ func (_m *MockFakeS3) GetBucketNotificationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2829,6 +3153,10 @@ func (_m *MockFakeS3) GetBucketOwnershipControls(_a0 *s3.GetBucketOwnershipContr ret := _m.Called(_a0) var r0 *s3.GetBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketOwnershipControlsInput) (*s3.GetBucketOwnershipControlsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketOwnershipControlsInput) *s3.GetBucketOwnershipControlsOutput); ok { r0 = rf(_a0) } else { @@ -2837,7 +3165,6 @@ func (_m *MockFakeS3) GetBucketOwnershipControls(_a0 *s3.GetBucketOwnershipContr } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -2852,6 +3179,10 @@ func (_m *MockFakeS3) GetBucketOwnershipControlsRequest(_a0 *s3.GetBucketOwnersh ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketOwnershipControlsOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketOwnershipControlsInput) (*request.Request, *s3.GetBucketOwnershipControlsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketOwnershipControlsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2860,7 +3191,6 @@ func (_m *MockFakeS3) GetBucketOwnershipControlsRequest(_a0 *s3.GetBucketOwnersh } } - var r1 *s3.GetBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketOwnershipControlsInput) *s3.GetBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -2884,6 +3214,10 @@ func (_m *MockFakeS3) GetBucketOwnershipControlsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3.GetBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketOwnershipControlsInput, ...request.Option) (*s3.GetBucketOwnershipControlsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketOwnershipControlsInput, ...request.Option) *s3.GetBucketOwnershipControlsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2892,7 +3226,6 @@ func (_m *MockFakeS3) GetBucketOwnershipControlsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2907,6 +3240,10 @@ func (_m *MockFakeS3) GetBucketPolicy(_a0 *s3.GetBucketPolicyInput) (*s3.GetBuck ret := _m.Called(_a0) var r0 *s3.GetBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyInput) *s3.GetBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2915,7 +3252,6 @@ func (_m *MockFakeS3) GetBucketPolicy(_a0 *s3.GetBucketPolicyInput) (*s3.GetBuck } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2930,6 +3266,10 @@ func (_m *MockFakeS3) GetBucketPolicyRequest(_a0 *s3.GetBucketPolicyInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyInput) (*request.Request, *s3.GetBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2938,7 +3278,6 @@ func (_m *MockFakeS3) GetBucketPolicyRequest(_a0 *s3.GetBucketPolicyInput) (*req } } - var r1 *s3.GetBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyInput) *s3.GetBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2955,6 +3294,10 @@ func (_m *MockFakeS3) GetBucketPolicyStatus(_a0 *s3.GetBucketPolicyStatusInput) ret := _m.Called(_a0) var r0 *s3.GetBucketPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyStatusInput) (*s3.GetBucketPolicyStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyStatusInput) *s3.GetBucketPolicyStatusOutput); ok { r0 = rf(_a0) } else { @@ -2963,7 +3306,6 @@ func (_m *MockFakeS3) GetBucketPolicyStatus(_a0 *s3.GetBucketPolicyStatusInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyStatusInput) error); ok { r1 = rf(_a0) } else { @@ -2978,6 +3320,10 @@ func (_m *MockFakeS3) GetBucketPolicyStatusRequest(_a0 *s3.GetBucketPolicyStatus ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketPolicyStatusOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyStatusInput) (*request.Request, *s3.GetBucketPolicyStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketPolicyStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2986,7 +3332,6 @@ func (_m *MockFakeS3) GetBucketPolicyStatusRequest(_a0 *s3.GetBucketPolicyStatus } } - var r1 *s3.GetBucketPolicyStatusOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyStatusInput) *s3.GetBucketPolicyStatusOutput); ok { r1 = rf(_a0) } else { @@ -3010,6 +3355,10 @@ func (_m *MockFakeS3) GetBucketPolicyStatusWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.GetBucketPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketPolicyStatusInput, ...request.Option) (*s3.GetBucketPolicyStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketPolicyStatusInput, ...request.Option) *s3.GetBucketPolicyStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3018,7 +3367,6 @@ func (_m *MockFakeS3) GetBucketPolicyStatusWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketPolicyStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3040,6 +3388,10 @@ func (_m *MockFakeS3) GetBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Ge ret := _m.Called(_ca...) var r0 *s3.GetBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketPolicyInput, ...request.Option) (*s3.GetBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketPolicyInput, ...request.Option) *s3.GetBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3048,7 +3400,6 @@ func (_m *MockFakeS3) GetBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3063,6 +3414,10 @@ func (_m *MockFakeS3) GetBucketReplication(_a0 *s3.GetBucketReplicationInput) (* ret := _m.Called(_a0) var r0 *s3.GetBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketReplicationInput) (*s3.GetBucketReplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketReplicationInput) *s3.GetBucketReplicationOutput); ok { r0 = rf(_a0) } else { @@ -3071,7 +3426,6 @@ func (_m *MockFakeS3) GetBucketReplication(_a0 *s3.GetBucketReplicationInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -3086,6 +3440,10 @@ func (_m *MockFakeS3) GetBucketReplicationRequest(_a0 *s3.GetBucketReplicationIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketReplicationOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketReplicationInput) (*request.Request, *s3.GetBucketReplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketReplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3094,7 +3452,6 @@ func (_m *MockFakeS3) GetBucketReplicationRequest(_a0 *s3.GetBucketReplicationIn } } - var r1 *s3.GetBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketReplicationInput) *s3.GetBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -3118,6 +3475,10 @@ func (_m *MockFakeS3) GetBucketReplicationWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.GetBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketReplicationInput, ...request.Option) (*s3.GetBucketReplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketReplicationInput, ...request.Option) *s3.GetBucketReplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3126,7 +3487,6 @@ func (_m *MockFakeS3) GetBucketReplicationWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3141,6 +3501,10 @@ func (_m *MockFakeS3) GetBucketRequestPayment(_a0 *s3.GetBucketRequestPaymentInp ret := _m.Called(_a0) var r0 *s3.GetBucketRequestPaymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketRequestPaymentInput) (*s3.GetBucketRequestPaymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketRequestPaymentInput) *s3.GetBucketRequestPaymentOutput); ok { r0 = rf(_a0) } else { @@ -3149,7 +3513,6 @@ func (_m *MockFakeS3) GetBucketRequestPayment(_a0 *s3.GetBucketRequestPaymentInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketRequestPaymentInput) error); ok { r1 = rf(_a0) } else { @@ -3164,6 +3527,10 @@ func (_m *MockFakeS3) GetBucketRequestPaymentRequest(_a0 *s3.GetBucketRequestPay ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketRequestPaymentOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketRequestPaymentInput) (*request.Request, *s3.GetBucketRequestPaymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketRequestPaymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3172,7 +3539,6 @@ func (_m *MockFakeS3) GetBucketRequestPaymentRequest(_a0 *s3.GetBucketRequestPay } } - var r1 *s3.GetBucketRequestPaymentOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketRequestPaymentInput) *s3.GetBucketRequestPaymentOutput); ok { r1 = rf(_a0) } else { @@ -3196,6 +3562,10 @@ func (_m *MockFakeS3) GetBucketRequestPaymentWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3.GetBucketRequestPaymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketRequestPaymentInput, ...request.Option) (*s3.GetBucketRequestPaymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketRequestPaymentInput, ...request.Option) *s3.GetBucketRequestPaymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3204,7 +3574,6 @@ func (_m *MockFakeS3) GetBucketRequestPaymentWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketRequestPaymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3219,6 +3588,10 @@ func (_m *MockFakeS3) GetBucketTagging(_a0 *s3.GetBucketTaggingInput) (*s3.GetBu ret := _m.Called(_a0) var r0 *s3.GetBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketTaggingInput) (*s3.GetBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketTaggingInput) *s3.GetBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -3227,7 +3600,6 @@ func (_m *MockFakeS3) GetBucketTagging(_a0 *s3.GetBucketTaggingInput) (*s3.GetBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3242,6 +3614,10 @@ func (_m *MockFakeS3) GetBucketTaggingRequest(_a0 *s3.GetBucketTaggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketTaggingInput) (*request.Request, *s3.GetBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3250,7 +3626,6 @@ func (_m *MockFakeS3) GetBucketTaggingRequest(_a0 *s3.GetBucketTaggingInput) (*r } } - var r1 *s3.GetBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketTaggingInput) *s3.GetBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3274,6 +3649,10 @@ func (_m *MockFakeS3) GetBucketTaggingWithContext(_a0 context.Context, _a1 *s3.G ret := _m.Called(_ca...) var r0 *s3.GetBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketTaggingInput, ...request.Option) (*s3.GetBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketTaggingInput, ...request.Option) *s3.GetBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3282,7 +3661,6 @@ func (_m *MockFakeS3) GetBucketTaggingWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3297,6 +3675,10 @@ func (_m *MockFakeS3) GetBucketVersioning(_a0 *s3.GetBucketVersioningInput) (*s3 ret := _m.Called(_a0) var r0 *s3.GetBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketVersioningInput) (*s3.GetBucketVersioningOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketVersioningInput) *s3.GetBucketVersioningOutput); ok { r0 = rf(_a0) } else { @@ -3305,7 +3687,6 @@ func (_m *MockFakeS3) GetBucketVersioning(_a0 *s3.GetBucketVersioningInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketVersioningInput) error); ok { r1 = rf(_a0) } else { @@ -3320,6 +3701,10 @@ func (_m *MockFakeS3) GetBucketVersioningRequest(_a0 *s3.GetBucketVersioningInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketVersioningOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketVersioningInput) (*request.Request, *s3.GetBucketVersioningOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketVersioningInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3328,7 +3713,6 @@ func (_m *MockFakeS3) GetBucketVersioningRequest(_a0 *s3.GetBucketVersioningInpu } } - var r1 *s3.GetBucketVersioningOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketVersioningInput) *s3.GetBucketVersioningOutput); ok { r1 = rf(_a0) } else { @@ -3352,6 +3736,10 @@ func (_m *MockFakeS3) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.GetBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketVersioningInput, ...request.Option) (*s3.GetBucketVersioningOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketVersioningInput, ...request.Option) *s3.GetBucketVersioningOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3360,7 +3748,6 @@ func (_m *MockFakeS3) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketVersioningInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3375,6 +3762,10 @@ func (_m *MockFakeS3) GetBucketWebsite(_a0 *s3.GetBucketWebsiteInput) (*s3.GetBu ret := _m.Called(_a0) var r0 *s3.GetBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetBucketWebsiteInput) (*s3.GetBucketWebsiteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketWebsiteInput) *s3.GetBucketWebsiteOutput); ok { r0 = rf(_a0) } else { @@ -3383,7 +3774,6 @@ func (_m *MockFakeS3) GetBucketWebsite(_a0 *s3.GetBucketWebsiteInput) (*s3.GetBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -3398,6 +3788,10 @@ func (_m *MockFakeS3) GetBucketWebsiteRequest(_a0 *s3.GetBucketWebsiteInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetBucketWebsiteOutput + if rf, ok := ret.Get(0).(func(*s3.GetBucketWebsiteInput) (*request.Request, *s3.GetBucketWebsiteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetBucketWebsiteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3406,7 +3800,6 @@ func (_m *MockFakeS3) GetBucketWebsiteRequest(_a0 *s3.GetBucketWebsiteInput) (*r } } - var r1 *s3.GetBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketWebsiteInput) *s3.GetBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -3430,6 +3823,10 @@ func (_m *MockFakeS3) GetBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.G ret := _m.Called(_ca...) var r0 *s3.GetBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketWebsiteInput, ...request.Option) (*s3.GetBucketWebsiteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetBucketWebsiteInput, ...request.Option) *s3.GetBucketWebsiteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3438,7 +3835,6 @@ func (_m *MockFakeS3) GetBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3453,6 +3849,10 @@ func (_m *MockFakeS3) GetObject(_a0 *s3.GetObjectInput) (*s3.GetObjectOutput, er ret := _m.Called(_a0) var r0 *s3.GetObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectInput) (*s3.GetObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectInput) *s3.GetObjectOutput); ok { r0 = rf(_a0) } else { @@ -3461,7 +3861,6 @@ func (_m *MockFakeS3) GetObject(_a0 *s3.GetObjectInput) (*s3.GetObjectOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectInput) error); ok { r1 = rf(_a0) } else { @@ -3476,6 +3875,10 @@ func (_m *MockFakeS3) GetObjectAcl(_a0 *s3.GetObjectAclInput) (*s3.GetObjectAclO ret := _m.Called(_a0) var r0 *s3.GetObjectAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectAclInput) (*s3.GetObjectAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectAclInput) *s3.GetObjectAclOutput); ok { r0 = rf(_a0) } else { @@ -3484,7 +3887,6 @@ func (_m *MockFakeS3) GetObjectAcl(_a0 *s3.GetObjectAclInput) (*s3.GetObjectAclO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectAclInput) error); ok { r1 = rf(_a0) } else { @@ -3499,6 +3901,10 @@ func (_m *MockFakeS3) GetObjectAclRequest(_a0 *s3.GetObjectAclInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectAclOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectAclInput) (*request.Request, *s3.GetObjectAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3507,7 +3913,6 @@ func (_m *MockFakeS3) GetObjectAclRequest(_a0 *s3.GetObjectAclInput) (*request.R } } - var r1 *s3.GetObjectAclOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectAclInput) *s3.GetObjectAclOutput); ok { r1 = rf(_a0) } else { @@ -3531,6 +3936,10 @@ func (_m *MockFakeS3) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetOb ret := _m.Called(_ca...) var r0 *s3.GetObjectAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectAclInput, ...request.Option) (*s3.GetObjectAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectAclInput, ...request.Option) *s3.GetObjectAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3539,7 +3948,6 @@ func (_m *MockFakeS3) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetOb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3549,11 +3957,102 @@ func (_m *MockFakeS3) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetOb return r0, r1 } +// GetObjectAttributes provides a mock function with given fields: _a0 +func (_m *MockFakeS3) GetObjectAttributes(_a0 *s3.GetObjectAttributesInput) (*s3.GetObjectAttributesOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3.GetObjectAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectAttributesInput) (*s3.GetObjectAttributesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.GetObjectAttributesInput) *s3.GetObjectAttributesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.GetObjectAttributesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3.GetObjectAttributesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetObjectAttributesRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3) GetObjectAttributesRequest(_a0 *s3.GetObjectAttributesInput) (*request.Request, *s3.GetObjectAttributesOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3.GetObjectAttributesOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectAttributesInput) (*request.Request, *s3.GetObjectAttributesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.GetObjectAttributesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3.GetObjectAttributesInput) *s3.GetObjectAttributesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3.GetObjectAttributesOutput) + } + } + + return r0, r1 +} + +// GetObjectAttributesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3) GetObjectAttributesWithContext(_a0 context.Context, _a1 *s3.GetObjectAttributesInput, _a2 ...request.Option) (*s3.GetObjectAttributesOutput, error) { + _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 *s3.GetObjectAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectAttributesInput, ...request.Option) (*s3.GetObjectAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectAttributesInput, ...request.Option) *s3.GetObjectAttributesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.GetObjectAttributesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectAttributesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetObjectLegalHold provides a mock function with given fields: _a0 func (_m *MockFakeS3) GetObjectLegalHold(_a0 *s3.GetObjectLegalHoldInput) (*s3.GetObjectLegalHoldOutput, error) { ret := _m.Called(_a0) var r0 *s3.GetObjectLegalHoldOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectLegalHoldInput) (*s3.GetObjectLegalHoldOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectLegalHoldInput) *s3.GetObjectLegalHoldOutput); ok { r0 = rf(_a0) } else { @@ -3562,7 +4061,6 @@ func (_m *MockFakeS3) GetObjectLegalHold(_a0 *s3.GetObjectLegalHoldInput) (*s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectLegalHoldInput) error); ok { r1 = rf(_a0) } else { @@ -3577,6 +4075,10 @@ func (_m *MockFakeS3) GetObjectLegalHoldRequest(_a0 *s3.GetObjectLegalHoldInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectLegalHoldOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectLegalHoldInput) (*request.Request, *s3.GetObjectLegalHoldOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectLegalHoldInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3585,7 +4087,6 @@ func (_m *MockFakeS3) GetObjectLegalHoldRequest(_a0 *s3.GetObjectLegalHoldInput) } } - var r1 *s3.GetObjectLegalHoldOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectLegalHoldInput) *s3.GetObjectLegalHoldOutput); ok { r1 = rf(_a0) } else { @@ -3609,6 +4110,10 @@ func (_m *MockFakeS3) GetObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.GetObjectLegalHoldOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectLegalHoldInput, ...request.Option) (*s3.GetObjectLegalHoldOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectLegalHoldInput, ...request.Option) *s3.GetObjectLegalHoldOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3617,7 +4122,6 @@ func (_m *MockFakeS3) GetObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectLegalHoldInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3632,6 +4136,10 @@ func (_m *MockFakeS3) GetObjectLockConfiguration(_a0 *s3.GetObjectLockConfigurat ret := _m.Called(_a0) var r0 *s3.GetObjectLockConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectLockConfigurationInput) (*s3.GetObjectLockConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectLockConfigurationInput) *s3.GetObjectLockConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -3640,7 +4148,6 @@ func (_m *MockFakeS3) GetObjectLockConfiguration(_a0 *s3.GetObjectLockConfigurat } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectLockConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -3655,6 +4162,10 @@ func (_m *MockFakeS3) GetObjectLockConfigurationRequest(_a0 *s3.GetObjectLockCon ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectLockConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectLockConfigurationInput) (*request.Request, *s3.GetObjectLockConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectLockConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3663,7 +4174,6 @@ func (_m *MockFakeS3) GetObjectLockConfigurationRequest(_a0 *s3.GetObjectLockCon } } - var r1 *s3.GetObjectLockConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectLockConfigurationInput) *s3.GetObjectLockConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -3687,6 +4197,10 @@ func (_m *MockFakeS3) GetObjectLockConfigurationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3.GetObjectLockConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectLockConfigurationInput, ...request.Option) (*s3.GetObjectLockConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectLockConfigurationInput, ...request.Option) *s3.GetObjectLockConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3695,7 +4209,6 @@ func (_m *MockFakeS3) GetObjectLockConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectLockConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3710,6 +4223,10 @@ func (_m *MockFakeS3) GetObjectRequest(_a0 *s3.GetObjectInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3718,7 +4235,6 @@ func (_m *MockFakeS3) GetObjectRequest(_a0 *s3.GetObjectInput) (*request.Request } } - var r1 *s3.GetObjectOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectInput) *s3.GetObjectOutput); ok { r1 = rf(_a0) } else { @@ -3735,6 +4251,10 @@ func (_m *MockFakeS3) GetObjectRetention(_a0 *s3.GetObjectRetentionInput) (*s3.G ret := _m.Called(_a0) var r0 *s3.GetObjectRetentionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectRetentionInput) (*s3.GetObjectRetentionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectRetentionInput) *s3.GetObjectRetentionOutput); ok { r0 = rf(_a0) } else { @@ -3743,7 +4263,6 @@ func (_m *MockFakeS3) GetObjectRetention(_a0 *s3.GetObjectRetentionInput) (*s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectRetentionInput) error); ok { r1 = rf(_a0) } else { @@ -3758,6 +4277,10 @@ func (_m *MockFakeS3) GetObjectRetentionRequest(_a0 *s3.GetObjectRetentionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectRetentionOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectRetentionInput) (*request.Request, *s3.GetObjectRetentionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectRetentionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3766,7 +4289,6 @@ func (_m *MockFakeS3) GetObjectRetentionRequest(_a0 *s3.GetObjectRetentionInput) } } - var r1 *s3.GetObjectRetentionOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectRetentionInput) *s3.GetObjectRetentionOutput); ok { r1 = rf(_a0) } else { @@ -3790,6 +4312,10 @@ func (_m *MockFakeS3) GetObjectRetentionWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.GetObjectRetentionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectRetentionInput, ...request.Option) (*s3.GetObjectRetentionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectRetentionInput, ...request.Option) *s3.GetObjectRetentionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3798,7 +4324,6 @@ func (_m *MockFakeS3) GetObjectRetentionWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectRetentionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3813,6 +4338,10 @@ func (_m *MockFakeS3) GetObjectTagging(_a0 *s3.GetObjectTaggingInput) (*s3.GetOb ret := _m.Called(_a0) var r0 *s3.GetObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectTaggingInput) (*s3.GetObjectTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectTaggingInput) *s3.GetObjectTaggingOutput); ok { r0 = rf(_a0) } else { @@ -3821,7 +4350,6 @@ func (_m *MockFakeS3) GetObjectTagging(_a0 *s3.GetObjectTaggingInput) (*s3.GetOb } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3836,6 +4364,10 @@ func (_m *MockFakeS3) GetObjectTaggingRequest(_a0 *s3.GetObjectTaggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectTaggingInput) (*request.Request, *s3.GetObjectTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3844,7 +4376,6 @@ func (_m *MockFakeS3) GetObjectTaggingRequest(_a0 *s3.GetObjectTaggingInput) (*r } } - var r1 *s3.GetObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectTaggingInput) *s3.GetObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3868,6 +4399,10 @@ func (_m *MockFakeS3) GetObjectTaggingWithContext(_a0 context.Context, _a1 *s3.G ret := _m.Called(_ca...) var r0 *s3.GetObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectTaggingInput, ...request.Option) (*s3.GetObjectTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectTaggingInput, ...request.Option) *s3.GetObjectTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3876,7 +4411,6 @@ func (_m *MockFakeS3) GetObjectTaggingWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3891,6 +4425,10 @@ func (_m *MockFakeS3) GetObjectTorrent(_a0 *s3.GetObjectTorrentInput) (*s3.GetOb ret := _m.Called(_a0) var r0 *s3.GetObjectTorrentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetObjectTorrentInput) (*s3.GetObjectTorrentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectTorrentInput) *s3.GetObjectTorrentOutput); ok { r0 = rf(_a0) } else { @@ -3899,7 +4437,6 @@ func (_m *MockFakeS3) GetObjectTorrent(_a0 *s3.GetObjectTorrentInput) (*s3.GetOb } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectTorrentInput) error); ok { r1 = rf(_a0) } else { @@ -3914,6 +4451,10 @@ func (_m *MockFakeS3) GetObjectTorrentRequest(_a0 *s3.GetObjectTorrentInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetObjectTorrentOutput + if rf, ok := ret.Get(0).(func(*s3.GetObjectTorrentInput) (*request.Request, *s3.GetObjectTorrentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetObjectTorrentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3922,7 +4463,6 @@ func (_m *MockFakeS3) GetObjectTorrentRequest(_a0 *s3.GetObjectTorrentInput) (*r } } - var r1 *s3.GetObjectTorrentOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectTorrentInput) *s3.GetObjectTorrentOutput); ok { r1 = rf(_a0) } else { @@ -3946,6 +4486,10 @@ func (_m *MockFakeS3) GetObjectTorrentWithContext(_a0 context.Context, _a1 *s3.G ret := _m.Called(_ca...) var r0 *s3.GetObjectTorrentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectTorrentInput, ...request.Option) (*s3.GetObjectTorrentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectTorrentInput, ...request.Option) *s3.GetObjectTorrentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3954,7 +4498,6 @@ func (_m *MockFakeS3) GetObjectTorrentWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectTorrentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3976,6 +4519,10 @@ func (_m *MockFakeS3) GetObjectWithContext(_a0 context.Context, _a1 *s3.GetObjec ret := _m.Called(_ca...) var r0 *s3.GetObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectInput, ...request.Option) (*s3.GetObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetObjectInput, ...request.Option) *s3.GetObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3984,7 +4531,6 @@ func (_m *MockFakeS3) GetObjectWithContext(_a0 context.Context, _a1 *s3.GetObjec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3999,6 +4545,10 @@ func (_m *MockFakeS3) GetPublicAccessBlock(_a0 *s3.GetPublicAccessBlockInput) (* ret := _m.Called(_a0) var r0 *s3.GetPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.GetPublicAccessBlockInput) (*s3.GetPublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetPublicAccessBlockInput) *s3.GetPublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -4007,7 +4557,6 @@ func (_m *MockFakeS3) GetPublicAccessBlock(_a0 *s3.GetPublicAccessBlockInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -4022,6 +4571,10 @@ func (_m *MockFakeS3) GetPublicAccessBlockRequest(_a0 *s3.GetPublicAccessBlockIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.GetPublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3.GetPublicAccessBlockInput) (*request.Request, *s3.GetPublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.GetPublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4030,7 +4583,6 @@ func (_m *MockFakeS3) GetPublicAccessBlockRequest(_a0 *s3.GetPublicAccessBlockIn } } - var r1 *s3.GetPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.GetPublicAccessBlockInput) *s3.GetPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -4054,6 +4606,10 @@ func (_m *MockFakeS3) GetPublicAccessBlockWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.GetPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.GetPublicAccessBlockInput, ...request.Option) (*s3.GetPublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.GetPublicAccessBlockInput, ...request.Option) *s3.GetPublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4062,7 +4618,6 @@ func (_m *MockFakeS3) GetPublicAccessBlockWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4077,6 +4632,10 @@ func (_m *MockFakeS3) HeadBucket(_a0 *s3.HeadBucketInput) (*s3.HeadBucketOutput, ret := _m.Called(_a0) var r0 *s3.HeadBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) (*s3.HeadBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) *s3.HeadBucketOutput); ok { r0 = rf(_a0) } else { @@ -4085,7 +4644,6 @@ func (_m *MockFakeS3) HeadBucket(_a0 *s3.HeadBucketInput) (*s3.HeadBucketOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.HeadBucketInput) error); ok { r1 = rf(_a0) } else { @@ -4100,6 +4658,10 @@ func (_m *MockFakeS3) HeadBucketRequest(_a0 *s3.HeadBucketInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.HeadBucketOutput + if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) (*request.Request, *s3.HeadBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4108,7 +4670,6 @@ func (_m *MockFakeS3) HeadBucketRequest(_a0 *s3.HeadBucketInput) (*request.Reque } } - var r1 *s3.HeadBucketOutput if rf, ok := ret.Get(1).(func(*s3.HeadBucketInput) *s3.HeadBucketOutput); ok { r1 = rf(_a0) } else { @@ -4132,6 +4693,10 @@ func (_m *MockFakeS3) HeadBucketWithContext(_a0 context.Context, _a1 *s3.HeadBuc ret := _m.Called(_ca...) var r0 *s3.HeadBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadBucketInput, ...request.Option) (*s3.HeadBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadBucketInput, ...request.Option) *s3.HeadBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4140,7 +4705,6 @@ func (_m *MockFakeS3) HeadBucketWithContext(_a0 context.Context, _a1 *s3.HeadBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.HeadBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4155,6 +4719,10 @@ func (_m *MockFakeS3) HeadObject(_a0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, ret := _m.Called(_a0) var r0 *s3.HeadObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) (*s3.HeadObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) *s3.HeadObjectOutput); ok { r0 = rf(_a0) } else { @@ -4163,7 +4731,6 @@ func (_m *MockFakeS3) HeadObject(_a0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.HeadObjectInput) error); ok { r1 = rf(_a0) } else { @@ -4178,6 +4745,10 @@ func (_m *MockFakeS3) HeadObjectRequest(_a0 *s3.HeadObjectInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.HeadObjectOutput + if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) (*request.Request, *s3.HeadObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4186,7 +4757,6 @@ func (_m *MockFakeS3) HeadObjectRequest(_a0 *s3.HeadObjectInput) (*request.Reque } } - var r1 *s3.HeadObjectOutput if rf, ok := ret.Get(1).(func(*s3.HeadObjectInput) *s3.HeadObjectOutput); ok { r1 = rf(_a0) } else { @@ -4210,6 +4780,10 @@ func (_m *MockFakeS3) HeadObjectWithContext(_a0 context.Context, _a1 *s3.HeadObj ret := _m.Called(_ca...) var r0 *s3.HeadObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadObjectInput, ...request.Option) (*s3.HeadObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadObjectInput, ...request.Option) *s3.HeadObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4218,7 +4792,6 @@ func (_m *MockFakeS3) HeadObjectWithContext(_a0 context.Context, _a1 *s3.HeadObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.HeadObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4233,6 +4806,10 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurations(_a0 *s3.ListBucketAnalyt ret := _m.Called(_a0) var r0 *s3.ListBucketAnalyticsConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListBucketAnalyticsConfigurationsInput) (*s3.ListBucketAnalyticsConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketAnalyticsConfigurationsInput) *s3.ListBucketAnalyticsConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -4241,7 +4818,6 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurations(_a0 *s3.ListBucketAnalyt } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketAnalyticsConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4256,6 +4832,10 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurationsRequest(_a0 *s3.ListBucke ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListBucketAnalyticsConfigurationsOutput + if rf, ok := ret.Get(0).(func(*s3.ListBucketAnalyticsConfigurationsInput) (*request.Request, *s3.ListBucketAnalyticsConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketAnalyticsConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4264,7 +4844,6 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurationsRequest(_a0 *s3.ListBucke } } - var r1 *s3.ListBucketAnalyticsConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketAnalyticsConfigurationsInput) *s3.ListBucketAnalyticsConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4288,6 +4867,10 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurationsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *s3.ListBucketAnalyticsConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketAnalyticsConfigurationsInput, ...request.Option) (*s3.ListBucketAnalyticsConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketAnalyticsConfigurationsInput, ...request.Option) *s3.ListBucketAnalyticsConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4296,7 +4879,6 @@ func (_m *MockFakeS3) ListBucketAnalyticsConfigurationsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketAnalyticsConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4311,6 +4893,10 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurations(_a0 *s3.ListBuc ret := _m.Called(_a0) var r0 *s3.ListBucketIntelligentTieringConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) (*s3.ListBucketIntelligentTieringConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) *s3.ListBucketIntelligentTieringConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -4319,7 +4905,6 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurations(_a0 *s3.ListBuc } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4334,6 +4919,10 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurationsRequest(_a0 *s3. ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListBucketIntelligentTieringConfigurationsOutput + if rf, ok := ret.Get(0).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) (*request.Request, *s3.ListBucketIntelligentTieringConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4342,7 +4931,6 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurationsRequest(_a0 *s3. } } - var r1 *s3.ListBucketIntelligentTieringConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) *s3.ListBucketIntelligentTieringConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4366,6 +4954,10 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurationsWithContext(_a0 ret := _m.Called(_ca...) var r0 *s3.ListBucketIntelligentTieringConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketIntelligentTieringConfigurationsInput, ...request.Option) (*s3.ListBucketIntelligentTieringConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketIntelligentTieringConfigurationsInput, ...request.Option) *s3.ListBucketIntelligentTieringConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4374,7 +4966,6 @@ func (_m *MockFakeS3) ListBucketIntelligentTieringConfigurationsWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketIntelligentTieringConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4389,6 +4980,10 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurations(_a0 *s3.ListBucketInvent ret := _m.Called(_a0) var r0 *s3.ListBucketInventoryConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListBucketInventoryConfigurationsInput) (*s3.ListBucketInventoryConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketInventoryConfigurationsInput) *s3.ListBucketInventoryConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -4397,7 +4992,6 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurations(_a0 *s3.ListBucketInvent } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketInventoryConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4412,6 +5006,10 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurationsRequest(_a0 *s3.ListBucke ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListBucketInventoryConfigurationsOutput + if rf, ok := ret.Get(0).(func(*s3.ListBucketInventoryConfigurationsInput) (*request.Request, *s3.ListBucketInventoryConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketInventoryConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4420,7 +5018,6 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurationsRequest(_a0 *s3.ListBucke } } - var r1 *s3.ListBucketInventoryConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketInventoryConfigurationsInput) *s3.ListBucketInventoryConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4444,6 +5041,10 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurationsWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *s3.ListBucketInventoryConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketInventoryConfigurationsInput, ...request.Option) (*s3.ListBucketInventoryConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketInventoryConfigurationsInput, ...request.Option) *s3.ListBucketInventoryConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4452,7 +5053,6 @@ func (_m *MockFakeS3) ListBucketInventoryConfigurationsWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketInventoryConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4467,6 +5067,10 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurations(_a0 *s3.ListBucketMetricsC ret := _m.Called(_a0) var r0 *s3.ListBucketMetricsConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListBucketMetricsConfigurationsInput) (*s3.ListBucketMetricsConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketMetricsConfigurationsInput) *s3.ListBucketMetricsConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -4475,7 +5079,6 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurations(_a0 *s3.ListBucketMetricsC } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketMetricsConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4490,6 +5093,10 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurationsRequest(_a0 *s3.ListBucketM ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListBucketMetricsConfigurationsOutput + if rf, ok := ret.Get(0).(func(*s3.ListBucketMetricsConfigurationsInput) (*request.Request, *s3.ListBucketMetricsConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketMetricsConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4498,7 +5105,6 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurationsRequest(_a0 *s3.ListBucketM } } - var r1 *s3.ListBucketMetricsConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketMetricsConfigurationsInput) *s3.ListBucketMetricsConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4522,6 +5128,10 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurationsWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.ListBucketMetricsConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketMetricsConfigurationsInput, ...request.Option) (*s3.ListBucketMetricsConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketMetricsConfigurationsInput, ...request.Option) *s3.ListBucketMetricsConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4530,7 +5140,6 @@ func (_m *MockFakeS3) ListBucketMetricsConfigurationsWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketMetricsConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4545,6 +5154,10 @@ func (_m *MockFakeS3) ListBuckets(_a0 *s3.ListBucketsInput) (*s3.ListBucketsOutp ret := _m.Called(_a0) var r0 *s3.ListBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListBucketsInput) (*s3.ListBucketsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketsInput) *s3.ListBucketsOutput); ok { r0 = rf(_a0) } else { @@ -4553,7 +5166,6 @@ func (_m *MockFakeS3) ListBuckets(_a0 *s3.ListBucketsInput) (*s3.ListBucketsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketsInput) error); ok { r1 = rf(_a0) } else { @@ -4568,6 +5180,10 @@ func (_m *MockFakeS3) ListBucketsRequest(_a0 *s3.ListBucketsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListBucketsOutput + if rf, ok := ret.Get(0).(func(*s3.ListBucketsInput) (*request.Request, *s3.ListBucketsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListBucketsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4576,7 +5192,6 @@ func (_m *MockFakeS3) ListBucketsRequest(_a0 *s3.ListBucketsInput) (*request.Req } } - var r1 *s3.ListBucketsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketsInput) *s3.ListBucketsOutput); ok { r1 = rf(_a0) } else { @@ -4600,6 +5215,10 @@ func (_m *MockFakeS3) ListBucketsWithContext(_a0 context.Context, _a1 *s3.ListBu ret := _m.Called(_ca...) var r0 *s3.ListBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketsInput, ...request.Option) (*s3.ListBucketsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListBucketsInput, ...request.Option) *s3.ListBucketsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4608,7 +5227,6 @@ func (_m *MockFakeS3) ListBucketsWithContext(_a0 context.Context, _a1 *s3.ListBu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4623,6 +5241,10 @@ func (_m *MockFakeS3) ListMultipartUploads(_a0 *s3.ListMultipartUploadsInput) (* ret := _m.Called(_a0) var r0 *s3.ListMultipartUploadsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListMultipartUploadsInput) (*s3.ListMultipartUploadsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListMultipartUploadsInput) *s3.ListMultipartUploadsOutput); ok { r0 = rf(_a0) } else { @@ -4631,7 +5253,6 @@ func (_m *MockFakeS3) ListMultipartUploads(_a0 *s3.ListMultipartUploadsInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListMultipartUploadsInput) error); ok { r1 = rf(_a0) } else { @@ -4681,6 +5302,10 @@ func (_m *MockFakeS3) ListMultipartUploadsRequest(_a0 *s3.ListMultipartUploadsIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListMultipartUploadsOutput + if rf, ok := ret.Get(0).(func(*s3.ListMultipartUploadsInput) (*request.Request, *s3.ListMultipartUploadsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListMultipartUploadsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4689,7 +5314,6 @@ func (_m *MockFakeS3) ListMultipartUploadsRequest(_a0 *s3.ListMultipartUploadsIn } } - var r1 *s3.ListMultipartUploadsOutput if rf, ok := ret.Get(1).(func(*s3.ListMultipartUploadsInput) *s3.ListMultipartUploadsOutput); ok { r1 = rf(_a0) } else { @@ -4713,6 +5337,10 @@ func (_m *MockFakeS3) ListMultipartUploadsWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.ListMultipartUploadsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListMultipartUploadsInput, ...request.Option) (*s3.ListMultipartUploadsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListMultipartUploadsInput, ...request.Option) *s3.ListMultipartUploadsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4721,7 +5349,6 @@ func (_m *MockFakeS3) ListMultipartUploadsWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListMultipartUploadsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4736,6 +5363,10 @@ func (_m *MockFakeS3) ListObjectVersions(_a0 *s3.ListObjectVersionsInput) (*s3.L ret := _m.Called(_a0) var r0 *s3.ListObjectVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListObjectVersionsInput) (*s3.ListObjectVersionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectVersionsInput) *s3.ListObjectVersionsOutput); ok { r0 = rf(_a0) } else { @@ -4744,7 +5375,6 @@ func (_m *MockFakeS3) ListObjectVersions(_a0 *s3.ListObjectVersionsInput) (*s3.L } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4794,6 +5424,10 @@ func (_m *MockFakeS3) ListObjectVersionsRequest(_a0 *s3.ListObjectVersionsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListObjectVersionsOutput + if rf, ok := ret.Get(0).(func(*s3.ListObjectVersionsInput) (*request.Request, *s3.ListObjectVersionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectVersionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4802,7 +5436,6 @@ func (_m *MockFakeS3) ListObjectVersionsRequest(_a0 *s3.ListObjectVersionsInput) } } - var r1 *s3.ListObjectVersionsOutput if rf, ok := ret.Get(1).(func(*s3.ListObjectVersionsInput) *s3.ListObjectVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4826,6 +5459,10 @@ func (_m *MockFakeS3) ListObjectVersionsWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.ListObjectVersionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectVersionsInput, ...request.Option) (*s3.ListObjectVersionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectVersionsInput, ...request.Option) *s3.ListObjectVersionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4834,7 +5471,6 @@ func (_m *MockFakeS3) ListObjectVersionsWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4849,6 +5485,10 @@ func (_m *MockFakeS3) ListObjects(_a0 *s3.ListObjectsInput) (*s3.ListObjectsOutp ret := _m.Called(_a0) var r0 *s3.ListObjectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListObjectsInput) (*s3.ListObjectsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectsInput) *s3.ListObjectsOutput); ok { r0 = rf(_a0) } else { @@ -4857,7 +5497,6 @@ func (_m *MockFakeS3) ListObjects(_a0 *s3.ListObjectsInput) (*s3.ListObjectsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectsInput) error); ok { r1 = rf(_a0) } else { @@ -4907,6 +5546,10 @@ func (_m *MockFakeS3) ListObjectsRequest(_a0 *s3.ListObjectsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListObjectsOutput + if rf, ok := ret.Get(0).(func(*s3.ListObjectsInput) (*request.Request, *s3.ListObjectsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -4915,7 +5558,6 @@ func (_m *MockFakeS3) ListObjectsRequest(_a0 *s3.ListObjectsInput) (*request.Req } } - var r1 *s3.ListObjectsOutput if rf, ok := ret.Get(1).(func(*s3.ListObjectsInput) *s3.ListObjectsOutput); ok { r1 = rf(_a0) } else { @@ -4932,6 +5574,10 @@ func (_m *MockFakeS3) ListObjectsV2(_a0 *s3.ListObjectsV2Input) (*s3.ListObjects ret := _m.Called(_a0) var r0 *s3.ListObjectsV2Output + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectsV2Input) *s3.ListObjectsV2Output); ok { r0 = rf(_a0) } else { @@ -4940,7 +5586,6 @@ func (_m *MockFakeS3) ListObjectsV2(_a0 *s3.ListObjectsV2Input) (*s3.ListObjects } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectsV2Input) error); ok { r1 = rf(_a0) } else { @@ -4990,6 +5635,10 @@ func (_m *MockFakeS3) ListObjectsV2Request(_a0 *s3.ListObjectsV2Input) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListObjectsV2Output + if rf, ok := ret.Get(0).(func(*s3.ListObjectsV2Input) (*request.Request, *s3.ListObjectsV2Output)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListObjectsV2Input) *request.Request); ok { r0 = rf(_a0) } else { @@ -4998,7 +5647,6 @@ func (_m *MockFakeS3) ListObjectsV2Request(_a0 *s3.ListObjectsV2Input) (*request } } - var r1 *s3.ListObjectsV2Output if rf, ok := ret.Get(1).(func(*s3.ListObjectsV2Input) *s3.ListObjectsV2Output); ok { r1 = rf(_a0) } else { @@ -5022,6 +5670,10 @@ func (_m *MockFakeS3) ListObjectsV2WithContext(_a0 context.Context, _a1 *s3.List ret := _m.Called(_ca...) var r0 *s3.ListObjectsV2Output + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsV2Input, ...request.Option) (*s3.ListObjectsV2Output, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsV2Input, ...request.Option) *s3.ListObjectsV2Output); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5030,7 +5682,6 @@ func (_m *MockFakeS3) ListObjectsV2WithContext(_a0 context.Context, _a1 *s3.List } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectsV2Input, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5052,6 +5703,10 @@ func (_m *MockFakeS3) ListObjectsWithContext(_a0 context.Context, _a1 *s3.ListOb ret := _m.Called(_ca...) var r0 *s3.ListObjectsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsInput, ...request.Option) (*s3.ListObjectsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsInput, ...request.Option) *s3.ListObjectsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5060,7 +5715,6 @@ func (_m *MockFakeS3) ListObjectsWithContext(_a0 context.Context, _a1 *s3.ListOb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5075,6 +5729,10 @@ func (_m *MockFakeS3) ListParts(_a0 *s3.ListPartsInput) (*s3.ListPartsOutput, er ret := _m.Called(_a0) var r0 *s3.ListPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListPartsInput) (*s3.ListPartsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListPartsInput) *s3.ListPartsOutput); ok { r0 = rf(_a0) } else { @@ -5083,7 +5741,6 @@ func (_m *MockFakeS3) ListParts(_a0 *s3.ListPartsInput) (*s3.ListPartsOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListPartsInput) error); ok { r1 = rf(_a0) } else { @@ -5133,6 +5790,10 @@ func (_m *MockFakeS3) ListPartsRequest(_a0 *s3.ListPartsInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.ListPartsOutput + if rf, ok := ret.Get(0).(func(*s3.ListPartsInput) (*request.Request, *s3.ListPartsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.ListPartsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5141,7 +5802,6 @@ func (_m *MockFakeS3) ListPartsRequest(_a0 *s3.ListPartsInput) (*request.Request } } - var r1 *s3.ListPartsOutput if rf, ok := ret.Get(1).(func(*s3.ListPartsInput) *s3.ListPartsOutput); ok { r1 = rf(_a0) } else { @@ -5165,6 +5825,10 @@ func (_m *MockFakeS3) ListPartsWithContext(_a0 context.Context, _a1 *s3.ListPart ret := _m.Called(_ca...) var r0 *s3.ListPartsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListPartsInput, ...request.Option) (*s3.ListPartsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.ListPartsInput, ...request.Option) *s3.ListPartsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5173,7 +5837,6 @@ func (_m *MockFakeS3) ListPartsWithContext(_a0 context.Context, _a1 *s3.ListPart } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListPartsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5188,6 +5851,10 @@ func (_m *MockFakeS3) PutBucketAccelerateConfiguration(_a0 *s3.PutBucketAccelera ret := _m.Called(_a0) var r0 *s3.PutBucketAccelerateConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketAccelerateConfigurationInput) (*s3.PutBucketAccelerateConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAccelerateConfigurationInput) *s3.PutBucketAccelerateConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5196,7 +5863,6 @@ func (_m *MockFakeS3) PutBucketAccelerateConfiguration(_a0 *s3.PutBucketAccelera } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAccelerateConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5211,6 +5877,10 @@ func (_m *MockFakeS3) PutBucketAccelerateConfigurationRequest(_a0 *s3.PutBucketA ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketAccelerateConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketAccelerateConfigurationInput) (*request.Request, *s3.PutBucketAccelerateConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAccelerateConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5219,7 +5889,6 @@ func (_m *MockFakeS3) PutBucketAccelerateConfigurationRequest(_a0 *s3.PutBucketA } } - var r1 *s3.PutBucketAccelerateConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAccelerateConfigurationInput) *s3.PutBucketAccelerateConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5243,6 +5912,10 @@ func (_m *MockFakeS3) PutBucketAccelerateConfigurationWithContext(_a0 context.Co ret := _m.Called(_ca...) var r0 *s3.PutBucketAccelerateConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAccelerateConfigurationInput, ...request.Option) (*s3.PutBucketAccelerateConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAccelerateConfigurationInput, ...request.Option) *s3.PutBucketAccelerateConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5251,7 +5924,6 @@ func (_m *MockFakeS3) PutBucketAccelerateConfigurationWithContext(_a0 context.Co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAccelerateConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5266,6 +5938,10 @@ func (_m *MockFakeS3) PutBucketAcl(_a0 *s3.PutBucketAclInput) (*s3.PutBucketAclO ret := _m.Called(_a0) var r0 *s3.PutBucketAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketAclInput) (*s3.PutBucketAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAclInput) *s3.PutBucketAclOutput); ok { r0 = rf(_a0) } else { @@ -5274,7 +5950,6 @@ func (_m *MockFakeS3) PutBucketAcl(_a0 *s3.PutBucketAclInput) (*s3.PutBucketAclO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAclInput) error); ok { r1 = rf(_a0) } else { @@ -5289,6 +5964,10 @@ func (_m *MockFakeS3) PutBucketAclRequest(_a0 *s3.PutBucketAclInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketAclOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketAclInput) (*request.Request, *s3.PutBucketAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5297,7 +5976,6 @@ func (_m *MockFakeS3) PutBucketAclRequest(_a0 *s3.PutBucketAclInput) (*request.R } } - var r1 *s3.PutBucketAclOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAclInput) *s3.PutBucketAclOutput); ok { r1 = rf(_a0) } else { @@ -5321,6 +5999,10 @@ func (_m *MockFakeS3) PutBucketAclWithContext(_a0 context.Context, _a1 *s3.PutBu ret := _m.Called(_ca...) var r0 *s3.PutBucketAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAclInput, ...request.Option) (*s3.PutBucketAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAclInput, ...request.Option) *s3.PutBucketAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5329,7 +6011,6 @@ func (_m *MockFakeS3) PutBucketAclWithContext(_a0 context.Context, _a1 *s3.PutBu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5344,6 +6025,10 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfiguration(_a0 *s3.PutBucketAnalytics ret := _m.Called(_a0) var r0 *s3.PutBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketAnalyticsConfigurationInput) (*s3.PutBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAnalyticsConfigurationInput) *s3.PutBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5352,7 +6037,6 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfiguration(_a0 *s3.PutBucketAnalytics } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5367,6 +6051,10 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfigurationRequest(_a0 *s3.PutBucketAn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketAnalyticsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketAnalyticsConfigurationInput) (*request.Request, *s3.PutBucketAnalyticsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketAnalyticsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5375,7 +6063,6 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfigurationRequest(_a0 *s3.PutBucketAn } } - var r1 *s3.PutBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAnalyticsConfigurationInput) *s3.PutBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5399,6 +6086,10 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.PutBucketAnalyticsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAnalyticsConfigurationInput, ...request.Option) (*s3.PutBucketAnalyticsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketAnalyticsConfigurationInput, ...request.Option) *s3.PutBucketAnalyticsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5407,7 +6098,6 @@ func (_m *MockFakeS3) PutBucketAnalyticsConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5422,6 +6112,10 @@ func (_m *MockFakeS3) PutBucketCors(_a0 *s3.PutBucketCorsInput) (*s3.PutBucketCo ret := _m.Called(_a0) var r0 *s3.PutBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketCorsInput) (*s3.PutBucketCorsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketCorsInput) *s3.PutBucketCorsOutput); ok { r0 = rf(_a0) } else { @@ -5430,7 +6124,6 @@ func (_m *MockFakeS3) PutBucketCors(_a0 *s3.PutBucketCorsInput) (*s3.PutBucketCo } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -5445,6 +6138,10 @@ func (_m *MockFakeS3) PutBucketCorsRequest(_a0 *s3.PutBucketCorsInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketCorsOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketCorsInput) (*request.Request, *s3.PutBucketCorsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketCorsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5453,7 +6150,6 @@ func (_m *MockFakeS3) PutBucketCorsRequest(_a0 *s3.PutBucketCorsInput) (*request } } - var r1 *s3.PutBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketCorsInput) *s3.PutBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -5477,6 +6173,10 @@ func (_m *MockFakeS3) PutBucketCorsWithContext(_a0 context.Context, _a1 *s3.PutB ret := _m.Called(_ca...) var r0 *s3.PutBucketCorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketCorsInput, ...request.Option) (*s3.PutBucketCorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketCorsInput, ...request.Option) *s3.PutBucketCorsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5485,7 +6185,6 @@ func (_m *MockFakeS3) PutBucketCorsWithContext(_a0 context.Context, _a1 *s3.PutB } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5500,6 +6199,10 @@ func (_m *MockFakeS3) PutBucketEncryption(_a0 *s3.PutBucketEncryptionInput) (*s3 ret := _m.Called(_a0) var r0 *s3.PutBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketEncryptionInput) (*s3.PutBucketEncryptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketEncryptionInput) *s3.PutBucketEncryptionOutput); ok { r0 = rf(_a0) } else { @@ -5508,7 +6211,6 @@ func (_m *MockFakeS3) PutBucketEncryption(_a0 *s3.PutBucketEncryptionInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -5523,6 +6225,10 @@ func (_m *MockFakeS3) PutBucketEncryptionRequest(_a0 *s3.PutBucketEncryptionInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketEncryptionOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketEncryptionInput) (*request.Request, *s3.PutBucketEncryptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketEncryptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5531,7 +6237,6 @@ func (_m *MockFakeS3) PutBucketEncryptionRequest(_a0 *s3.PutBucketEncryptionInpu } } - var r1 *s3.PutBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketEncryptionInput) *s3.PutBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -5555,6 +6260,10 @@ func (_m *MockFakeS3) PutBucketEncryptionWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.PutBucketEncryptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketEncryptionInput, ...request.Option) (*s3.PutBucketEncryptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketEncryptionInput, ...request.Option) *s3.PutBucketEncryptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5563,7 +6272,6 @@ func (_m *MockFakeS3) PutBucketEncryptionWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5578,6 +6286,10 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfiguration(_a0 *s3.PutBucket ret := _m.Called(_a0) var r0 *s3.PutBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketIntelligentTieringConfigurationInput) (*s3.PutBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketIntelligentTieringConfigurationInput) *s3.PutBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5586,7 +6298,6 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfiguration(_a0 *s3.PutBucket } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5601,6 +6312,10 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfigurationRequest(_a0 *s3.Pu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketIntelligentTieringConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.PutBucketIntelligentTieringConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketIntelligentTieringConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5609,7 +6324,6 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfigurationRequest(_a0 *s3.Pu } } - var r1 *s3.PutBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketIntelligentTieringConfigurationInput) *s3.PutBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5633,6 +6347,10 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfigurationWithContext(_a0 co ret := _m.Called(_ca...) var r0 *s3.PutBucketIntelligentTieringConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketIntelligentTieringConfigurationInput, ...request.Option) (*s3.PutBucketIntelligentTieringConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketIntelligentTieringConfigurationInput, ...request.Option) *s3.PutBucketIntelligentTieringConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5641,7 +6359,6 @@ func (_m *MockFakeS3) PutBucketIntelligentTieringConfigurationWithContext(_a0 co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5656,6 +6373,10 @@ func (_m *MockFakeS3) PutBucketInventoryConfiguration(_a0 *s3.PutBucketInventory ret := _m.Called(_a0) var r0 *s3.PutBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketInventoryConfigurationInput) (*s3.PutBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketInventoryConfigurationInput) *s3.PutBucketInventoryConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5664,7 +6385,6 @@ func (_m *MockFakeS3) PutBucketInventoryConfiguration(_a0 *s3.PutBucketInventory } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5679,6 +6399,10 @@ func (_m *MockFakeS3) PutBucketInventoryConfigurationRequest(_a0 *s3.PutBucketIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketInventoryConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketInventoryConfigurationInput) (*request.Request, *s3.PutBucketInventoryConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketInventoryConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5687,7 +6411,6 @@ func (_m *MockFakeS3) PutBucketInventoryConfigurationRequest(_a0 *s3.PutBucketIn } } - var r1 *s3.PutBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketInventoryConfigurationInput) *s3.PutBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5711,6 +6434,10 @@ func (_m *MockFakeS3) PutBucketInventoryConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.PutBucketInventoryConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketInventoryConfigurationInput, ...request.Option) (*s3.PutBucketInventoryConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketInventoryConfigurationInput, ...request.Option) *s3.PutBucketInventoryConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5719,7 +6446,6 @@ func (_m *MockFakeS3) PutBucketInventoryConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5734,6 +6460,10 @@ func (_m *MockFakeS3) PutBucketLifecycle(_a0 *s3.PutBucketLifecycleInput) (*s3.P ret := _m.Called(_a0) var r0 *s3.PutBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleInput) (*s3.PutBucketLifecycleOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleInput) *s3.PutBucketLifecycleOutput); ok { r0 = rf(_a0) } else { @@ -5742,7 +6472,6 @@ func (_m *MockFakeS3) PutBucketLifecycle(_a0 *s3.PutBucketLifecycleInput) (*s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -5757,6 +6486,10 @@ func (_m *MockFakeS3) PutBucketLifecycleConfiguration(_a0 *s3.PutBucketLifecycle ret := _m.Called(_a0) var r0 *s3.PutBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleConfigurationInput) (*s3.PutBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleConfigurationInput) *s3.PutBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5765,7 +6498,6 @@ func (_m *MockFakeS3) PutBucketLifecycleConfiguration(_a0 *s3.PutBucketLifecycle } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5780,6 +6512,10 @@ func (_m *MockFakeS3) PutBucketLifecycleConfigurationRequest(_a0 *s3.PutBucketLi ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketLifecycleConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleConfigurationInput) (*request.Request, *s3.PutBucketLifecycleConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5788,7 +6524,6 @@ func (_m *MockFakeS3) PutBucketLifecycleConfigurationRequest(_a0 *s3.PutBucketLi } } - var r1 *s3.PutBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleConfigurationInput) *s3.PutBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5812,6 +6547,10 @@ func (_m *MockFakeS3) PutBucketLifecycleConfigurationWithContext(_a0 context.Con ret := _m.Called(_ca...) var r0 *s3.PutBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLifecycleConfigurationInput, ...request.Option) (*s3.PutBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLifecycleConfigurationInput, ...request.Option) *s3.PutBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5820,7 +6559,6 @@ func (_m *MockFakeS3) PutBucketLifecycleConfigurationWithContext(_a0 context.Con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5835,6 +6573,10 @@ func (_m *MockFakeS3) PutBucketLifecycleRequest(_a0 *s3.PutBucketLifecycleInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketLifecycleOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleInput) (*request.Request, *s3.PutBucketLifecycleOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLifecycleInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5843,7 +6585,6 @@ func (_m *MockFakeS3) PutBucketLifecycleRequest(_a0 *s3.PutBucketLifecycleInput) } } - var r1 *s3.PutBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleInput) *s3.PutBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -5867,6 +6608,10 @@ func (_m *MockFakeS3) PutBucketLifecycleWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.PutBucketLifecycleOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLifecycleInput, ...request.Option) (*s3.PutBucketLifecycleOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLifecycleInput, ...request.Option) *s3.PutBucketLifecycleOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5875,7 +6620,6 @@ func (_m *MockFakeS3) PutBucketLifecycleWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5890,6 +6634,10 @@ func (_m *MockFakeS3) PutBucketLogging(_a0 *s3.PutBucketLoggingInput) (*s3.PutBu ret := _m.Called(_a0) var r0 *s3.PutBucketLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketLoggingInput) (*s3.PutBucketLoggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLoggingInput) *s3.PutBucketLoggingOutput); ok { r0 = rf(_a0) } else { @@ -5898,7 +6646,6 @@ func (_m *MockFakeS3) PutBucketLogging(_a0 *s3.PutBucketLoggingInput) (*s3.PutBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLoggingInput) error); ok { r1 = rf(_a0) } else { @@ -5913,6 +6660,10 @@ func (_m *MockFakeS3) PutBucketLoggingRequest(_a0 *s3.PutBucketLoggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketLoggingOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketLoggingInput) (*request.Request, *s3.PutBucketLoggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketLoggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5921,7 +6672,6 @@ func (_m *MockFakeS3) PutBucketLoggingRequest(_a0 *s3.PutBucketLoggingInput) (*r } } - var r1 *s3.PutBucketLoggingOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLoggingInput) *s3.PutBucketLoggingOutput); ok { r1 = rf(_a0) } else { @@ -5945,6 +6695,10 @@ func (_m *MockFakeS3) PutBucketLoggingWithContext(_a0 context.Context, _a1 *s3.P ret := _m.Called(_ca...) var r0 *s3.PutBucketLoggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLoggingInput, ...request.Option) (*s3.PutBucketLoggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketLoggingInput, ...request.Option) *s3.PutBucketLoggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -5953,7 +6707,6 @@ func (_m *MockFakeS3) PutBucketLoggingWithContext(_a0 context.Context, _a1 *s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5968,6 +6721,10 @@ func (_m *MockFakeS3) PutBucketMetricsConfiguration(_a0 *s3.PutBucketMetricsConf ret := _m.Called(_a0) var r0 *s3.PutBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketMetricsConfigurationInput) (*s3.PutBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketMetricsConfigurationInput) *s3.PutBucketMetricsConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -5976,7 +6733,6 @@ func (_m *MockFakeS3) PutBucketMetricsConfiguration(_a0 *s3.PutBucketMetricsConf } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5991,6 +6747,10 @@ func (_m *MockFakeS3) PutBucketMetricsConfigurationRequest(_a0 *s3.PutBucketMetr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketMetricsConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketMetricsConfigurationInput) (*request.Request, *s3.PutBucketMetricsConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketMetricsConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -5999,7 +6759,6 @@ func (_m *MockFakeS3) PutBucketMetricsConfigurationRequest(_a0 *s3.PutBucketMetr } } - var r1 *s3.PutBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketMetricsConfigurationInput) *s3.PutBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -6023,6 +6782,10 @@ func (_m *MockFakeS3) PutBucketMetricsConfigurationWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *s3.PutBucketMetricsConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketMetricsConfigurationInput, ...request.Option) (*s3.PutBucketMetricsConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketMetricsConfigurationInput, ...request.Option) *s3.PutBucketMetricsConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6031,7 +6794,6 @@ func (_m *MockFakeS3) PutBucketMetricsConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6046,6 +6808,10 @@ func (_m *MockFakeS3) PutBucketNotification(_a0 *s3.PutBucketNotificationInput) ret := _m.Called(_a0) var r0 *s3.PutBucketNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationInput) (*s3.PutBucketNotificationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationInput) *s3.PutBucketNotificationOutput); ok { r0 = rf(_a0) } else { @@ -6054,7 +6820,6 @@ func (_m *MockFakeS3) PutBucketNotification(_a0 *s3.PutBucketNotificationInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationInput) error); ok { r1 = rf(_a0) } else { @@ -6069,6 +6834,10 @@ func (_m *MockFakeS3) PutBucketNotificationConfiguration(_a0 *s3.PutBucketNotifi ret := _m.Called(_a0) var r0 *s3.PutBucketNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationConfigurationInput) (*s3.PutBucketNotificationConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationConfigurationInput) *s3.PutBucketNotificationConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -6077,7 +6846,6 @@ func (_m *MockFakeS3) PutBucketNotificationConfiguration(_a0 *s3.PutBucketNotifi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -6092,6 +6860,10 @@ func (_m *MockFakeS3) PutBucketNotificationConfigurationRequest(_a0 *s3.PutBucke ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketNotificationConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationConfigurationInput) (*request.Request, *s3.PutBucketNotificationConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6100,7 +6872,6 @@ func (_m *MockFakeS3) PutBucketNotificationConfigurationRequest(_a0 *s3.PutBucke } } - var r1 *s3.PutBucketNotificationConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationConfigurationInput) *s3.PutBucketNotificationConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -6124,6 +6895,10 @@ func (_m *MockFakeS3) PutBucketNotificationConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3.PutBucketNotificationConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketNotificationConfigurationInput, ...request.Option) (*s3.PutBucketNotificationConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketNotificationConfigurationInput, ...request.Option) *s3.PutBucketNotificationConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6132,7 +6907,6 @@ func (_m *MockFakeS3) PutBucketNotificationConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketNotificationConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6147,6 +6921,10 @@ func (_m *MockFakeS3) PutBucketNotificationRequest(_a0 *s3.PutBucketNotification ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketNotificationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationInput) (*request.Request, *s3.PutBucketNotificationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketNotificationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6155,7 +6933,6 @@ func (_m *MockFakeS3) PutBucketNotificationRequest(_a0 *s3.PutBucketNotification } } - var r1 *s3.PutBucketNotificationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationInput) *s3.PutBucketNotificationOutput); ok { r1 = rf(_a0) } else { @@ -6179,6 +6956,10 @@ func (_m *MockFakeS3) PutBucketNotificationWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.PutBucketNotificationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketNotificationInput, ...request.Option) (*s3.PutBucketNotificationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketNotificationInput, ...request.Option) *s3.PutBucketNotificationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6187,7 +6968,6 @@ func (_m *MockFakeS3) PutBucketNotificationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketNotificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6202,6 +6982,10 @@ func (_m *MockFakeS3) PutBucketOwnershipControls(_a0 *s3.PutBucketOwnershipContr ret := _m.Called(_a0) var r0 *s3.PutBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketOwnershipControlsInput) (*s3.PutBucketOwnershipControlsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketOwnershipControlsInput) *s3.PutBucketOwnershipControlsOutput); ok { r0 = rf(_a0) } else { @@ -6210,7 +6994,6 @@ func (_m *MockFakeS3) PutBucketOwnershipControls(_a0 *s3.PutBucketOwnershipContr } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -6225,6 +7008,10 @@ func (_m *MockFakeS3) PutBucketOwnershipControlsRequest(_a0 *s3.PutBucketOwnersh ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketOwnershipControlsOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketOwnershipControlsInput) (*request.Request, *s3.PutBucketOwnershipControlsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketOwnershipControlsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6233,7 +7020,6 @@ func (_m *MockFakeS3) PutBucketOwnershipControlsRequest(_a0 *s3.PutBucketOwnersh } } - var r1 *s3.PutBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketOwnershipControlsInput) *s3.PutBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -6257,6 +7043,10 @@ func (_m *MockFakeS3) PutBucketOwnershipControlsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3.PutBucketOwnershipControlsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketOwnershipControlsInput, ...request.Option) (*s3.PutBucketOwnershipControlsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketOwnershipControlsInput, ...request.Option) *s3.PutBucketOwnershipControlsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6265,7 +7055,6 @@ func (_m *MockFakeS3) PutBucketOwnershipControlsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6280,6 +7069,10 @@ func (_m *MockFakeS3) PutBucketPolicy(_a0 *s3.PutBucketPolicyInput) (*s3.PutBuck ret := _m.Called(_a0) var r0 *s3.PutBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketPolicyInput) (*s3.PutBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketPolicyInput) *s3.PutBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -6288,7 +7081,6 @@ func (_m *MockFakeS3) PutBucketPolicy(_a0 *s3.PutBucketPolicyInput) (*s3.PutBuck } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -6303,6 +7095,10 @@ func (_m *MockFakeS3) PutBucketPolicyRequest(_a0 *s3.PutBucketPolicyInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketPolicyInput) (*request.Request, *s3.PutBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6311,7 +7107,6 @@ func (_m *MockFakeS3) PutBucketPolicyRequest(_a0 *s3.PutBucketPolicyInput) (*req } } - var r1 *s3.PutBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketPolicyInput) *s3.PutBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -6335,6 +7130,10 @@ func (_m *MockFakeS3) PutBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Pu ret := _m.Called(_ca...) var r0 *s3.PutBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketPolicyInput, ...request.Option) (*s3.PutBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketPolicyInput, ...request.Option) *s3.PutBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6343,7 +7142,6 @@ func (_m *MockFakeS3) PutBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6358,6 +7156,10 @@ func (_m *MockFakeS3) PutBucketReplication(_a0 *s3.PutBucketReplicationInput) (* ret := _m.Called(_a0) var r0 *s3.PutBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketReplicationInput) (*s3.PutBucketReplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketReplicationInput) *s3.PutBucketReplicationOutput); ok { r0 = rf(_a0) } else { @@ -6366,7 +7168,6 @@ func (_m *MockFakeS3) PutBucketReplication(_a0 *s3.PutBucketReplicationInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -6381,6 +7182,10 @@ func (_m *MockFakeS3) PutBucketReplicationRequest(_a0 *s3.PutBucketReplicationIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketReplicationOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketReplicationInput) (*request.Request, *s3.PutBucketReplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketReplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6389,7 +7194,6 @@ func (_m *MockFakeS3) PutBucketReplicationRequest(_a0 *s3.PutBucketReplicationIn } } - var r1 *s3.PutBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketReplicationInput) *s3.PutBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -6413,6 +7217,10 @@ func (_m *MockFakeS3) PutBucketReplicationWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.PutBucketReplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketReplicationInput, ...request.Option) (*s3.PutBucketReplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketReplicationInput, ...request.Option) *s3.PutBucketReplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6421,7 +7229,6 @@ func (_m *MockFakeS3) PutBucketReplicationWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6436,6 +7243,10 @@ func (_m *MockFakeS3) PutBucketRequestPayment(_a0 *s3.PutBucketRequestPaymentInp ret := _m.Called(_a0) var r0 *s3.PutBucketRequestPaymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketRequestPaymentInput) (*s3.PutBucketRequestPaymentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketRequestPaymentInput) *s3.PutBucketRequestPaymentOutput); ok { r0 = rf(_a0) } else { @@ -6444,7 +7255,6 @@ func (_m *MockFakeS3) PutBucketRequestPayment(_a0 *s3.PutBucketRequestPaymentInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketRequestPaymentInput) error); ok { r1 = rf(_a0) } else { @@ -6459,6 +7269,10 @@ func (_m *MockFakeS3) PutBucketRequestPaymentRequest(_a0 *s3.PutBucketRequestPay ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketRequestPaymentOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketRequestPaymentInput) (*request.Request, *s3.PutBucketRequestPaymentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketRequestPaymentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6467,7 +7281,6 @@ func (_m *MockFakeS3) PutBucketRequestPaymentRequest(_a0 *s3.PutBucketRequestPay } } - var r1 *s3.PutBucketRequestPaymentOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketRequestPaymentInput) *s3.PutBucketRequestPaymentOutput); ok { r1 = rf(_a0) } else { @@ -6491,6 +7304,10 @@ func (_m *MockFakeS3) PutBucketRequestPaymentWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3.PutBucketRequestPaymentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketRequestPaymentInput, ...request.Option) (*s3.PutBucketRequestPaymentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketRequestPaymentInput, ...request.Option) *s3.PutBucketRequestPaymentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6499,7 +7316,6 @@ func (_m *MockFakeS3) PutBucketRequestPaymentWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketRequestPaymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6514,6 +7330,10 @@ func (_m *MockFakeS3) PutBucketTagging(_a0 *s3.PutBucketTaggingInput) (*s3.PutBu ret := _m.Called(_a0) var r0 *s3.PutBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketTaggingInput) (*s3.PutBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketTaggingInput) *s3.PutBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -6522,7 +7342,6 @@ func (_m *MockFakeS3) PutBucketTagging(_a0 *s3.PutBucketTaggingInput) (*s3.PutBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -6537,6 +7356,10 @@ func (_m *MockFakeS3) PutBucketTaggingRequest(_a0 *s3.PutBucketTaggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketTaggingInput) (*request.Request, *s3.PutBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6545,7 +7368,6 @@ func (_m *MockFakeS3) PutBucketTaggingRequest(_a0 *s3.PutBucketTaggingInput) (*r } } - var r1 *s3.PutBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketTaggingInput) *s3.PutBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -6569,6 +7391,10 @@ func (_m *MockFakeS3) PutBucketTaggingWithContext(_a0 context.Context, _a1 *s3.P ret := _m.Called(_ca...) var r0 *s3.PutBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketTaggingInput, ...request.Option) (*s3.PutBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketTaggingInput, ...request.Option) *s3.PutBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6577,7 +7403,6 @@ func (_m *MockFakeS3) PutBucketTaggingWithContext(_a0 context.Context, _a1 *s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6592,6 +7417,10 @@ func (_m *MockFakeS3) PutBucketVersioning(_a0 *s3.PutBucketVersioningInput) (*s3 ret := _m.Called(_a0) var r0 *s3.PutBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketVersioningInput) (*s3.PutBucketVersioningOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketVersioningInput) *s3.PutBucketVersioningOutput); ok { r0 = rf(_a0) } else { @@ -6600,7 +7429,6 @@ func (_m *MockFakeS3) PutBucketVersioning(_a0 *s3.PutBucketVersioningInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketVersioningInput) error); ok { r1 = rf(_a0) } else { @@ -6615,6 +7443,10 @@ func (_m *MockFakeS3) PutBucketVersioningRequest(_a0 *s3.PutBucketVersioningInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketVersioningOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketVersioningInput) (*request.Request, *s3.PutBucketVersioningOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketVersioningInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6623,7 +7455,6 @@ func (_m *MockFakeS3) PutBucketVersioningRequest(_a0 *s3.PutBucketVersioningInpu } } - var r1 *s3.PutBucketVersioningOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketVersioningInput) *s3.PutBucketVersioningOutput); ok { r1 = rf(_a0) } else { @@ -6647,6 +7478,10 @@ func (_m *MockFakeS3) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.PutBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketVersioningInput, ...request.Option) (*s3.PutBucketVersioningOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketVersioningInput, ...request.Option) *s3.PutBucketVersioningOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6655,7 +7490,6 @@ func (_m *MockFakeS3) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketVersioningInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6670,6 +7504,10 @@ func (_m *MockFakeS3) PutBucketWebsite(_a0 *s3.PutBucketWebsiteInput) (*s3.PutBu ret := _m.Called(_a0) var r0 *s3.PutBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutBucketWebsiteInput) (*s3.PutBucketWebsiteOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketWebsiteInput) *s3.PutBucketWebsiteOutput); ok { r0 = rf(_a0) } else { @@ -6678,7 +7516,6 @@ func (_m *MockFakeS3) PutBucketWebsite(_a0 *s3.PutBucketWebsiteInput) (*s3.PutBu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -6693,6 +7530,10 @@ func (_m *MockFakeS3) PutBucketWebsiteRequest(_a0 *s3.PutBucketWebsiteInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutBucketWebsiteOutput + if rf, ok := ret.Get(0).(func(*s3.PutBucketWebsiteInput) (*request.Request, *s3.PutBucketWebsiteOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutBucketWebsiteInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6701,7 +7542,6 @@ func (_m *MockFakeS3) PutBucketWebsiteRequest(_a0 *s3.PutBucketWebsiteInput) (*r } } - var r1 *s3.PutBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketWebsiteInput) *s3.PutBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -6725,6 +7565,10 @@ func (_m *MockFakeS3) PutBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.P ret := _m.Called(_ca...) var r0 *s3.PutBucketWebsiteOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketWebsiteInput, ...request.Option) (*s3.PutBucketWebsiteOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutBucketWebsiteInput, ...request.Option) *s3.PutBucketWebsiteOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6733,7 +7577,6 @@ func (_m *MockFakeS3) PutBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6748,6 +7591,10 @@ func (_m *MockFakeS3) PutObject(_a0 *s3.PutObjectInput) (*s3.PutObjectOutput, er ret := _m.Called(_a0) var r0 *s3.PutObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectInput) (*s3.PutObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectInput) *s3.PutObjectOutput); ok { r0 = rf(_a0) } else { @@ -6756,7 +7603,6 @@ func (_m *MockFakeS3) PutObject(_a0 *s3.PutObjectInput) (*s3.PutObjectOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectInput) error); ok { r1 = rf(_a0) } else { @@ -6771,6 +7617,10 @@ func (_m *MockFakeS3) PutObjectAcl(_a0 *s3.PutObjectAclInput) (*s3.PutObjectAclO ret := _m.Called(_a0) var r0 *s3.PutObjectAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectAclInput) (*s3.PutObjectAclOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectAclInput) *s3.PutObjectAclOutput); ok { r0 = rf(_a0) } else { @@ -6779,7 +7629,6 @@ func (_m *MockFakeS3) PutObjectAcl(_a0 *s3.PutObjectAclInput) (*s3.PutObjectAclO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectAclInput) error); ok { r1 = rf(_a0) } else { @@ -6794,6 +7643,10 @@ func (_m *MockFakeS3) PutObjectAclRequest(_a0 *s3.PutObjectAclInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectAclOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectAclInput) (*request.Request, *s3.PutObjectAclOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectAclInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6802,7 +7655,6 @@ func (_m *MockFakeS3) PutObjectAclRequest(_a0 *s3.PutObjectAclInput) (*request.R } } - var r1 *s3.PutObjectAclOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectAclInput) *s3.PutObjectAclOutput); ok { r1 = rf(_a0) } else { @@ -6826,6 +7678,10 @@ func (_m *MockFakeS3) PutObjectAclWithContext(_a0 context.Context, _a1 *s3.PutOb ret := _m.Called(_ca...) var r0 *s3.PutObjectAclOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectAclInput, ...request.Option) (*s3.PutObjectAclOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectAclInput, ...request.Option) *s3.PutObjectAclOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6834,7 +7690,6 @@ func (_m *MockFakeS3) PutObjectAclWithContext(_a0 context.Context, _a1 *s3.PutOb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6849,6 +7704,10 @@ func (_m *MockFakeS3) PutObjectLegalHold(_a0 *s3.PutObjectLegalHoldInput) (*s3.P ret := _m.Called(_a0) var r0 *s3.PutObjectLegalHoldOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectLegalHoldInput) (*s3.PutObjectLegalHoldOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectLegalHoldInput) *s3.PutObjectLegalHoldOutput); ok { r0 = rf(_a0) } else { @@ -6857,7 +7716,6 @@ func (_m *MockFakeS3) PutObjectLegalHold(_a0 *s3.PutObjectLegalHoldInput) (*s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectLegalHoldInput) error); ok { r1 = rf(_a0) } else { @@ -6872,6 +7730,10 @@ func (_m *MockFakeS3) PutObjectLegalHoldRequest(_a0 *s3.PutObjectLegalHoldInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectLegalHoldOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectLegalHoldInput) (*request.Request, *s3.PutObjectLegalHoldOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectLegalHoldInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6880,7 +7742,6 @@ func (_m *MockFakeS3) PutObjectLegalHoldRequest(_a0 *s3.PutObjectLegalHoldInput) } } - var r1 *s3.PutObjectLegalHoldOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectLegalHoldInput) *s3.PutObjectLegalHoldOutput); ok { r1 = rf(_a0) } else { @@ -6904,6 +7765,10 @@ func (_m *MockFakeS3) PutObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.PutObjectLegalHoldOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectLegalHoldInput, ...request.Option) (*s3.PutObjectLegalHoldOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectLegalHoldInput, ...request.Option) *s3.PutObjectLegalHoldOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6912,7 +7777,6 @@ func (_m *MockFakeS3) PutObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectLegalHoldInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6927,6 +7791,10 @@ func (_m *MockFakeS3) PutObjectLockConfiguration(_a0 *s3.PutObjectLockConfigurat ret := _m.Called(_a0) var r0 *s3.PutObjectLockConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectLockConfigurationInput) (*s3.PutObjectLockConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectLockConfigurationInput) *s3.PutObjectLockConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -6935,7 +7803,6 @@ func (_m *MockFakeS3) PutObjectLockConfiguration(_a0 *s3.PutObjectLockConfigurat } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectLockConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -6950,6 +7817,10 @@ func (_m *MockFakeS3) PutObjectLockConfigurationRequest(_a0 *s3.PutObjectLockCon ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectLockConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectLockConfigurationInput) (*request.Request, *s3.PutObjectLockConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectLockConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -6958,7 +7829,6 @@ func (_m *MockFakeS3) PutObjectLockConfigurationRequest(_a0 *s3.PutObjectLockCon } } - var r1 *s3.PutObjectLockConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectLockConfigurationInput) *s3.PutObjectLockConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -6982,6 +7852,10 @@ func (_m *MockFakeS3) PutObjectLockConfigurationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3.PutObjectLockConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectLockConfigurationInput, ...request.Option) (*s3.PutObjectLockConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectLockConfigurationInput, ...request.Option) *s3.PutObjectLockConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -6990,7 +7864,6 @@ func (_m *MockFakeS3) PutObjectLockConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectLockConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7005,6 +7878,10 @@ func (_m *MockFakeS3) PutObjectRequest(_a0 *s3.PutObjectInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectInput) (*request.Request, *s3.PutObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7013,7 +7890,6 @@ func (_m *MockFakeS3) PutObjectRequest(_a0 *s3.PutObjectInput) (*request.Request } } - var r1 *s3.PutObjectOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectInput) *s3.PutObjectOutput); ok { r1 = rf(_a0) } else { @@ -7030,6 +7906,10 @@ func (_m *MockFakeS3) PutObjectRetention(_a0 *s3.PutObjectRetentionInput) (*s3.P ret := _m.Called(_a0) var r0 *s3.PutObjectRetentionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectRetentionInput) (*s3.PutObjectRetentionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectRetentionInput) *s3.PutObjectRetentionOutput); ok { r0 = rf(_a0) } else { @@ -7038,7 +7918,6 @@ func (_m *MockFakeS3) PutObjectRetention(_a0 *s3.PutObjectRetentionInput) (*s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectRetentionInput) error); ok { r1 = rf(_a0) } else { @@ -7053,6 +7932,10 @@ func (_m *MockFakeS3) PutObjectRetentionRequest(_a0 *s3.PutObjectRetentionInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectRetentionOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectRetentionInput) (*request.Request, *s3.PutObjectRetentionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectRetentionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7061,7 +7944,6 @@ func (_m *MockFakeS3) PutObjectRetentionRequest(_a0 *s3.PutObjectRetentionInput) } } - var r1 *s3.PutObjectRetentionOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectRetentionInput) *s3.PutObjectRetentionOutput); ok { r1 = rf(_a0) } else { @@ -7085,6 +7967,10 @@ func (_m *MockFakeS3) PutObjectRetentionWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3.PutObjectRetentionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectRetentionInput, ...request.Option) (*s3.PutObjectRetentionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectRetentionInput, ...request.Option) *s3.PutObjectRetentionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7093,7 +7979,6 @@ func (_m *MockFakeS3) PutObjectRetentionWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectRetentionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7108,6 +7993,10 @@ func (_m *MockFakeS3) PutObjectTagging(_a0 *s3.PutObjectTaggingInput) (*s3.PutOb ret := _m.Called(_a0) var r0 *s3.PutObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutObjectTaggingInput) (*s3.PutObjectTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectTaggingInput) *s3.PutObjectTaggingOutput); ok { r0 = rf(_a0) } else { @@ -7116,7 +8005,6 @@ func (_m *MockFakeS3) PutObjectTagging(_a0 *s3.PutObjectTaggingInput) (*s3.PutOb } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -7131,6 +8019,10 @@ func (_m *MockFakeS3) PutObjectTaggingRequest(_a0 *s3.PutObjectTaggingInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutObjectTaggingOutput + if rf, ok := ret.Get(0).(func(*s3.PutObjectTaggingInput) (*request.Request, *s3.PutObjectTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutObjectTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7139,7 +8031,6 @@ func (_m *MockFakeS3) PutObjectTaggingRequest(_a0 *s3.PutObjectTaggingInput) (*r } } - var r1 *s3.PutObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectTaggingInput) *s3.PutObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -7163,6 +8054,10 @@ func (_m *MockFakeS3) PutObjectTaggingWithContext(_a0 context.Context, _a1 *s3.P ret := _m.Called(_ca...) var r0 *s3.PutObjectTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectTaggingInput, ...request.Option) (*s3.PutObjectTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectTaggingInput, ...request.Option) *s3.PutObjectTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7171,7 +8066,6 @@ func (_m *MockFakeS3) PutObjectTaggingWithContext(_a0 context.Context, _a1 *s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7193,6 +8087,10 @@ func (_m *MockFakeS3) PutObjectWithContext(_a0 context.Context, _a1 *s3.PutObjec ret := _m.Called(_ca...) var r0 *s3.PutObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectInput, ...request.Option) (*s3.PutObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutObjectInput, ...request.Option) *s3.PutObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7201,7 +8099,6 @@ func (_m *MockFakeS3) PutObjectWithContext(_a0 context.Context, _a1 *s3.PutObjec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7216,6 +8113,10 @@ func (_m *MockFakeS3) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (* ret := _m.Called(_a0) var r0 *s3.PutPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.PutPublicAccessBlockInput) (*s3.PutPublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutPublicAccessBlockInput) *s3.PutPublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -7224,7 +8125,6 @@ func (_m *MockFakeS3) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -7239,6 +8139,10 @@ func (_m *MockFakeS3) PutPublicAccessBlockRequest(_a0 *s3.PutPublicAccessBlockIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.PutPublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3.PutPublicAccessBlockInput) (*request.Request, *s3.PutPublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.PutPublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7247,7 +8151,6 @@ func (_m *MockFakeS3) PutPublicAccessBlockRequest(_a0 *s3.PutPublicAccessBlockIn } } - var r1 *s3.PutPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.PutPublicAccessBlockInput) *s3.PutPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -7271,6 +8174,10 @@ func (_m *MockFakeS3) PutPublicAccessBlockWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3.PutPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.PutPublicAccessBlockInput, ...request.Option) (*s3.PutPublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.PutPublicAccessBlockInput, ...request.Option) *s3.PutPublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7279,7 +8186,6 @@ func (_m *MockFakeS3) PutPublicAccessBlockWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7294,6 +8200,10 @@ func (_m *MockFakeS3) RestoreObject(_a0 *s3.RestoreObjectInput) (*s3.RestoreObje ret := _m.Called(_a0) var r0 *s3.RestoreObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.RestoreObjectInput) (*s3.RestoreObjectOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.RestoreObjectInput) *s3.RestoreObjectOutput); ok { r0 = rf(_a0) } else { @@ -7302,7 +8212,6 @@ func (_m *MockFakeS3) RestoreObject(_a0 *s3.RestoreObjectInput) (*s3.RestoreObje } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.RestoreObjectInput) error); ok { r1 = rf(_a0) } else { @@ -7317,6 +8226,10 @@ func (_m *MockFakeS3) RestoreObjectRequest(_a0 *s3.RestoreObjectInput) (*request ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.RestoreObjectOutput + if rf, ok := ret.Get(0).(func(*s3.RestoreObjectInput) (*request.Request, *s3.RestoreObjectOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.RestoreObjectInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7325,7 +8238,6 @@ func (_m *MockFakeS3) RestoreObjectRequest(_a0 *s3.RestoreObjectInput) (*request } } - var r1 *s3.RestoreObjectOutput if rf, ok := ret.Get(1).(func(*s3.RestoreObjectInput) *s3.RestoreObjectOutput); ok { r1 = rf(_a0) } else { @@ -7349,6 +8261,10 @@ func (_m *MockFakeS3) RestoreObjectWithContext(_a0 context.Context, _a1 *s3.Rest ret := _m.Called(_ca...) var r0 *s3.RestoreObjectOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.RestoreObjectInput, ...request.Option) (*s3.RestoreObjectOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.RestoreObjectInput, ...request.Option) *s3.RestoreObjectOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7357,7 +8273,6 @@ func (_m *MockFakeS3) RestoreObjectWithContext(_a0 context.Context, _a1 *s3.Rest } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.RestoreObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7372,6 +8287,10 @@ func (_m *MockFakeS3) SelectObjectContent(_a0 *s3.SelectObjectContentInput) (*s3 ret := _m.Called(_a0) var r0 *s3.SelectObjectContentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.SelectObjectContentInput) (*s3.SelectObjectContentOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.SelectObjectContentInput) *s3.SelectObjectContentOutput); ok { r0 = rf(_a0) } else { @@ -7380,7 +8299,6 @@ func (_m *MockFakeS3) SelectObjectContent(_a0 *s3.SelectObjectContentInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.SelectObjectContentInput) error); ok { r1 = rf(_a0) } else { @@ -7395,6 +8313,10 @@ func (_m *MockFakeS3) SelectObjectContentRequest(_a0 *s3.SelectObjectContentInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.SelectObjectContentOutput + if rf, ok := ret.Get(0).(func(*s3.SelectObjectContentInput) (*request.Request, *s3.SelectObjectContentOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.SelectObjectContentInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7403,7 +8325,6 @@ func (_m *MockFakeS3) SelectObjectContentRequest(_a0 *s3.SelectObjectContentInpu } } - var r1 *s3.SelectObjectContentOutput if rf, ok := ret.Get(1).(func(*s3.SelectObjectContentInput) *s3.SelectObjectContentOutput); ok { r1 = rf(_a0) } else { @@ -7427,6 +8348,10 @@ func (_m *MockFakeS3) SelectObjectContentWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3.SelectObjectContentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.SelectObjectContentInput, ...request.Option) (*s3.SelectObjectContentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.SelectObjectContentInput, ...request.Option) *s3.SelectObjectContentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7435,7 +8360,6 @@ func (_m *MockFakeS3) SelectObjectContentWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.SelectObjectContentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7450,6 +8374,10 @@ func (_m *MockFakeS3) UploadPart(_a0 *s3.UploadPartInput) (*s3.UploadPartOutput, ret := _m.Called(_a0) var r0 *s3.UploadPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.UploadPartInput) (*s3.UploadPartOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.UploadPartInput) *s3.UploadPartOutput); ok { r0 = rf(_a0) } else { @@ -7458,7 +8386,6 @@ func (_m *MockFakeS3) UploadPart(_a0 *s3.UploadPartInput) (*s3.UploadPartOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.UploadPartInput) error); ok { r1 = rf(_a0) } else { @@ -7473,6 +8400,10 @@ func (_m *MockFakeS3) UploadPartCopy(_a0 *s3.UploadPartCopyInput) (*s3.UploadPar ret := _m.Called(_a0) var r0 *s3.UploadPartCopyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.UploadPartCopyInput) (*s3.UploadPartCopyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.UploadPartCopyInput) *s3.UploadPartCopyOutput); ok { r0 = rf(_a0) } else { @@ -7481,7 +8412,6 @@ func (_m *MockFakeS3) UploadPartCopy(_a0 *s3.UploadPartCopyInput) (*s3.UploadPar } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.UploadPartCopyInput) error); ok { r1 = rf(_a0) } else { @@ -7496,6 +8426,10 @@ func (_m *MockFakeS3) UploadPartCopyRequest(_a0 *s3.UploadPartCopyInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.UploadPartCopyOutput + if rf, ok := ret.Get(0).(func(*s3.UploadPartCopyInput) (*request.Request, *s3.UploadPartCopyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.UploadPartCopyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7504,7 +8438,6 @@ func (_m *MockFakeS3) UploadPartCopyRequest(_a0 *s3.UploadPartCopyInput) (*reque } } - var r1 *s3.UploadPartCopyOutput if rf, ok := ret.Get(1).(func(*s3.UploadPartCopyInput) *s3.UploadPartCopyOutput); ok { r1 = rf(_a0) } else { @@ -7528,6 +8461,10 @@ func (_m *MockFakeS3) UploadPartCopyWithContext(_a0 context.Context, _a1 *s3.Upl ret := _m.Called(_ca...) var r0 *s3.UploadPartCopyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.UploadPartCopyInput, ...request.Option) (*s3.UploadPartCopyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.UploadPartCopyInput, ...request.Option) *s3.UploadPartCopyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7536,7 +8473,6 @@ func (_m *MockFakeS3) UploadPartCopyWithContext(_a0 context.Context, _a1 *s3.Upl } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.UploadPartCopyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7551,6 +8487,10 @@ func (_m *MockFakeS3) UploadPartRequest(_a0 *s3.UploadPartInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.UploadPartOutput + if rf, ok := ret.Get(0).(func(*s3.UploadPartInput) (*request.Request, *s3.UploadPartOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.UploadPartInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7559,7 +8499,6 @@ func (_m *MockFakeS3) UploadPartRequest(_a0 *s3.UploadPartInput) (*request.Reque } } - var r1 *s3.UploadPartOutput if rf, ok := ret.Get(1).(func(*s3.UploadPartInput) *s3.UploadPartOutput); ok { r1 = rf(_a0) } else { @@ -7583,6 +8522,10 @@ func (_m *MockFakeS3) UploadPartWithContext(_a0 context.Context, _a1 *s3.UploadP ret := _m.Called(_ca...) var r0 *s3.UploadPartOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.UploadPartInput, ...request.Option) (*s3.UploadPartOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.UploadPartInput, ...request.Option) *s3.UploadPartOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7591,7 +8534,6 @@ func (_m *MockFakeS3) UploadPartWithContext(_a0 context.Context, _a1 *s3.UploadP } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.UploadPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7746,6 +8688,10 @@ func (_m *MockFakeS3) WriteGetObjectResponse(_a0 *s3.WriteGetObjectResponseInput ret := _m.Called(_a0) var r0 *s3.WriteGetObjectResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.WriteGetObjectResponseInput) (*s3.WriteGetObjectResponseOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.WriteGetObjectResponseInput) *s3.WriteGetObjectResponseOutput); ok { r0 = rf(_a0) } else { @@ -7754,7 +8700,6 @@ func (_m *MockFakeS3) WriteGetObjectResponse(_a0 *s3.WriteGetObjectResponseInput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.WriteGetObjectResponseInput) error); ok { r1 = rf(_a0) } else { @@ -7769,6 +8714,10 @@ func (_m *MockFakeS3) WriteGetObjectResponseRequest(_a0 *s3.WriteGetObjectRespon ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3.WriteGetObjectResponseOutput + if rf, ok := ret.Get(0).(func(*s3.WriteGetObjectResponseInput) (*request.Request, *s3.WriteGetObjectResponseOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3.WriteGetObjectResponseInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -7777,7 +8726,6 @@ func (_m *MockFakeS3) WriteGetObjectResponseRequest(_a0 *s3.WriteGetObjectRespon } } - var r1 *s3.WriteGetObjectResponseOutput if rf, ok := ret.Get(1).(func(*s3.WriteGetObjectResponseInput) *s3.WriteGetObjectResponseOutput); ok { r1 = rf(_a0) } else { @@ -7801,6 +8749,10 @@ func (_m *MockFakeS3) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3.WriteGetObjectResponseOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.WriteGetObjectResponseInput, ...request.Option) (*s3.WriteGetObjectResponseOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3.WriteGetObjectResponseInput, ...request.Option) *s3.WriteGetObjectResponseOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -7809,7 +8761,6 @@ func (_m *MockFakeS3) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.WriteGetObjectResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7818,3 +8769,18 @@ func (_m *MockFakeS3) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 return r0, r1 } + +type mockConstructorTestingTNewMockFakeS3 interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeS3 creates a new instance of MockFakeS3. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeS3(t mockConstructorTestingTNewMockFakeS3) *MockFakeS3 { + mock := &MockFakeS3{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeS3Control.go b/test/aws/mock_FakeS3Control.go index 0103ec0e5..45829c02b 100644 --- a/test/aws/mock_FakeS3Control.go +++ b/test/aws/mock_FakeS3Control.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.14.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeS3Control) CreateAccessPoint(_a0 *s3control.CreateAccessPointI ret := _m.Called(_a0) var r0 *s3control.CreateAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointInput) (*s3control.CreateAccessPointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointInput) *s3control.CreateAccessPointOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeS3Control) CreateAccessPoint(_a0 *s3control.CreateAccessPointI } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.CreateAccessPointInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambda(_a0 *s3control.Cre ret := _m.Called(_a0) var r0 *s3control.CreateAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointForObjectLambdaInput) (*s3control.CreateAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointForObjectLambdaInput) *s3control.CreateAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambda(_a0 *s3control.Cre } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.CreateAccessPointForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -67,6 +73,10 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambdaRequest(_a0 *s3cont ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.CreateAccessPointForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointForObjectLambdaInput) (*request.Request, *s3control.CreateAccessPointForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -75,7 +85,6 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambdaRequest(_a0 *s3cont } } - var r1 *s3control.CreateAccessPointForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.CreateAccessPointForObjectLambdaInput) *s3control.CreateAccessPointForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambdaWithContext(_a0 con ret := _m.Called(_ca...) var r0 *s3control.CreateAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateAccessPointForObjectLambdaInput, ...request.Option) (*s3control.CreateAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateAccessPointForObjectLambdaInput, ...request.Option) *s3control.CreateAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeS3Control) CreateAccessPointForObjectLambdaWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.CreateAccessPointForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeS3Control) CreateAccessPointRequest(_a0 *s3control.CreateAcces ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.CreateAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointInput) (*request.Request, *s3control.CreateAccessPointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateAccessPointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeS3Control) CreateAccessPointRequest(_a0 *s3control.CreateAcces } } - var r1 *s3control.CreateAccessPointOutput if rf, ok := ret.Get(1).(func(*s3control.CreateAccessPointInput) *s3control.CreateAccessPointOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeS3Control) CreateAccessPointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *s3control.CreateAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateAccessPointInput, ...request.Option) (*s3control.CreateAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateAccessPointInput, ...request.Option) *s3control.CreateAccessPointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeS3Control) CreateAccessPointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.CreateAccessPointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeS3Control) CreateBucket(_a0 *s3control.CreateBucketInput) (*s3 ret := _m.Called(_a0) var r0 *s3control.CreateBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.CreateBucketInput) (*s3control.CreateBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateBucketInput) *s3control.CreateBucketOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeS3Control) CreateBucket(_a0 *s3control.CreateBucketInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.CreateBucketInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeS3Control) CreateBucketRequest(_a0 *s3control.CreateBucketInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.CreateBucketOutput + if rf, ok := ret.Get(0).(func(*s3control.CreateBucketInput) (*request.Request, *s3control.CreateBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeS3Control) CreateBucketRequest(_a0 *s3control.CreateBucketInpu } } - var r1 *s3control.CreateBucketOutput if rf, ok := ret.Get(1).(func(*s3control.CreateBucketInput) *s3control.CreateBucketOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeS3Control) CreateBucketWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3control.CreateBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateBucketInput, ...request.Option) (*s3control.CreateBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateBucketInput, ...request.Option) *s3control.CreateBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeS3Control) CreateBucketWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.CreateBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeS3Control) CreateJob(_a0 *s3control.CreateJobInput) (*s3contro ret := _m.Called(_a0) var r0 *s3control.CreateJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.CreateJobInput) (*s3control.CreateJobOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateJobInput) *s3control.CreateJobOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeS3Control) CreateJob(_a0 *s3control.CreateJobInput) (*s3contro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.CreateJobInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeS3Control) CreateJobRequest(_a0 *s3control.CreateJobInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.CreateJobOutput + if rf, ok := ret.Get(0).(func(*s3control.CreateJobInput) (*request.Request, *s3control.CreateJobOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.CreateJobInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeS3Control) CreateJobRequest(_a0 *s3control.CreateJobInput) (*r } } - var r1 *s3control.CreateJobOutput if rf, ok := ret.Get(1).(func(*s3control.CreateJobInput) *s3control.CreateJobOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeS3Control) CreateJobWithContext(_a0 context.Context, _a1 *s3co ret := _m.Called(_ca...) var r0 *s3control.CreateJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateJobInput, ...request.Option) (*s3control.CreateJobOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateJobInput, ...request.Option) *s3control.CreateJobOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeS3Control) CreateJobWithContext(_a0 context.Context, _a1 *s3co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.CreateJobInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -328,11 +364,102 @@ func (_m *MockFakeS3Control) CreateJobWithContext(_a0 context.Context, _a1 *s3co return r0, r1 } +// CreateMultiRegionAccessPoint provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) CreateMultiRegionAccessPoint(_a0 *s3control.CreateMultiRegionAccessPointInput) (*s3control.CreateMultiRegionAccessPointOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.CreateMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.CreateMultiRegionAccessPointInput) (*s3control.CreateMultiRegionAccessPointOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.CreateMultiRegionAccessPointInput) *s3control.CreateMultiRegionAccessPointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.CreateMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.CreateMultiRegionAccessPointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateMultiRegionAccessPointRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) CreateMultiRegionAccessPointRequest(_a0 *s3control.CreateMultiRegionAccessPointInput) (*request.Request, *s3control.CreateMultiRegionAccessPointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.CreateMultiRegionAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.CreateMultiRegionAccessPointInput) (*request.Request, *s3control.CreateMultiRegionAccessPointOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.CreateMultiRegionAccessPointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.CreateMultiRegionAccessPointInput) *s3control.CreateMultiRegionAccessPointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.CreateMultiRegionAccessPointOutput) + } + } + + return r0, r1 +} + +// CreateMultiRegionAccessPointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) CreateMultiRegionAccessPointWithContext(_a0 context.Context, _a1 *s3control.CreateMultiRegionAccessPointInput, _a2 ...request.Option) (*s3control.CreateMultiRegionAccessPointOutput, error) { + _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 *s3control.CreateMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateMultiRegionAccessPointInput, ...request.Option) (*s3control.CreateMultiRegionAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.CreateMultiRegionAccessPointInput, ...request.Option) *s3control.CreateMultiRegionAccessPointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.CreateMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.CreateMultiRegionAccessPointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteAccessPoint provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) DeleteAccessPoint(_a0 *s3control.DeleteAccessPointInput) (*s3control.DeleteAccessPointOutput, error) { ret := _m.Called(_a0) var r0 *s3control.DeleteAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointInput) (*s3control.DeleteAccessPointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointInput) *s3control.DeleteAccessPointOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +468,6 @@ func (_m *MockFakeS3Control) DeleteAccessPoint(_a0 *s3control.DeleteAccessPointI } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +482,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambda(_a0 *s3control.Del ret := _m.Called(_a0) var r0 *s3control.DeleteAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointForObjectLambdaInput) (*s3control.DeleteAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointForObjectLambdaInput) *s3control.DeleteAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -364,7 +494,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambda(_a0 *s3control.Del } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -379,6 +508,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambdaRequest(_a0 *s3cont ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteAccessPointForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointForObjectLambdaInput) (*request.Request, *s3control.DeleteAccessPointForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -387,7 +520,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambdaRequest(_a0 *s3cont } } - var r1 *s3control.DeleteAccessPointForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointForObjectLambdaInput) *s3control.DeleteAccessPointForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -411,6 +543,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambdaWithContext(_a0 con ret := _m.Called(_ca...) var r0 *s3control.DeleteAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointForObjectLambdaInput, ...request.Option) (*s3control.DeleteAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointForObjectLambdaInput, ...request.Option) *s3control.DeleteAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -419,7 +555,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointForObjectLambdaWithContext(_a0 con } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteAccessPointForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -434,6 +569,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicy(_a0 *s3control.DeleteAccess ret := _m.Called(_a0) var r0 *s3control.DeleteAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyInput) (*s3control.DeleteAccessPointPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyInput) *s3control.DeleteAccessPointPolicyOutput); ok { r0 = rf(_a0) } else { @@ -442,7 +581,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicy(_a0 *s3control.DeleteAccess } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -457,6 +595,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambda(_a0 *s3contr ret := _m.Called(_a0) var r0 *s3control.DeleteAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) (*s3control.DeleteAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) *s3control.DeleteAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -465,7 +607,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambda(_a0 *s3contr } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -480,6 +621,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambdaRequest(_a0 * ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteAccessPointPolicyForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) (*request.Request, *s3control.DeleteAccessPointPolicyForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -488,7 +633,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambdaRequest(_a0 * } } - var r1 *s3control.DeleteAccessPointPolicyForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointPolicyForObjectLambdaInput) *s3control.DeleteAccessPointPolicyForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -512,6 +656,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambdaWithContext(_ ret := _m.Called(_ca...) var r0 *s3control.DeleteAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointPolicyForObjectLambdaInput, ...request.Option) (*s3control.DeleteAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointPolicyForObjectLambdaInput, ...request.Option) *s3control.DeleteAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -520,7 +668,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyForObjectLambdaWithContext(_ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteAccessPointPolicyForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -535,6 +682,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyRequest(_a0 *s3control.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteAccessPointPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyInput) (*request.Request, *s3control.DeleteAccessPointPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -543,7 +694,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyRequest(_a0 *s3control.Delet } } - var r1 *s3control.DeleteAccessPointPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointPolicyInput) *s3control.DeleteAccessPointPolicyOutput); ok { r1 = rf(_a0) } else { @@ -567,6 +717,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *s3control.DeleteAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointPolicyInput, ...request.Option) (*s3control.DeleteAccessPointPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointPolicyInput, ...request.Option) *s3control.DeleteAccessPointPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -575,7 +729,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointPolicyWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteAccessPointPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -590,6 +743,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointRequest(_a0 *s3control.DeleteAcces ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointInput) (*request.Request, *s3control.DeleteAccessPointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteAccessPointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +755,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointRequest(_a0 *s3control.DeleteAcces } } - var r1 *s3control.DeleteAccessPointOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteAccessPointInput) *s3control.DeleteAccessPointOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +778,10 @@ func (_m *MockFakeS3Control) DeleteAccessPointWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *s3control.DeleteAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointInput, ...request.Option) (*s3control.DeleteAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteAccessPointInput, ...request.Option) *s3control.DeleteAccessPointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +790,6 @@ func (_m *MockFakeS3Control) DeleteAccessPointWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteAccessPointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +804,10 @@ func (_m *MockFakeS3Control) DeleteBucket(_a0 *s3control.DeleteBucketInput) (*s3 ret := _m.Called(_a0) var r0 *s3control.DeleteBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketInput) (*s3control.DeleteBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketInput) *s3control.DeleteBucketOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +816,6 @@ func (_m *MockFakeS3Control) DeleteBucket(_a0 *s3control.DeleteBucketInput) (*s3 } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +830,10 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfiguration(_a0 *s3control.D ret := _m.Called(_a0) var r0 *s3control.DeleteBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketLifecycleConfigurationInput) (*s3control.DeleteBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketLifecycleConfigurationInput) *s3control.DeleteBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -676,7 +842,6 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfiguration(_a0 *s3control.D } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -691,6 +856,10 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfigurationRequest(_a0 *s3co ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteBucketLifecycleConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketLifecycleConfigurationInput) (*request.Request, *s3control.DeleteBucketLifecycleConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketLifecycleConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -699,7 +868,6 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfigurationRequest(_a0 *s3co } } - var r1 *s3control.DeleteBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketLifecycleConfigurationInput) *s3control.DeleteBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -723,6 +891,10 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfigurationWithContext(_a0 c ret := _m.Called(_ca...) var r0 *s3control.DeleteBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketLifecycleConfigurationInput, ...request.Option) (*s3control.DeleteBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketLifecycleConfigurationInput, ...request.Option) *s3control.DeleteBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -731,7 +903,6 @@ func (_m *MockFakeS3Control) DeleteBucketLifecycleConfigurationWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -746,6 +917,10 @@ func (_m *MockFakeS3Control) DeleteBucketPolicy(_a0 *s3control.DeleteBucketPolic ret := _m.Called(_a0) var r0 *s3control.DeleteBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketPolicyInput) (*s3control.DeleteBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketPolicyInput) *s3control.DeleteBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -754,7 +929,6 @@ func (_m *MockFakeS3Control) DeleteBucketPolicy(_a0 *s3control.DeleteBucketPolic } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -769,6 +943,10 @@ func (_m *MockFakeS3Control) DeleteBucketPolicyRequest(_a0 *s3control.DeleteBuck ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketPolicyInput) (*request.Request, *s3control.DeleteBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -777,7 +955,6 @@ func (_m *MockFakeS3Control) DeleteBucketPolicyRequest(_a0 *s3control.DeleteBuck } } - var r1 *s3control.DeleteBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketPolicyInput) *s3control.DeleteBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -801,6 +978,10 @@ func (_m *MockFakeS3Control) DeleteBucketPolicyWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3control.DeleteBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketPolicyInput, ...request.Option) (*s3control.DeleteBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketPolicyInput, ...request.Option) *s3control.DeleteBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -809,7 +990,6 @@ func (_m *MockFakeS3Control) DeleteBucketPolicyWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -824,6 +1004,10 @@ func (_m *MockFakeS3Control) DeleteBucketRequest(_a0 *s3control.DeleteBucketInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteBucketOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketInput) (*request.Request, *s3control.DeleteBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +1016,6 @@ func (_m *MockFakeS3Control) DeleteBucketRequest(_a0 *s3control.DeleteBucketInpu } } - var r1 *s3control.DeleteBucketOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketInput) *s3control.DeleteBucketOutput); ok { r1 = rf(_a0) } else { @@ -849,6 +1032,10 @@ func (_m *MockFakeS3Control) DeleteBucketTagging(_a0 *s3control.DeleteBucketTagg ret := _m.Called(_a0) var r0 *s3control.DeleteBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketTaggingInput) (*s3control.DeleteBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketTaggingInput) *s3control.DeleteBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -857,7 +1044,6 @@ func (_m *MockFakeS3Control) DeleteBucketTagging(_a0 *s3control.DeleteBucketTagg } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -872,6 +1058,10 @@ func (_m *MockFakeS3Control) DeleteBucketTaggingRequest(_a0 *s3control.DeleteBuc ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketTaggingInput) (*request.Request, *s3control.DeleteBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -880,7 +1070,6 @@ func (_m *MockFakeS3Control) DeleteBucketTaggingRequest(_a0 *s3control.DeleteBuc } } - var r1 *s3control.DeleteBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteBucketTaggingInput) *s3control.DeleteBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -904,6 +1093,10 @@ func (_m *MockFakeS3Control) DeleteBucketTaggingWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3control.DeleteBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketTaggingInput, ...request.Option) (*s3control.DeleteBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketTaggingInput, ...request.Option) *s3control.DeleteBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -912,7 +1105,6 @@ func (_m *MockFakeS3Control) DeleteBucketTaggingWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -934,6 +1126,10 @@ func (_m *MockFakeS3Control) DeleteBucketWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *s3control.DeleteBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketInput, ...request.Option) (*s3control.DeleteBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteBucketInput, ...request.Option) *s3control.DeleteBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1138,6 @@ func (_m *MockFakeS3Control) DeleteBucketWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1152,10 @@ func (_m *MockFakeS3Control) DeleteJobTagging(_a0 *s3control.DeleteJobTaggingInp ret := _m.Called(_a0) var r0 *s3control.DeleteJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteJobTaggingInput) (*s3control.DeleteJobTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteJobTaggingInput) *s3control.DeleteJobTaggingOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1164,6 @@ func (_m *MockFakeS3Control) DeleteJobTagging(_a0 *s3control.DeleteJobTaggingInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteJobTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1178,10 @@ func (_m *MockFakeS3Control) DeleteJobTaggingRequest(_a0 *s3control.DeleteJobTag ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteJobTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteJobTaggingInput) (*request.Request, *s3control.DeleteJobTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteJobTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1190,6 @@ func (_m *MockFakeS3Control) DeleteJobTaggingRequest(_a0 *s3control.DeleteJobTag } } - var r1 *s3control.DeleteJobTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteJobTaggingInput) *s3control.DeleteJobTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1213,10 @@ func (_m *MockFakeS3Control) DeleteJobTaggingWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3control.DeleteJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteJobTaggingInput, ...request.Option) (*s3control.DeleteJobTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteJobTaggingInput, ...request.Option) *s3control.DeleteJobTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1225,6 @@ func (_m *MockFakeS3Control) DeleteJobTaggingWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteJobTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1030,11 +1234,102 @@ func (_m *MockFakeS3Control) DeleteJobTaggingWithContext(_a0 context.Context, _a return r0, r1 } +// DeleteMultiRegionAccessPoint provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) DeleteMultiRegionAccessPoint(_a0 *s3control.DeleteMultiRegionAccessPointInput) (*s3control.DeleteMultiRegionAccessPointOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.DeleteMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteMultiRegionAccessPointInput) (*s3control.DeleteMultiRegionAccessPointOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.DeleteMultiRegionAccessPointInput) *s3control.DeleteMultiRegionAccessPointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.DeleteMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.DeleteMultiRegionAccessPointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteMultiRegionAccessPointRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) DeleteMultiRegionAccessPointRequest(_a0 *s3control.DeleteMultiRegionAccessPointInput) (*request.Request, *s3control.DeleteMultiRegionAccessPointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.DeleteMultiRegionAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteMultiRegionAccessPointInput) (*request.Request, *s3control.DeleteMultiRegionAccessPointOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.DeleteMultiRegionAccessPointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.DeleteMultiRegionAccessPointInput) *s3control.DeleteMultiRegionAccessPointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.DeleteMultiRegionAccessPointOutput) + } + } + + return r0, r1 +} + +// DeleteMultiRegionAccessPointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) DeleteMultiRegionAccessPointWithContext(_a0 context.Context, _a1 *s3control.DeleteMultiRegionAccessPointInput, _a2 ...request.Option) (*s3control.DeleteMultiRegionAccessPointOutput, error) { + _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 *s3control.DeleteMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteMultiRegionAccessPointInput, ...request.Option) (*s3control.DeleteMultiRegionAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteMultiRegionAccessPointInput, ...request.Option) *s3control.DeleteMultiRegionAccessPointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.DeleteMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteMultiRegionAccessPointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeletePublicAccessBlock provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) DeletePublicAccessBlock(_a0 *s3control.DeletePublicAccessBlockInput) (*s3control.DeletePublicAccessBlockOutput, error) { ret := _m.Called(_a0) var r0 *s3control.DeletePublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeletePublicAccessBlockInput) (*s3control.DeletePublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeletePublicAccessBlockInput) *s3control.DeletePublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1338,6 @@ func (_m *MockFakeS3Control) DeletePublicAccessBlock(_a0 *s3control.DeletePublic } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeletePublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1352,10 @@ func (_m *MockFakeS3Control) DeletePublicAccessBlockRequest(_a0 *s3control.Delet ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeletePublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3control.DeletePublicAccessBlockInput) (*request.Request, *s3control.DeletePublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeletePublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1364,6 @@ func (_m *MockFakeS3Control) DeletePublicAccessBlockRequest(_a0 *s3control.Delet } } - var r1 *s3control.DeletePublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3control.DeletePublicAccessBlockInput) *s3control.DeletePublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1387,10 @@ func (_m *MockFakeS3Control) DeletePublicAccessBlockWithContext(_a0 context.Cont ret := _m.Called(_ca...) var r0 *s3control.DeletePublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeletePublicAccessBlockInput, ...request.Option) (*s3control.DeletePublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeletePublicAccessBlockInput, ...request.Option) *s3control.DeletePublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1399,6 @@ func (_m *MockFakeS3Control) DeletePublicAccessBlockWithContext(_a0 context.Cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeletePublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1413,10 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfiguration(_a0 *s3control.Delet ret := _m.Called(_a0) var r0 *s3control.DeleteStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationInput) (*s3control.DeleteStorageLensConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationInput) *s3control.DeleteStorageLensConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1425,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfiguration(_a0 *s3control.Delet } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteStorageLensConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1136,7 +1439,11 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationRequest(_a0 *s3contro ret := _m.Called(_a0) var r0 *request.Request - if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationInput) *request.Request); ok { + var r1 *s3control.DeleteStorageLensConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationInput) (*request.Request, *s3control.DeleteStorageLensConfigurationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1144,7 +1451,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationRequest(_a0 *s3contro } } - var r1 *s3control.DeleteStorageLensConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteStorageLensConfigurationInput) *s3control.DeleteStorageLensConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1161,6 +1467,10 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTagging(_a0 *s3contro ret := _m.Called(_a0) var r0 *s3control.DeleteStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) (*s3control.DeleteStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) *s3control.DeleteStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0) } else { @@ -1169,7 +1479,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTagging(_a0 *s3contro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -1184,6 +1493,10 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTaggingRequest(_a0 *s ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DeleteStorageLensConfigurationTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) (*request.Request, *s3control.DeleteStorageLensConfigurationTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1192,7 +1505,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTaggingRequest(_a0 *s } } - var r1 *s3control.DeleteStorageLensConfigurationTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.DeleteStorageLensConfigurationTaggingInput) *s3control.DeleteStorageLensConfigurationTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1216,6 +1528,10 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTaggingWithContext(_a ret := _m.Called(_ca...) var r0 *s3control.DeleteStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteStorageLensConfigurationTaggingInput, ...request.Option) (*s3control.DeleteStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteStorageLensConfigurationTaggingInput, ...request.Option) *s3control.DeleteStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1224,7 +1540,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationTaggingWithContext(_a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteStorageLensConfigurationTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1246,6 +1561,10 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationWithContext(_a0 conte ret := _m.Called(_ca...) var r0 *s3control.DeleteStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteStorageLensConfigurationInput, ...request.Option) (*s3control.DeleteStorageLensConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DeleteStorageLensConfigurationInput, ...request.Option) *s3control.DeleteStorageLensConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1573,6 @@ func (_m *MockFakeS3Control) DeleteStorageLensConfigurationWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DeleteStorageLensConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1587,10 @@ func (_m *MockFakeS3Control) DescribeJob(_a0 *s3control.DescribeJobInput) (*s3co ret := _m.Called(_a0) var r0 *s3control.DescribeJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DescribeJobInput) (*s3control.DescribeJobOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DescribeJobInput) *s3control.DescribeJobOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1599,6 @@ func (_m *MockFakeS3Control) DescribeJob(_a0 *s3control.DescribeJobInput) (*s3co } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.DescribeJobInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1613,10 @@ func (_m *MockFakeS3Control) DescribeJobRequest(_a0 *s3control.DescribeJobInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.DescribeJobOutput + if rf, ok := ret.Get(0).(func(*s3control.DescribeJobInput) (*request.Request, *s3control.DescribeJobOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.DescribeJobInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1625,6 @@ func (_m *MockFakeS3Control) DescribeJobRequest(_a0 *s3control.DescribeJobInput) } } - var r1 *s3control.DescribeJobOutput if rf, ok := ret.Get(1).(func(*s3control.DescribeJobInput) *s3control.DescribeJobOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1648,10 @@ func (_m *MockFakeS3Control) DescribeJobWithContext(_a0 context.Context, _a1 *s3 ret := _m.Called(_ca...) var r0 *s3control.DescribeJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DescribeJobInput, ...request.Option) (*s3control.DescribeJobOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.DescribeJobInput, ...request.Option) *s3control.DescribeJobOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1660,6 @@ func (_m *MockFakeS3Control) DescribeJobWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.DescribeJobInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1342,11 +1669,102 @@ func (_m *MockFakeS3Control) DescribeJobWithContext(_a0 context.Context, _a1 *s3 return r0, r1 } +// DescribeMultiRegionAccessPointOperation provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) DescribeMultiRegionAccessPointOperation(_a0 *s3control.DescribeMultiRegionAccessPointOperationInput) (*s3control.DescribeMultiRegionAccessPointOperationOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.DescribeMultiRegionAccessPointOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) (*s3control.DescribeMultiRegionAccessPointOperationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) *s3control.DescribeMultiRegionAccessPointOperationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.DescribeMultiRegionAccessPointOperationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeMultiRegionAccessPointOperationRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) DescribeMultiRegionAccessPointOperationRequest(_a0 *s3control.DescribeMultiRegionAccessPointOperationInput) (*request.Request, *s3control.DescribeMultiRegionAccessPointOperationOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.DescribeMultiRegionAccessPointOperationOutput + if rf, ok := ret.Get(0).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) (*request.Request, *s3control.DescribeMultiRegionAccessPointOperationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.DescribeMultiRegionAccessPointOperationInput) *s3control.DescribeMultiRegionAccessPointOperationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.DescribeMultiRegionAccessPointOperationOutput) + } + } + + return r0, r1 +} + +// DescribeMultiRegionAccessPointOperationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) DescribeMultiRegionAccessPointOperationWithContext(_a0 context.Context, _a1 *s3control.DescribeMultiRegionAccessPointOperationInput, _a2 ...request.Option) (*s3control.DescribeMultiRegionAccessPointOperationOutput, error) { + _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 *s3control.DescribeMultiRegionAccessPointOperationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DescribeMultiRegionAccessPointOperationInput, ...request.Option) (*s3control.DescribeMultiRegionAccessPointOperationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.DescribeMultiRegionAccessPointOperationInput, ...request.Option) *s3control.DescribeMultiRegionAccessPointOperationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.DescribeMultiRegionAccessPointOperationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.DescribeMultiRegionAccessPointOperationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetAccessPoint provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) GetAccessPoint(_a0 *s3control.GetAccessPointInput) (*s3control.GetAccessPointOutput, error) { ret := _m.Called(_a0) var r0 *s3control.GetAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointInput) (*s3control.GetAccessPointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointInput) *s3control.GetAccessPointOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1773,6 @@ func (_m *MockFakeS3Control) GetAccessPoint(_a0 *s3control.GetAccessPointInput) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointInput) error); ok { r1 = rf(_a0) } else { @@ -1370,6 +1787,10 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambda(_a0 *s3c ret := _m.Called(_a0) var r0 *s3control.GetAccessPointConfigurationForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) (*s3control.GetAccessPointConfigurationForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) *s3control.GetAccessPointConfigurationForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -1378,7 +1799,6 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambda(_a0 *s3c } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -1393,6 +1813,10 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambdaRequest(_ ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointConfigurationForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) (*request.Request, *s3control.GetAccessPointConfigurationForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1401,7 +1825,6 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambdaRequest(_ } } - var r1 *s3control.GetAccessPointConfigurationForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointConfigurationForObjectLambdaInput) *s3control.GetAccessPointConfigurationForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -1425,6 +1848,10 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambdaWithConte ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointConfigurationForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointConfigurationForObjectLambdaInput, ...request.Option) (*s3control.GetAccessPointConfigurationForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointConfigurationForObjectLambdaInput, ...request.Option) *s3control.GetAccessPointConfigurationForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1433,7 +1860,6 @@ func (_m *MockFakeS3Control) GetAccessPointConfigurationForObjectLambdaWithConte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointConfigurationForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1448,6 +1874,10 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambda(_a0 *s3control.GetAcc ret := _m.Called(_a0) var r0 *s3control.GetAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointForObjectLambdaInput) (*s3control.GetAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointForObjectLambdaInput) *s3control.GetAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -1456,7 +1886,6 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambda(_a0 *s3control.GetAcc } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -1471,6 +1900,10 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambdaRequest(_a0 *s3control ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointForObjectLambdaInput) (*request.Request, *s3control.GetAccessPointForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1479,7 +1912,6 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambdaRequest(_a0 *s3control } } - var r1 *s3control.GetAccessPointForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointForObjectLambdaInput) *s3control.GetAccessPointForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -1503,6 +1935,10 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambdaWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointForObjectLambdaInput, ...request.Option) (*s3control.GetAccessPointForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointForObjectLambdaInput, ...request.Option) *s3control.GetAccessPointForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1511,7 +1947,6 @@ func (_m *MockFakeS3Control) GetAccessPointForObjectLambdaWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1526,6 +1961,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicy(_a0 *s3control.GetAccessPointP ret := _m.Called(_a0) var r0 *s3control.GetAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyInput) (*s3control.GetAccessPointPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyInput) *s3control.GetAccessPointPolicyOutput); ok { r0 = rf(_a0) } else { @@ -1534,7 +1973,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicy(_a0 *s3control.GetAccessPointP } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1549,6 +1987,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambda(_a0 *s3control. ret := _m.Called(_a0) var r0 *s3control.GetAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) (*s3control.GetAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) *s3control.GetAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -1557,7 +1999,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambda(_a0 *s3control. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -1572,6 +2013,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambdaRequest(_a0 *s3c ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointPolicyForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) (*request.Request, *s3control.GetAccessPointPolicyForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1580,7 +2025,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambdaRequest(_a0 *s3c } } - var r1 *s3control.GetAccessPointPolicyForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyForObjectLambdaInput) *s3control.GetAccessPointPolicyForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -1604,6 +2048,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambdaWithContext(_a0 ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyForObjectLambdaInput, ...request.Option) (*s3control.GetAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyForObjectLambdaInput, ...request.Option) *s3control.GetAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1612,7 +2060,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyForObjectLambdaWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointPolicyForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1627,6 +2074,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyRequest(_a0 *s3control.GetAcces ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyInput) (*request.Request, *s3control.GetAccessPointPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1635,7 +2086,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyRequest(_a0 *s3control.GetAcces } } - var r1 *s3control.GetAccessPointPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyInput) *s3control.GetAccessPointPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1652,6 +2102,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatus(_a0 *s3control.GetAccess ret := _m.Called(_a0) var r0 *s3control.GetAccessPointPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusInput) (*s3control.GetAccessPointPolicyStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusInput) *s3control.GetAccessPointPolicyStatusOutput); ok { r0 = rf(_a0) } else { @@ -1660,7 +2114,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatus(_a0 *s3control.GetAccess } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyStatusInput) error); ok { r1 = rf(_a0) } else { @@ -1675,6 +2128,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambda(_a0 *s3co ret := _m.Called(_a0) var r0 *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) (*s3control.GetAccessPointPolicyStatusForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -1683,7 +2140,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambda(_a0 *s3co } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -1698,6 +2154,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambdaRequest(_a ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) (*request.Request, *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1706,7 +2166,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambdaRequest(_a } } - var r1 *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyStatusForObjectLambdaInput) *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -1730,6 +2189,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambdaWithContex ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyStatusForObjectLambdaInput, ...request.Option) (*s3control.GetAccessPointPolicyStatusForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyStatusForObjectLambdaInput, ...request.Option) *s3control.GetAccessPointPolicyStatusForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1738,7 +2201,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusForObjectLambdaWithContex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointPolicyStatusForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1753,6 +2215,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusRequest(_a0 *s3control.Ge ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointPolicyStatusOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusInput) (*request.Request, *s3control.GetAccessPointPolicyStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointPolicyStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1761,7 +2227,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusRequest(_a0 *s3control.Ge } } - var r1 *s3control.GetAccessPointPolicyStatusOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointPolicyStatusInput) *s3control.GetAccessPointPolicyStatusOutput); ok { r1 = rf(_a0) } else { @@ -1785,6 +2250,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyStatusInput, ...request.Option) (*s3control.GetAccessPointPolicyStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyStatusInput, ...request.Option) *s3control.GetAccessPointPolicyStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1793,7 +2262,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyStatusWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointPolicyStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1815,6 +2283,10 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyInput, ...request.Option) (*s3control.GetAccessPointPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointPolicyInput, ...request.Option) *s3control.GetAccessPointPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1823,7 +2295,6 @@ func (_m *MockFakeS3Control) GetAccessPointPolicyWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1838,6 +2309,10 @@ func (_m *MockFakeS3Control) GetAccessPointRequest(_a0 *s3control.GetAccessPoint ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointInput) (*request.Request, *s3control.GetAccessPointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetAccessPointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1846,7 +2321,6 @@ func (_m *MockFakeS3Control) GetAccessPointRequest(_a0 *s3control.GetAccessPoint } } - var r1 *s3control.GetAccessPointOutput if rf, ok := ret.Get(1).(func(*s3control.GetAccessPointInput) *s3control.GetAccessPointOutput); ok { r1 = rf(_a0) } else { @@ -1870,6 +2344,10 @@ func (_m *MockFakeS3Control) GetAccessPointWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3control.GetAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointInput, ...request.Option) (*s3control.GetAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetAccessPointInput, ...request.Option) *s3control.GetAccessPointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1878,7 +2356,6 @@ func (_m *MockFakeS3Control) GetAccessPointWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetAccessPointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1893,6 +2370,10 @@ func (_m *MockFakeS3Control) GetBucket(_a0 *s3control.GetBucketInput) (*s3contro ret := _m.Called(_a0) var r0 *s3control.GetBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetBucketInput) (*s3control.GetBucketOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketInput) *s3control.GetBucketOutput); ok { r0 = rf(_a0) } else { @@ -1901,7 +2382,6 @@ func (_m *MockFakeS3Control) GetBucket(_a0 *s3control.GetBucketInput) (*s3contro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetBucketInput) error); ok { r1 = rf(_a0) } else { @@ -1916,6 +2396,10 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfiguration(_a0 *s3control.GetB ret := _m.Called(_a0) var r0 *s3control.GetBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetBucketLifecycleConfigurationInput) (*s3control.GetBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketLifecycleConfigurationInput) *s3control.GetBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -1924,7 +2408,6 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfiguration(_a0 *s3control.GetB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1939,6 +2422,10 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfigurationRequest(_a0 *s3contr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetBucketLifecycleConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.GetBucketLifecycleConfigurationInput) (*request.Request, *s3control.GetBucketLifecycleConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketLifecycleConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1947,7 +2434,6 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfigurationRequest(_a0 *s3contr } } - var r1 *s3control.GetBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.GetBucketLifecycleConfigurationInput) *s3control.GetBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1971,6 +2457,10 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfigurationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *s3control.GetBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketLifecycleConfigurationInput, ...request.Option) (*s3control.GetBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketLifecycleConfigurationInput, ...request.Option) *s3control.GetBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1979,7 +2469,6 @@ func (_m *MockFakeS3Control) GetBucketLifecycleConfigurationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1994,6 +2483,10 @@ func (_m *MockFakeS3Control) GetBucketPolicy(_a0 *s3control.GetBucketPolicyInput ret := _m.Called(_a0) var r0 *s3control.GetBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetBucketPolicyInput) (*s3control.GetBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketPolicyInput) *s3control.GetBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -2002,7 +2495,6 @@ func (_m *MockFakeS3Control) GetBucketPolicy(_a0 *s3control.GetBucketPolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2017,6 +2509,10 @@ func (_m *MockFakeS3Control) GetBucketPolicyRequest(_a0 *s3control.GetBucketPoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.GetBucketPolicyInput) (*request.Request, *s3control.GetBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2025,7 +2521,6 @@ func (_m *MockFakeS3Control) GetBucketPolicyRequest(_a0 *s3control.GetBucketPoli } } - var r1 *s3control.GetBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.GetBucketPolicyInput) *s3control.GetBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2049,6 +2544,10 @@ func (_m *MockFakeS3Control) GetBucketPolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3control.GetBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketPolicyInput, ...request.Option) (*s3control.GetBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketPolicyInput, ...request.Option) *s3control.GetBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2057,7 +2556,6 @@ func (_m *MockFakeS3Control) GetBucketPolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2072,6 +2570,10 @@ func (_m *MockFakeS3Control) GetBucketRequest(_a0 *s3control.GetBucketInput) (*r ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetBucketOutput + if rf, ok := ret.Get(0).(func(*s3control.GetBucketInput) (*request.Request, *s3control.GetBucketOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2080,7 +2582,6 @@ func (_m *MockFakeS3Control) GetBucketRequest(_a0 *s3control.GetBucketInput) (*r } } - var r1 *s3control.GetBucketOutput if rf, ok := ret.Get(1).(func(*s3control.GetBucketInput) *s3control.GetBucketOutput); ok { r1 = rf(_a0) } else { @@ -2097,6 +2598,10 @@ func (_m *MockFakeS3Control) GetBucketTagging(_a0 *s3control.GetBucketTaggingInp ret := _m.Called(_a0) var r0 *s3control.GetBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetBucketTaggingInput) (*s3control.GetBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketTaggingInput) *s3control.GetBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -2105,7 +2610,6 @@ func (_m *MockFakeS3Control) GetBucketTagging(_a0 *s3control.GetBucketTaggingInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -2120,6 +2624,10 @@ func (_m *MockFakeS3Control) GetBucketTaggingRequest(_a0 *s3control.GetBucketTag ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.GetBucketTaggingInput) (*request.Request, *s3control.GetBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2128,7 +2636,6 @@ func (_m *MockFakeS3Control) GetBucketTaggingRequest(_a0 *s3control.GetBucketTag } } - var r1 *s3control.GetBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.GetBucketTaggingInput) *s3control.GetBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -2152,6 +2659,10 @@ func (_m *MockFakeS3Control) GetBucketTaggingWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3control.GetBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketTaggingInput, ...request.Option) (*s3control.GetBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketTaggingInput, ...request.Option) *s3control.GetBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2160,7 +2671,6 @@ func (_m *MockFakeS3Control) GetBucketTaggingWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2170,6 +2680,93 @@ func (_m *MockFakeS3Control) GetBucketTaggingWithContext(_a0 context.Context, _a return r0, r1 } +// GetBucketVersioning provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetBucketVersioning(_a0 *s3control.GetBucketVersioningInput) (*s3control.GetBucketVersioningOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.GetBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetBucketVersioningInput) (*s3control.GetBucketVersioningOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetBucketVersioningInput) *s3control.GetBucketVersioningOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetBucketVersioningOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetBucketVersioningInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetBucketVersioningRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetBucketVersioningRequest(_a0 *s3control.GetBucketVersioningInput) (*request.Request, *s3control.GetBucketVersioningOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.GetBucketVersioningOutput + if rf, ok := ret.Get(0).(func(*s3control.GetBucketVersioningInput) (*request.Request, *s3control.GetBucketVersioningOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetBucketVersioningInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetBucketVersioningInput) *s3control.GetBucketVersioningOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.GetBucketVersioningOutput) + } + } + + return r0, r1 +} + +// GetBucketVersioningWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s3control.GetBucketVersioningInput, _a2 ...request.Option) (*s3control.GetBucketVersioningOutput, error) { + _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 *s3control.GetBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketVersioningInput, ...request.Option) (*s3control.GetBucketVersioningOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketVersioningInput, ...request.Option) *s3control.GetBucketVersioningOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetBucketVersioningOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetBucketVersioningInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetBucketWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *MockFakeS3Control) GetBucketWithContext(_a0 context.Context, _a1 *s3control.GetBucketInput, _a2 ...request.Option) (*s3control.GetBucketOutput, error) { _va := make([]interface{}, len(_a2)) @@ -2182,6 +2779,10 @@ func (_m *MockFakeS3Control) GetBucketWithContext(_a0 context.Context, _a1 *s3co ret := _m.Called(_ca...) var r0 *s3control.GetBucketOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketInput, ...request.Option) (*s3control.GetBucketOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetBucketInput, ...request.Option) *s3control.GetBucketOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2190,7 +2791,6 @@ func (_m *MockFakeS3Control) GetBucketWithContext(_a0 context.Context, _a1 *s3co } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2205,6 +2805,10 @@ func (_m *MockFakeS3Control) GetJobTagging(_a0 *s3control.GetJobTaggingInput) (* ret := _m.Called(_a0) var r0 *s3control.GetJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetJobTaggingInput) (*s3control.GetJobTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetJobTaggingInput) *s3control.GetJobTaggingOutput); ok { r0 = rf(_a0) } else { @@ -2213,7 +2817,6 @@ func (_m *MockFakeS3Control) GetJobTagging(_a0 *s3control.GetJobTaggingInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetJobTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -2228,6 +2831,10 @@ func (_m *MockFakeS3Control) GetJobTaggingRequest(_a0 *s3control.GetJobTaggingIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetJobTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.GetJobTaggingInput) (*request.Request, *s3control.GetJobTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetJobTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2236,7 +2843,6 @@ func (_m *MockFakeS3Control) GetJobTaggingRequest(_a0 *s3control.GetJobTaggingIn } } - var r1 *s3control.GetJobTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.GetJobTaggingInput) *s3control.GetJobTaggingOutput); ok { r1 = rf(_a0) } else { @@ -2260,6 +2866,10 @@ func (_m *MockFakeS3Control) GetJobTaggingWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3control.GetJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetJobTaggingInput, ...request.Option) (*s3control.GetJobTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetJobTaggingInput, ...request.Option) *s3control.GetJobTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2268,7 +2878,6 @@ func (_m *MockFakeS3Control) GetJobTaggingWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetJobTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2278,11 +2887,276 @@ func (_m *MockFakeS3Control) GetJobTaggingWithContext(_a0 context.Context, _a1 * return r0, r1 } +// GetMultiRegionAccessPoint provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPoint(_a0 *s3control.GetMultiRegionAccessPointInput) (*s3control.GetMultiRegionAccessPointOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.GetMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointInput) (*s3control.GetMultiRegionAccessPointOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointInput) *s3control.GetMultiRegionAccessPointOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicy(_a0 *s3control.GetMultiRegionAccessPointPolicyInput) (*s3control.GetMultiRegionAccessPointPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.GetMultiRegionAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyInput) (*s3control.GetMultiRegionAccessPointPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyInput) *s3control.GetMultiRegionAccessPointPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicyRequest(_a0 *s3control.GetMultiRegionAccessPointPolicyInput) (*request.Request, *s3control.GetMultiRegionAccessPointPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.GetMultiRegionAccessPointPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyInput) (*request.Request, *s3control.GetMultiRegionAccessPointPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointPolicyInput) *s3control.GetMultiRegionAccessPointPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.GetMultiRegionAccessPointPolicyOutput) + } + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicyStatus provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicyStatus(_a0 *s3control.GetMultiRegionAccessPointPolicyStatusInput) (*s3control.GetMultiRegionAccessPointPolicyStatusOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.GetMultiRegionAccessPointPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) (*s3control.GetMultiRegionAccessPointPolicyStatusOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) *s3control.GetMultiRegionAccessPointPolicyStatusOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointPolicyStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicyStatusRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicyStatusRequest(_a0 *s3control.GetMultiRegionAccessPointPolicyStatusInput) (*request.Request, *s3control.GetMultiRegionAccessPointPolicyStatusOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.GetMultiRegionAccessPointPolicyStatusOutput + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) (*request.Request, *s3control.GetMultiRegionAccessPointPolicyStatusOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointPolicyStatusInput) *s3control.GetMultiRegionAccessPointPolicyStatusOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.GetMultiRegionAccessPointPolicyStatusOutput) + } + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicyStatusWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicyStatusWithContext(_a0 context.Context, _a1 *s3control.GetMultiRegionAccessPointPolicyStatusInput, _a2 ...request.Option) (*s3control.GetMultiRegionAccessPointPolicyStatusOutput, error) { + _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 *s3control.GetMultiRegionAccessPointPolicyStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyStatusInput, ...request.Option) (*s3control.GetMultiRegionAccessPointPolicyStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyStatusInput, ...request.Option) *s3control.GetMultiRegionAccessPointPolicyStatusOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointPolicyStatusOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyStatusInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMultiRegionAccessPointPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointPolicyWithContext(_a0 context.Context, _a1 *s3control.GetMultiRegionAccessPointPolicyInput, _a2 ...request.Option) (*s3control.GetMultiRegionAccessPointPolicyOutput, error) { + _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 *s3control.GetMultiRegionAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyInput, ...request.Option) (*s3control.GetMultiRegionAccessPointPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyInput, ...request.Option) *s3control.GetMultiRegionAccessPointPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetMultiRegionAccessPointPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetMultiRegionAccessPointRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointRequest(_a0 *s3control.GetMultiRegionAccessPointInput) (*request.Request, *s3control.GetMultiRegionAccessPointOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.GetMultiRegionAccessPointOutput + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointInput) (*request.Request, *s3control.GetMultiRegionAccessPointOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.GetMultiRegionAccessPointInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.GetMultiRegionAccessPointInput) *s3control.GetMultiRegionAccessPointOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.GetMultiRegionAccessPointOutput) + } + } + + return r0, r1 +} + +// GetMultiRegionAccessPointWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) GetMultiRegionAccessPointWithContext(_a0 context.Context, _a1 *s3control.GetMultiRegionAccessPointInput, _a2 ...request.Option) (*s3control.GetMultiRegionAccessPointOutput, error) { + _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 *s3control.GetMultiRegionAccessPointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointInput, ...request.Option) (*s3control.GetMultiRegionAccessPointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetMultiRegionAccessPointInput, ...request.Option) *s3control.GetMultiRegionAccessPointOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.GetMultiRegionAccessPointOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetMultiRegionAccessPointInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetPublicAccessBlock provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) GetPublicAccessBlock(_a0 *s3control.GetPublicAccessBlockInput) (*s3control.GetPublicAccessBlockOutput, error) { ret := _m.Called(_a0) var r0 *s3control.GetPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetPublicAccessBlockInput) (*s3control.GetPublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetPublicAccessBlockInput) *s3control.GetPublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -2291,7 +3165,6 @@ func (_m *MockFakeS3Control) GetPublicAccessBlock(_a0 *s3control.GetPublicAccess } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -2306,6 +3179,10 @@ func (_m *MockFakeS3Control) GetPublicAccessBlockRequest(_a0 *s3control.GetPubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetPublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3control.GetPublicAccessBlockInput) (*request.Request, *s3control.GetPublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetPublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2314,7 +3191,6 @@ func (_m *MockFakeS3Control) GetPublicAccessBlockRequest(_a0 *s3control.GetPubli } } - var r1 *s3control.GetPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3control.GetPublicAccessBlockInput) *s3control.GetPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -2338,6 +3214,10 @@ func (_m *MockFakeS3Control) GetPublicAccessBlockWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *s3control.GetPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetPublicAccessBlockInput, ...request.Option) (*s3control.GetPublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetPublicAccessBlockInput, ...request.Option) *s3control.GetPublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2346,7 +3226,6 @@ func (_m *MockFakeS3Control) GetPublicAccessBlockWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2361,6 +3240,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfiguration(_a0 *s3control.GetStora ret := _m.Called(_a0) var r0 *s3control.GetStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationInput) (*s3control.GetStorageLensConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationInput) *s3control.GetStorageLensConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -2369,7 +3252,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfiguration(_a0 *s3control.GetStora } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetStorageLensConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2384,6 +3266,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationRequest(_a0 *s3control.G ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetStorageLensConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationInput) (*request.Request, *s3control.GetStorageLensConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2392,7 +3278,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationRequest(_a0 *s3control.G } } - var r1 *s3control.GetStorageLensConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.GetStorageLensConfigurationInput) *s3control.GetStorageLensConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2409,6 +3294,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTagging(_a0 *s3control.G ret := _m.Called(_a0) var r0 *s3control.GetStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationTaggingInput) (*s3control.GetStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationTaggingInput) *s3control.GetStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0) } else { @@ -2417,7 +3306,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTagging(_a0 *s3control.G } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.GetStorageLensConfigurationTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -2432,6 +3320,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTaggingRequest(_a0 *s3co ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.GetStorageLensConfigurationTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationTaggingInput) (*request.Request, *s3control.GetStorageLensConfigurationTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.GetStorageLensConfigurationTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2440,7 +3332,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTaggingRequest(_a0 *s3co } } - var r1 *s3control.GetStorageLensConfigurationTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.GetStorageLensConfigurationTaggingInput) *s3control.GetStorageLensConfigurationTaggingOutput); ok { r1 = rf(_a0) } else { @@ -2464,6 +3355,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTaggingWithContext(_a0 c ret := _m.Called(_ca...) var r0 *s3control.GetStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetStorageLensConfigurationTaggingInput, ...request.Option) (*s3control.GetStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetStorageLensConfigurationTaggingInput, ...request.Option) *s3control.GetStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2472,7 +3367,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationTaggingWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetStorageLensConfigurationTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2494,6 +3388,10 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3control.GetStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetStorageLensConfigurationInput, ...request.Option) (*s3control.GetStorageLensConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.GetStorageLensConfigurationInput, ...request.Option) *s3control.GetStorageLensConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2502,7 +3400,6 @@ func (_m *MockFakeS3Control) GetStorageLensConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.GetStorageLensConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2517,6 +3414,10 @@ func (_m *MockFakeS3Control) ListAccessPoints(_a0 *s3control.ListAccessPointsInp ret := _m.Called(_a0) var r0 *s3control.ListAccessPointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsInput) (*s3control.ListAccessPointsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsInput) *s3control.ListAccessPointsOutput); ok { r0 = rf(_a0) } else { @@ -2525,7 +3426,6 @@ func (_m *MockFakeS3Control) ListAccessPoints(_a0 *s3control.ListAccessPointsInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.ListAccessPointsInput) error); ok { r1 = rf(_a0) } else { @@ -2540,6 +3440,10 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambda(_a0 *s3control.List ret := _m.Called(_a0) var r0 *s3control.ListAccessPointsForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsForObjectLambdaInput) (*s3control.ListAccessPointsForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsForObjectLambdaInput) *s3control.ListAccessPointsForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -2548,7 +3452,6 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambda(_a0 *s3control.List } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.ListAccessPointsForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -2598,6 +3501,10 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambdaRequest(_a0 *s3contr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.ListAccessPointsForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsForObjectLambdaInput) (*request.Request, *s3control.ListAccessPointsForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2606,7 +3513,6 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambdaRequest(_a0 *s3contr } } - var r1 *s3control.ListAccessPointsForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.ListAccessPointsForObjectLambdaInput) *s3control.ListAccessPointsForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -2630,6 +3536,10 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambdaWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *s3control.ListAccessPointsForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListAccessPointsForObjectLambdaInput, ...request.Option) (*s3control.ListAccessPointsForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListAccessPointsForObjectLambdaInput, ...request.Option) *s3control.ListAccessPointsForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2638,7 +3548,6 @@ func (_m *MockFakeS3Control) ListAccessPointsForObjectLambdaWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListAccessPointsForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2688,6 +3597,10 @@ func (_m *MockFakeS3Control) ListAccessPointsRequest(_a0 *s3control.ListAccessPo ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.ListAccessPointsOutput + if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsInput) (*request.Request, *s3control.ListAccessPointsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListAccessPointsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2696,7 +3609,6 @@ func (_m *MockFakeS3Control) ListAccessPointsRequest(_a0 *s3control.ListAccessPo } } - var r1 *s3control.ListAccessPointsOutput if rf, ok := ret.Get(1).(func(*s3control.ListAccessPointsInput) *s3control.ListAccessPointsOutput); ok { r1 = rf(_a0) } else { @@ -2720,6 +3632,10 @@ func (_m *MockFakeS3Control) ListAccessPointsWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3control.ListAccessPointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListAccessPointsInput, ...request.Option) (*s3control.ListAccessPointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListAccessPointsInput, ...request.Option) *s3control.ListAccessPointsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2728,7 +3644,6 @@ func (_m *MockFakeS3Control) ListAccessPointsWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListAccessPointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2743,6 +3658,10 @@ func (_m *MockFakeS3Control) ListJobs(_a0 *s3control.ListJobsInput) (*s3control. ret := _m.Called(_a0) var r0 *s3control.ListJobsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListJobsInput) (*s3control.ListJobsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListJobsInput) *s3control.ListJobsOutput); ok { r0 = rf(_a0) } else { @@ -2751,7 +3670,6 @@ func (_m *MockFakeS3Control) ListJobs(_a0 *s3control.ListJobsInput) (*s3control. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.ListJobsInput) error); ok { r1 = rf(_a0) } else { @@ -2801,6 +3719,10 @@ func (_m *MockFakeS3Control) ListJobsRequest(_a0 *s3control.ListJobsInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.ListJobsOutput + if rf, ok := ret.Get(0).(func(*s3control.ListJobsInput) (*request.Request, *s3control.ListJobsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListJobsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2809,7 +3731,6 @@ func (_m *MockFakeS3Control) ListJobsRequest(_a0 *s3control.ListJobsInput) (*req } } - var r1 *s3control.ListJobsOutput if rf, ok := ret.Get(1).(func(*s3control.ListJobsInput) *s3control.ListJobsOutput); ok { r1 = rf(_a0) } else { @@ -2833,16 +3754,141 @@ func (_m *MockFakeS3Control) ListJobsWithContext(_a0 context.Context, _a1 *s3con ret := _m.Called(_ca...) var r0 *s3control.ListJobsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListJobsInput, ...request.Option) (*s3control.ListJobsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListJobsInput, ...request.Option) *s3control.ListJobsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*s3control.ListJobsOutput) + r0 = ret.Get(0).(*s3control.ListJobsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListJobsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListMultiRegionAccessPoints provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) ListMultiRegionAccessPoints(_a0 *s3control.ListMultiRegionAccessPointsInput) (*s3control.ListMultiRegionAccessPointsOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.ListMultiRegionAccessPointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListMultiRegionAccessPointsInput) (*s3control.ListMultiRegionAccessPointsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.ListMultiRegionAccessPointsInput) *s3control.ListMultiRegionAccessPointsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.ListMultiRegionAccessPointsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.ListMultiRegionAccessPointsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListMultiRegionAccessPointsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeS3Control) ListMultiRegionAccessPointsPages(_a0 *s3control.ListMultiRegionAccessPointsInput, _a1 func(*s3control.ListMultiRegionAccessPointsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + var r0 error + if rf, ok := ret.Get(0).(func(*s3control.ListMultiRegionAccessPointsInput, func(*s3control.ListMultiRegionAccessPointsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListMultiRegionAccessPointsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeS3Control) ListMultiRegionAccessPointsPagesWithContext(_a0 context.Context, _a1 *s3control.ListMultiRegionAccessPointsInput, _a2 func(*s3control.ListMultiRegionAccessPointsOutput, bool) bool, _a3 ...request.Option) error { + _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, *s3control.ListMultiRegionAccessPointsInput, func(*s3control.ListMultiRegionAccessPointsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListMultiRegionAccessPointsRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) ListMultiRegionAccessPointsRequest(_a0 *s3control.ListMultiRegionAccessPointsInput) (*request.Request, *s3control.ListMultiRegionAccessPointsOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.ListMultiRegionAccessPointsOutput + if rf, ok := ret.Get(0).(func(*s3control.ListMultiRegionAccessPointsInput) (*request.Request, *s3control.ListMultiRegionAccessPointsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.ListMultiRegionAccessPointsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.ListMultiRegionAccessPointsInput) *s3control.ListMultiRegionAccessPointsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.ListMultiRegionAccessPointsOutput) + } + } + + return r0, r1 +} + +// ListMultiRegionAccessPointsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) ListMultiRegionAccessPointsWithContext(_a0 context.Context, _a1 *s3control.ListMultiRegionAccessPointsInput, _a2 ...request.Option) (*s3control.ListMultiRegionAccessPointsOutput, error) { + _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 *s3control.ListMultiRegionAccessPointsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListMultiRegionAccessPointsInput, ...request.Option) (*s3control.ListMultiRegionAccessPointsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListMultiRegionAccessPointsInput, ...request.Option) *s3control.ListMultiRegionAccessPointsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.ListMultiRegionAccessPointsOutput) } } - var r1 error - if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListJobsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListMultiRegionAccessPointsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2856,6 +3902,10 @@ func (_m *MockFakeS3Control) ListRegionalBuckets(_a0 *s3control.ListRegionalBuck ret := _m.Called(_a0) var r0 *s3control.ListRegionalBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListRegionalBucketsInput) (*s3control.ListRegionalBucketsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListRegionalBucketsInput) *s3control.ListRegionalBucketsOutput); ok { r0 = rf(_a0) } else { @@ -2864,7 +3914,6 @@ func (_m *MockFakeS3Control) ListRegionalBuckets(_a0 *s3control.ListRegionalBuck } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.ListRegionalBucketsInput) error); ok { r1 = rf(_a0) } else { @@ -2914,6 +3963,10 @@ func (_m *MockFakeS3Control) ListRegionalBucketsRequest(_a0 *s3control.ListRegio ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.ListRegionalBucketsOutput + if rf, ok := ret.Get(0).(func(*s3control.ListRegionalBucketsInput) (*request.Request, *s3control.ListRegionalBucketsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListRegionalBucketsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2922,7 +3975,6 @@ func (_m *MockFakeS3Control) ListRegionalBucketsRequest(_a0 *s3control.ListRegio } } - var r1 *s3control.ListRegionalBucketsOutput if rf, ok := ret.Get(1).(func(*s3control.ListRegionalBucketsInput) *s3control.ListRegionalBucketsOutput); ok { r1 = rf(_a0) } else { @@ -2946,6 +3998,10 @@ func (_m *MockFakeS3Control) ListRegionalBucketsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *s3control.ListRegionalBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListRegionalBucketsInput, ...request.Option) (*s3control.ListRegionalBucketsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListRegionalBucketsInput, ...request.Option) *s3control.ListRegionalBucketsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2954,7 +4010,6 @@ func (_m *MockFakeS3Control) ListRegionalBucketsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListRegionalBucketsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2969,6 +4024,10 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurations(_a0 *s3control.ListSt ret := _m.Called(_a0) var r0 *s3control.ListStorageLensConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.ListStorageLensConfigurationsInput) (*s3control.ListStorageLensConfigurationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListStorageLensConfigurationsInput) *s3control.ListStorageLensConfigurationsOutput); ok { r0 = rf(_a0) } else { @@ -2977,7 +4036,6 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurations(_a0 *s3control.ListSt } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.ListStorageLensConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -3027,6 +4085,10 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurationsRequest(_a0 *s3control ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.ListStorageLensConfigurationsOutput + if rf, ok := ret.Get(0).(func(*s3control.ListStorageLensConfigurationsInput) (*request.Request, *s3control.ListStorageLensConfigurationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.ListStorageLensConfigurationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3035,7 +4097,6 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurationsRequest(_a0 *s3control } } - var r1 *s3control.ListStorageLensConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3control.ListStorageLensConfigurationsInput) *s3control.ListStorageLensConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -3059,6 +4120,10 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurationsWithContext(_a0 contex ret := _m.Called(_ca...) var r0 *s3control.ListStorageLensConfigurationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListStorageLensConfigurationsInput, ...request.Option) (*s3control.ListStorageLensConfigurationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.ListStorageLensConfigurationsInput, ...request.Option) *s3control.ListStorageLensConfigurationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3067,7 +4132,6 @@ func (_m *MockFakeS3Control) ListStorageLensConfigurationsWithContext(_a0 contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.ListStorageLensConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3082,6 +4146,10 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambda(_a0 *s3c ret := _m.Called(_a0) var r0 *s3control.PutAccessPointConfigurationForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) (*s3control.PutAccessPointConfigurationForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) *s3control.PutAccessPointConfigurationForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -3090,7 +4158,6 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambda(_a0 *s3c } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -3105,6 +4172,10 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambdaRequest(_ ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutAccessPointConfigurationForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) (*request.Request, *s3control.PutAccessPointConfigurationForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3113,7 +4184,6 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambdaRequest(_ } } - var r1 *s3control.PutAccessPointConfigurationForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointConfigurationForObjectLambdaInput) *s3control.PutAccessPointConfigurationForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -3137,6 +4207,10 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambdaWithConte ret := _m.Called(_ca...) var r0 *s3control.PutAccessPointConfigurationForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointConfigurationForObjectLambdaInput, ...request.Option) (*s3control.PutAccessPointConfigurationForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointConfigurationForObjectLambdaInput, ...request.Option) *s3control.PutAccessPointConfigurationForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3145,7 +4219,6 @@ func (_m *MockFakeS3Control) PutAccessPointConfigurationForObjectLambdaWithConte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutAccessPointConfigurationForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3160,6 +4233,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicy(_a0 *s3control.PutAccessPointP ret := _m.Called(_a0) var r0 *s3control.PutAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyInput) (*s3control.PutAccessPointPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyInput) *s3control.PutAccessPointPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3168,7 +4245,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicy(_a0 *s3control.PutAccessPointP } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3183,6 +4259,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambda(_a0 *s3control. ret := _m.Called(_a0) var r0 *s3control.PutAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) (*s3control.PutAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) *s3control.PutAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0) } else { @@ -3191,7 +4271,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambda(_a0 *s3control. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) error); ok { r1 = rf(_a0) } else { @@ -3206,6 +4285,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambdaRequest(_a0 *s3c ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutAccessPointPolicyForObjectLambdaOutput + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) (*request.Request, *s3control.PutAccessPointPolicyForObjectLambdaOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3214,7 +4297,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambdaRequest(_a0 *s3c } } - var r1 *s3control.PutAccessPointPolicyForObjectLambdaOutput if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointPolicyForObjectLambdaInput) *s3control.PutAccessPointPolicyForObjectLambdaOutput); ok { r1 = rf(_a0) } else { @@ -3238,6 +4320,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambdaWithContext(_a0 ret := _m.Called(_ca...) var r0 *s3control.PutAccessPointPolicyForObjectLambdaOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointPolicyForObjectLambdaInput, ...request.Option) (*s3control.PutAccessPointPolicyForObjectLambdaOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointPolicyForObjectLambdaInput, ...request.Option) *s3control.PutAccessPointPolicyForObjectLambdaOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3246,7 +4332,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyForObjectLambdaWithContext(_a0 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutAccessPointPolicyForObjectLambdaInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3261,6 +4346,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyRequest(_a0 *s3control.PutAcces ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutAccessPointPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyInput) (*request.Request, *s3control.PutAccessPointPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutAccessPointPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3269,7 +4358,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyRequest(_a0 *s3control.PutAcces } } - var r1 *s3control.PutAccessPointPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.PutAccessPointPolicyInput) *s3control.PutAccessPointPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3293,6 +4381,10 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *s3control.PutAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointPolicyInput, ...request.Option) (*s3control.PutAccessPointPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutAccessPointPolicyInput, ...request.Option) *s3control.PutAccessPointPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3301,7 +4393,6 @@ func (_m *MockFakeS3Control) PutAccessPointPolicyWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutAccessPointPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3316,6 +4407,10 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfiguration(_a0 *s3control.PutB ret := _m.Called(_a0) var r0 *s3control.PutBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutBucketLifecycleConfigurationInput) (*s3control.PutBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketLifecycleConfigurationInput) *s3control.PutBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -3324,7 +4419,6 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfiguration(_a0 *s3control.PutB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -3339,6 +4433,10 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfigurationRequest(_a0 *s3contr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutBucketLifecycleConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.PutBucketLifecycleConfigurationInput) (*request.Request, *s3control.PutBucketLifecycleConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketLifecycleConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3347,7 +4445,6 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfigurationRequest(_a0 *s3contr } } - var r1 *s3control.PutBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.PutBucketLifecycleConfigurationInput) *s3control.PutBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -3371,6 +4468,10 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfigurationWithContext(_a0 cont ret := _m.Called(_ca...) var r0 *s3control.PutBucketLifecycleConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketLifecycleConfigurationInput, ...request.Option) (*s3control.PutBucketLifecycleConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketLifecycleConfigurationInput, ...request.Option) *s3control.PutBucketLifecycleConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3379,7 +4480,6 @@ func (_m *MockFakeS3Control) PutBucketLifecycleConfigurationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3394,6 +4494,10 @@ func (_m *MockFakeS3Control) PutBucketPolicy(_a0 *s3control.PutBucketPolicyInput ret := _m.Called(_a0) var r0 *s3control.PutBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutBucketPolicyInput) (*s3control.PutBucketPolicyOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketPolicyInput) *s3control.PutBucketPolicyOutput); ok { r0 = rf(_a0) } else { @@ -3402,7 +4506,6 @@ func (_m *MockFakeS3Control) PutBucketPolicy(_a0 *s3control.PutBucketPolicyInput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -3417,6 +4520,10 @@ func (_m *MockFakeS3Control) PutBucketPolicyRequest(_a0 *s3control.PutBucketPoli ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutBucketPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.PutBucketPolicyInput) (*request.Request, *s3control.PutBucketPolicyOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3425,7 +4532,6 @@ func (_m *MockFakeS3Control) PutBucketPolicyRequest(_a0 *s3control.PutBucketPoli } } - var r1 *s3control.PutBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3control.PutBucketPolicyInput) *s3control.PutBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -3449,6 +4555,10 @@ func (_m *MockFakeS3Control) PutBucketPolicyWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3control.PutBucketPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketPolicyInput, ...request.Option) (*s3control.PutBucketPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketPolicyInput, ...request.Option) *s3control.PutBucketPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3457,7 +4567,6 @@ func (_m *MockFakeS3Control) PutBucketPolicyWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3472,6 +4581,10 @@ func (_m *MockFakeS3Control) PutBucketTagging(_a0 *s3control.PutBucketTaggingInp ret := _m.Called(_a0) var r0 *s3control.PutBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutBucketTaggingInput) (*s3control.PutBucketTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketTaggingInput) *s3control.PutBucketTaggingOutput); ok { r0 = rf(_a0) } else { @@ -3480,7 +4593,6 @@ func (_m *MockFakeS3Control) PutBucketTagging(_a0 *s3control.PutBucketTaggingInp } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3495,6 +4607,10 @@ func (_m *MockFakeS3Control) PutBucketTaggingRequest(_a0 *s3control.PutBucketTag ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutBucketTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.PutBucketTaggingInput) (*request.Request, *s3control.PutBucketTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutBucketTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3503,7 +4619,6 @@ func (_m *MockFakeS3Control) PutBucketTaggingRequest(_a0 *s3control.PutBucketTag } } - var r1 *s3control.PutBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.PutBucketTaggingInput) *s3control.PutBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3527,6 +4642,10 @@ func (_m *MockFakeS3Control) PutBucketTaggingWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *s3control.PutBucketTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketTaggingInput, ...request.Option) (*s3control.PutBucketTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketTaggingInput, ...request.Option) *s3control.PutBucketTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3535,7 +4654,6 @@ func (_m *MockFakeS3Control) PutBucketTaggingWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3545,11 +4663,102 @@ func (_m *MockFakeS3Control) PutBucketTaggingWithContext(_a0 context.Context, _a return r0, r1 } +// PutBucketVersioning provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) PutBucketVersioning(_a0 *s3control.PutBucketVersioningInput) (*s3control.PutBucketVersioningOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.PutBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutBucketVersioningInput) (*s3control.PutBucketVersioningOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.PutBucketVersioningInput) *s3control.PutBucketVersioningOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.PutBucketVersioningOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.PutBucketVersioningInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutBucketVersioningRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) PutBucketVersioningRequest(_a0 *s3control.PutBucketVersioningInput) (*request.Request, *s3control.PutBucketVersioningOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.PutBucketVersioningOutput + if rf, ok := ret.Get(0).(func(*s3control.PutBucketVersioningInput) (*request.Request, *s3control.PutBucketVersioningOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.PutBucketVersioningInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.PutBucketVersioningInput) *s3control.PutBucketVersioningOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.PutBucketVersioningOutput) + } + } + + return r0, r1 +} + +// PutBucketVersioningWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s3control.PutBucketVersioningInput, _a2 ...request.Option) (*s3control.PutBucketVersioningOutput, error) { + _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 *s3control.PutBucketVersioningOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketVersioningInput, ...request.Option) (*s3control.PutBucketVersioningOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutBucketVersioningInput, ...request.Option) *s3control.PutBucketVersioningOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.PutBucketVersioningOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutBucketVersioningInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PutJobTagging provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) PutJobTagging(_a0 *s3control.PutJobTaggingInput) (*s3control.PutJobTaggingOutput, error) { ret := _m.Called(_a0) var r0 *s3control.PutJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutJobTaggingInput) (*s3control.PutJobTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutJobTaggingInput) *s3control.PutJobTaggingOutput); ok { r0 = rf(_a0) } else { @@ -3558,7 +4767,6 @@ func (_m *MockFakeS3Control) PutJobTagging(_a0 *s3control.PutJobTaggingInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutJobTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3573,6 +4781,10 @@ func (_m *MockFakeS3Control) PutJobTaggingRequest(_a0 *s3control.PutJobTaggingIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutJobTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.PutJobTaggingInput) (*request.Request, *s3control.PutJobTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutJobTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3581,7 +4793,6 @@ func (_m *MockFakeS3Control) PutJobTaggingRequest(_a0 *s3control.PutJobTaggingIn } } - var r1 *s3control.PutJobTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.PutJobTaggingInput) *s3control.PutJobTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3605,6 +4816,10 @@ func (_m *MockFakeS3Control) PutJobTaggingWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *s3control.PutJobTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutJobTaggingInput, ...request.Option) (*s3control.PutJobTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutJobTaggingInput, ...request.Option) *s3control.PutJobTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3613,7 +4828,6 @@ func (_m *MockFakeS3Control) PutJobTaggingWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutJobTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3623,11 +4837,102 @@ func (_m *MockFakeS3Control) PutJobTaggingWithContext(_a0 context.Context, _a1 * return r0, r1 } +// PutMultiRegionAccessPointPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) PutMultiRegionAccessPointPolicy(_a0 *s3control.PutMultiRegionAccessPointPolicyInput) (*s3control.PutMultiRegionAccessPointPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *s3control.PutMultiRegionAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutMultiRegionAccessPointPolicyInput) (*s3control.PutMultiRegionAccessPointPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.PutMultiRegionAccessPointPolicyInput) *s3control.PutMultiRegionAccessPointPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.PutMultiRegionAccessPointPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.PutMultiRegionAccessPointPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutMultiRegionAccessPointPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeS3Control) PutMultiRegionAccessPointPolicyRequest(_a0 *s3control.PutMultiRegionAccessPointPolicyInput) (*request.Request, *s3control.PutMultiRegionAccessPointPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *s3control.PutMultiRegionAccessPointPolicyOutput + if rf, ok := ret.Get(0).(func(*s3control.PutMultiRegionAccessPointPolicyInput) (*request.Request, *s3control.PutMultiRegionAccessPointPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3control.PutMultiRegionAccessPointPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*s3control.PutMultiRegionAccessPointPolicyInput) *s3control.PutMultiRegionAccessPointPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3control.PutMultiRegionAccessPointPolicyOutput) + } + } + + return r0, r1 +} + +// PutMultiRegionAccessPointPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeS3Control) PutMultiRegionAccessPointPolicyWithContext(_a0 context.Context, _a1 *s3control.PutMultiRegionAccessPointPolicyInput, _a2 ...request.Option) (*s3control.PutMultiRegionAccessPointPolicyOutput, error) { + _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 *s3control.PutMultiRegionAccessPointPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutMultiRegionAccessPointPolicyInput, ...request.Option) (*s3control.PutMultiRegionAccessPointPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutMultiRegionAccessPointPolicyInput, ...request.Option) *s3control.PutMultiRegionAccessPointPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3control.PutMultiRegionAccessPointPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutMultiRegionAccessPointPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PutPublicAccessBlock provides a mock function with given fields: _a0 func (_m *MockFakeS3Control) PutPublicAccessBlock(_a0 *s3control.PutPublicAccessBlockInput) (*s3control.PutPublicAccessBlockOutput, error) { ret := _m.Called(_a0) var r0 *s3control.PutPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutPublicAccessBlockInput) (*s3control.PutPublicAccessBlockOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutPublicAccessBlockInput) *s3control.PutPublicAccessBlockOutput); ok { r0 = rf(_a0) } else { @@ -3636,7 +4941,6 @@ func (_m *MockFakeS3Control) PutPublicAccessBlock(_a0 *s3control.PutPublicAccess } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -3651,6 +4955,10 @@ func (_m *MockFakeS3Control) PutPublicAccessBlockRequest(_a0 *s3control.PutPubli ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutPublicAccessBlockOutput + if rf, ok := ret.Get(0).(func(*s3control.PutPublicAccessBlockInput) (*request.Request, *s3control.PutPublicAccessBlockOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutPublicAccessBlockInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3659,7 +4967,6 @@ func (_m *MockFakeS3Control) PutPublicAccessBlockRequest(_a0 *s3control.PutPubli } } - var r1 *s3control.PutPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3control.PutPublicAccessBlockInput) *s3control.PutPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -3683,6 +4990,10 @@ func (_m *MockFakeS3Control) PutPublicAccessBlockWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *s3control.PutPublicAccessBlockOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutPublicAccessBlockInput, ...request.Option) (*s3control.PutPublicAccessBlockOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutPublicAccessBlockInput, ...request.Option) *s3control.PutPublicAccessBlockOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3691,7 +5002,6 @@ func (_m *MockFakeS3Control) PutPublicAccessBlockWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3706,6 +5016,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfiguration(_a0 *s3control.PutStora ret := _m.Called(_a0) var r0 *s3control.PutStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationInput) (*s3control.PutStorageLensConfigurationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationInput) *s3control.PutStorageLensConfigurationOutput); ok { r0 = rf(_a0) } else { @@ -3714,7 +5028,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfiguration(_a0 *s3control.PutStora } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutStorageLensConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -3729,6 +5042,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationRequest(_a0 *s3control.P ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutStorageLensConfigurationOutput + if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationInput) (*request.Request, *s3control.PutStorageLensConfigurationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3737,7 +5054,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationRequest(_a0 *s3control.P } } - var r1 *s3control.PutStorageLensConfigurationOutput if rf, ok := ret.Get(1).(func(*s3control.PutStorageLensConfigurationInput) *s3control.PutStorageLensConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -3754,6 +5070,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTagging(_a0 *s3control.P ret := _m.Called(_a0) var r0 *s3control.PutStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationTaggingInput) (*s3control.PutStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationTaggingInput) *s3control.PutStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0) } else { @@ -3762,7 +5082,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTagging(_a0 *s3control.P } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.PutStorageLensConfigurationTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3777,6 +5096,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTaggingRequest(_a0 *s3co ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.PutStorageLensConfigurationTaggingOutput + if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationTaggingInput) (*request.Request, *s3control.PutStorageLensConfigurationTaggingOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.PutStorageLensConfigurationTaggingInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3785,7 +5108,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTaggingRequest(_a0 *s3co } } - var r1 *s3control.PutStorageLensConfigurationTaggingOutput if rf, ok := ret.Get(1).(func(*s3control.PutStorageLensConfigurationTaggingInput) *s3control.PutStorageLensConfigurationTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3809,6 +5131,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTaggingWithContext(_a0 c ret := _m.Called(_ca...) var r0 *s3control.PutStorageLensConfigurationTaggingOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutStorageLensConfigurationTaggingInput, ...request.Option) (*s3control.PutStorageLensConfigurationTaggingOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutStorageLensConfigurationTaggingInput, ...request.Option) *s3control.PutStorageLensConfigurationTaggingOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3817,7 +5143,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationTaggingWithContext(_a0 c } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutStorageLensConfigurationTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3839,6 +5164,10 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationWithContext(_a0 context. ret := _m.Called(_ca...) var r0 *s3control.PutStorageLensConfigurationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutStorageLensConfigurationInput, ...request.Option) (*s3control.PutStorageLensConfigurationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.PutStorageLensConfigurationInput, ...request.Option) *s3control.PutStorageLensConfigurationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3847,7 +5176,6 @@ func (_m *MockFakeS3Control) PutStorageLensConfigurationWithContext(_a0 context. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.PutStorageLensConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3862,6 +5190,10 @@ func (_m *MockFakeS3Control) UpdateJobPriority(_a0 *s3control.UpdateJobPriorityI ret := _m.Called(_a0) var r0 *s3control.UpdateJobPriorityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.UpdateJobPriorityInput) (*s3control.UpdateJobPriorityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.UpdateJobPriorityInput) *s3control.UpdateJobPriorityOutput); ok { r0 = rf(_a0) } else { @@ -3870,7 +5202,6 @@ func (_m *MockFakeS3Control) UpdateJobPriority(_a0 *s3control.UpdateJobPriorityI } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.UpdateJobPriorityInput) error); ok { r1 = rf(_a0) } else { @@ -3885,6 +5216,10 @@ func (_m *MockFakeS3Control) UpdateJobPriorityRequest(_a0 *s3control.UpdateJobPr ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.UpdateJobPriorityOutput + if rf, ok := ret.Get(0).(func(*s3control.UpdateJobPriorityInput) (*request.Request, *s3control.UpdateJobPriorityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.UpdateJobPriorityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3893,7 +5228,6 @@ func (_m *MockFakeS3Control) UpdateJobPriorityRequest(_a0 *s3control.UpdateJobPr } } - var r1 *s3control.UpdateJobPriorityOutput if rf, ok := ret.Get(1).(func(*s3control.UpdateJobPriorityInput) *s3control.UpdateJobPriorityOutput); ok { r1 = rf(_a0) } else { @@ -3917,6 +5251,10 @@ func (_m *MockFakeS3Control) UpdateJobPriorityWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *s3control.UpdateJobPriorityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.UpdateJobPriorityInput, ...request.Option) (*s3control.UpdateJobPriorityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.UpdateJobPriorityInput, ...request.Option) *s3control.UpdateJobPriorityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3925,7 +5263,6 @@ func (_m *MockFakeS3Control) UpdateJobPriorityWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.UpdateJobPriorityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3940,6 +5277,10 @@ func (_m *MockFakeS3Control) UpdateJobStatus(_a0 *s3control.UpdateJobStatusInput ret := _m.Called(_a0) var r0 *s3control.UpdateJobStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3control.UpdateJobStatusInput) (*s3control.UpdateJobStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.UpdateJobStatusInput) *s3control.UpdateJobStatusOutput); ok { r0 = rf(_a0) } else { @@ -3948,7 +5289,6 @@ func (_m *MockFakeS3Control) UpdateJobStatus(_a0 *s3control.UpdateJobStatusInput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3control.UpdateJobStatusInput) error); ok { r1 = rf(_a0) } else { @@ -3963,6 +5303,10 @@ func (_m *MockFakeS3Control) UpdateJobStatusRequest(_a0 *s3control.UpdateJobStat ret := _m.Called(_a0) var r0 *request.Request + var r1 *s3control.UpdateJobStatusOutput + if rf, ok := ret.Get(0).(func(*s3control.UpdateJobStatusInput) (*request.Request, *s3control.UpdateJobStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*s3control.UpdateJobStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3971,7 +5315,6 @@ func (_m *MockFakeS3Control) UpdateJobStatusRequest(_a0 *s3control.UpdateJobStat } } - var r1 *s3control.UpdateJobStatusOutput if rf, ok := ret.Get(1).(func(*s3control.UpdateJobStatusInput) *s3control.UpdateJobStatusOutput); ok { r1 = rf(_a0) } else { @@ -3995,6 +5338,10 @@ func (_m *MockFakeS3Control) UpdateJobStatusWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *s3control.UpdateJobStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3control.UpdateJobStatusInput, ...request.Option) (*s3control.UpdateJobStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *s3control.UpdateJobStatusInput, ...request.Option) *s3control.UpdateJobStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -4003,7 +5350,6 @@ func (_m *MockFakeS3Control) UpdateJobStatusWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3control.UpdateJobStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { diff --git a/test/aws/mock_FakeSNS.go b/test/aws/mock_FakeSNS.go index 14d5afcd2..8b48ce593 100644 --- a/test/aws/mock_FakeSNS.go +++ b/test/aws/mock_FakeSNS.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeSNS) AddPermission(_a0 *sns.AddPermissionInput) (*sns.AddPermi ret := _m.Called(_a0) var r0 *sns.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.AddPermissionInput) (*sns.AddPermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.AddPermissionInput) *sns.AddPermissionOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeSNS) AddPermission(_a0 *sns.AddPermissionInput) (*sns.AddPermi } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.AddPermissionInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeSNS) AddPermissionRequest(_a0 *sns.AddPermissionInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.AddPermissionOutput + if rf, ok := ret.Get(0).(func(*sns.AddPermissionInput) (*request.Request, *sns.AddPermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.AddPermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeSNS) AddPermissionRequest(_a0 *sns.AddPermissionInput) (*reque } } - var r1 *sns.AddPermissionOutput if rf, ok := ret.Get(1).(func(*sns.AddPermissionInput) *sns.AddPermissionOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeSNS) AddPermissionWithContext(_a0 context.Context, _a1 *sns.Ad ret := _m.Called(_ca...) var r0 *sns.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.AddPermissionInput, ...request.Option) (*sns.AddPermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.AddPermissionInput, ...request.Option) *sns.AddPermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeSNS) AddPermissionWithContext(_a0 context.Context, _a1 *sns.Ad } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.AddPermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOut(_a0 *sns.CheckIfPhoneNumberI ret := _m.Called(_a0) var r0 *sns.CheckIfPhoneNumberIsOptedOutOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) (*sns.CheckIfPhoneNumberIsOptedOutOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) *sns.CheckIfPhoneNumberIsOptedOutOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOut(_a0 *sns.CheckIfPhoneNumberI } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOutRequest(_a0 *sns.CheckIfPhone ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.CheckIfPhoneNumberIsOptedOutOutput + if rf, ok := ret.Get(0).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) (*request.Request, *sns.CheckIfPhoneNumberIsOptedOutOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOutRequest(_a0 *sns.CheckIfPhone } } - var r1 *sns.CheckIfPhoneNumberIsOptedOutOutput if rf, ok := ret.Get(1).(func(*sns.CheckIfPhoneNumberIsOptedOutInput) *sns.CheckIfPhoneNumberIsOptedOutOutput); ok { r1 = rf(_a0) } else { @@ -154,6 +169,10 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOutWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *sns.CheckIfPhoneNumberIsOptedOutOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.CheckIfPhoneNumberIsOptedOutInput, ...request.Option) (*sns.CheckIfPhoneNumberIsOptedOutOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.CheckIfPhoneNumberIsOptedOutInput, ...request.Option) *sns.CheckIfPhoneNumberIsOptedOutOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -162,7 +181,6 @@ func (_m *MockFakeSNS) CheckIfPhoneNumberIsOptedOutWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.CheckIfPhoneNumberIsOptedOutInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeSNS) ConfirmSubscription(_a0 *sns.ConfirmSubscriptionInput) (* ret := _m.Called(_a0) var r0 *sns.ConfirmSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ConfirmSubscriptionInput) (*sns.ConfirmSubscriptionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ConfirmSubscriptionInput) *sns.ConfirmSubscriptionOutput); ok { r0 = rf(_a0) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeSNS) ConfirmSubscription(_a0 *sns.ConfirmSubscriptionInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ConfirmSubscriptionInput) error); ok { r1 = rf(_a0) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeSNS) ConfirmSubscriptionRequest(_a0 *sns.ConfirmSubscriptionIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ConfirmSubscriptionOutput + if rf, ok := ret.Get(0).(func(*sns.ConfirmSubscriptionInput) (*request.Request, *sns.ConfirmSubscriptionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ConfirmSubscriptionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeSNS) ConfirmSubscriptionRequest(_a0 *sns.ConfirmSubscriptionIn } } - var r1 *sns.ConfirmSubscriptionOutput if rf, ok := ret.Get(1).(func(*sns.ConfirmSubscriptionInput) *sns.ConfirmSubscriptionOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeSNS) ConfirmSubscriptionWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *sns.ConfirmSubscriptionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ConfirmSubscriptionInput, ...request.Option) (*sns.ConfirmSubscriptionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ConfirmSubscriptionInput, ...request.Option) *sns.ConfirmSubscriptionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeSNS) ConfirmSubscriptionWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ConfirmSubscriptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeSNS) CreatePlatformApplication(_a0 *sns.CreatePlatformApplicat ret := _m.Called(_a0) var r0 *sns.CreatePlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.CreatePlatformApplicationInput) (*sns.CreatePlatformApplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreatePlatformApplicationInput) *sns.CreatePlatformApplicationOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeSNS) CreatePlatformApplication(_a0 *sns.CreatePlatformApplicat } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.CreatePlatformApplicationInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeSNS) CreatePlatformApplicationRequest(_a0 *sns.CreatePlatformA ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.CreatePlatformApplicationOutput + if rf, ok := ret.Get(0).(func(*sns.CreatePlatformApplicationInput) (*request.Request, *sns.CreatePlatformApplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreatePlatformApplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeSNS) CreatePlatformApplicationRequest(_a0 *sns.CreatePlatformA } } - var r1 *sns.CreatePlatformApplicationOutput if rf, ok := ret.Get(1).(func(*sns.CreatePlatformApplicationInput) *sns.CreatePlatformApplicationOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeSNS) CreatePlatformApplicationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.CreatePlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.CreatePlatformApplicationInput, ...request.Option) (*sns.CreatePlatformApplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.CreatePlatformApplicationInput, ...request.Option) *sns.CreatePlatformApplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeSNS) CreatePlatformApplicationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.CreatePlatformApplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeSNS) CreatePlatformEndpoint(_a0 *sns.CreatePlatformEndpointInp ret := _m.Called(_a0) var r0 *sns.CreatePlatformEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.CreatePlatformEndpointInput) (*sns.CreatePlatformEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreatePlatformEndpointInput) *sns.CreatePlatformEndpointOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeSNS) CreatePlatformEndpoint(_a0 *sns.CreatePlatformEndpointInp } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.CreatePlatformEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeSNS) CreatePlatformEndpointRequest(_a0 *sns.CreatePlatformEndp ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.CreatePlatformEndpointOutput + if rf, ok := ret.Get(0).(func(*sns.CreatePlatformEndpointInput) (*request.Request, *sns.CreatePlatformEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreatePlatformEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeSNS) CreatePlatformEndpointRequest(_a0 *sns.CreatePlatformEndp } } - var r1 *sns.CreatePlatformEndpointOutput if rf, ok := ret.Get(1).(func(*sns.CreatePlatformEndpointInput) *sns.CreatePlatformEndpointOutput); ok { r1 = rf(_a0) } else { @@ -388,6 +430,10 @@ func (_m *MockFakeSNS) CreatePlatformEndpointWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *sns.CreatePlatformEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.CreatePlatformEndpointInput, ...request.Option) (*sns.CreatePlatformEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.CreatePlatformEndpointInput, ...request.Option) *sns.CreatePlatformEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -396,7 +442,6 @@ func (_m *MockFakeSNS) CreatePlatformEndpointWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.CreatePlatformEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumber(_a0 *sns.CreateSMSSandboxPhon ret := _m.Called(_a0) var r0 *sns.CreateSMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) (*sns.CreateSMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) *sns.CreateSMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumber(_a0 *sns.CreateSMSSandboxPhon } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.CreateSMSSandboxPhoneNumberInput) error); ok { r1 = rf(_a0) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumberRequest(_a0 *sns.CreateSMSSand ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.CreateSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) (*request.Request, *sns.CreateSMSSandboxPhoneNumberOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreateSMSSandboxPhoneNumberInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumberRequest(_a0 *sns.CreateSMSSand } } - var r1 *sns.CreateSMSSandboxPhoneNumberOutput if rf, ok := ret.Get(1).(func(*sns.CreateSMSSandboxPhoneNumberInput) *sns.CreateSMSSandboxPhoneNumberOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumberWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *sns.CreateSMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.CreateSMSSandboxPhoneNumberInput, ...request.Option) (*sns.CreateSMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.CreateSMSSandboxPhoneNumberInput, ...request.Option) *sns.CreateSMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeSNS) CreateSMSSandboxPhoneNumberWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.CreateSMSSandboxPhoneNumberInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeSNS) CreateTopic(_a0 *sns.CreateTopicInput) (*sns.CreateTopicO ret := _m.Called(_a0) var r0 *sns.CreateTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.CreateTopicInput) (*sns.CreateTopicOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreateTopicInput) *sns.CreateTopicOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeSNS) CreateTopic(_a0 *sns.CreateTopicInput) (*sns.CreateTopicO } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.CreateTopicInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeSNS) CreateTopicRequest(_a0 *sns.CreateTopicInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.CreateTopicOutput + if rf, ok := ret.Get(0).(func(*sns.CreateTopicInput) (*request.Request, *sns.CreateTopicOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.CreateTopicInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeSNS) CreateTopicRequest(_a0 *sns.CreateTopicInput) (*request.R } } - var r1 *sns.CreateTopicOutput if rf, ok := ret.Get(1).(func(*sns.CreateTopicInput) *sns.CreateTopicOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeSNS) CreateTopicWithContext(_a0 context.Context, _a1 *sns.Crea ret := _m.Called(_ca...) var r0 *sns.CreateTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.CreateTopicInput, ...request.Option) (*sns.CreateTopicOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.CreateTopicInput, ...request.Option) *sns.CreateTopicOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeSNS) CreateTopicWithContext(_a0 context.Context, _a1 *sns.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.CreateTopicInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeSNS) DeleteEndpoint(_a0 *sns.DeleteEndpointInput) (*sns.Delete ret := _m.Called(_a0) var r0 *sns.DeleteEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.DeleteEndpointInput) (*sns.DeleteEndpointOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteEndpointInput) *sns.DeleteEndpointOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeSNS) DeleteEndpoint(_a0 *sns.DeleteEndpointInput) (*sns.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.DeleteEndpointInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeSNS) DeleteEndpointRequest(_a0 *sns.DeleteEndpointInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.DeleteEndpointOutput + if rf, ok := ret.Get(0).(func(*sns.DeleteEndpointInput) (*request.Request, *sns.DeleteEndpointOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteEndpointInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeSNS) DeleteEndpointRequest(_a0 *sns.DeleteEndpointInput) (*req } } - var r1 *sns.DeleteEndpointOutput if rf, ok := ret.Get(1).(func(*sns.DeleteEndpointInput) *sns.DeleteEndpointOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeSNS) DeleteEndpointWithContext(_a0 context.Context, _a1 *sns.D ret := _m.Called(_ca...) var r0 *sns.DeleteEndpointOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteEndpointInput, ...request.Option) (*sns.DeleteEndpointOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteEndpointInput, ...request.Option) *sns.DeleteEndpointOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeSNS) DeleteEndpointWithContext(_a0 context.Context, _a1 *sns.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.DeleteEndpointInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeSNS) DeletePlatformApplication(_a0 *sns.DeletePlatformApplicat ret := _m.Called(_a0) var r0 *sns.DeletePlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.DeletePlatformApplicationInput) (*sns.DeletePlatformApplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeletePlatformApplicationInput) *sns.DeletePlatformApplicationOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeSNS) DeletePlatformApplication(_a0 *sns.DeletePlatformApplicat } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.DeletePlatformApplicationInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeSNS) DeletePlatformApplicationRequest(_a0 *sns.DeletePlatformA ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.DeletePlatformApplicationOutput + if rf, ok := ret.Get(0).(func(*sns.DeletePlatformApplicationInput) (*request.Request, *sns.DeletePlatformApplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeletePlatformApplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeSNS) DeletePlatformApplicationRequest(_a0 *sns.DeletePlatformA } } - var r1 *sns.DeletePlatformApplicationOutput if rf, ok := ret.Get(1).(func(*sns.DeletePlatformApplicationInput) *sns.DeletePlatformApplicationOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeSNS) DeletePlatformApplicationWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.DeletePlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.DeletePlatformApplicationInput, ...request.Option) (*sns.DeletePlatformApplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.DeletePlatformApplicationInput, ...request.Option) *sns.DeletePlatformApplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeSNS) DeletePlatformApplicationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.DeletePlatformApplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumber(_a0 *sns.DeleteSMSSandboxPhon ret := _m.Called(_a0) var r0 *sns.DeleteSMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) (*sns.DeleteSMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumber(_a0 *sns.DeleteSMSSandboxPhon } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.DeleteSMSSandboxPhoneNumberInput) error); ok { r1 = rf(_a0) } else { @@ -746,6 +830,10 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumberRequest(_a0 *sns.DeleteSMSSand ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.DeleteSMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) (*request.Request, *sns.DeleteSMSSandboxPhoneNumberOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -754,7 +842,6 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumberRequest(_a0 *sns.DeleteSMSSand } } - var r1 *sns.DeleteSMSSandboxPhoneNumberOutput if rf, ok := ret.Get(1).(func(*sns.DeleteSMSSandboxPhoneNumberInput) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { r1 = rf(_a0) } else { @@ -778,6 +865,10 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumberWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *sns.DeleteSMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteSMSSandboxPhoneNumberInput, ...request.Option) (*sns.DeleteSMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteSMSSandboxPhoneNumberInput, ...request.Option) *sns.DeleteSMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -786,7 +877,6 @@ func (_m *MockFakeSNS) DeleteSMSSandboxPhoneNumberWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.DeleteSMSSandboxPhoneNumberInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -801,6 +891,10 @@ func (_m *MockFakeSNS) DeleteTopic(_a0 *sns.DeleteTopicInput) (*sns.DeleteTopicO ret := _m.Called(_a0) var r0 *sns.DeleteTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.DeleteTopicInput) (*sns.DeleteTopicOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteTopicInput) *sns.DeleteTopicOutput); ok { r0 = rf(_a0) } else { @@ -809,7 +903,6 @@ func (_m *MockFakeSNS) DeleteTopic(_a0 *sns.DeleteTopicInput) (*sns.DeleteTopicO } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.DeleteTopicInput) error); ok { r1 = rf(_a0) } else { @@ -824,6 +917,10 @@ func (_m *MockFakeSNS) DeleteTopicRequest(_a0 *sns.DeleteTopicInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.DeleteTopicOutput + if rf, ok := ret.Get(0).(func(*sns.DeleteTopicInput) (*request.Request, *sns.DeleteTopicOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.DeleteTopicInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -832,7 +929,6 @@ func (_m *MockFakeSNS) DeleteTopicRequest(_a0 *sns.DeleteTopicInput) (*request.R } } - var r1 *sns.DeleteTopicOutput if rf, ok := ret.Get(1).(func(*sns.DeleteTopicInput) *sns.DeleteTopicOutput); ok { r1 = rf(_a0) } else { @@ -856,6 +952,10 @@ func (_m *MockFakeSNS) DeleteTopicWithContext(_a0 context.Context, _a1 *sns.Dele ret := _m.Called(_ca...) var r0 *sns.DeleteTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteTopicInput, ...request.Option) (*sns.DeleteTopicOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.DeleteTopicInput, ...request.Option) *sns.DeleteTopicOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -864,7 +964,6 @@ func (_m *MockFakeSNS) DeleteTopicWithContext(_a0 context.Context, _a1 *sns.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.DeleteTopicInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -874,11 +973,102 @@ func (_m *MockFakeSNS) DeleteTopicWithContext(_a0 context.Context, _a1 *sns.Dele return r0, r1 } +// GetDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) GetDataProtectionPolicy(_a0 *sns.GetDataProtectionPolicyInput) (*sns.GetDataProtectionPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.GetDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) (*sns.GetDataProtectionPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) *sns.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sns.GetDataProtectionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) GetDataProtectionPolicyRequest(_a0 *sns.GetDataProtectionPolicyInput) (*request.Request, *sns.GetDataProtectionPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *sns.GetDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) (*request.Request, *sns.GetDataProtectionPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.GetDataProtectionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*sns.GetDataProtectionPolicyInput) *sns.GetDataProtectionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.GetDataProtectionPolicyOutput) + } + } + + return r0, r1 +} + +// GetDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeSNS) GetDataProtectionPolicyWithContext(_a0 context.Context, _a1 *sns.GetDataProtectionPolicyInput, _a2 ...request.Option) (*sns.GetDataProtectionPolicyOutput, error) { + _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 *sns.GetDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetDataProtectionPolicyInput, ...request.Option) (*sns.GetDataProtectionPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetDataProtectionPolicyInput, ...request.Option) *sns.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.GetDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sns.GetDataProtectionPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetEndpointAttributes provides a mock function with given fields: _a0 func (_m *MockFakeSNS) GetEndpointAttributes(_a0 *sns.GetEndpointAttributesInput) (*sns.GetEndpointAttributesOutput, error) { ret := _m.Called(_a0) var r0 *sns.GetEndpointAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetEndpointAttributesInput) (*sns.GetEndpointAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetEndpointAttributesInput) *sns.GetEndpointAttributesOutput); ok { r0 = rf(_a0) } else { @@ -887,7 +1077,6 @@ func (_m *MockFakeSNS) GetEndpointAttributes(_a0 *sns.GetEndpointAttributesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetEndpointAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -902,6 +1091,10 @@ func (_m *MockFakeSNS) GetEndpointAttributesRequest(_a0 *sns.GetEndpointAttribut ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetEndpointAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.GetEndpointAttributesInput) (*request.Request, *sns.GetEndpointAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetEndpointAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -910,7 +1103,6 @@ func (_m *MockFakeSNS) GetEndpointAttributesRequest(_a0 *sns.GetEndpointAttribut } } - var r1 *sns.GetEndpointAttributesOutput if rf, ok := ret.Get(1).(func(*sns.GetEndpointAttributesInput) *sns.GetEndpointAttributesOutput); ok { r1 = rf(_a0) } else { @@ -934,6 +1126,10 @@ func (_m *MockFakeSNS) GetEndpointAttributesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *sns.GetEndpointAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetEndpointAttributesInput, ...request.Option) (*sns.GetEndpointAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetEndpointAttributesInput, ...request.Option) *sns.GetEndpointAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -942,7 +1138,6 @@ func (_m *MockFakeSNS) GetEndpointAttributesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetEndpointAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -957,6 +1152,10 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributes(_a0 *sns.GetPlatformAppl ret := _m.Called(_a0) var r0 *sns.GetPlatformApplicationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetPlatformApplicationAttributesInput) (*sns.GetPlatformApplicationAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetPlatformApplicationAttributesInput) *sns.GetPlatformApplicationAttributesOutput); ok { r0 = rf(_a0) } else { @@ -965,7 +1164,6 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributes(_a0 *sns.GetPlatformAppl } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetPlatformApplicationAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -980,6 +1178,10 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributesRequest(_a0 *sns.GetPlatf ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetPlatformApplicationAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.GetPlatformApplicationAttributesInput) (*request.Request, *sns.GetPlatformApplicationAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetPlatformApplicationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -988,7 +1190,6 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributesRequest(_a0 *sns.GetPlatf } } - var r1 *sns.GetPlatformApplicationAttributesOutput if rf, ok := ret.Get(1).(func(*sns.GetPlatformApplicationAttributesInput) *sns.GetPlatformApplicationAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1012,6 +1213,10 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *sns.GetPlatformApplicationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetPlatformApplicationAttributesInput, ...request.Option) (*sns.GetPlatformApplicationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetPlatformApplicationAttributesInput, ...request.Option) *sns.GetPlatformApplicationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1020,7 +1225,6 @@ func (_m *MockFakeSNS) GetPlatformApplicationAttributesWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetPlatformApplicationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1035,6 +1239,10 @@ func (_m *MockFakeSNS) GetSMSAttributes(_a0 *sns.GetSMSAttributesInput) (*sns.Ge ret := _m.Called(_a0) var r0 *sns.GetSMSAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetSMSAttributesInput) (*sns.GetSMSAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSMSAttributesInput) *sns.GetSMSAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1043,7 +1251,6 @@ func (_m *MockFakeSNS) GetSMSAttributes(_a0 *sns.GetSMSAttributesInput) (*sns.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetSMSAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1058,6 +1265,10 @@ func (_m *MockFakeSNS) GetSMSAttributesRequest(_a0 *sns.GetSMSAttributesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetSMSAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.GetSMSAttributesInput) (*request.Request, *sns.GetSMSAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSMSAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1066,7 +1277,6 @@ func (_m *MockFakeSNS) GetSMSAttributesRequest(_a0 *sns.GetSMSAttributesInput) ( } } - var r1 *sns.GetSMSAttributesOutput if rf, ok := ret.Get(1).(func(*sns.GetSMSAttributesInput) *sns.GetSMSAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1090,6 +1300,10 @@ func (_m *MockFakeSNS) GetSMSAttributesWithContext(_a0 context.Context, _a1 *sns ret := _m.Called(_ca...) var r0 *sns.GetSMSAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSMSAttributesInput, ...request.Option) (*sns.GetSMSAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSMSAttributesInput, ...request.Option) *sns.GetSMSAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1098,7 +1312,6 @@ func (_m *MockFakeSNS) GetSMSAttributesWithContext(_a0 context.Context, _a1 *sns } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetSMSAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1113,6 +1326,10 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatus(_a0 *sns.GetSMSSandboxAccountS ret := _m.Called(_a0) var r0 *sns.GetSMSSandboxAccountStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) (*sns.GetSMSSandboxAccountStatusOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) *sns.GetSMSSandboxAccountStatusOutput); ok { r0 = rf(_a0) } else { @@ -1121,7 +1338,6 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatus(_a0 *sns.GetSMSSandboxAccountS } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetSMSSandboxAccountStatusInput) error); ok { r1 = rf(_a0) } else { @@ -1136,6 +1352,10 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatusRequest(_a0 *sns.GetSMSSandboxA ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetSMSSandboxAccountStatusOutput + if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) (*request.Request, *sns.GetSMSSandboxAccountStatusOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSMSSandboxAccountStatusInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1144,7 +1364,6 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatusRequest(_a0 *sns.GetSMSSandboxA } } - var r1 *sns.GetSMSSandboxAccountStatusOutput if rf, ok := ret.Get(1).(func(*sns.GetSMSSandboxAccountStatusInput) *sns.GetSMSSandboxAccountStatusOutput); ok { r1 = rf(_a0) } else { @@ -1168,6 +1387,10 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatusWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *sns.GetSMSSandboxAccountStatusOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSMSSandboxAccountStatusInput, ...request.Option) (*sns.GetSMSSandboxAccountStatusOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSMSSandboxAccountStatusInput, ...request.Option) *sns.GetSMSSandboxAccountStatusOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1176,7 +1399,6 @@ func (_m *MockFakeSNS) GetSMSSandboxAccountStatusWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetSMSSandboxAccountStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1191,6 +1413,10 @@ func (_m *MockFakeSNS) GetSubscriptionAttributes(_a0 *sns.GetSubscriptionAttribu ret := _m.Called(_a0) var r0 *sns.GetSubscriptionAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetSubscriptionAttributesInput) (*sns.GetSubscriptionAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSubscriptionAttributesInput) *sns.GetSubscriptionAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1199,7 +1425,6 @@ func (_m *MockFakeSNS) GetSubscriptionAttributes(_a0 *sns.GetSubscriptionAttribu } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetSubscriptionAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1214,6 +1439,10 @@ func (_m *MockFakeSNS) GetSubscriptionAttributesRequest(_a0 *sns.GetSubscription ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetSubscriptionAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.GetSubscriptionAttributesInput) (*request.Request, *sns.GetSubscriptionAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetSubscriptionAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1222,7 +1451,6 @@ func (_m *MockFakeSNS) GetSubscriptionAttributesRequest(_a0 *sns.GetSubscription } } - var r1 *sns.GetSubscriptionAttributesOutput if rf, ok := ret.Get(1).(func(*sns.GetSubscriptionAttributesInput) *sns.GetSubscriptionAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1246,6 +1474,10 @@ func (_m *MockFakeSNS) GetSubscriptionAttributesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.GetSubscriptionAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSubscriptionAttributesInput, ...request.Option) (*sns.GetSubscriptionAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetSubscriptionAttributesInput, ...request.Option) *sns.GetSubscriptionAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1254,7 +1486,6 @@ func (_m *MockFakeSNS) GetSubscriptionAttributesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetSubscriptionAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1269,6 +1500,10 @@ func (_m *MockFakeSNS) GetTopicAttributes(_a0 *sns.GetTopicAttributesInput) (*sn ret := _m.Called(_a0) var r0 *sns.GetTopicAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.GetTopicAttributesInput) (*sns.GetTopicAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetTopicAttributesInput) *sns.GetTopicAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1277,7 +1512,6 @@ func (_m *MockFakeSNS) GetTopicAttributes(_a0 *sns.GetTopicAttributesInput) (*sn } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.GetTopicAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1292,6 +1526,10 @@ func (_m *MockFakeSNS) GetTopicAttributesRequest(_a0 *sns.GetTopicAttributesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.GetTopicAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.GetTopicAttributesInput) (*request.Request, *sns.GetTopicAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.GetTopicAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1300,7 +1538,6 @@ func (_m *MockFakeSNS) GetTopicAttributesRequest(_a0 *sns.GetTopicAttributesInpu } } - var r1 *sns.GetTopicAttributesOutput if rf, ok := ret.Get(1).(func(*sns.GetTopicAttributesInput) *sns.GetTopicAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1324,6 +1561,10 @@ func (_m *MockFakeSNS) GetTopicAttributesWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *sns.GetTopicAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.GetTopicAttributesInput, ...request.Option) (*sns.GetTopicAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.GetTopicAttributesInput, ...request.Option) *sns.GetTopicAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1332,7 +1573,6 @@ func (_m *MockFakeSNS) GetTopicAttributesWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.GetTopicAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1347,6 +1587,10 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplication(_a0 *sns.ListEndpoints ret := _m.Called(_a0) var r0 *sns.ListEndpointsByPlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListEndpointsByPlatformApplicationInput) (*sns.ListEndpointsByPlatformApplicationOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListEndpointsByPlatformApplicationInput) *sns.ListEndpointsByPlatformApplicationOutput); ok { r0 = rf(_a0) } else { @@ -1355,7 +1599,6 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplication(_a0 *sns.ListEndpoints } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListEndpointsByPlatformApplicationInput) error); ok { r1 = rf(_a0) } else { @@ -1405,6 +1648,10 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplicationRequest(_a0 *sns.ListEn ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListEndpointsByPlatformApplicationOutput + if rf, ok := ret.Get(0).(func(*sns.ListEndpointsByPlatformApplicationInput) (*request.Request, *sns.ListEndpointsByPlatformApplicationOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListEndpointsByPlatformApplicationInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1413,7 +1660,6 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplicationRequest(_a0 *sns.ListEn } } - var r1 *sns.ListEndpointsByPlatformApplicationOutput if rf, ok := ret.Get(1).(func(*sns.ListEndpointsByPlatformApplicationInput) *sns.ListEndpointsByPlatformApplicationOutput); ok { r1 = rf(_a0) } else { @@ -1437,6 +1683,10 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplicationWithContext(_a0 context ret := _m.Called(_ca...) var r0 *sns.ListEndpointsByPlatformApplicationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListEndpointsByPlatformApplicationInput, ...request.Option) (*sns.ListEndpointsByPlatformApplicationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListEndpointsByPlatformApplicationInput, ...request.Option) *sns.ListEndpointsByPlatformApplicationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1445,7 +1695,6 @@ func (_m *MockFakeSNS) ListEndpointsByPlatformApplicationWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListEndpointsByPlatformApplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1460,6 +1709,10 @@ func (_m *MockFakeSNS) ListOriginationNumbers(_a0 *sns.ListOriginationNumbersInp ret := _m.Called(_a0) var r0 *sns.ListOriginationNumbersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) (*sns.ListOriginationNumbersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) *sns.ListOriginationNumbersOutput); ok { r0 = rf(_a0) } else { @@ -1468,7 +1721,6 @@ func (_m *MockFakeSNS) ListOriginationNumbers(_a0 *sns.ListOriginationNumbersInp } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListOriginationNumbersInput) error); ok { r1 = rf(_a0) } else { @@ -1518,6 +1770,10 @@ func (_m *MockFakeSNS) ListOriginationNumbersRequest(_a0 *sns.ListOriginationNum ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListOriginationNumbersOutput + if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) (*request.Request, *sns.ListOriginationNumbersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListOriginationNumbersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1526,7 +1782,6 @@ func (_m *MockFakeSNS) ListOriginationNumbersRequest(_a0 *sns.ListOriginationNum } } - var r1 *sns.ListOriginationNumbersOutput if rf, ok := ret.Get(1).(func(*sns.ListOriginationNumbersInput) *sns.ListOriginationNumbersOutput); ok { r1 = rf(_a0) } else { @@ -1550,6 +1805,10 @@ func (_m *MockFakeSNS) ListOriginationNumbersWithContext(_a0 context.Context, _a ret := _m.Called(_ca...) var r0 *sns.ListOriginationNumbersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListOriginationNumbersInput, ...request.Option) (*sns.ListOriginationNumbersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListOriginationNumbersInput, ...request.Option) *sns.ListOriginationNumbersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1558,7 +1817,6 @@ func (_m *MockFakeSNS) ListOriginationNumbersWithContext(_a0 context.Context, _a } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListOriginationNumbersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1573,6 +1831,10 @@ func (_m *MockFakeSNS) ListPhoneNumbersOptedOut(_a0 *sns.ListPhoneNumbersOptedOu ret := _m.Called(_a0) var r0 *sns.ListPhoneNumbersOptedOutOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) (*sns.ListPhoneNumbersOptedOutOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) *sns.ListPhoneNumbersOptedOutOutput); ok { r0 = rf(_a0) } else { @@ -1581,7 +1843,6 @@ func (_m *MockFakeSNS) ListPhoneNumbersOptedOut(_a0 *sns.ListPhoneNumbersOptedOu } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) error); ok { r1 = rf(_a0) } else { @@ -1591,25 +1852,63 @@ func (_m *MockFakeSNS) ListPhoneNumbersOptedOut(_a0 *sns.ListPhoneNumbersOptedOu return r0, r1 } -// ListPhoneNumbersOptedOutRequest provides a mock function with given fields: _a0 -func (_m *MockFakeSNS) ListPhoneNumbersOptedOutRequest(_a0 *sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput) { - ret := _m.Called(_a0) +// ListPhoneNumbersOptedOutPages provides a mock function with given fields: _a0, _a1 +func (_m *MockFakeSNS) ListPhoneNumbersOptedOutPages(_a0 *sns.ListPhoneNumbersOptedOutInput, _a1 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) - var r0 *request.Request - if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) *request.Request); ok { - r0 = rf(_a0) + var r0 error + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput, func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } + r0 = ret.Error(0) } - var r1 *sns.ListPhoneNumbersOptedOutOutput - if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) *sns.ListPhoneNumbersOptedOutOutput); ok { - r1 = rf(_a0) - } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*sns.ListPhoneNumbersOptedOutOutput) + return r0 +} + +// ListPhoneNumbersOptedOutPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockFakeSNS) ListPhoneNumbersOptedOutPagesWithContext(_a0 context.Context, _a1 *sns.ListPhoneNumbersOptedOutInput, _a2 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool, _a3 ...request.Option) error { + _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, *sns.ListPhoneNumbersOptedOutInput, func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListPhoneNumbersOptedOutRequest provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) ListPhoneNumbersOptedOutRequest(_a0 *sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *sns.ListPhoneNumbersOptedOutOutput + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.ListPhoneNumbersOptedOutInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*sns.ListPhoneNumbersOptedOutInput) *sns.ListPhoneNumbersOptedOutOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.ListPhoneNumbersOptedOutOutput) } } @@ -1628,6 +1927,10 @@ func (_m *MockFakeSNS) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.ListPhoneNumbersOptedOutOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) (*sns.ListPhoneNumbersOptedOutOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) *sns.ListPhoneNumbersOptedOutOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1636,7 +1939,6 @@ func (_m *MockFakeSNS) ListPhoneNumbersOptedOutWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPhoneNumbersOptedOutInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1651,6 +1953,10 @@ func (_m *MockFakeSNS) ListPlatformApplications(_a0 *sns.ListPlatformApplication ret := _m.Called(_a0) var r0 *sns.ListPlatformApplicationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) (*sns.ListPlatformApplicationsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { r0 = rf(_a0) } else { @@ -1659,7 +1965,6 @@ func (_m *MockFakeSNS) ListPlatformApplications(_a0 *sns.ListPlatformApplication } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) error); ok { r1 = rf(_a0) } else { @@ -1709,6 +2014,10 @@ func (_m *MockFakeSNS) ListPlatformApplicationsRequest(_a0 *sns.ListPlatformAppl ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListPlatformApplicationsOutput + if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) (*request.Request, *sns.ListPlatformApplicationsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListPlatformApplicationsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1717,7 +2026,6 @@ func (_m *MockFakeSNS) ListPlatformApplicationsRequest(_a0 *sns.ListPlatformAppl } } - var r1 *sns.ListPlatformApplicationsOutput if rf, ok := ret.Get(1).(func(*sns.ListPlatformApplicationsInput) *sns.ListPlatformApplicationsOutput); ok { r1 = rf(_a0) } else { @@ -1741,6 +2049,10 @@ func (_m *MockFakeSNS) ListPlatformApplicationsWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.ListPlatformApplicationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) (*sns.ListPlatformApplicationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) *sns.ListPlatformApplicationsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1749,7 +2061,6 @@ func (_m *MockFakeSNS) ListPlatformApplicationsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListPlatformApplicationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1764,6 +2075,10 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbers(_a0 *sns.ListSMSSandboxPhoneNu ret := _m.Called(_a0) var r0 *sns.ListSMSSandboxPhoneNumbersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) (*sns.ListSMSSandboxPhoneNumbersOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r0 = rf(_a0) } else { @@ -1772,7 +2087,6 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbers(_a0 *sns.ListSMSSandboxPhoneNu } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListSMSSandboxPhoneNumbersInput) error); ok { r1 = rf(_a0) } else { @@ -1822,6 +2136,10 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbersRequest(_a0 *sns.ListSMSSandbox ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListSMSSandboxPhoneNumbersOutput + if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) (*request.Request, *sns.ListSMSSandboxPhoneNumbersOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSMSSandboxPhoneNumbersInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1830,7 +2148,6 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbersRequest(_a0 *sns.ListSMSSandbox } } - var r1 *sns.ListSMSSandboxPhoneNumbersOutput if rf, ok := ret.Get(1).(func(*sns.ListSMSSandboxPhoneNumbersInput) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r1 = rf(_a0) } else { @@ -1854,6 +2171,10 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbersWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *sns.ListSMSSandboxPhoneNumbersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, ...request.Option) (*sns.ListSMSSandboxPhoneNumbersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, ...request.Option) *sns.ListSMSSandboxPhoneNumbersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1862,7 +2183,6 @@ func (_m *MockFakeSNS) ListSMSSandboxPhoneNumbersWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListSMSSandboxPhoneNumbersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1877,6 +2197,10 @@ func (_m *MockFakeSNS) ListSubscriptions(_a0 *sns.ListSubscriptionsInput) (*sns. ret := _m.Called(_a0) var r0 *sns.ListSubscriptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsInput) (*sns.ListSubscriptionsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsInput) *sns.ListSubscriptionsOutput); ok { r0 = rf(_a0) } else { @@ -1885,7 +2209,6 @@ func (_m *MockFakeSNS) ListSubscriptions(_a0 *sns.ListSubscriptionsInput) (*sns. } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListSubscriptionsInput) error); ok { r1 = rf(_a0) } else { @@ -1900,6 +2223,10 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopic(_a0 *sns.ListSubscriptionsByTopi ret := _m.Called(_a0) var r0 *sns.ListSubscriptionsByTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsByTopicInput) (*sns.ListSubscriptionsByTopicOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsByTopicInput) *sns.ListSubscriptionsByTopicOutput); ok { r0 = rf(_a0) } else { @@ -1908,7 +2235,6 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopic(_a0 *sns.ListSubscriptionsByTopi } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListSubscriptionsByTopicInput) error); ok { r1 = rf(_a0) } else { @@ -1958,6 +2284,10 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopicRequest(_a0 *sns.ListSubscription ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListSubscriptionsByTopicOutput + if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsByTopicInput) (*request.Request, *sns.ListSubscriptionsByTopicOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsByTopicInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1966,7 +2296,6 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopicRequest(_a0 *sns.ListSubscription } } - var r1 *sns.ListSubscriptionsByTopicOutput if rf, ok := ret.Get(1).(func(*sns.ListSubscriptionsByTopicInput) *sns.ListSubscriptionsByTopicOutput); ok { r1 = rf(_a0) } else { @@ -1990,6 +2319,10 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopicWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.ListSubscriptionsByTopicOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSubscriptionsByTopicInput, ...request.Option) (*sns.ListSubscriptionsByTopicOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSubscriptionsByTopicInput, ...request.Option) *sns.ListSubscriptionsByTopicOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1998,7 +2331,6 @@ func (_m *MockFakeSNS) ListSubscriptionsByTopicWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListSubscriptionsByTopicInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2048,6 +2380,10 @@ func (_m *MockFakeSNS) ListSubscriptionsRequest(_a0 *sns.ListSubscriptionsInput) ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListSubscriptionsOutput + if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsInput) (*request.Request, *sns.ListSubscriptionsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListSubscriptionsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2056,7 +2392,6 @@ func (_m *MockFakeSNS) ListSubscriptionsRequest(_a0 *sns.ListSubscriptionsInput) } } - var r1 *sns.ListSubscriptionsOutput if rf, ok := ret.Get(1).(func(*sns.ListSubscriptionsInput) *sns.ListSubscriptionsOutput); ok { r1 = rf(_a0) } else { @@ -2080,6 +2415,10 @@ func (_m *MockFakeSNS) ListSubscriptionsWithContext(_a0 context.Context, _a1 *sn ret := _m.Called(_ca...) var r0 *sns.ListSubscriptionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSubscriptionsInput, ...request.Option) (*sns.ListSubscriptionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListSubscriptionsInput, ...request.Option) *sns.ListSubscriptionsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2088,7 +2427,6 @@ func (_m *MockFakeSNS) ListSubscriptionsWithContext(_a0 context.Context, _a1 *sn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListSubscriptionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2103,6 +2441,10 @@ func (_m *MockFakeSNS) ListTagsForResource(_a0 *sns.ListTagsForResourceInput) (* ret := _m.Called(_a0) var r0 *sns.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListTagsForResourceInput) (*sns.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListTagsForResourceInput) *sns.ListTagsForResourceOutput); ok { r0 = rf(_a0) } else { @@ -2111,7 +2453,6 @@ func (_m *MockFakeSNS) ListTagsForResource(_a0 *sns.ListTagsForResourceInput) (* } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListTagsForResourceInput) error); ok { r1 = rf(_a0) } else { @@ -2126,6 +2467,10 @@ func (_m *MockFakeSNS) ListTagsForResourceRequest(_a0 *sns.ListTagsForResourceIn ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*sns.ListTagsForResourceInput) (*request.Request, *sns.ListTagsForResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2134,7 +2479,6 @@ func (_m *MockFakeSNS) ListTagsForResourceRequest(_a0 *sns.ListTagsForResourceIn } } - var r1 *sns.ListTagsForResourceOutput if rf, ok := ret.Get(1).(func(*sns.ListTagsForResourceInput) *sns.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { @@ -2158,6 +2502,10 @@ func (_m *MockFakeSNS) ListTagsForResourceWithContext(_a0 context.Context, _a1 * ret := _m.Called(_ca...) var r0 *sns.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListTagsForResourceInput, ...request.Option) (*sns.ListTagsForResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListTagsForResourceInput, ...request.Option) *sns.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2166,7 +2514,6 @@ func (_m *MockFakeSNS) ListTagsForResourceWithContext(_a0 context.Context, _a1 * } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2181,6 +2528,10 @@ func (_m *MockFakeSNS) ListTopics(_a0 *sns.ListTopicsInput) (*sns.ListTopicsOutp ret := _m.Called(_a0) var r0 *sns.ListTopicsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.ListTopicsInput) (*sns.ListTopicsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListTopicsInput) *sns.ListTopicsOutput); ok { r0 = rf(_a0) } else { @@ -2189,7 +2540,6 @@ func (_m *MockFakeSNS) ListTopics(_a0 *sns.ListTopicsInput) (*sns.ListTopicsOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.ListTopicsInput) error); ok { r1 = rf(_a0) } else { @@ -2239,6 +2589,10 @@ func (_m *MockFakeSNS) ListTopicsRequest(_a0 *sns.ListTopicsInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.ListTopicsOutput + if rf, ok := ret.Get(0).(func(*sns.ListTopicsInput) (*request.Request, *sns.ListTopicsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.ListTopicsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2247,7 +2601,6 @@ func (_m *MockFakeSNS) ListTopicsRequest(_a0 *sns.ListTopicsInput) (*request.Req } } - var r1 *sns.ListTopicsOutput if rf, ok := ret.Get(1).(func(*sns.ListTopicsInput) *sns.ListTopicsOutput); ok { r1 = rf(_a0) } else { @@ -2271,6 +2624,10 @@ func (_m *MockFakeSNS) ListTopicsWithContext(_a0 context.Context, _a1 *sns.ListT ret := _m.Called(_ca...) var r0 *sns.ListTopicsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.ListTopicsInput, ...request.Option) (*sns.ListTopicsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.ListTopicsInput, ...request.Option) *sns.ListTopicsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2279,7 +2636,6 @@ func (_m *MockFakeSNS) ListTopicsWithContext(_a0 context.Context, _a1 *sns.ListT } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.ListTopicsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2294,6 +2650,10 @@ func (_m *MockFakeSNS) OptInPhoneNumber(_a0 *sns.OptInPhoneNumberInput) (*sns.Op ret := _m.Called(_a0) var r0 *sns.OptInPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.OptInPhoneNumberInput) (*sns.OptInPhoneNumberOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.OptInPhoneNumberInput) *sns.OptInPhoneNumberOutput); ok { r0 = rf(_a0) } else { @@ -2302,7 +2662,6 @@ func (_m *MockFakeSNS) OptInPhoneNumber(_a0 *sns.OptInPhoneNumberInput) (*sns.Op } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.OptInPhoneNumberInput) error); ok { r1 = rf(_a0) } else { @@ -2317,6 +2676,10 @@ func (_m *MockFakeSNS) OptInPhoneNumberRequest(_a0 *sns.OptInPhoneNumberInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.OptInPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.OptInPhoneNumberInput) (*request.Request, *sns.OptInPhoneNumberOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.OptInPhoneNumberInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2325,7 +2688,6 @@ func (_m *MockFakeSNS) OptInPhoneNumberRequest(_a0 *sns.OptInPhoneNumberInput) ( } } - var r1 *sns.OptInPhoneNumberOutput if rf, ok := ret.Get(1).(func(*sns.OptInPhoneNumberInput) *sns.OptInPhoneNumberOutput); ok { r1 = rf(_a0) } else { @@ -2349,6 +2711,10 @@ func (_m *MockFakeSNS) OptInPhoneNumberWithContext(_a0 context.Context, _a1 *sns ret := _m.Called(_ca...) var r0 *sns.OptInPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.OptInPhoneNumberInput, ...request.Option) (*sns.OptInPhoneNumberOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.OptInPhoneNumberInput, ...request.Option) *sns.OptInPhoneNumberOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2357,7 +2723,6 @@ func (_m *MockFakeSNS) OptInPhoneNumberWithContext(_a0 context.Context, _a1 *sns } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.OptInPhoneNumberInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2372,6 +2737,10 @@ func (_m *MockFakeSNS) Publish(_a0 *sns.PublishInput) (*sns.PublishOutput, error ret := _m.Called(_a0) var r0 *sns.PublishOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.PublishInput) (*sns.PublishOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.PublishInput) *sns.PublishOutput); ok { r0 = rf(_a0) } else { @@ -2380,7 +2749,6 @@ func (_m *MockFakeSNS) Publish(_a0 *sns.PublishInput) (*sns.PublishOutput, error } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.PublishInput) error); ok { r1 = rf(_a0) } else { @@ -2390,11 +2758,102 @@ func (_m *MockFakeSNS) Publish(_a0 *sns.PublishInput) (*sns.PublishOutput, error return r0, r1 } +// PublishBatch provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) PublishBatch(_a0 *sns.PublishBatchInput) (*sns.PublishBatchOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.PublishBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) (*sns.PublishBatchOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) *sns.PublishBatchOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PublishBatchOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sns.PublishBatchInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PublishBatchRequest provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) PublishBatchRequest(_a0 *sns.PublishBatchInput) (*request.Request, *sns.PublishBatchOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *sns.PublishBatchOutput + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) (*request.Request, *sns.PublishBatchOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.PublishBatchInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*sns.PublishBatchInput) *sns.PublishBatchOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.PublishBatchOutput) + } + } + + return r0, r1 +} + +// PublishBatchWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeSNS) PublishBatchWithContext(_a0 context.Context, _a1 *sns.PublishBatchInput, _a2 ...request.Option) (*sns.PublishBatchOutput, error) { + _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 *sns.PublishBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.PublishBatchInput, ...request.Option) (*sns.PublishBatchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sns.PublishBatchInput, ...request.Option) *sns.PublishBatchOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PublishBatchOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sns.PublishBatchInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // PublishRequest provides a mock function with given fields: _a0 func (_m *MockFakeSNS) PublishRequest(_a0 *sns.PublishInput) (*request.Request, *sns.PublishOutput) { ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.PublishOutput + if rf, ok := ret.Get(0).(func(*sns.PublishInput) (*request.Request, *sns.PublishOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.PublishInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2403,7 +2862,6 @@ func (_m *MockFakeSNS) PublishRequest(_a0 *sns.PublishInput) (*request.Request, } } - var r1 *sns.PublishOutput if rf, ok := ret.Get(1).(func(*sns.PublishInput) *sns.PublishOutput); ok { r1 = rf(_a0) } else { @@ -2427,6 +2885,10 @@ func (_m *MockFakeSNS) PublishWithContext(_a0 context.Context, _a1 *sns.PublishI ret := _m.Called(_ca...) var r0 *sns.PublishOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.PublishInput, ...request.Option) (*sns.PublishOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.PublishInput, ...request.Option) *sns.PublishOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2435,7 +2897,6 @@ func (_m *MockFakeSNS) PublishWithContext(_a0 context.Context, _a1 *sns.PublishI } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.PublishInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2445,11 +2906,102 @@ func (_m *MockFakeSNS) PublishWithContext(_a0 context.Context, _a1 *sns.PublishI return r0, r1 } +// PutDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) PutDataProtectionPolicy(_a0 *sns.PutDataProtectionPolicyInput) (*sns.PutDataProtectionPolicyOutput, error) { + ret := _m.Called(_a0) + + var r0 *sns.PutDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) (*sns.PutDataProtectionPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) *sns.PutDataProtectionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PutDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sns.PutDataProtectionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// PutDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockFakeSNS) PutDataProtectionPolicyRequest(_a0 *sns.PutDataProtectionPolicyInput) (*request.Request, *sns.PutDataProtectionPolicyOutput) { + ret := _m.Called(_a0) + + var r0 *request.Request + var r1 *sns.PutDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) (*request.Request, *sns.PutDataProtectionPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sns.PutDataProtectionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*sns.PutDataProtectionPolicyInput) *sns.PutDataProtectionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sns.PutDataProtectionPolicyOutput) + } + } + + return r0, r1 +} + +// PutDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockFakeSNS) PutDataProtectionPolicyWithContext(_a0 context.Context, _a1 *sns.PutDataProtectionPolicyInput, _a2 ...request.Option) (*sns.PutDataProtectionPolicyOutput, error) { + _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 *sns.PutDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.PutDataProtectionPolicyInput, ...request.Option) (*sns.PutDataProtectionPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sns.PutDataProtectionPolicyInput, ...request.Option) *sns.PutDataProtectionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sns.PutDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sns.PutDataProtectionPolicyInput, ...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 func (_m *MockFakeSNS) RemovePermission(_a0 *sns.RemovePermissionInput) (*sns.RemovePermissionOutput, error) { ret := _m.Called(_a0) var r0 *sns.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.RemovePermissionInput) (*sns.RemovePermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.RemovePermissionInput) *sns.RemovePermissionOutput); ok { r0 = rf(_a0) } else { @@ -2458,7 +3010,6 @@ func (_m *MockFakeSNS) RemovePermission(_a0 *sns.RemovePermissionInput) (*sns.Re } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.RemovePermissionInput) error); ok { r1 = rf(_a0) } else { @@ -2473,6 +3024,10 @@ func (_m *MockFakeSNS) RemovePermissionRequest(_a0 *sns.RemovePermissionInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.RemovePermissionOutput + if rf, ok := ret.Get(0).(func(*sns.RemovePermissionInput) (*request.Request, *sns.RemovePermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.RemovePermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2481,7 +3036,6 @@ func (_m *MockFakeSNS) RemovePermissionRequest(_a0 *sns.RemovePermissionInput) ( } } - var r1 *sns.RemovePermissionOutput if rf, ok := ret.Get(1).(func(*sns.RemovePermissionInput) *sns.RemovePermissionOutput); ok { r1 = rf(_a0) } else { @@ -2505,6 +3059,10 @@ func (_m *MockFakeSNS) RemovePermissionWithContext(_a0 context.Context, _a1 *sns ret := _m.Called(_ca...) var r0 *sns.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.RemovePermissionInput, ...request.Option) (*sns.RemovePermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.RemovePermissionInput, ...request.Option) *sns.RemovePermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2513,7 +3071,6 @@ func (_m *MockFakeSNS) RemovePermissionWithContext(_a0 context.Context, _a1 *sns } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.RemovePermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2528,6 +3085,10 @@ func (_m *MockFakeSNS) SetEndpointAttributes(_a0 *sns.SetEndpointAttributesInput ret := _m.Called(_a0) var r0 *sns.SetEndpointAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SetEndpointAttributesInput) (*sns.SetEndpointAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetEndpointAttributesInput) *sns.SetEndpointAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2536,7 +3097,6 @@ func (_m *MockFakeSNS) SetEndpointAttributes(_a0 *sns.SetEndpointAttributesInput } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SetEndpointAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2551,6 +3111,10 @@ func (_m *MockFakeSNS) SetEndpointAttributesRequest(_a0 *sns.SetEndpointAttribut ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SetEndpointAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.SetEndpointAttributesInput) (*request.Request, *sns.SetEndpointAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetEndpointAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2559,7 +3123,6 @@ func (_m *MockFakeSNS) SetEndpointAttributesRequest(_a0 *sns.SetEndpointAttribut } } - var r1 *sns.SetEndpointAttributesOutput if rf, ok := ret.Get(1).(func(*sns.SetEndpointAttributesInput) *sns.SetEndpointAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2583,6 +3146,10 @@ func (_m *MockFakeSNS) SetEndpointAttributesWithContext(_a0 context.Context, _a1 ret := _m.Called(_ca...) var r0 *sns.SetEndpointAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SetEndpointAttributesInput, ...request.Option) (*sns.SetEndpointAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SetEndpointAttributesInput, ...request.Option) *sns.SetEndpointAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2591,7 +3158,6 @@ func (_m *MockFakeSNS) SetEndpointAttributesWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SetEndpointAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2606,6 +3172,10 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributes(_a0 *sns.SetPlatformAppl ret := _m.Called(_a0) var r0 *sns.SetPlatformApplicationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SetPlatformApplicationAttributesInput) (*sns.SetPlatformApplicationAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetPlatformApplicationAttributesInput) *sns.SetPlatformApplicationAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2614,7 +3184,6 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributes(_a0 *sns.SetPlatformAppl } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SetPlatformApplicationAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2629,6 +3198,10 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributesRequest(_a0 *sns.SetPlatf ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SetPlatformApplicationAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.SetPlatformApplicationAttributesInput) (*request.Request, *sns.SetPlatformApplicationAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetPlatformApplicationAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2637,7 +3210,6 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributesRequest(_a0 *sns.SetPlatf } } - var r1 *sns.SetPlatformApplicationAttributesOutput if rf, ok := ret.Get(1).(func(*sns.SetPlatformApplicationAttributesInput) *sns.SetPlatformApplicationAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2661,6 +3233,10 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributesWithContext(_a0 context.C ret := _m.Called(_ca...) var r0 *sns.SetPlatformApplicationAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SetPlatformApplicationAttributesInput, ...request.Option) (*sns.SetPlatformApplicationAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SetPlatformApplicationAttributesInput, ...request.Option) *sns.SetPlatformApplicationAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2669,7 +3245,6 @@ func (_m *MockFakeSNS) SetPlatformApplicationAttributesWithContext(_a0 context.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SetPlatformApplicationAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2684,6 +3259,10 @@ func (_m *MockFakeSNS) SetSMSAttributes(_a0 *sns.SetSMSAttributesInput) (*sns.Se ret := _m.Called(_a0) var r0 *sns.SetSMSAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SetSMSAttributesInput) (*sns.SetSMSAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetSMSAttributesInput) *sns.SetSMSAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2692,7 +3271,6 @@ func (_m *MockFakeSNS) SetSMSAttributes(_a0 *sns.SetSMSAttributesInput) (*sns.Se } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SetSMSAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2707,6 +3285,10 @@ func (_m *MockFakeSNS) SetSMSAttributesRequest(_a0 *sns.SetSMSAttributesInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SetSMSAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.SetSMSAttributesInput) (*request.Request, *sns.SetSMSAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetSMSAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2715,7 +3297,6 @@ func (_m *MockFakeSNS) SetSMSAttributesRequest(_a0 *sns.SetSMSAttributesInput) ( } } - var r1 *sns.SetSMSAttributesOutput if rf, ok := ret.Get(1).(func(*sns.SetSMSAttributesInput) *sns.SetSMSAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2739,6 +3320,10 @@ func (_m *MockFakeSNS) SetSMSAttributesWithContext(_a0 context.Context, _a1 *sns ret := _m.Called(_ca...) var r0 *sns.SetSMSAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SetSMSAttributesInput, ...request.Option) (*sns.SetSMSAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SetSMSAttributesInput, ...request.Option) *sns.SetSMSAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2747,7 +3332,6 @@ func (_m *MockFakeSNS) SetSMSAttributesWithContext(_a0 context.Context, _a1 *sns } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SetSMSAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2762,6 +3346,10 @@ func (_m *MockFakeSNS) SetSubscriptionAttributes(_a0 *sns.SetSubscriptionAttribu ret := _m.Called(_a0) var r0 *sns.SetSubscriptionAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SetSubscriptionAttributesInput) (*sns.SetSubscriptionAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetSubscriptionAttributesInput) *sns.SetSubscriptionAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2770,7 +3358,6 @@ func (_m *MockFakeSNS) SetSubscriptionAttributes(_a0 *sns.SetSubscriptionAttribu } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SetSubscriptionAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2785,6 +3372,10 @@ func (_m *MockFakeSNS) SetSubscriptionAttributesRequest(_a0 *sns.SetSubscription ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SetSubscriptionAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.SetSubscriptionAttributesInput) (*request.Request, *sns.SetSubscriptionAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetSubscriptionAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2793,7 +3384,6 @@ func (_m *MockFakeSNS) SetSubscriptionAttributesRequest(_a0 *sns.SetSubscription } } - var r1 *sns.SetSubscriptionAttributesOutput if rf, ok := ret.Get(1).(func(*sns.SetSubscriptionAttributesInput) *sns.SetSubscriptionAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2817,6 +3407,10 @@ func (_m *MockFakeSNS) SetSubscriptionAttributesWithContext(_a0 context.Context, ret := _m.Called(_ca...) var r0 *sns.SetSubscriptionAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SetSubscriptionAttributesInput, ...request.Option) (*sns.SetSubscriptionAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SetSubscriptionAttributesInput, ...request.Option) *sns.SetSubscriptionAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2825,7 +3419,6 @@ func (_m *MockFakeSNS) SetSubscriptionAttributesWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SetSubscriptionAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2840,6 +3433,10 @@ func (_m *MockFakeSNS) SetTopicAttributes(_a0 *sns.SetTopicAttributesInput) (*sn ret := _m.Called(_a0) var r0 *sns.SetTopicAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SetTopicAttributesInput) (*sns.SetTopicAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetTopicAttributesInput) *sns.SetTopicAttributesOutput); ok { r0 = rf(_a0) } else { @@ -2848,7 +3445,6 @@ func (_m *MockFakeSNS) SetTopicAttributes(_a0 *sns.SetTopicAttributesInput) (*sn } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SetTopicAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -2863,6 +3459,10 @@ func (_m *MockFakeSNS) SetTopicAttributesRequest(_a0 *sns.SetTopicAttributesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SetTopicAttributesOutput + if rf, ok := ret.Get(0).(func(*sns.SetTopicAttributesInput) (*request.Request, *sns.SetTopicAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SetTopicAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2871,7 +3471,6 @@ func (_m *MockFakeSNS) SetTopicAttributesRequest(_a0 *sns.SetTopicAttributesInpu } } - var r1 *sns.SetTopicAttributesOutput if rf, ok := ret.Get(1).(func(*sns.SetTopicAttributesInput) *sns.SetTopicAttributesOutput); ok { r1 = rf(_a0) } else { @@ -2895,6 +3494,10 @@ func (_m *MockFakeSNS) SetTopicAttributesWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *sns.SetTopicAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SetTopicAttributesInput, ...request.Option) (*sns.SetTopicAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SetTopicAttributesInput, ...request.Option) *sns.SetTopicAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2903,7 +3506,6 @@ func (_m *MockFakeSNS) SetTopicAttributesWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SetTopicAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2918,6 +3520,10 @@ func (_m *MockFakeSNS) Subscribe(_a0 *sns.SubscribeInput) (*sns.SubscribeOutput, ret := _m.Called(_a0) var r0 *sns.SubscribeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.SubscribeInput) (*sns.SubscribeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SubscribeInput) *sns.SubscribeOutput); ok { r0 = rf(_a0) } else { @@ -2926,7 +3532,6 @@ func (_m *MockFakeSNS) Subscribe(_a0 *sns.SubscribeInput) (*sns.SubscribeOutput, } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.SubscribeInput) error); ok { r1 = rf(_a0) } else { @@ -2941,6 +3546,10 @@ func (_m *MockFakeSNS) SubscribeRequest(_a0 *sns.SubscribeInput) (*request.Reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.SubscribeOutput + if rf, ok := ret.Get(0).(func(*sns.SubscribeInput) (*request.Request, *sns.SubscribeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.SubscribeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -2949,7 +3558,6 @@ func (_m *MockFakeSNS) SubscribeRequest(_a0 *sns.SubscribeInput) (*request.Reque } } - var r1 *sns.SubscribeOutput if rf, ok := ret.Get(1).(func(*sns.SubscribeInput) *sns.SubscribeOutput); ok { r1 = rf(_a0) } else { @@ -2973,6 +3581,10 @@ func (_m *MockFakeSNS) SubscribeWithContext(_a0 context.Context, _a1 *sns.Subscr ret := _m.Called(_ca...) var r0 *sns.SubscribeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.SubscribeInput, ...request.Option) (*sns.SubscribeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.SubscribeInput, ...request.Option) *sns.SubscribeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -2981,7 +3593,6 @@ func (_m *MockFakeSNS) SubscribeWithContext(_a0 context.Context, _a1 *sns.Subscr } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.SubscribeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2996,6 +3607,10 @@ func (_m *MockFakeSNS) TagResource(_a0 *sns.TagResourceInput) (*sns.TagResourceO ret := _m.Called(_a0) var r0 *sns.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.TagResourceInput) (*sns.TagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.TagResourceInput) *sns.TagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3004,7 +3619,6 @@ func (_m *MockFakeSNS) TagResource(_a0 *sns.TagResourceInput) (*sns.TagResourceO } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.TagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3019,6 +3633,10 @@ func (_m *MockFakeSNS) TagResourceRequest(_a0 *sns.TagResourceInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.TagResourceOutput + if rf, ok := ret.Get(0).(func(*sns.TagResourceInput) (*request.Request, *sns.TagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3027,7 +3645,6 @@ func (_m *MockFakeSNS) TagResourceRequest(_a0 *sns.TagResourceInput) (*request.R } } - var r1 *sns.TagResourceOutput if rf, ok := ret.Get(1).(func(*sns.TagResourceInput) *sns.TagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3051,6 +3668,10 @@ func (_m *MockFakeSNS) TagResourceWithContext(_a0 context.Context, _a1 *sns.TagR ret := _m.Called(_ca...) var r0 *sns.TagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.TagResourceInput, ...request.Option) (*sns.TagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.TagResourceInput, ...request.Option) *sns.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3059,7 +3680,6 @@ func (_m *MockFakeSNS) TagResourceWithContext(_a0 context.Context, _a1 *sns.TagR } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3074,6 +3694,10 @@ func (_m *MockFakeSNS) Unsubscribe(_a0 *sns.UnsubscribeInput) (*sns.UnsubscribeO ret := _m.Called(_a0) var r0 *sns.UnsubscribeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.UnsubscribeInput) (*sns.UnsubscribeOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.UnsubscribeInput) *sns.UnsubscribeOutput); ok { r0 = rf(_a0) } else { @@ -3082,7 +3706,6 @@ func (_m *MockFakeSNS) Unsubscribe(_a0 *sns.UnsubscribeInput) (*sns.UnsubscribeO } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.UnsubscribeInput) error); ok { r1 = rf(_a0) } else { @@ -3097,6 +3720,10 @@ func (_m *MockFakeSNS) UnsubscribeRequest(_a0 *sns.UnsubscribeInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.UnsubscribeOutput + if rf, ok := ret.Get(0).(func(*sns.UnsubscribeInput) (*request.Request, *sns.UnsubscribeOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.UnsubscribeInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3105,7 +3732,6 @@ func (_m *MockFakeSNS) UnsubscribeRequest(_a0 *sns.UnsubscribeInput) (*request.R } } - var r1 *sns.UnsubscribeOutput if rf, ok := ret.Get(1).(func(*sns.UnsubscribeInput) *sns.UnsubscribeOutput); ok { r1 = rf(_a0) } else { @@ -3129,6 +3755,10 @@ func (_m *MockFakeSNS) UnsubscribeWithContext(_a0 context.Context, _a1 *sns.Unsu ret := _m.Called(_ca...) var r0 *sns.UnsubscribeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.UnsubscribeInput, ...request.Option) (*sns.UnsubscribeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.UnsubscribeInput, ...request.Option) *sns.UnsubscribeOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3137,7 +3767,6 @@ func (_m *MockFakeSNS) UnsubscribeWithContext(_a0 context.Context, _a1 *sns.Unsu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.UnsubscribeInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3152,6 +3781,10 @@ func (_m *MockFakeSNS) UntagResource(_a0 *sns.UntagResourceInput) (*sns.UntagRes ret := _m.Called(_a0) var r0 *sns.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.UntagResourceInput) (*sns.UntagResourceOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.UntagResourceInput) *sns.UntagResourceOutput); ok { r0 = rf(_a0) } else { @@ -3160,7 +3793,6 @@ func (_m *MockFakeSNS) UntagResource(_a0 *sns.UntagResourceInput) (*sns.UntagRes } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.UntagResourceInput) error); ok { r1 = rf(_a0) } else { @@ -3175,6 +3807,10 @@ func (_m *MockFakeSNS) UntagResourceRequest(_a0 *sns.UntagResourceInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*sns.UntagResourceInput) (*request.Request, *sns.UntagResourceOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3183,7 +3819,6 @@ func (_m *MockFakeSNS) UntagResourceRequest(_a0 *sns.UntagResourceInput) (*reque } } - var r1 *sns.UntagResourceOutput if rf, ok := ret.Get(1).(func(*sns.UntagResourceInput) *sns.UntagResourceOutput); ok { r1 = rf(_a0) } else { @@ -3207,6 +3842,10 @@ func (_m *MockFakeSNS) UntagResourceWithContext(_a0 context.Context, _a1 *sns.Un ret := _m.Called(_ca...) var r0 *sns.UntagResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.UntagResourceInput, ...request.Option) (*sns.UntagResourceOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.UntagResourceInput, ...request.Option) *sns.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3215,7 +3854,6 @@ func (_m *MockFakeSNS) UntagResourceWithContext(_a0 context.Context, _a1 *sns.Un } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3230,6 +3868,10 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumber(_a0 *sns.VerifySMSSandboxPhon ret := _m.Called(_a0) var r0 *sns.VerifySMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) (*sns.VerifySMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) *sns.VerifySMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0) } else { @@ -3238,7 +3880,6 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumber(_a0 *sns.VerifySMSSandboxPhon } } - var r1 error if rf, ok := ret.Get(1).(func(*sns.VerifySMSSandboxPhoneNumberInput) error); ok { r1 = rf(_a0) } else { @@ -3253,6 +3894,10 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumberRequest(_a0 *sns.VerifySMSSand ret := _m.Called(_a0) var r0 *request.Request + var r1 *sns.VerifySMSSandboxPhoneNumberOutput + if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) (*request.Request, *sns.VerifySMSSandboxPhoneNumberOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sns.VerifySMSSandboxPhoneNumberInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -3261,7 +3906,6 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumberRequest(_a0 *sns.VerifySMSSand } } - var r1 *sns.VerifySMSSandboxPhoneNumberOutput if rf, ok := ret.Get(1).(func(*sns.VerifySMSSandboxPhoneNumberInput) *sns.VerifySMSSandboxPhoneNumberOutput); ok { r1 = rf(_a0) } else { @@ -3285,6 +3929,10 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumberWithContext(_a0 context.Contex ret := _m.Called(_ca...) var r0 *sns.VerifySMSSandboxPhoneNumberOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sns.VerifySMSSandboxPhoneNumberInput, ...request.Option) (*sns.VerifySMSSandboxPhoneNumberOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sns.VerifySMSSandboxPhoneNumberInput, ...request.Option) *sns.VerifySMSSandboxPhoneNumberOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -3293,7 +3941,6 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumberWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sns.VerifySMSSandboxPhoneNumberInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3302,3 +3949,18 @@ func (_m *MockFakeSNS) VerifySMSSandboxPhoneNumberWithContext(_a0 context.Contex return r0, r1 } + +type mockConstructorTestingTNewMockFakeSNS interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeSNS creates a new instance of MockFakeSNS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeSNS(t mockConstructorTestingTNewMockFakeSNS) *MockFakeSNS { + mock := &MockFakeSNS{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/aws/mock_FakeSQS.go b/test/aws/mock_FakeSQS.go index 07002c27e..010d2fedc 100644 --- a/test/aws/mock_FakeSQS.go +++ b/test/aws/mock_FakeSQS.go @@ -1,4 +1,4 @@ -// Code generated by mockery v1.0.0. DO NOT EDIT. +// Code generated by mockery v2.28.1. DO NOT EDIT. package aws @@ -21,6 +21,10 @@ func (_m *MockFakeSQS) AddPermission(_a0 *sqs.AddPermissionInput) (*sqs.AddPermi ret := _m.Called(_a0) var r0 *sqs.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) (*sqs.AddPermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) *sqs.AddPermissionOutput); ok { r0 = rf(_a0) } else { @@ -29,7 +33,6 @@ func (_m *MockFakeSQS) AddPermission(_a0 *sqs.AddPermissionInput) (*sqs.AddPermi } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.AddPermissionInput) error); ok { r1 = rf(_a0) } else { @@ -44,6 +47,10 @@ func (_m *MockFakeSQS) AddPermissionRequest(_a0 *sqs.AddPermissionInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.AddPermissionOutput + if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) (*request.Request, *sqs.AddPermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.AddPermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -52,7 +59,6 @@ func (_m *MockFakeSQS) AddPermissionRequest(_a0 *sqs.AddPermissionInput) (*reque } } - var r1 *sqs.AddPermissionOutput if rf, ok := ret.Get(1).(func(*sqs.AddPermissionInput) *sqs.AddPermissionOutput); ok { r1 = rf(_a0) } else { @@ -76,6 +82,10 @@ func (_m *MockFakeSQS) AddPermissionWithContext(_a0 context.Context, _a1 *sqs.Ad ret := _m.Called(_ca...) var r0 *sqs.AddPermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.AddPermissionInput, ...request.Option) (*sqs.AddPermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.AddPermissionInput, ...request.Option) *sqs.AddPermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -84,7 +94,6 @@ func (_m *MockFakeSQS) AddPermissionWithContext(_a0 context.Context, _a1 *sqs.Ad } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.AddPermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -99,6 +108,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibility(_a0 *sqs.ChangeMessageVisibilityI ret := _m.Called(_a0) var r0 *sqs.ChangeMessageVisibilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) *sqs.ChangeMessageVisibilityOutput); ok { r0 = rf(_a0) } else { @@ -107,7 +120,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibility(_a0 *sqs.ChangeMessageVisibilityI } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityInput) error); ok { r1 = rf(_a0) } else { @@ -122,6 +134,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatch(_a0 *sqs.ChangeMessageVisibi ret := _m.Called(_a0) var r0 *sqs.ChangeMessageVisibilityBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) (*sqs.ChangeMessageVisibilityBatchOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) *sqs.ChangeMessageVisibilityBatchOutput); ok { r0 = rf(_a0) } else { @@ -130,7 +146,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatch(_a0 *sqs.ChangeMessageVisibi } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityBatchInput) error); ok { r1 = rf(_a0) } else { @@ -145,6 +160,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatchRequest(_a0 *sqs.ChangeMessag ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ChangeMessageVisibilityBatchOutput + if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) (*request.Request, *sqs.ChangeMessageVisibilityBatchOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityBatchInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -153,7 +172,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatchRequest(_a0 *sqs.ChangeMessag } } - var r1 *sqs.ChangeMessageVisibilityBatchOutput if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityBatchInput) *sqs.ChangeMessageVisibilityBatchOutput); ok { r1 = rf(_a0) } else { @@ -177,6 +195,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatchWithContext(_a0 context.Conte ret := _m.Called(_ca...) var r0 *sqs.ChangeMessageVisibilityBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityBatchInput, ...request.Option) (*sqs.ChangeMessageVisibilityBatchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityBatchInput, ...request.Option) *sqs.ChangeMessageVisibilityBatchOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -185,7 +207,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityBatchWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ChangeMessageVisibilityBatchInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -200,6 +221,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityRequest(_a0 *sqs.ChangeMessageVisi ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ChangeMessageVisibilityOutput + if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) (*request.Request, *sqs.ChangeMessageVisibilityOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ChangeMessageVisibilityInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -208,7 +233,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityRequest(_a0 *sqs.ChangeMessageVisi } } - var r1 *sqs.ChangeMessageVisibilityOutput if rf, ok := ret.Get(1).(func(*sqs.ChangeMessageVisibilityInput) *sqs.ChangeMessageVisibilityOutput); ok { r1 = rf(_a0) } else { @@ -232,6 +256,10 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityWithContext(_a0 context.Context, _ ret := _m.Called(_ca...) var r0 *sqs.ChangeMessageVisibilityOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityInput, ...request.Option) (*sqs.ChangeMessageVisibilityOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ChangeMessageVisibilityInput, ...request.Option) *sqs.ChangeMessageVisibilityOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -240,7 +268,6 @@ func (_m *MockFakeSQS) ChangeMessageVisibilityWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ChangeMessageVisibilityInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -255,6 +282,10 @@ func (_m *MockFakeSQS) CreateQueue(_a0 *sqs.CreateQueueInput) (*sqs.CreateQueueO ret := _m.Called(_a0) var r0 *sqs.CreateQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) (*sqs.CreateQueueOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) *sqs.CreateQueueOutput); ok { r0 = rf(_a0) } else { @@ -263,7 +294,6 @@ func (_m *MockFakeSQS) CreateQueue(_a0 *sqs.CreateQueueInput) (*sqs.CreateQueueO } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.CreateQueueInput) error); ok { r1 = rf(_a0) } else { @@ -278,6 +308,10 @@ func (_m *MockFakeSQS) CreateQueueRequest(_a0 *sqs.CreateQueueInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.CreateQueueOutput + if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) (*request.Request, *sqs.CreateQueueOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.CreateQueueInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -286,7 +320,6 @@ func (_m *MockFakeSQS) CreateQueueRequest(_a0 *sqs.CreateQueueInput) (*request.R } } - var r1 *sqs.CreateQueueOutput if rf, ok := ret.Get(1).(func(*sqs.CreateQueueInput) *sqs.CreateQueueOutput); ok { r1 = rf(_a0) } else { @@ -310,6 +343,10 @@ func (_m *MockFakeSQS) CreateQueueWithContext(_a0 context.Context, _a1 *sqs.Crea ret := _m.Called(_ca...) var r0 *sqs.CreateQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.CreateQueueInput, ...request.Option) (*sqs.CreateQueueOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.CreateQueueInput, ...request.Option) *sqs.CreateQueueOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -318,7 +355,6 @@ func (_m *MockFakeSQS) CreateQueueWithContext(_a0 context.Context, _a1 *sqs.Crea } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.CreateQueueInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -333,6 +369,10 @@ func (_m *MockFakeSQS) DeleteMessage(_a0 *sqs.DeleteMessageInput) (*sqs.DeleteMe ret := _m.Called(_a0) var r0 *sqs.DeleteMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) *sqs.DeleteMessageOutput); ok { r0 = rf(_a0) } else { @@ -341,7 +381,6 @@ func (_m *MockFakeSQS) DeleteMessage(_a0 *sqs.DeleteMessageInput) (*sqs.DeleteMe } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageInput) error); ok { r1 = rf(_a0) } else { @@ -356,6 +395,10 @@ func (_m *MockFakeSQS) DeleteMessageBatch(_a0 *sqs.DeleteMessageBatchInput) (*sq ret := _m.Called(_a0) var r0 *sqs.DeleteMessageBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) (*sqs.DeleteMessageBatchOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) *sqs.DeleteMessageBatchOutput); ok { r0 = rf(_a0) } else { @@ -364,7 +407,6 @@ func (_m *MockFakeSQS) DeleteMessageBatch(_a0 *sqs.DeleteMessageBatchInput) (*sq } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageBatchInput) error); ok { r1 = rf(_a0) } else { @@ -379,6 +421,10 @@ func (_m *MockFakeSQS) DeleteMessageBatchRequest(_a0 *sqs.DeleteMessageBatchInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.DeleteMessageBatchOutput + if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) (*request.Request, *sqs.DeleteMessageBatchOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageBatchInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -387,7 +433,6 @@ func (_m *MockFakeSQS) DeleteMessageBatchRequest(_a0 *sqs.DeleteMessageBatchInpu } } - var r1 *sqs.DeleteMessageBatchOutput if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageBatchInput) *sqs.DeleteMessageBatchOutput); ok { r1 = rf(_a0) } else { @@ -411,6 +456,10 @@ func (_m *MockFakeSQS) DeleteMessageBatchWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *sqs.DeleteMessageBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageBatchInput, ...request.Option) (*sqs.DeleteMessageBatchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageBatchInput, ...request.Option) *sqs.DeleteMessageBatchOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -419,7 +468,6 @@ func (_m *MockFakeSQS) DeleteMessageBatchWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteMessageBatchInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -434,6 +482,10 @@ func (_m *MockFakeSQS) DeleteMessageRequest(_a0 *sqs.DeleteMessageInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.DeleteMessageOutput + if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) (*request.Request, *sqs.DeleteMessageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteMessageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -442,7 +494,6 @@ func (_m *MockFakeSQS) DeleteMessageRequest(_a0 *sqs.DeleteMessageInput) (*reque } } - var r1 *sqs.DeleteMessageOutput if rf, ok := ret.Get(1).(func(*sqs.DeleteMessageInput) *sqs.DeleteMessageOutput); ok { r1 = rf(_a0) } else { @@ -466,6 +517,10 @@ func (_m *MockFakeSQS) DeleteMessageWithContext(_a0 context.Context, _a1 *sqs.De ret := _m.Called(_ca...) var r0 *sqs.DeleteMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageInput, ...request.Option) (*sqs.DeleteMessageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteMessageInput, ...request.Option) *sqs.DeleteMessageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -474,7 +529,6 @@ func (_m *MockFakeSQS) DeleteMessageWithContext(_a0 context.Context, _a1 *sqs.De } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteMessageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -489,6 +543,10 @@ func (_m *MockFakeSQS) DeleteQueue(_a0 *sqs.DeleteQueueInput) (*sqs.DeleteQueueO ret := _m.Called(_a0) var r0 *sqs.DeleteQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) (*sqs.DeleteQueueOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) *sqs.DeleteQueueOutput); ok { r0 = rf(_a0) } else { @@ -497,7 +555,6 @@ func (_m *MockFakeSQS) DeleteQueue(_a0 *sqs.DeleteQueueInput) (*sqs.DeleteQueueO } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.DeleteQueueInput) error); ok { r1 = rf(_a0) } else { @@ -512,6 +569,10 @@ func (_m *MockFakeSQS) DeleteQueueRequest(_a0 *sqs.DeleteQueueInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.DeleteQueueOutput + if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) (*request.Request, *sqs.DeleteQueueOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.DeleteQueueInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -520,7 +581,6 @@ func (_m *MockFakeSQS) DeleteQueueRequest(_a0 *sqs.DeleteQueueInput) (*request.R } } - var r1 *sqs.DeleteQueueOutput if rf, ok := ret.Get(1).(func(*sqs.DeleteQueueInput) *sqs.DeleteQueueOutput); ok { r1 = rf(_a0) } else { @@ -544,6 +604,10 @@ func (_m *MockFakeSQS) DeleteQueueWithContext(_a0 context.Context, _a1 *sqs.Dele ret := _m.Called(_ca...) var r0 *sqs.DeleteQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteQueueInput, ...request.Option) (*sqs.DeleteQueueOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.DeleteQueueInput, ...request.Option) *sqs.DeleteQueueOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -552,7 +616,6 @@ func (_m *MockFakeSQS) DeleteQueueWithContext(_a0 context.Context, _a1 *sqs.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.DeleteQueueInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -567,6 +630,10 @@ func (_m *MockFakeSQS) GetQueueAttributes(_a0 *sqs.GetQueueAttributesInput) (*sq ret := _m.Called(_a0) var r0 *sqs.GetQueueAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) (*sqs.GetQueueAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) *sqs.GetQueueAttributesOutput); ok { r0 = rf(_a0) } else { @@ -575,7 +642,6 @@ func (_m *MockFakeSQS) GetQueueAttributes(_a0 *sqs.GetQueueAttributesInput) (*sq } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.GetQueueAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -590,6 +656,10 @@ func (_m *MockFakeSQS) GetQueueAttributesRequest(_a0 *sqs.GetQueueAttributesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.GetQueueAttributesOutput + if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) (*request.Request, *sqs.GetQueueAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.GetQueueAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -598,7 +668,6 @@ func (_m *MockFakeSQS) GetQueueAttributesRequest(_a0 *sqs.GetQueueAttributesInpu } } - var r1 *sqs.GetQueueAttributesOutput if rf, ok := ret.Get(1).(func(*sqs.GetQueueAttributesInput) *sqs.GetQueueAttributesOutput); ok { r1 = rf(_a0) } else { @@ -622,6 +691,10 @@ func (_m *MockFakeSQS) GetQueueAttributesWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *sqs.GetQueueAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) (*sqs.GetQueueAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) *sqs.GetQueueAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -630,7 +703,6 @@ func (_m *MockFakeSQS) GetQueueAttributesWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.GetQueueAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -645,6 +717,10 @@ func (_m *MockFakeSQS) GetQueueUrl(_a0 *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlO ret := _m.Called(_a0) var r0 *sqs.GetQueueUrlOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) *sqs.GetQueueUrlOutput); ok { r0 = rf(_a0) } else { @@ -653,7 +729,6 @@ func (_m *MockFakeSQS) GetQueueUrl(_a0 *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlO } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.GetQueueUrlInput) error); ok { r1 = rf(_a0) } else { @@ -668,6 +743,10 @@ func (_m *MockFakeSQS) GetQueueUrlRequest(_a0 *sqs.GetQueueUrlInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.GetQueueUrlOutput + if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) (*request.Request, *sqs.GetQueueUrlOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.GetQueueUrlInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -676,7 +755,6 @@ func (_m *MockFakeSQS) GetQueueUrlRequest(_a0 *sqs.GetQueueUrlInput) (*request.R } } - var r1 *sqs.GetQueueUrlOutput if rf, ok := ret.Get(1).(func(*sqs.GetQueueUrlInput) *sqs.GetQueueUrlOutput); ok { r1 = rf(_a0) } else { @@ -700,6 +778,10 @@ func (_m *MockFakeSQS) GetQueueUrlWithContext(_a0 context.Context, _a1 *sqs.GetQ ret := _m.Called(_ca...) var r0 *sqs.GetQueueUrlOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueUrlInput, ...request.Option) (*sqs.GetQueueUrlOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.GetQueueUrlInput, ...request.Option) *sqs.GetQueueUrlOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -708,7 +790,6 @@ func (_m *MockFakeSQS) GetQueueUrlWithContext(_a0 context.Context, _a1 *sqs.GetQ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.GetQueueUrlInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -723,6 +804,10 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueues(_a0 *sqs.ListDeadLetterSourceQ ret := _m.Called(_a0) var r0 *sqs.ListDeadLetterSourceQueuesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) (*sqs.ListDeadLetterSourceQueuesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) *sqs.ListDeadLetterSourceQueuesOutput); ok { r0 = rf(_a0) } else { @@ -731,7 +816,6 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueues(_a0 *sqs.ListDeadLetterSourceQ } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ListDeadLetterSourceQueuesInput) error); ok { r1 = rf(_a0) } else { @@ -781,6 +865,10 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueuesRequest(_a0 *sqs.ListDeadLetter ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ListDeadLetterSourceQueuesOutput + if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) (*request.Request, *sqs.ListDeadLetterSourceQueuesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListDeadLetterSourceQueuesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -789,7 +877,6 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueuesRequest(_a0 *sqs.ListDeadLetter } } - var r1 *sqs.ListDeadLetterSourceQueuesOutput if rf, ok := ret.Get(1).(func(*sqs.ListDeadLetterSourceQueuesInput) *sqs.ListDeadLetterSourceQueuesOutput); ok { r1 = rf(_a0) } else { @@ -813,6 +900,10 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueuesWithContext(_a0 context.Context ret := _m.Called(_ca...) var r0 *sqs.ListDeadLetterSourceQueuesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, ...request.Option) (*sqs.ListDeadLetterSourceQueuesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, ...request.Option) *sqs.ListDeadLetterSourceQueuesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -821,7 +912,6 @@ func (_m *MockFakeSQS) ListDeadLetterSourceQueuesWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListDeadLetterSourceQueuesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -836,6 +926,10 @@ func (_m *MockFakeSQS) ListQueueTags(_a0 *sqs.ListQueueTagsInput) (*sqs.ListQueu ret := _m.Called(_a0) var r0 *sqs.ListQueueTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) (*sqs.ListQueueTagsOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) *sqs.ListQueueTagsOutput); ok { r0 = rf(_a0) } else { @@ -844,7 +938,6 @@ func (_m *MockFakeSQS) ListQueueTags(_a0 *sqs.ListQueueTagsInput) (*sqs.ListQueu } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ListQueueTagsInput) error); ok { r1 = rf(_a0) } else { @@ -859,6 +952,10 @@ func (_m *MockFakeSQS) ListQueueTagsRequest(_a0 *sqs.ListQueueTagsInput) (*reque ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ListQueueTagsOutput + if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) (*request.Request, *sqs.ListQueueTagsOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListQueueTagsInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -867,7 +964,6 @@ func (_m *MockFakeSQS) ListQueueTagsRequest(_a0 *sqs.ListQueueTagsInput) (*reque } } - var r1 *sqs.ListQueueTagsOutput if rf, ok := ret.Get(1).(func(*sqs.ListQueueTagsInput) *sqs.ListQueueTagsOutput); ok { r1 = rf(_a0) } else { @@ -891,6 +987,10 @@ func (_m *MockFakeSQS) ListQueueTagsWithContext(_a0 context.Context, _a1 *sqs.Li ret := _m.Called(_ca...) var r0 *sqs.ListQueueTagsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueueTagsInput, ...request.Option) (*sqs.ListQueueTagsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueueTagsInput, ...request.Option) *sqs.ListQueueTagsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -899,7 +999,6 @@ func (_m *MockFakeSQS) ListQueueTagsWithContext(_a0 context.Context, _a1 *sqs.Li } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListQueueTagsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -914,6 +1013,10 @@ func (_m *MockFakeSQS) ListQueues(_a0 *sqs.ListQueuesInput) (*sqs.ListQueuesOutp ret := _m.Called(_a0) var r0 *sqs.ListQueuesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) (*sqs.ListQueuesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) *sqs.ListQueuesOutput); ok { r0 = rf(_a0) } else { @@ -922,7 +1025,6 @@ func (_m *MockFakeSQS) ListQueues(_a0 *sqs.ListQueuesInput) (*sqs.ListQueuesOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ListQueuesInput) error); ok { r1 = rf(_a0) } else { @@ -972,6 +1074,10 @@ func (_m *MockFakeSQS) ListQueuesRequest(_a0 *sqs.ListQueuesInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ListQueuesOutput + if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) (*request.Request, *sqs.ListQueuesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ListQueuesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -980,7 +1086,6 @@ func (_m *MockFakeSQS) ListQueuesRequest(_a0 *sqs.ListQueuesInput) (*request.Req } } - var r1 *sqs.ListQueuesOutput if rf, ok := ret.Get(1).(func(*sqs.ListQueuesInput) *sqs.ListQueuesOutput); ok { r1 = rf(_a0) } else { @@ -1004,6 +1109,10 @@ func (_m *MockFakeSQS) ListQueuesWithContext(_a0 context.Context, _a1 *sqs.ListQ ret := _m.Called(_ca...) var r0 *sqs.ListQueuesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueuesInput, ...request.Option) (*sqs.ListQueuesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ListQueuesInput, ...request.Option) *sqs.ListQueuesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1012,7 +1121,6 @@ func (_m *MockFakeSQS) ListQueuesWithContext(_a0 context.Context, _a1 *sqs.ListQ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ListQueuesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1027,6 +1135,10 @@ func (_m *MockFakeSQS) PurgeQueue(_a0 *sqs.PurgeQueueInput) (*sqs.PurgeQueueOutp ret := _m.Called(_a0) var r0 *sqs.PurgeQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) (*sqs.PurgeQueueOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) *sqs.PurgeQueueOutput); ok { r0 = rf(_a0) } else { @@ -1035,7 +1147,6 @@ func (_m *MockFakeSQS) PurgeQueue(_a0 *sqs.PurgeQueueInput) (*sqs.PurgeQueueOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.PurgeQueueInput) error); ok { r1 = rf(_a0) } else { @@ -1050,6 +1161,10 @@ func (_m *MockFakeSQS) PurgeQueueRequest(_a0 *sqs.PurgeQueueInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.PurgeQueueOutput + if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) (*request.Request, *sqs.PurgeQueueOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.PurgeQueueInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1058,7 +1173,6 @@ func (_m *MockFakeSQS) PurgeQueueRequest(_a0 *sqs.PurgeQueueInput) (*request.Req } } - var r1 *sqs.PurgeQueueOutput if rf, ok := ret.Get(1).(func(*sqs.PurgeQueueInput) *sqs.PurgeQueueOutput); ok { r1 = rf(_a0) } else { @@ -1082,6 +1196,10 @@ func (_m *MockFakeSQS) PurgeQueueWithContext(_a0 context.Context, _a1 *sqs.Purge ret := _m.Called(_ca...) var r0 *sqs.PurgeQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.PurgeQueueInput, ...request.Option) (*sqs.PurgeQueueOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.PurgeQueueInput, ...request.Option) *sqs.PurgeQueueOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1090,7 +1208,6 @@ func (_m *MockFakeSQS) PurgeQueueWithContext(_a0 context.Context, _a1 *sqs.Purge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.PurgeQueueInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1105,6 +1222,10 @@ func (_m *MockFakeSQS) ReceiveMessage(_a0 *sqs.ReceiveMessageInput) (*sqs.Receiv ret := _m.Called(_a0) var r0 *sqs.ReceiveMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) *sqs.ReceiveMessageOutput); ok { r0 = rf(_a0) } else { @@ -1113,7 +1234,6 @@ func (_m *MockFakeSQS) ReceiveMessage(_a0 *sqs.ReceiveMessageInput) (*sqs.Receiv } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.ReceiveMessageInput) error); ok { r1 = rf(_a0) } else { @@ -1128,6 +1248,10 @@ func (_m *MockFakeSQS) ReceiveMessageRequest(_a0 *sqs.ReceiveMessageInput) (*req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.ReceiveMessageOutput + if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) (*request.Request, *sqs.ReceiveMessageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.ReceiveMessageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1136,7 +1260,6 @@ func (_m *MockFakeSQS) ReceiveMessageRequest(_a0 *sqs.ReceiveMessageInput) (*req } } - var r1 *sqs.ReceiveMessageOutput if rf, ok := ret.Get(1).(func(*sqs.ReceiveMessageInput) *sqs.ReceiveMessageOutput); ok { r1 = rf(_a0) } else { @@ -1160,6 +1283,10 @@ func (_m *MockFakeSQS) ReceiveMessageWithContext(_a0 context.Context, _a1 *sqs.R ret := _m.Called(_ca...) var r0 *sqs.ReceiveMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.ReceiveMessageInput, ...request.Option) (*sqs.ReceiveMessageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.ReceiveMessageInput, ...request.Option) *sqs.ReceiveMessageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1168,7 +1295,6 @@ func (_m *MockFakeSQS) ReceiveMessageWithContext(_a0 context.Context, _a1 *sqs.R } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.ReceiveMessageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1183,6 +1309,10 @@ func (_m *MockFakeSQS) RemovePermission(_a0 *sqs.RemovePermissionInput) (*sqs.Re ret := _m.Called(_a0) var r0 *sqs.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) (*sqs.RemovePermissionOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) *sqs.RemovePermissionOutput); ok { r0 = rf(_a0) } else { @@ -1191,7 +1321,6 @@ func (_m *MockFakeSQS) RemovePermission(_a0 *sqs.RemovePermissionInput) (*sqs.Re } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.RemovePermissionInput) error); ok { r1 = rf(_a0) } else { @@ -1206,6 +1335,10 @@ func (_m *MockFakeSQS) RemovePermissionRequest(_a0 *sqs.RemovePermissionInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.RemovePermissionOutput + if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) (*request.Request, *sqs.RemovePermissionOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.RemovePermissionInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1214,7 +1347,6 @@ func (_m *MockFakeSQS) RemovePermissionRequest(_a0 *sqs.RemovePermissionInput) ( } } - var r1 *sqs.RemovePermissionOutput if rf, ok := ret.Get(1).(func(*sqs.RemovePermissionInput) *sqs.RemovePermissionOutput); ok { r1 = rf(_a0) } else { @@ -1238,6 +1370,10 @@ func (_m *MockFakeSQS) RemovePermissionWithContext(_a0 context.Context, _a1 *sqs ret := _m.Called(_ca...) var r0 *sqs.RemovePermissionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.RemovePermissionInput, ...request.Option) (*sqs.RemovePermissionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.RemovePermissionInput, ...request.Option) *sqs.RemovePermissionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1246,7 +1382,6 @@ func (_m *MockFakeSQS) RemovePermissionWithContext(_a0 context.Context, _a1 *sqs } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.RemovePermissionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1261,6 +1396,10 @@ func (_m *MockFakeSQS) SendMessage(_a0 *sqs.SendMessageInput) (*sqs.SendMessageO ret := _m.Called(_a0) var r0 *sqs.SendMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) (*sqs.SendMessageOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) *sqs.SendMessageOutput); ok { r0 = rf(_a0) } else { @@ -1269,7 +1408,6 @@ func (_m *MockFakeSQS) SendMessage(_a0 *sqs.SendMessageInput) (*sqs.SendMessageO } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.SendMessageInput) error); ok { r1 = rf(_a0) } else { @@ -1284,6 +1422,10 @@ func (_m *MockFakeSQS) SendMessageBatch(_a0 *sqs.SendMessageBatchInput) (*sqs.Se ret := _m.Called(_a0) var r0 *sqs.SendMessageBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) (*sqs.SendMessageBatchOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) *sqs.SendMessageBatchOutput); ok { r0 = rf(_a0) } else { @@ -1292,7 +1434,6 @@ func (_m *MockFakeSQS) SendMessageBatch(_a0 *sqs.SendMessageBatchInput) (*sqs.Se } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.SendMessageBatchInput) error); ok { r1 = rf(_a0) } else { @@ -1307,6 +1448,10 @@ func (_m *MockFakeSQS) SendMessageBatchRequest(_a0 *sqs.SendMessageBatchInput) ( ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.SendMessageBatchOutput + if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) (*request.Request, *sqs.SendMessageBatchOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SendMessageBatchInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1315,7 +1460,6 @@ func (_m *MockFakeSQS) SendMessageBatchRequest(_a0 *sqs.SendMessageBatchInput) ( } } - var r1 *sqs.SendMessageBatchOutput if rf, ok := ret.Get(1).(func(*sqs.SendMessageBatchInput) *sqs.SendMessageBatchOutput); ok { r1 = rf(_a0) } else { @@ -1339,6 +1483,10 @@ func (_m *MockFakeSQS) SendMessageBatchWithContext(_a0 context.Context, _a1 *sqs ret := _m.Called(_ca...) var r0 *sqs.SendMessageBatchOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageBatchInput, ...request.Option) (*sqs.SendMessageBatchOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageBatchInput, ...request.Option) *sqs.SendMessageBatchOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1347,7 +1495,6 @@ func (_m *MockFakeSQS) SendMessageBatchWithContext(_a0 context.Context, _a1 *sqs } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.SendMessageBatchInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1362,6 +1509,10 @@ func (_m *MockFakeSQS) SendMessageRequest(_a0 *sqs.SendMessageInput) (*request.R ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.SendMessageOutput + if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) (*request.Request, *sqs.SendMessageOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SendMessageInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1370,7 +1521,6 @@ func (_m *MockFakeSQS) SendMessageRequest(_a0 *sqs.SendMessageInput) (*request.R } } - var r1 *sqs.SendMessageOutput if rf, ok := ret.Get(1).(func(*sqs.SendMessageInput) *sqs.SendMessageOutput); ok { r1 = rf(_a0) } else { @@ -1394,6 +1544,10 @@ func (_m *MockFakeSQS) SendMessageWithContext(_a0 context.Context, _a1 *sqs.Send ret := _m.Called(_ca...) var r0 *sqs.SendMessageOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageInput, ...request.Option) (*sqs.SendMessageOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.SendMessageInput, ...request.Option) *sqs.SendMessageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1402,7 +1556,6 @@ func (_m *MockFakeSQS) SendMessageWithContext(_a0 context.Context, _a1 *sqs.Send } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.SendMessageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1417,6 +1570,10 @@ func (_m *MockFakeSQS) SetQueueAttributes(_a0 *sqs.SetQueueAttributesInput) (*sq ret := _m.Called(_a0) var r0 *sqs.SetQueueAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) (*sqs.SetQueueAttributesOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) *sqs.SetQueueAttributesOutput); ok { r0 = rf(_a0) } else { @@ -1425,7 +1582,6 @@ func (_m *MockFakeSQS) SetQueueAttributes(_a0 *sqs.SetQueueAttributesInput) (*sq } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.SetQueueAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -1440,6 +1596,10 @@ func (_m *MockFakeSQS) SetQueueAttributesRequest(_a0 *sqs.SetQueueAttributesInpu ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.SetQueueAttributesOutput + if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) (*request.Request, *sqs.SetQueueAttributesOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.SetQueueAttributesInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1448,7 +1608,6 @@ func (_m *MockFakeSQS) SetQueueAttributesRequest(_a0 *sqs.SetQueueAttributesInpu } } - var r1 *sqs.SetQueueAttributesOutput if rf, ok := ret.Get(1).(func(*sqs.SetQueueAttributesInput) *sqs.SetQueueAttributesOutput); ok { r1 = rf(_a0) } else { @@ -1472,6 +1631,10 @@ func (_m *MockFakeSQS) SetQueueAttributesWithContext(_a0 context.Context, _a1 *s ret := _m.Called(_ca...) var r0 *sqs.SetQueueAttributesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.SetQueueAttributesInput, ...request.Option) (*sqs.SetQueueAttributesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.SetQueueAttributesInput, ...request.Option) *sqs.SetQueueAttributesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1480,7 +1643,6 @@ func (_m *MockFakeSQS) SetQueueAttributesWithContext(_a0 context.Context, _a1 *s } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.SetQueueAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1495,6 +1657,10 @@ func (_m *MockFakeSQS) TagQueue(_a0 *sqs.TagQueueInput) (*sqs.TagQueueOutput, er ret := _m.Called(_a0) var r0 *sqs.TagQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) (*sqs.TagQueueOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) *sqs.TagQueueOutput); ok { r0 = rf(_a0) } else { @@ -1503,7 +1669,6 @@ func (_m *MockFakeSQS) TagQueue(_a0 *sqs.TagQueueInput) (*sqs.TagQueueOutput, er } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.TagQueueInput) error); ok { r1 = rf(_a0) } else { @@ -1518,6 +1683,10 @@ func (_m *MockFakeSQS) TagQueueRequest(_a0 *sqs.TagQueueInput) (*request.Request ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.TagQueueOutput + if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) (*request.Request, *sqs.TagQueueOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.TagQueueInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1526,7 +1695,6 @@ func (_m *MockFakeSQS) TagQueueRequest(_a0 *sqs.TagQueueInput) (*request.Request } } - var r1 *sqs.TagQueueOutput if rf, ok := ret.Get(1).(func(*sqs.TagQueueInput) *sqs.TagQueueOutput); ok { r1 = rf(_a0) } else { @@ -1550,6 +1718,10 @@ func (_m *MockFakeSQS) TagQueueWithContext(_a0 context.Context, _a1 *sqs.TagQueu ret := _m.Called(_ca...) var r0 *sqs.TagQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.TagQueueInput, ...request.Option) (*sqs.TagQueueOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.TagQueueInput, ...request.Option) *sqs.TagQueueOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1558,7 +1730,6 @@ func (_m *MockFakeSQS) TagQueueWithContext(_a0 context.Context, _a1 *sqs.TagQueu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.TagQueueInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1573,6 +1744,10 @@ func (_m *MockFakeSQS) UntagQueue(_a0 *sqs.UntagQueueInput) (*sqs.UntagQueueOutp ret := _m.Called(_a0) var r0 *sqs.UntagQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) (*sqs.UntagQueueOutput, error)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) *sqs.UntagQueueOutput); ok { r0 = rf(_a0) } else { @@ -1581,7 +1756,6 @@ func (_m *MockFakeSQS) UntagQueue(_a0 *sqs.UntagQueueInput) (*sqs.UntagQueueOutp } } - var r1 error if rf, ok := ret.Get(1).(func(*sqs.UntagQueueInput) error); ok { r1 = rf(_a0) } else { @@ -1596,6 +1770,10 @@ func (_m *MockFakeSQS) UntagQueueRequest(_a0 *sqs.UntagQueueInput) (*request.Req ret := _m.Called(_a0) var r0 *request.Request + var r1 *sqs.UntagQueueOutput + if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) (*request.Request, *sqs.UntagQueueOutput)); ok { + return rf(_a0) + } if rf, ok := ret.Get(0).(func(*sqs.UntagQueueInput) *request.Request); ok { r0 = rf(_a0) } else { @@ -1604,7 +1782,6 @@ func (_m *MockFakeSQS) UntagQueueRequest(_a0 *sqs.UntagQueueInput) (*request.Req } } - var r1 *sqs.UntagQueueOutput if rf, ok := ret.Get(1).(func(*sqs.UntagQueueInput) *sqs.UntagQueueOutput); ok { r1 = rf(_a0) } else { @@ -1628,6 +1805,10 @@ func (_m *MockFakeSQS) UntagQueueWithContext(_a0 context.Context, _a1 *sqs.Untag ret := _m.Called(_ca...) var r0 *sqs.UntagQueueOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sqs.UntagQueueInput, ...request.Option) (*sqs.UntagQueueOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } if rf, ok := ret.Get(0).(func(context.Context, *sqs.UntagQueueInput, ...request.Option) *sqs.UntagQueueOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { @@ -1636,7 +1817,6 @@ func (_m *MockFakeSQS) UntagQueueWithContext(_a0 context.Context, _a1 *sqs.Untag } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *sqs.UntagQueueInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1645,3 +1825,18 @@ func (_m *MockFakeSQS) UntagQueueWithContext(_a0 context.Context, _a1 *sqs.Untag return r0, r1 } + +type mockConstructorTestingTNewMockFakeSQS interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockFakeSQS creates a new instance of MockFakeSQS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockFakeSQS(t mockConstructorTestingTNewMockFakeSQS) *MockFakeSQS { + mock := &MockFakeSQS{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/test/google/asset.go b/test/google/asset.go index 8a26bb264..50520c3f7 100644 --- a/test/google/asset.go +++ b/test/google/asset.go @@ -8,6 +8,7 @@ import ( "google.golang.org/api/option" assetpb "google.golang.org/genproto/googleapis/cloud/asset/v1" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" ) type FakeAssetServer struct { @@ -51,7 +52,7 @@ func newAssetClient(fakeServer *FakeAssetServer) (*asset.Client, error) { client, err := asset.NewClient(ctx, option.WithEndpoint(fakeServerAddr), option.WithoutAuthentication(), - option.WithGRPCDialOption(grpc.WithInsecure()), + option.WithGRPCDialOption(grpc.WithTransportCredentials(insecure.NewCredentials())), ) if err != nil { return nil, err