From 3da9c8ae2dc5d6fc8b253945c3ee33f1e5243c9e Mon Sep 17 00:00:00 2001 From: John Judd Date: Wed, 27 Dec 2023 18:20:07 -0600 Subject: [PATCH] update mock to match lastest aws s3 interface --- mocks/S3API.go | 2950 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 2657 insertions(+), 293 deletions(-) diff --git a/mocks/S3API.go b/mocks/S3API.go index bc34064b..4ca22c9f 100644 --- a/mocks/S3API.go +++ b/mocks/S3API.go @@ -1,4 +1,4 @@ -// Code generated by mockery v0.0.0-dev. DO NOT EDIT. +// Code generated by mockery v2.39.1. DO NOT EDIT. package mocks @@ -20,7 +20,15 @@ type S3API struct { func (_m *S3API) AbortMultipartUpload(_a0 *s3.AbortMultipartUploadInput) (*s3.AbortMultipartUploadOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AbortMultipartUpload") + } + 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 +37,6 @@ func (_m *S3API) AbortMultipartUpload(_a0 *s3.AbortMultipartUploadInput) (*s3.Ab } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.AbortMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -43,7 +50,15 @@ func (_m *S3API) AbortMultipartUpload(_a0 *s3.AbortMultipartUploadInput) (*s3.Ab func (_m *S3API) AbortMultipartUploadRequest(_a0 *s3.AbortMultipartUploadInput) (*request.Request, *s3.AbortMultipartUploadOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AbortMultipartUploadRequest") + } + 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 +67,6 @@ func (_m *S3API) AbortMultipartUploadRequest(_a0 *s3.AbortMultipartUploadInput) } } - var r1 *s3.AbortMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.AbortMultipartUploadInput) *s3.AbortMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -75,7 +89,15 @@ func (_m *S3API) AbortMultipartUploadWithContext(_a0 context.Context, _a1 *s3.Ab _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AbortMultipartUploadWithContext") + } + 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 +106,6 @@ func (_m *S3API) AbortMultipartUploadWithContext(_a0 context.Context, _a1 *s3.Ab } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.AbortMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -98,7 +119,15 @@ func (_m *S3API) AbortMultipartUploadWithContext(_a0 context.Context, _a1 *s3.Ab func (_m *S3API) CompleteMultipartUpload(_a0 *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CompleteMultipartUpload") + } + 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 +136,6 @@ func (_m *S3API) CompleteMultipartUpload(_a0 *s3.CompleteMultipartUploadInput) ( } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CompleteMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -121,7 +149,15 @@ func (_m *S3API) CompleteMultipartUpload(_a0 *s3.CompleteMultipartUploadInput) ( func (_m *S3API) CompleteMultipartUploadRequest(_a0 *s3.CompleteMultipartUploadInput) (*request.Request, *s3.CompleteMultipartUploadOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CompleteMultipartUploadRequest") + } + 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 +166,6 @@ func (_m *S3API) CompleteMultipartUploadRequest(_a0 *s3.CompleteMultipartUploadI } } - var r1 *s3.CompleteMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.CompleteMultipartUploadInput) *s3.CompleteMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -153,7 +188,15 @@ func (_m *S3API) CompleteMultipartUploadWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CompleteMultipartUploadWithContext") + } + 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 +205,6 @@ func (_m *S3API) CompleteMultipartUploadWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CompleteMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -176,7 +218,15 @@ func (_m *S3API) CompleteMultipartUploadWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) CopyObject(_a0 *s3.CopyObjectInput) (*s3.CopyObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CopyObject") + } + 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 +235,6 @@ func (_m *S3API) CopyObject(_a0 *s3.CopyObjectInput) (*s3.CopyObjectOutput, erro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CopyObjectInput) error); ok { r1 = rf(_a0) } else { @@ -199,7 +248,15 @@ func (_m *S3API) CopyObject(_a0 *s3.CopyObjectInput) (*s3.CopyObjectOutput, erro func (_m *S3API) CopyObjectRequest(_a0 *s3.CopyObjectInput) (*request.Request, *s3.CopyObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CopyObjectRequest") + } + 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 +265,6 @@ func (_m *S3API) CopyObjectRequest(_a0 *s3.CopyObjectInput) (*request.Request, * } } - var r1 *s3.CopyObjectOutput if rf, ok := ret.Get(1).(func(*s3.CopyObjectInput) *s3.CopyObjectOutput); ok { r1 = rf(_a0) } else { @@ -231,7 +287,15 @@ func (_m *S3API) CopyObjectWithContext(_a0 context.Context, _a1 *s3.CopyObjectIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CopyObjectWithContext") + } + 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 +304,6 @@ func (_m *S3API) CopyObjectWithContext(_a0 context.Context, _a1 *s3.CopyObjectIn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CopyObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -254,7 +317,15 @@ func (_m *S3API) CopyObjectWithContext(_a0 context.Context, _a1 *s3.CopyObjectIn func (_m *S3API) CreateBucket(_a0 *s3.CreateBucketInput) (*s3.CreateBucketOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateBucket") + } + 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 +334,6 @@ func (_m *S3API) CreateBucket(_a0 *s3.CreateBucketInput) (*s3.CreateBucketOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CreateBucketInput) error); ok { r1 = rf(_a0) } else { @@ -277,7 +347,15 @@ func (_m *S3API) CreateBucket(_a0 *s3.CreateBucketInput) (*s3.CreateBucketOutput func (_m *S3API) CreateBucketRequest(_a0 *s3.CreateBucketInput) (*request.Request, *s3.CreateBucketOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateBucketRequest") + } + 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 +364,6 @@ func (_m *S3API) CreateBucketRequest(_a0 *s3.CreateBucketInput) (*request.Reques } } - var r1 *s3.CreateBucketOutput if rf, ok := ret.Get(1).(func(*s3.CreateBucketInput) *s3.CreateBucketOutput); ok { r1 = rf(_a0) } else { @@ -309,7 +386,15 @@ func (_m *S3API) CreateBucketWithContext(_a0 context.Context, _a1 *s3.CreateBuck _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateBucketWithContext") + } + 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 +403,6 @@ func (_m *S3API) CreateBucketWithContext(_a0 context.Context, _a1 *s3.CreateBuck } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CreateBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -332,7 +416,15 @@ func (_m *S3API) CreateBucketWithContext(_a0 context.Context, _a1 *s3.CreateBuck func (_m *S3API) CreateMultipartUpload(_a0 *s3.CreateMultipartUploadInput) (*s3.CreateMultipartUploadOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateMultipartUpload") + } + 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 +433,6 @@ func (_m *S3API) CreateMultipartUpload(_a0 *s3.CreateMultipartUploadInput) (*s3. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.CreateMultipartUploadInput) error); ok { r1 = rf(_a0) } else { @@ -355,7 +446,15 @@ func (_m *S3API) CreateMultipartUpload(_a0 *s3.CreateMultipartUploadInput) (*s3. func (_m *S3API) CreateMultipartUploadRequest(_a0 *s3.CreateMultipartUploadInput) (*request.Request, *s3.CreateMultipartUploadOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateMultipartUploadRequest") + } + 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 +463,6 @@ func (_m *S3API) CreateMultipartUploadRequest(_a0 *s3.CreateMultipartUploadInput } } - var r1 *s3.CreateMultipartUploadOutput if rf, ok := ret.Get(1).(func(*s3.CreateMultipartUploadInput) *s3.CreateMultipartUploadOutput); ok { r1 = rf(_a0) } else { @@ -387,7 +485,15 @@ func (_m *S3API) CreateMultipartUploadWithContext(_a0 context.Context, _a1 *s3.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateMultipartUploadWithContext") + } + 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 +502,6 @@ func (_m *S3API) CreateMultipartUploadWithContext(_a0 context.Context, _a1 *s3.C } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.CreateMultipartUploadInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -406,11 +511,118 @@ func (_m *S3API) CreateMultipartUploadWithContext(_a0 context.Context, _a1 *s3.C return r0, r1 } +// CreateSession provides a mock function with given fields: _a0 +func (_m *S3API) CreateSession(_a0 *s3.CreateSessionInput) (*s3.CreateSessionOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateSession") + } + + var r0 *s3.CreateSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.CreateSessionInput) (*s3.CreateSessionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.CreateSessionInput) *s3.CreateSessionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.CreateSessionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3.CreateSessionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateSessionRequest provides a mock function with given fields: _a0 +func (_m *S3API) CreateSessionRequest(_a0 *s3.CreateSessionInput) (*request.Request, *s3.CreateSessionOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateSessionRequest") + } + + var r0 *request.Request + var r1 *s3.CreateSessionOutput + if rf, ok := ret.Get(0).(func(*s3.CreateSessionInput) (*request.Request, *s3.CreateSessionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.CreateSessionInput) *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.CreateSessionInput) *s3.CreateSessionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3.CreateSessionOutput) + } + } + + return r0, r1 +} + +// CreateSessionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *S3API) CreateSessionWithContext(_a0 context.Context, _a1 *s3.CreateSessionInput, _a2 ...request.Option) (*s3.CreateSessionOutput, 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...) + + if len(ret) == 0 { + panic("no return value specified for CreateSessionWithContext") + } + + var r0 *s3.CreateSessionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateSessionInput, ...request.Option) (*s3.CreateSessionOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3.CreateSessionInput, ...request.Option) *s3.CreateSessionOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.CreateSessionOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3.CreateSessionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteBucket provides a mock function with given fields: _a0 func (_m *S3API) DeleteBucket(_a0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucket") + } + 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 +631,6 @@ func (_m *S3API) DeleteBucket(_a0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInput) error); ok { r1 = rf(_a0) } else { @@ -433,7 +644,15 @@ func (_m *S3API) DeleteBucket(_a0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput func (_m *S3API) DeleteBucketAnalyticsConfiguration(_a0 *s3.DeleteBucketAnalyticsConfigurationInput) (*s3.DeleteBucketAnalyticsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketAnalyticsConfiguration") + } + 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 +661,6 @@ func (_m *S3API) DeleteBucketAnalyticsConfiguration(_a0 *s3.DeleteBucketAnalytic } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -456,7 +674,15 @@ func (_m *S3API) DeleteBucketAnalyticsConfiguration(_a0 *s3.DeleteBucketAnalytic func (_m *S3API) DeleteBucketAnalyticsConfigurationRequest(_a0 *s3.DeleteBucketAnalyticsConfigurationInput) (*request.Request, *s3.DeleteBucketAnalyticsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketAnalyticsConfigurationRequest") + } + 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 +691,6 @@ func (_m *S3API) DeleteBucketAnalyticsConfigurationRequest(_a0 *s3.DeleteBucketA } } - var r1 *s3.DeleteBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketAnalyticsConfigurationInput) *s3.DeleteBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -488,7 +713,15 @@ func (_m *S3API) DeleteBucketAnalyticsConfigurationWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketAnalyticsConfigurationWithContext") + } + 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 +730,6 @@ func (_m *S3API) DeleteBucketAnalyticsConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -511,7 +743,15 @@ func (_m *S3API) DeleteBucketAnalyticsConfigurationWithContext(_a0 context.Conte func (_m *S3API) DeleteBucketCors(_a0 *s3.DeleteBucketCorsInput) (*s3.DeleteBucketCorsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketCors") + } + 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 +760,6 @@ func (_m *S3API) DeleteBucketCors(_a0 *s3.DeleteBucketCorsInput) (*s3.DeleteBuck } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -534,7 +773,15 @@ func (_m *S3API) DeleteBucketCors(_a0 *s3.DeleteBucketCorsInput) (*s3.DeleteBuck func (_m *S3API) DeleteBucketCorsRequest(_a0 *s3.DeleteBucketCorsInput) (*request.Request, *s3.DeleteBucketCorsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketCorsRequest") + } + 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 +790,6 @@ func (_m *S3API) DeleteBucketCorsRequest(_a0 *s3.DeleteBucketCorsInput) (*reques } } - var r1 *s3.DeleteBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketCorsInput) *s3.DeleteBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -566,7 +812,15 @@ func (_m *S3API) DeleteBucketCorsWithContext(_a0 context.Context, _a1 *s3.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketCorsWithContext") + } + 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 +829,6 @@ func (_m *S3API) DeleteBucketCorsWithContext(_a0 context.Context, _a1 *s3.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -589,7 +842,15 @@ func (_m *S3API) DeleteBucketCorsWithContext(_a0 context.Context, _a1 *s3.Delete func (_m *S3API) DeleteBucketEncryption(_a0 *s3.DeleteBucketEncryptionInput) (*s3.DeleteBucketEncryptionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketEncryption") + } + 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 +859,6 @@ func (_m *S3API) DeleteBucketEncryption(_a0 *s3.DeleteBucketEncryptionInput) (*s } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -612,7 +872,15 @@ func (_m *S3API) DeleteBucketEncryption(_a0 *s3.DeleteBucketEncryptionInput) (*s func (_m *S3API) DeleteBucketEncryptionRequest(_a0 *s3.DeleteBucketEncryptionInput) (*request.Request, *s3.DeleteBucketEncryptionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketEncryptionRequest") + } + 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 +889,6 @@ func (_m *S3API) DeleteBucketEncryptionRequest(_a0 *s3.DeleteBucketEncryptionInp } } - var r1 *s3.DeleteBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketEncryptionInput) *s3.DeleteBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -644,7 +911,15 @@ func (_m *S3API) DeleteBucketEncryptionWithContext(_a0 context.Context, _a1 *s3. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketEncryptionWithContext") + } + 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 +928,6 @@ func (_m *S3API) DeleteBucketEncryptionWithContext(_a0 context.Context, _a1 *s3. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -667,7 +941,15 @@ func (_m *S3API) DeleteBucketEncryptionWithContext(_a0 context.Context, _a1 *s3. func (_m *S3API) DeleteBucketIntelligentTieringConfiguration(_a0 *s3.DeleteBucketIntelligentTieringConfigurationInput) (*s3.DeleteBucketIntelligentTieringConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketIntelligentTieringConfiguration") + } + 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 +958,6 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfiguration(_a0 *s3.DeleteBucke } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -690,7 +971,15 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfiguration(_a0 *s3.DeleteBucke func (_m *S3API) DeleteBucketIntelligentTieringConfigurationRequest(_a0 *s3.DeleteBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.DeleteBucketIntelligentTieringConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketIntelligentTieringConfigurationRequest") + } + 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 +988,6 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfigurationRequest(_a0 *s3.Dele } } - var r1 *s3.DeleteBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketIntelligentTieringConfigurationInput) *s3.DeleteBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -722,7 +1010,15 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfigurationWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketIntelligentTieringConfigurationWithContext") + } + 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 +1027,6 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfigurationWithContext(_a0 cont } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -745,7 +1040,15 @@ func (_m *S3API) DeleteBucketIntelligentTieringConfigurationWithContext(_a0 cont func (_m *S3API) DeleteBucketInventoryConfiguration(_a0 *s3.DeleteBucketInventoryConfigurationInput) (*s3.DeleteBucketInventoryConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketInventoryConfiguration") + } + 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 +1057,6 @@ func (_m *S3API) DeleteBucketInventoryConfiguration(_a0 *s3.DeleteBucketInventor } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -768,7 +1070,15 @@ func (_m *S3API) DeleteBucketInventoryConfiguration(_a0 *s3.DeleteBucketInventor func (_m *S3API) DeleteBucketInventoryConfigurationRequest(_a0 *s3.DeleteBucketInventoryConfigurationInput) (*request.Request, *s3.DeleteBucketInventoryConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketInventoryConfigurationRequest") + } + 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 +1087,6 @@ func (_m *S3API) DeleteBucketInventoryConfigurationRequest(_a0 *s3.DeleteBucketI } } - var r1 *s3.DeleteBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInventoryConfigurationInput) *s3.DeleteBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -800,7 +1109,15 @@ func (_m *S3API) DeleteBucketInventoryConfigurationWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketInventoryConfigurationWithContext") + } + 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 +1126,6 @@ func (_m *S3API) DeleteBucketInventoryConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -823,7 +1139,15 @@ func (_m *S3API) DeleteBucketInventoryConfigurationWithContext(_a0 context.Conte func (_m *S3API) DeleteBucketLifecycle(_a0 *s3.DeleteBucketLifecycleInput) (*s3.DeleteBucketLifecycleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketLifecycle") + } + 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 +1156,6 @@ func (_m *S3API) DeleteBucketLifecycle(_a0 *s3.DeleteBucketLifecycleInput) (*s3. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -846,7 +1169,15 @@ func (_m *S3API) DeleteBucketLifecycle(_a0 *s3.DeleteBucketLifecycleInput) (*s3. func (_m *S3API) DeleteBucketLifecycleRequest(_a0 *s3.DeleteBucketLifecycleInput) (*request.Request, *s3.DeleteBucketLifecycleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketLifecycleRequest") + } + 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 +1186,6 @@ func (_m *S3API) DeleteBucketLifecycleRequest(_a0 *s3.DeleteBucketLifecycleInput } } - var r1 *s3.DeleteBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketLifecycleInput) *s3.DeleteBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -878,7 +1208,15 @@ func (_m *S3API) DeleteBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketLifecycleWithContext") + } + 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 +1225,6 @@ func (_m *S3API) DeleteBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.D } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -901,7 +1238,15 @@ func (_m *S3API) DeleteBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.D func (_m *S3API) DeleteBucketMetricsConfiguration(_a0 *s3.DeleteBucketMetricsConfigurationInput) (*s3.DeleteBucketMetricsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketMetricsConfiguration") + } + 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 +1255,6 @@ func (_m *S3API) DeleteBucketMetricsConfiguration(_a0 *s3.DeleteBucketMetricsCon } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -924,7 +1268,15 @@ func (_m *S3API) DeleteBucketMetricsConfiguration(_a0 *s3.DeleteBucketMetricsCon func (_m *S3API) DeleteBucketMetricsConfigurationRequest(_a0 *s3.DeleteBucketMetricsConfigurationInput) (*request.Request, *s3.DeleteBucketMetricsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketMetricsConfigurationRequest") + } + 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 +1285,6 @@ func (_m *S3API) DeleteBucketMetricsConfigurationRequest(_a0 *s3.DeleteBucketMet } } - var r1 *s3.DeleteBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketMetricsConfigurationInput) *s3.DeleteBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -956,7 +1307,15 @@ func (_m *S3API) DeleteBucketMetricsConfigurationWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketMetricsConfigurationWithContext") + } + 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 +1324,6 @@ func (_m *S3API) DeleteBucketMetricsConfigurationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -979,7 +1337,15 @@ func (_m *S3API) DeleteBucketMetricsConfigurationWithContext(_a0 context.Context func (_m *S3API) DeleteBucketOwnershipControls(_a0 *s3.DeleteBucketOwnershipControlsInput) (*s3.DeleteBucketOwnershipControlsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketOwnershipControls") + } + 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 +1354,6 @@ func (_m *S3API) DeleteBucketOwnershipControls(_a0 *s3.DeleteBucketOwnershipCont } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -1002,7 +1367,15 @@ func (_m *S3API) DeleteBucketOwnershipControls(_a0 *s3.DeleteBucketOwnershipCont func (_m *S3API) DeleteBucketOwnershipControlsRequest(_a0 *s3.DeleteBucketOwnershipControlsInput) (*request.Request, *s3.DeleteBucketOwnershipControlsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketOwnershipControlsRequest") + } + 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 +1384,6 @@ func (_m *S3API) DeleteBucketOwnershipControlsRequest(_a0 *s3.DeleteBucketOwners } } - var r1 *s3.DeleteBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketOwnershipControlsInput) *s3.DeleteBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -1034,7 +1406,15 @@ func (_m *S3API) DeleteBucketOwnershipControlsWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketOwnershipControlsWithContext") + } + 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 +1423,6 @@ func (_m *S3API) DeleteBucketOwnershipControlsWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1057,7 +1436,15 @@ func (_m *S3API) DeleteBucketOwnershipControlsWithContext(_a0 context.Context, _ func (_m *S3API) DeleteBucketPolicy(_a0 *s3.DeleteBucketPolicyInput) (*s3.DeleteBucketPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketPolicy") + } + 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 +1453,6 @@ func (_m *S3API) DeleteBucketPolicy(_a0 *s3.DeleteBucketPolicyInput) (*s3.Delete } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -1080,7 +1466,15 @@ func (_m *S3API) DeleteBucketPolicy(_a0 *s3.DeleteBucketPolicyInput) (*s3.Delete func (_m *S3API) DeleteBucketPolicyRequest(_a0 *s3.DeleteBucketPolicyInput) (*request.Request, *s3.DeleteBucketPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketPolicyRequest") + } + 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 +1483,6 @@ func (_m *S3API) DeleteBucketPolicyRequest(_a0 *s3.DeleteBucketPolicyInput) (*re } } - var r1 *s3.DeleteBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketPolicyInput) *s3.DeleteBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -1112,7 +1505,15 @@ func (_m *S3API) DeleteBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketPolicyWithContext") + } + 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 +1522,6 @@ func (_m *S3API) DeleteBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1135,7 +1535,15 @@ func (_m *S3API) DeleteBucketPolicyWithContext(_a0 context.Context, _a1 *s3.Dele func (_m *S3API) DeleteBucketReplication(_a0 *s3.DeleteBucketReplicationInput) (*s3.DeleteBucketReplicationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketReplication") + } + 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 +1552,6 @@ func (_m *S3API) DeleteBucketReplication(_a0 *s3.DeleteBucketReplicationInput) ( } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -1158,7 +1565,15 @@ func (_m *S3API) DeleteBucketReplication(_a0 *s3.DeleteBucketReplicationInput) ( func (_m *S3API) DeleteBucketReplicationRequest(_a0 *s3.DeleteBucketReplicationInput) (*request.Request, *s3.DeleteBucketReplicationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketReplicationRequest") + } + 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 +1582,6 @@ func (_m *S3API) DeleteBucketReplicationRequest(_a0 *s3.DeleteBucketReplicationI } } - var r1 *s3.DeleteBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketReplicationInput) *s3.DeleteBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -1190,7 +1604,15 @@ func (_m *S3API) DeleteBucketReplicationWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketReplicationWithContext") + } + 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 +1621,6 @@ func (_m *S3API) DeleteBucketReplicationWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1213,7 +1634,15 @@ func (_m *S3API) DeleteBucketReplicationWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) DeleteBucketRequest(_a0 *s3.DeleteBucketInput) (*request.Request, *s3.DeleteBucketOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketRequest") + } + 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 +1651,6 @@ func (_m *S3API) DeleteBucketRequest(_a0 *s3.DeleteBucketInput) (*request.Reques } } - var r1 *s3.DeleteBucketOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketInput) *s3.DeleteBucketOutput); ok { r1 = rf(_a0) } else { @@ -1238,7 +1666,15 @@ func (_m *S3API) DeleteBucketRequest(_a0 *s3.DeleteBucketInput) (*request.Reques func (_m *S3API) DeleteBucketTagging(_a0 *s3.DeleteBucketTaggingInput) (*s3.DeleteBucketTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketTagging") + } + 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 +1683,6 @@ func (_m *S3API) DeleteBucketTagging(_a0 *s3.DeleteBucketTaggingInput) (*s3.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -1261,7 +1696,15 @@ func (_m *S3API) DeleteBucketTagging(_a0 *s3.DeleteBucketTaggingInput) (*s3.Dele func (_m *S3API) DeleteBucketTaggingRequest(_a0 *s3.DeleteBucketTaggingInput) (*request.Request, *s3.DeleteBucketTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketTaggingRequest") + } + 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 +1713,6 @@ func (_m *S3API) DeleteBucketTaggingRequest(_a0 *s3.DeleteBucketTaggingInput) (* } } - var r1 *s3.DeleteBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketTaggingInput) *s3.DeleteBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1293,7 +1735,15 @@ func (_m *S3API) DeleteBucketTaggingWithContext(_a0 context.Context, _a1 *s3.Del _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketTaggingWithContext") + } + 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 +1752,6 @@ func (_m *S3API) DeleteBucketTaggingWithContext(_a0 context.Context, _a1 *s3.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1316,7 +1765,15 @@ func (_m *S3API) DeleteBucketTaggingWithContext(_a0 context.Context, _a1 *s3.Del func (_m *S3API) DeleteBucketWebsite(_a0 *s3.DeleteBucketWebsiteInput) (*s3.DeleteBucketWebsiteOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketWebsite") + } + 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 +1782,6 @@ func (_m *S3API) DeleteBucketWebsite(_a0 *s3.DeleteBucketWebsiteInput) (*s3.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -1339,7 +1795,15 @@ func (_m *S3API) DeleteBucketWebsite(_a0 *s3.DeleteBucketWebsiteInput) (*s3.Dele func (_m *S3API) DeleteBucketWebsiteRequest(_a0 *s3.DeleteBucketWebsiteInput) (*request.Request, *s3.DeleteBucketWebsiteOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketWebsiteRequest") + } + 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 +1812,6 @@ func (_m *S3API) DeleteBucketWebsiteRequest(_a0 *s3.DeleteBucketWebsiteInput) (* } } - var r1 *s3.DeleteBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.DeleteBucketWebsiteInput) *s3.DeleteBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -1371,7 +1834,15 @@ func (_m *S3API) DeleteBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.Del _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketWebsiteWithContext") + } + 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 +1851,6 @@ func (_m *S3API) DeleteBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1401,7 +1871,15 @@ func (_m *S3API) DeleteBucketWithContext(_a0 context.Context, _a1 *s3.DeleteBuck _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteBucketWithContext") + } + 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 +1888,6 @@ func (_m *S3API) DeleteBucketWithContext(_a0 context.Context, _a1 *s3.DeleteBuck } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1424,7 +1901,15 @@ func (_m *S3API) DeleteBucketWithContext(_a0 context.Context, _a1 *s3.DeleteBuck func (_m *S3API) DeleteObject(_a0 *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObject") + } + 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 +1918,6 @@ func (_m *S3API) DeleteObject(_a0 *s3.DeleteObjectInput) (*s3.DeleteObjectOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectInput) error); ok { r1 = rf(_a0) } else { @@ -1447,7 +1931,15 @@ func (_m *S3API) DeleteObject(_a0 *s3.DeleteObjectInput) (*s3.DeleteObjectOutput func (_m *S3API) DeleteObjectRequest(_a0 *s3.DeleteObjectInput) (*request.Request, *s3.DeleteObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectRequest") + } + 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 +1948,6 @@ func (_m *S3API) DeleteObjectRequest(_a0 *s3.DeleteObjectInput) (*request.Reques } } - var r1 *s3.DeleteObjectOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectInput) *s3.DeleteObjectOutput); ok { r1 = rf(_a0) } else { @@ -1472,7 +1963,15 @@ func (_m *S3API) DeleteObjectRequest(_a0 *s3.DeleteObjectInput) (*request.Reques func (_m *S3API) DeleteObjectTagging(_a0 *s3.DeleteObjectTaggingInput) (*s3.DeleteObjectTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectTagging") + } + 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 +1980,6 @@ func (_m *S3API) DeleteObjectTagging(_a0 *s3.DeleteObjectTaggingInput) (*s3.Dele } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -1495,7 +1993,15 @@ func (_m *S3API) DeleteObjectTagging(_a0 *s3.DeleteObjectTaggingInput) (*s3.Dele func (_m *S3API) DeleteObjectTaggingRequest(_a0 *s3.DeleteObjectTaggingInput) (*request.Request, *s3.DeleteObjectTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectTaggingRequest") + } + 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 +2010,6 @@ func (_m *S3API) DeleteObjectTaggingRequest(_a0 *s3.DeleteObjectTaggingInput) (* } } - var r1 *s3.DeleteObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectTaggingInput) *s3.DeleteObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -1527,7 +2032,15 @@ func (_m *S3API) DeleteObjectTaggingWithContext(_a0 context.Context, _a1 *s3.Del _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectTaggingWithContext") + } + 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 +2049,6 @@ func (_m *S3API) DeleteObjectTaggingWithContext(_a0 context.Context, _a1 *s3.Del } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1557,7 +2069,15 @@ func (_m *S3API) DeleteObjectWithContext(_a0 context.Context, _a1 *s3.DeleteObje _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectWithContext") + } + 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 +2086,6 @@ func (_m *S3API) DeleteObjectWithContext(_a0 context.Context, _a1 *s3.DeleteObje } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1580,7 +2099,15 @@ func (_m *S3API) DeleteObjectWithContext(_a0 context.Context, _a1 *s3.DeleteObje func (_m *S3API) DeleteObjects(_a0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObjects") + } + 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 +2116,6 @@ func (_m *S3API) DeleteObjects(_a0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOut } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeleteObjectsInput) error); ok { r1 = rf(_a0) } else { @@ -1603,7 +2129,15 @@ func (_m *S3API) DeleteObjects(_a0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOut func (_m *S3API) DeleteObjectsRequest(_a0 *s3.DeleteObjectsInput) (*request.Request, *s3.DeleteObjectsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectsRequest") + } + 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 +2146,6 @@ func (_m *S3API) DeleteObjectsRequest(_a0 *s3.DeleteObjectsInput) (*request.Requ } } - var r1 *s3.DeleteObjectsOutput if rf, ok := ret.Get(1).(func(*s3.DeleteObjectsInput) *s3.DeleteObjectsOutput); ok { r1 = rf(_a0) } else { @@ -1635,7 +2168,15 @@ func (_m *S3API) DeleteObjectsWithContext(_a0 context.Context, _a1 *s3.DeleteObj _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteObjectsWithContext") + } + 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 +2185,6 @@ func (_m *S3API) DeleteObjectsWithContext(_a0 context.Context, _a1 *s3.DeleteObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeleteObjectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1658,7 +2198,15 @@ func (_m *S3API) DeleteObjectsWithContext(_a0 context.Context, _a1 *s3.DeleteObj func (_m *S3API) DeletePublicAccessBlock(_a0 *s3.DeletePublicAccessBlockInput) (*s3.DeletePublicAccessBlockOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeletePublicAccessBlock") + } + 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 +2215,6 @@ func (_m *S3API) DeletePublicAccessBlock(_a0 *s3.DeletePublicAccessBlockInput) ( } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.DeletePublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -1681,7 +2228,15 @@ func (_m *S3API) DeletePublicAccessBlock(_a0 *s3.DeletePublicAccessBlockInput) ( func (_m *S3API) DeletePublicAccessBlockRequest(_a0 *s3.DeletePublicAccessBlockInput) (*request.Request, *s3.DeletePublicAccessBlockOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeletePublicAccessBlockRequest") + } + 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 +2245,6 @@ func (_m *S3API) DeletePublicAccessBlockRequest(_a0 *s3.DeletePublicAccessBlockI } } - var r1 *s3.DeletePublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.DeletePublicAccessBlockInput) *s3.DeletePublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -1713,7 +2267,15 @@ func (_m *S3API) DeletePublicAccessBlockWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePublicAccessBlockWithContext") + } + 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 +2284,6 @@ func (_m *S3API) DeletePublicAccessBlockWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.DeletePublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1736,7 +2297,15 @@ func (_m *S3API) DeletePublicAccessBlockWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) GetBucketAccelerateConfiguration(_a0 *s3.GetBucketAccelerateConfigurationInput) (*s3.GetBucketAccelerateConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAccelerateConfiguration") + } + 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 +2314,6 @@ func (_m *S3API) GetBucketAccelerateConfiguration(_a0 *s3.GetBucketAccelerateCon } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAccelerateConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1759,7 +2327,15 @@ func (_m *S3API) GetBucketAccelerateConfiguration(_a0 *s3.GetBucketAccelerateCon func (_m *S3API) GetBucketAccelerateConfigurationRequest(_a0 *s3.GetBucketAccelerateConfigurationInput) (*request.Request, *s3.GetBucketAccelerateConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAccelerateConfigurationRequest") + } + 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 +2344,6 @@ func (_m *S3API) GetBucketAccelerateConfigurationRequest(_a0 *s3.GetBucketAccele } } - var r1 *s3.GetBucketAccelerateConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAccelerateConfigurationInput) *s3.GetBucketAccelerateConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1791,7 +2366,15 @@ func (_m *S3API) GetBucketAccelerateConfigurationWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketAccelerateConfigurationWithContext") + } + 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 +2383,6 @@ func (_m *S3API) GetBucketAccelerateConfigurationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAccelerateConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1814,7 +2396,15 @@ func (_m *S3API) GetBucketAccelerateConfigurationWithContext(_a0 context.Context func (_m *S3API) GetBucketAcl(_a0 *s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAcl") + } + 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 +2413,6 @@ func (_m *S3API) GetBucketAcl(_a0 *s3.GetBucketAclInput) (*s3.GetBucketAclOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAclInput) error); ok { r1 = rf(_a0) } else { @@ -1837,7 +2426,15 @@ func (_m *S3API) GetBucketAcl(_a0 *s3.GetBucketAclInput) (*s3.GetBucketAclOutput func (_m *S3API) GetBucketAclRequest(_a0 *s3.GetBucketAclInput) (*request.Request, *s3.GetBucketAclOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAclRequest") + } + 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 +2443,6 @@ func (_m *S3API) GetBucketAclRequest(_a0 *s3.GetBucketAclInput) (*request.Reques } } - var r1 *s3.GetBucketAclOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAclInput) *s3.GetBucketAclOutput); ok { r1 = rf(_a0) } else { @@ -1869,7 +2465,15 @@ func (_m *S3API) GetBucketAclWithContext(_a0 context.Context, _a1 *s3.GetBucketA _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketAclWithContext") + } + 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 +2482,6 @@ func (_m *S3API) GetBucketAclWithContext(_a0 context.Context, _a1 *s3.GetBucketA } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1892,7 +2495,15 @@ func (_m *S3API) GetBucketAclWithContext(_a0 context.Context, _a1 *s3.GetBucketA func (_m *S3API) GetBucketAnalyticsConfiguration(_a0 *s3.GetBucketAnalyticsConfigurationInput) (*s3.GetBucketAnalyticsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAnalyticsConfiguration") + } + 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 +2512,6 @@ func (_m *S3API) GetBucketAnalyticsConfiguration(_a0 *s3.GetBucketAnalyticsConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -1915,7 +2525,15 @@ func (_m *S3API) GetBucketAnalyticsConfiguration(_a0 *s3.GetBucketAnalyticsConfi func (_m *S3API) GetBucketAnalyticsConfigurationRequest(_a0 *s3.GetBucketAnalyticsConfigurationInput) (*request.Request, *s3.GetBucketAnalyticsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketAnalyticsConfigurationRequest") + } + 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 +2542,6 @@ func (_m *S3API) GetBucketAnalyticsConfigurationRequest(_a0 *s3.GetBucketAnalyti } } - var r1 *s3.GetBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketAnalyticsConfigurationInput) *s3.GetBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -1947,7 +2564,15 @@ func (_m *S3API) GetBucketAnalyticsConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketAnalyticsConfigurationWithContext") + } + 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 +2581,6 @@ func (_m *S3API) GetBucketAnalyticsConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -1970,7 +2594,15 @@ func (_m *S3API) GetBucketAnalyticsConfigurationWithContext(_a0 context.Context, func (_m *S3API) GetBucketCors(_a0 *s3.GetBucketCorsInput) (*s3.GetBucketCorsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketCors") + } + 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 +2611,6 @@ func (_m *S3API) GetBucketCors(_a0 *s3.GetBucketCorsInput) (*s3.GetBucketCorsOut } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -1993,7 +2624,15 @@ func (_m *S3API) GetBucketCors(_a0 *s3.GetBucketCorsInput) (*s3.GetBucketCorsOut func (_m *S3API) GetBucketCorsRequest(_a0 *s3.GetBucketCorsInput) (*request.Request, *s3.GetBucketCorsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketCorsRequest") + } + 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 +2641,6 @@ func (_m *S3API) GetBucketCorsRequest(_a0 *s3.GetBucketCorsInput) (*request.Requ } } - var r1 *s3.GetBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketCorsInput) *s3.GetBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -2025,7 +2663,15 @@ func (_m *S3API) GetBucketCorsWithContext(_a0 context.Context, _a1 *s3.GetBucket _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketCorsWithContext") + } + 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 +2680,6 @@ func (_m *S3API) GetBucketCorsWithContext(_a0 context.Context, _a1 *s3.GetBucket } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2048,7 +2693,15 @@ func (_m *S3API) GetBucketCorsWithContext(_a0 context.Context, _a1 *s3.GetBucket func (_m *S3API) GetBucketEncryption(_a0 *s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketEncryption") + } + 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 +2710,6 @@ func (_m *S3API) GetBucketEncryption(_a0 *s3.GetBucketEncryptionInput) (*s3.GetB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -2071,7 +2723,15 @@ func (_m *S3API) GetBucketEncryption(_a0 *s3.GetBucketEncryptionInput) (*s3.GetB func (_m *S3API) GetBucketEncryptionRequest(_a0 *s3.GetBucketEncryptionInput) (*request.Request, *s3.GetBucketEncryptionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketEncryptionRequest") + } + 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 +2740,6 @@ func (_m *S3API) GetBucketEncryptionRequest(_a0 *s3.GetBucketEncryptionInput) (* } } - var r1 *s3.GetBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketEncryptionInput) *s3.GetBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -2103,7 +2762,15 @@ func (_m *S3API) GetBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketEncryptionWithContext") + } + 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 +2779,6 @@ func (_m *S3API) GetBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Get } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2126,7 +2792,15 @@ func (_m *S3API) GetBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Get func (_m *S3API) GetBucketIntelligentTieringConfiguration(_a0 *s3.GetBucketIntelligentTieringConfigurationInput) (*s3.GetBucketIntelligentTieringConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketIntelligentTieringConfiguration") + } + 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 +2809,6 @@ func (_m *S3API) GetBucketIntelligentTieringConfiguration(_a0 *s3.GetBucketIntel } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2149,7 +2822,15 @@ func (_m *S3API) GetBucketIntelligentTieringConfiguration(_a0 *s3.GetBucketIntel func (_m *S3API) GetBucketIntelligentTieringConfigurationRequest(_a0 *s3.GetBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.GetBucketIntelligentTieringConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketIntelligentTieringConfigurationRequest") + } + 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 +2839,6 @@ func (_m *S3API) GetBucketIntelligentTieringConfigurationRequest(_a0 *s3.GetBuck } } - var r1 *s3.GetBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketIntelligentTieringConfigurationInput) *s3.GetBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2181,7 +2861,15 @@ func (_m *S3API) GetBucketIntelligentTieringConfigurationWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketIntelligentTieringConfigurationWithContext") + } + 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 +2878,6 @@ func (_m *S3API) GetBucketIntelligentTieringConfigurationWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2204,7 +2891,15 @@ func (_m *S3API) GetBucketIntelligentTieringConfigurationWithContext(_a0 context func (_m *S3API) GetBucketInventoryConfiguration(_a0 *s3.GetBucketInventoryConfigurationInput) (*s3.GetBucketInventoryConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketInventoryConfiguration") + } + 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 +2908,6 @@ func (_m *S3API) GetBucketInventoryConfiguration(_a0 *s3.GetBucketInventoryConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2227,7 +2921,15 @@ func (_m *S3API) GetBucketInventoryConfiguration(_a0 *s3.GetBucketInventoryConfi func (_m *S3API) GetBucketInventoryConfigurationRequest(_a0 *s3.GetBucketInventoryConfigurationInput) (*request.Request, *s3.GetBucketInventoryConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketInventoryConfigurationRequest") + } + var r0 *request.Request + 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 { @@ -2236,7 +2938,6 @@ func (_m *S3API) GetBucketInventoryConfigurationRequest(_a0 *s3.GetBucketInvento } } - var r1 *s3.GetBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketInventoryConfigurationInput) *s3.GetBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2259,7 +2960,15 @@ func (_m *S3API) GetBucketInventoryConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketInventoryConfigurationWithContext") + } + 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 +2977,6 @@ func (_m *S3API) GetBucketInventoryConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2282,7 +2990,15 @@ func (_m *S3API) GetBucketInventoryConfigurationWithContext(_a0 context.Context, func (_m *S3API) GetBucketLifecycle(_a0 *s3.GetBucketLifecycleInput) (*s3.GetBucketLifecycleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycle") + } + 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 +3007,6 @@ func (_m *S3API) GetBucketLifecycle(_a0 *s3.GetBucketLifecycleInput) (*s3.GetBuc } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -2305,8 +3020,16 @@ func (_m *S3API) GetBucketLifecycle(_a0 *s3.GetBucketLifecycleInput) (*s3.GetBuc func (_m *S3API) GetBucketLifecycleConfiguration(_a0 *s3.GetBucketLifecycleConfigurationInput) (*s3.GetBucketLifecycleConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycleConfiguration") + } + var r0 *s3.GetBucketLifecycleConfigurationOutput - if rf, ok := ret.Get(0).(func(*s3.GetBucketLifecycleConfigurationInput) *s3.GetBucketLifecycleConfigurationOutput); ok { + 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 { if ret.Get(0) != nil { @@ -2314,7 +3037,6 @@ func (_m *S3API) GetBucketLifecycleConfiguration(_a0 *s3.GetBucketLifecycleConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2328,7 +3050,15 @@ func (_m *S3API) GetBucketLifecycleConfiguration(_a0 *s3.GetBucketLifecycleConfi func (_m *S3API) GetBucketLifecycleConfigurationRequest(_a0 *s3.GetBucketLifecycleConfigurationInput) (*request.Request, *s3.GetBucketLifecycleConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycleConfigurationRequest") + } + 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 +3067,6 @@ func (_m *S3API) GetBucketLifecycleConfigurationRequest(_a0 *s3.GetBucketLifecyc } } - var r1 *s3.GetBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleConfigurationInput) *s3.GetBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2360,7 +3089,15 @@ func (_m *S3API) GetBucketLifecycleConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycleConfigurationWithContext") + } + 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 +3106,6 @@ func (_m *S3API) GetBucketLifecycleConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2383,7 +3119,15 @@ func (_m *S3API) GetBucketLifecycleConfigurationWithContext(_a0 context.Context, func (_m *S3API) GetBucketLifecycleRequest(_a0 *s3.GetBucketLifecycleInput) (*request.Request, *s3.GetBucketLifecycleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycleRequest") + } + 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 +3136,6 @@ func (_m *S3API) GetBucketLifecycleRequest(_a0 *s3.GetBucketLifecycleInput) (*re } } - var r1 *s3.GetBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLifecycleInput) *s3.GetBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -2415,7 +3158,15 @@ func (_m *S3API) GetBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.GetB _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketLifecycleWithContext") + } + 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 +3175,6 @@ func (_m *S3API) GetBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.GetB } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2438,7 +3188,15 @@ func (_m *S3API) GetBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.GetB func (_m *S3API) GetBucketLocation(_a0 *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLocation") + } + 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 +3205,6 @@ func (_m *S3API) GetBucketLocation(_a0 *s3.GetBucketLocationInput) (*s3.GetBucke } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLocationInput) error); ok { r1 = rf(_a0) } else { @@ -2461,7 +3218,15 @@ func (_m *S3API) GetBucketLocation(_a0 *s3.GetBucketLocationInput) (*s3.GetBucke func (_m *S3API) GetBucketLocationRequest(_a0 *s3.GetBucketLocationInput) (*request.Request, *s3.GetBucketLocationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLocationRequest") + } + 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 +3235,6 @@ func (_m *S3API) GetBucketLocationRequest(_a0 *s3.GetBucketLocationInput) (*requ } } - var r1 *s3.GetBucketLocationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLocationInput) *s3.GetBucketLocationOutput); ok { r1 = rf(_a0) } else { @@ -2493,7 +3257,15 @@ func (_m *S3API) GetBucketLocationWithContext(_a0 context.Context, _a1 *s3.GetBu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketLocationWithContext") + } + 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 +3274,6 @@ func (_m *S3API) GetBucketLocationWithContext(_a0 context.Context, _a1 *s3.GetBu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLocationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2516,7 +3287,15 @@ func (_m *S3API) GetBucketLocationWithContext(_a0 context.Context, _a1 *s3.GetBu func (_m *S3API) GetBucketLogging(_a0 *s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLogging") + } + 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 +3304,6 @@ func (_m *S3API) GetBucketLogging(_a0 *s3.GetBucketLoggingInput) (*s3.GetBucketL } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketLoggingInput) error); ok { r1 = rf(_a0) } else { @@ -2539,7 +3317,15 @@ func (_m *S3API) GetBucketLogging(_a0 *s3.GetBucketLoggingInput) (*s3.GetBucketL func (_m *S3API) GetBucketLoggingRequest(_a0 *s3.GetBucketLoggingInput) (*request.Request, *s3.GetBucketLoggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketLoggingRequest") + } + 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 +3334,6 @@ func (_m *S3API) GetBucketLoggingRequest(_a0 *s3.GetBucketLoggingInput) (*reques } } - var r1 *s3.GetBucketLoggingOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketLoggingInput) *s3.GetBucketLoggingOutput); ok { r1 = rf(_a0) } else { @@ -2571,7 +3356,15 @@ func (_m *S3API) GetBucketLoggingWithContext(_a0 context.Context, _a1 *s3.GetBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketLoggingWithContext") + } + 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 +3373,6 @@ func (_m *S3API) GetBucketLoggingWithContext(_a0 context.Context, _a1 *s3.GetBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2594,7 +3386,15 @@ func (_m *S3API) GetBucketLoggingWithContext(_a0 context.Context, _a1 *s3.GetBuc func (_m *S3API) GetBucketMetricsConfiguration(_a0 *s3.GetBucketMetricsConfigurationInput) (*s3.GetBucketMetricsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketMetricsConfiguration") + } + 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 +3403,6 @@ func (_m *S3API) GetBucketMetricsConfiguration(_a0 *s3.GetBucketMetricsConfigura } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -2617,7 +3416,15 @@ func (_m *S3API) GetBucketMetricsConfiguration(_a0 *s3.GetBucketMetricsConfigura func (_m *S3API) GetBucketMetricsConfigurationRequest(_a0 *s3.GetBucketMetricsConfigurationInput) (*request.Request, *s3.GetBucketMetricsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketMetricsConfigurationRequest") + } + 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 +3433,6 @@ func (_m *S3API) GetBucketMetricsConfigurationRequest(_a0 *s3.GetBucketMetricsCo } } - var r1 *s3.GetBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketMetricsConfigurationInput) *s3.GetBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -2649,7 +3455,15 @@ func (_m *S3API) GetBucketMetricsConfigurationWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketMetricsConfigurationWithContext") + } + 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 +3472,6 @@ func (_m *S3API) GetBucketMetricsConfigurationWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2672,7 +3485,15 @@ func (_m *S3API) GetBucketMetricsConfigurationWithContext(_a0 context.Context, _ func (_m *S3API) GetBucketNotification(_a0 *s3.GetBucketNotificationConfigurationRequest) (*s3.NotificationConfigurationDeprecated, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotification") + } + 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 +3502,6 @@ func (_m *S3API) GetBucketNotification(_a0 *s3.GetBucketNotificationConfiguratio } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) error); ok { r1 = rf(_a0) } else { @@ -2695,7 +3515,15 @@ func (_m *S3API) GetBucketNotification(_a0 *s3.GetBucketNotificationConfiguratio func (_m *S3API) GetBucketNotificationConfiguration(_a0 *s3.GetBucketNotificationConfigurationRequest) (*s3.NotificationConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotificationConfiguration") + } + 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 +3532,6 @@ func (_m *S3API) GetBucketNotificationConfiguration(_a0 *s3.GetBucketNotificatio } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) error); ok { r1 = rf(_a0) } else { @@ -2718,7 +3545,15 @@ func (_m *S3API) GetBucketNotificationConfiguration(_a0 *s3.GetBucketNotificatio func (_m *S3API) GetBucketNotificationConfigurationRequest(_a0 *s3.GetBucketNotificationConfigurationRequest) (*request.Request, *s3.NotificationConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotificationConfigurationRequest") + } + 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 +3562,6 @@ func (_m *S3API) GetBucketNotificationConfigurationRequest(_a0 *s3.GetBucketNoti } } - var r1 *s3.NotificationConfiguration if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfiguration); ok { r1 = rf(_a0) } else { @@ -2750,7 +3584,15 @@ func (_m *S3API) GetBucketNotificationConfigurationWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotificationConfigurationWithContext") + } + 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 +3601,6 @@ func (_m *S3API) GetBucketNotificationConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2773,7 +3614,15 @@ func (_m *S3API) GetBucketNotificationConfigurationWithContext(_a0 context.Conte func (_m *S3API) GetBucketNotificationRequest(_a0 *s3.GetBucketNotificationConfigurationRequest) (*request.Request, *s3.NotificationConfigurationDeprecated) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotificationRequest") + } + 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 +3631,6 @@ func (_m *S3API) GetBucketNotificationRequest(_a0 *s3.GetBucketNotificationConfi } } - var r1 *s3.NotificationConfigurationDeprecated if rf, ok := ret.Get(1).(func(*s3.GetBucketNotificationConfigurationRequest) *s3.NotificationConfigurationDeprecated); ok { r1 = rf(_a0) } else { @@ -2805,7 +3653,15 @@ func (_m *S3API) GetBucketNotificationWithContext(_a0 context.Context, _a1 *s3.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketNotificationWithContext") + } + 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 +3670,6 @@ func (_m *S3API) GetBucketNotificationWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketNotificationConfigurationRequest, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2828,7 +3683,15 @@ func (_m *S3API) GetBucketNotificationWithContext(_a0 context.Context, _a1 *s3.G func (_m *S3API) GetBucketOwnershipControls(_a0 *s3.GetBucketOwnershipControlsInput) (*s3.GetBucketOwnershipControlsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketOwnershipControls") + } + 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 +3700,6 @@ func (_m *S3API) GetBucketOwnershipControls(_a0 *s3.GetBucketOwnershipControlsIn } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -2851,7 +3713,15 @@ func (_m *S3API) GetBucketOwnershipControls(_a0 *s3.GetBucketOwnershipControlsIn func (_m *S3API) GetBucketOwnershipControlsRequest(_a0 *s3.GetBucketOwnershipControlsInput) (*request.Request, *s3.GetBucketOwnershipControlsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketOwnershipControlsRequest") + } + 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 +3730,6 @@ func (_m *S3API) GetBucketOwnershipControlsRequest(_a0 *s3.GetBucketOwnershipCon } } - var r1 *s3.GetBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketOwnershipControlsInput) *s3.GetBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -2883,7 +3752,15 @@ func (_m *S3API) GetBucketOwnershipControlsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketOwnershipControlsWithContext") + } + 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 +3769,6 @@ func (_m *S3API) GetBucketOwnershipControlsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -2906,7 +3782,15 @@ func (_m *S3API) GetBucketOwnershipControlsWithContext(_a0 context.Context, _a1 func (_m *S3API) GetBucketPolicy(_a0 *s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicy") + } + 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 +3799,6 @@ func (_m *S3API) GetBucketPolicy(_a0 *s3.GetBucketPolicyInput) (*s3.GetBucketPol } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -2929,7 +3812,15 @@ func (_m *S3API) GetBucketPolicy(_a0 *s3.GetBucketPolicyInput) (*s3.GetBucketPol func (_m *S3API) GetBucketPolicyRequest(_a0 *s3.GetBucketPolicyInput) (*request.Request, *s3.GetBucketPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicyRequest") + } + 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 +3829,6 @@ func (_m *S3API) GetBucketPolicyRequest(_a0 *s3.GetBucketPolicyInput) (*request. } } - var r1 *s3.GetBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyInput) *s3.GetBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -2954,7 +3844,15 @@ func (_m *S3API) GetBucketPolicyRequest(_a0 *s3.GetBucketPolicyInput) (*request. func (_m *S3API) GetBucketPolicyStatus(_a0 *s3.GetBucketPolicyStatusInput) (*s3.GetBucketPolicyStatusOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicyStatus") + } + 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 +3861,6 @@ func (_m *S3API) GetBucketPolicyStatus(_a0 *s3.GetBucketPolicyStatusInput) (*s3. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyStatusInput) error); ok { r1 = rf(_a0) } else { @@ -2977,7 +3874,15 @@ func (_m *S3API) GetBucketPolicyStatus(_a0 *s3.GetBucketPolicyStatusInput) (*s3. func (_m *S3API) GetBucketPolicyStatusRequest(_a0 *s3.GetBucketPolicyStatusInput) (*request.Request, *s3.GetBucketPolicyStatusOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicyStatusRequest") + } + 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 +3891,6 @@ func (_m *S3API) GetBucketPolicyStatusRequest(_a0 *s3.GetBucketPolicyStatusInput } } - var r1 *s3.GetBucketPolicyStatusOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketPolicyStatusInput) *s3.GetBucketPolicyStatusOutput); ok { r1 = rf(_a0) } else { @@ -3009,7 +3913,15 @@ func (_m *S3API) GetBucketPolicyStatusWithContext(_a0 context.Context, _a1 *s3.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicyStatusWithContext") + } + 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 +3930,6 @@ func (_m *S3API) GetBucketPolicyStatusWithContext(_a0 context.Context, _a1 *s3.G } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketPolicyStatusInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3039,7 +3950,15 @@ func (_m *S3API) GetBucketPolicyWithContext(_a0 context.Context, _a1 *s3.GetBuck _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketPolicyWithContext") + } + 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 +3967,6 @@ func (_m *S3API) GetBucketPolicyWithContext(_a0 context.Context, _a1 *s3.GetBuck } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3062,7 +3980,15 @@ func (_m *S3API) GetBucketPolicyWithContext(_a0 context.Context, _a1 *s3.GetBuck func (_m *S3API) GetBucketReplication(_a0 *s3.GetBucketReplicationInput) (*s3.GetBucketReplicationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketReplication") + } + 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 +3997,6 @@ func (_m *S3API) GetBucketReplication(_a0 *s3.GetBucketReplicationInput) (*s3.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -3085,7 +4010,15 @@ func (_m *S3API) GetBucketReplication(_a0 *s3.GetBucketReplicationInput) (*s3.Ge func (_m *S3API) GetBucketReplicationRequest(_a0 *s3.GetBucketReplicationInput) (*request.Request, *s3.GetBucketReplicationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketReplicationRequest") + } + 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 +4027,6 @@ func (_m *S3API) GetBucketReplicationRequest(_a0 *s3.GetBucketReplicationInput) } } - var r1 *s3.GetBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketReplicationInput) *s3.GetBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -3117,7 +4049,15 @@ func (_m *S3API) GetBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketReplicationWithContext") + } + 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 +4066,6 @@ func (_m *S3API) GetBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3140,7 +4079,15 @@ func (_m *S3API) GetBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Ge func (_m *S3API) GetBucketRequestPayment(_a0 *s3.GetBucketRequestPaymentInput) (*s3.GetBucketRequestPaymentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketRequestPayment") + } + 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 +4096,6 @@ func (_m *S3API) GetBucketRequestPayment(_a0 *s3.GetBucketRequestPaymentInput) ( } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketRequestPaymentInput) error); ok { r1 = rf(_a0) } else { @@ -3163,7 +4109,15 @@ func (_m *S3API) GetBucketRequestPayment(_a0 *s3.GetBucketRequestPaymentInput) ( func (_m *S3API) GetBucketRequestPaymentRequest(_a0 *s3.GetBucketRequestPaymentInput) (*request.Request, *s3.GetBucketRequestPaymentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketRequestPaymentRequest") + } + 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 +4126,6 @@ func (_m *S3API) GetBucketRequestPaymentRequest(_a0 *s3.GetBucketRequestPaymentI } } - var r1 *s3.GetBucketRequestPaymentOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketRequestPaymentInput) *s3.GetBucketRequestPaymentOutput); ok { r1 = rf(_a0) } else { @@ -3195,7 +4148,15 @@ func (_m *S3API) GetBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketRequestPaymentWithContext") + } + 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 +4165,6 @@ func (_m *S3API) GetBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketRequestPaymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3218,7 +4178,15 @@ func (_m *S3API) GetBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) GetBucketTagging(_a0 *s3.GetBucketTaggingInput) (*s3.GetBucketTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketTagging") + } + 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 +4195,6 @@ func (_m *S3API) GetBucketTagging(_a0 *s3.GetBucketTaggingInput) (*s3.GetBucketT } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3241,7 +4208,15 @@ func (_m *S3API) GetBucketTagging(_a0 *s3.GetBucketTaggingInput) (*s3.GetBucketT func (_m *S3API) GetBucketTaggingRequest(_a0 *s3.GetBucketTaggingInput) (*request.Request, *s3.GetBucketTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketTaggingRequest") + } + 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 +4225,6 @@ func (_m *S3API) GetBucketTaggingRequest(_a0 *s3.GetBucketTaggingInput) (*reques } } - var r1 *s3.GetBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketTaggingInput) *s3.GetBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3273,7 +4247,15 @@ func (_m *S3API) GetBucketTaggingWithContext(_a0 context.Context, _a1 *s3.GetBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketTaggingWithContext") + } + 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 +4264,6 @@ func (_m *S3API) GetBucketTaggingWithContext(_a0 context.Context, _a1 *s3.GetBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3296,7 +4277,15 @@ func (_m *S3API) GetBucketTaggingWithContext(_a0 context.Context, _a1 *s3.GetBuc func (_m *S3API) GetBucketVersioning(_a0 *s3.GetBucketVersioningInput) (*s3.GetBucketVersioningOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketVersioning") + } + 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 +4294,6 @@ func (_m *S3API) GetBucketVersioning(_a0 *s3.GetBucketVersioningInput) (*s3.GetB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketVersioningInput) error); ok { r1 = rf(_a0) } else { @@ -3319,7 +4307,15 @@ func (_m *S3API) GetBucketVersioning(_a0 *s3.GetBucketVersioningInput) (*s3.GetB func (_m *S3API) GetBucketVersioningRequest(_a0 *s3.GetBucketVersioningInput) (*request.Request, *s3.GetBucketVersioningOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketVersioningRequest") + } + 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 +4324,6 @@ func (_m *S3API) GetBucketVersioningRequest(_a0 *s3.GetBucketVersioningInput) (* } } - var r1 *s3.GetBucketVersioningOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketVersioningInput) *s3.GetBucketVersioningOutput); ok { r1 = rf(_a0) } else { @@ -3351,7 +4346,15 @@ func (_m *S3API) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketVersioningWithContext") + } + 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 +4363,6 @@ func (_m *S3API) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Get } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketVersioningInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3374,7 +4376,15 @@ func (_m *S3API) GetBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Get func (_m *S3API) GetBucketWebsite(_a0 *s3.GetBucketWebsiteInput) (*s3.GetBucketWebsiteOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketWebsite") + } + 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 +4393,6 @@ func (_m *S3API) GetBucketWebsite(_a0 *s3.GetBucketWebsiteInput) (*s3.GetBucketW } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -3397,7 +4406,15 @@ func (_m *S3API) GetBucketWebsite(_a0 *s3.GetBucketWebsiteInput) (*s3.GetBucketW func (_m *S3API) GetBucketWebsiteRequest(_a0 *s3.GetBucketWebsiteInput) (*request.Request, *s3.GetBucketWebsiteOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetBucketWebsiteRequest") + } + 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 +4423,6 @@ func (_m *S3API) GetBucketWebsiteRequest(_a0 *s3.GetBucketWebsiteInput) (*reques } } - var r1 *s3.GetBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.GetBucketWebsiteInput) *s3.GetBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -3429,7 +4445,15 @@ func (_m *S3API) GetBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.GetBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetBucketWebsiteWithContext") + } + 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 +4462,6 @@ func (_m *S3API) GetBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.GetBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3452,7 +4475,15 @@ func (_m *S3API) GetBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.GetBuc func (_m *S3API) GetObject(_a0 *s3.GetObjectInput) (*s3.GetObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObject") + } + 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 +4492,6 @@ func (_m *S3API) GetObject(_a0 *s3.GetObjectInput) (*s3.GetObjectOutput, error) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectInput) error); ok { r1 = rf(_a0) } else { @@ -3475,7 +4505,15 @@ func (_m *S3API) GetObject(_a0 *s3.GetObjectInput) (*s3.GetObjectOutput, error) func (_m *S3API) GetObjectAcl(_a0 *s3.GetObjectAclInput) (*s3.GetObjectAclOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectAcl") + } + 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 +4522,6 @@ func (_m *S3API) GetObjectAcl(_a0 *s3.GetObjectAclInput) (*s3.GetObjectAclOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectAclInput) error); ok { r1 = rf(_a0) } else { @@ -3498,7 +4535,15 @@ func (_m *S3API) GetObjectAcl(_a0 *s3.GetObjectAclInput) (*s3.GetObjectAclOutput func (_m *S3API) GetObjectAclRequest(_a0 *s3.GetObjectAclInput) (*request.Request, *s3.GetObjectAclOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectAclRequest") + } + 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 +4552,6 @@ func (_m *S3API) GetObjectAclRequest(_a0 *s3.GetObjectAclInput) (*request.Reques } } - var r1 *s3.GetObjectAclOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectAclInput) *s3.GetObjectAclOutput); ok { r1 = rf(_a0) } else { @@ -3530,7 +4574,15 @@ func (_m *S3API) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetObjectA _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectAclWithContext") + } + 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 +4591,6 @@ func (_m *S3API) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetObjectA } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3553,7 +4604,15 @@ func (_m *S3API) GetObjectAclWithContext(_a0 context.Context, _a1 *s3.GetObjectA func (_m *S3API) GetObjectAttributes(_a0 *s3.GetObjectAttributesInput) (*s3.GetObjectAttributesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectAttributes") + } + 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 { @@ -3562,7 +4621,6 @@ func (_m *S3API) GetObjectAttributes(_a0 *s3.GetObjectAttributesInput) (*s3.GetO } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectAttributesInput) error); ok { r1 = rf(_a0) } else { @@ -3576,7 +4634,15 @@ func (_m *S3API) GetObjectAttributes(_a0 *s3.GetObjectAttributesInput) (*s3.GetO func (_m *S3API) GetObjectAttributesRequest(_a0 *s3.GetObjectAttributesInput) (*request.Request, *s3.GetObjectAttributesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectAttributesRequest") + } + 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 { @@ -3585,7 +4651,6 @@ func (_m *S3API) GetObjectAttributesRequest(_a0 *s3.GetObjectAttributesInput) (* } } - var r1 *s3.GetObjectAttributesOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectAttributesInput) *s3.GetObjectAttributesOutput); ok { r1 = rf(_a0) } else { @@ -3608,7 +4673,15 @@ func (_m *S3API) GetObjectAttributesWithContext(_a0 context.Context, _a1 *s3.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectAttributesWithContext") + } + 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 { @@ -3617,7 +4690,6 @@ func (_m *S3API) GetObjectAttributesWithContext(_a0 context.Context, _a1 *s3.Get } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectAttributesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3631,7 +4703,15 @@ func (_m *S3API) GetObjectAttributesWithContext(_a0 context.Context, _a1 *s3.Get func (_m *S3API) GetObjectLegalHold(_a0 *s3.GetObjectLegalHoldInput) (*s3.GetObjectLegalHoldOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectLegalHold") + } + 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 { @@ -3640,7 +4720,6 @@ func (_m *S3API) GetObjectLegalHold(_a0 *s3.GetObjectLegalHoldInput) (*s3.GetObj } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectLegalHoldInput) error); ok { r1 = rf(_a0) } else { @@ -3654,7 +4733,15 @@ func (_m *S3API) GetObjectLegalHold(_a0 *s3.GetObjectLegalHoldInput) (*s3.GetObj func (_m *S3API) GetObjectLegalHoldRequest(_a0 *s3.GetObjectLegalHoldInput) (*request.Request, *s3.GetObjectLegalHoldOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectLegalHoldRequest") + } + 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 { @@ -3663,7 +4750,6 @@ func (_m *S3API) GetObjectLegalHoldRequest(_a0 *s3.GetObjectLegalHoldInput) (*re } } - var r1 *s3.GetObjectLegalHoldOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectLegalHoldInput) *s3.GetObjectLegalHoldOutput); ok { r1 = rf(_a0) } else { @@ -3686,7 +4772,15 @@ func (_m *S3API) GetObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.GetO _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectLegalHoldWithContext") + } + 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 { @@ -3695,7 +4789,6 @@ func (_m *S3API) GetObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.GetO } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectLegalHoldInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3709,7 +4802,15 @@ func (_m *S3API) GetObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.GetO func (_m *S3API) GetObjectLockConfiguration(_a0 *s3.GetObjectLockConfigurationInput) (*s3.GetObjectLockConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectLockConfiguration") + } + 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 { @@ -3718,7 +4819,6 @@ func (_m *S3API) GetObjectLockConfiguration(_a0 *s3.GetObjectLockConfigurationIn } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectLockConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -3732,7 +4832,15 @@ func (_m *S3API) GetObjectLockConfiguration(_a0 *s3.GetObjectLockConfigurationIn func (_m *S3API) GetObjectLockConfigurationRequest(_a0 *s3.GetObjectLockConfigurationInput) (*request.Request, *s3.GetObjectLockConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectLockConfigurationRequest") + } + 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 { @@ -3741,7 +4849,6 @@ func (_m *S3API) GetObjectLockConfigurationRequest(_a0 *s3.GetObjectLockConfigur } } - var r1 *s3.GetObjectLockConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectLockConfigurationInput) *s3.GetObjectLockConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -3764,7 +4871,15 @@ func (_m *S3API) GetObjectLockConfigurationWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectLockConfigurationWithContext") + } + 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 { @@ -3773,7 +4888,6 @@ func (_m *S3API) GetObjectLockConfigurationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectLockConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3787,7 +4901,15 @@ func (_m *S3API) GetObjectLockConfigurationWithContext(_a0 context.Context, _a1 func (_m *S3API) GetObjectRequest(_a0 *s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectRequest") + } + 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 { @@ -3796,7 +4918,6 @@ func (_m *S3API) GetObjectRequest(_a0 *s3.GetObjectInput) (*request.Request, *s3 } } - var r1 *s3.GetObjectOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectInput) *s3.GetObjectOutput); ok { r1 = rf(_a0) } else { @@ -3812,7 +4933,15 @@ func (_m *S3API) GetObjectRequest(_a0 *s3.GetObjectInput) (*request.Request, *s3 func (_m *S3API) GetObjectRetention(_a0 *s3.GetObjectRetentionInput) (*s3.GetObjectRetentionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectRetention") + } + 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 { @@ -3821,7 +4950,6 @@ func (_m *S3API) GetObjectRetention(_a0 *s3.GetObjectRetentionInput) (*s3.GetObj } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectRetentionInput) error); ok { r1 = rf(_a0) } else { @@ -3835,7 +4963,15 @@ func (_m *S3API) GetObjectRetention(_a0 *s3.GetObjectRetentionInput) (*s3.GetObj func (_m *S3API) GetObjectRetentionRequest(_a0 *s3.GetObjectRetentionInput) (*request.Request, *s3.GetObjectRetentionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectRetentionRequest") + } + 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 { @@ -3844,7 +4980,6 @@ func (_m *S3API) GetObjectRetentionRequest(_a0 *s3.GetObjectRetentionInput) (*re } } - var r1 *s3.GetObjectRetentionOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectRetentionInput) *s3.GetObjectRetentionOutput); ok { r1 = rf(_a0) } else { @@ -3867,7 +5002,15 @@ func (_m *S3API) GetObjectRetentionWithContext(_a0 context.Context, _a1 *s3.GetO _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectRetentionWithContext") + } + 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 { @@ -3876,7 +5019,6 @@ func (_m *S3API) GetObjectRetentionWithContext(_a0 context.Context, _a1 *s3.GetO } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectRetentionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3890,7 +5032,15 @@ func (_m *S3API) GetObjectRetentionWithContext(_a0 context.Context, _a1 *s3.GetO func (_m *S3API) GetObjectTagging(_a0 *s3.GetObjectTaggingInput) (*s3.GetObjectTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectTagging") + } + 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 { @@ -3899,7 +5049,6 @@ func (_m *S3API) GetObjectTagging(_a0 *s3.GetObjectTaggingInput) (*s3.GetObjectT } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -3913,7 +5062,15 @@ func (_m *S3API) GetObjectTagging(_a0 *s3.GetObjectTaggingInput) (*s3.GetObjectT func (_m *S3API) GetObjectTaggingRequest(_a0 *s3.GetObjectTaggingInput) (*request.Request, *s3.GetObjectTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectTaggingRequest") + } + 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 { @@ -3922,7 +5079,6 @@ func (_m *S3API) GetObjectTaggingRequest(_a0 *s3.GetObjectTaggingInput) (*reques } } - var r1 *s3.GetObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectTaggingInput) *s3.GetObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -3945,7 +5101,15 @@ func (_m *S3API) GetObjectTaggingWithContext(_a0 context.Context, _a1 *s3.GetObj _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectTaggingWithContext") + } + 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 { @@ -3954,7 +5118,6 @@ func (_m *S3API) GetObjectTaggingWithContext(_a0 context.Context, _a1 *s3.GetObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -3968,7 +5131,15 @@ func (_m *S3API) GetObjectTaggingWithContext(_a0 context.Context, _a1 *s3.GetObj func (_m *S3API) GetObjectTorrent(_a0 *s3.GetObjectTorrentInput) (*s3.GetObjectTorrentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectTorrent") + } + 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 { @@ -3977,7 +5148,6 @@ func (_m *S3API) GetObjectTorrent(_a0 *s3.GetObjectTorrentInput) (*s3.GetObjectT } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetObjectTorrentInput) error); ok { r1 = rf(_a0) } else { @@ -3991,7 +5161,15 @@ func (_m *S3API) GetObjectTorrent(_a0 *s3.GetObjectTorrentInput) (*s3.GetObjectT func (_m *S3API) GetObjectTorrentRequest(_a0 *s3.GetObjectTorrentInput) (*request.Request, *s3.GetObjectTorrentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetObjectTorrentRequest") + } + 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 { @@ -4000,7 +5178,6 @@ func (_m *S3API) GetObjectTorrentRequest(_a0 *s3.GetObjectTorrentInput) (*reques } } - var r1 *s3.GetObjectTorrentOutput if rf, ok := ret.Get(1).(func(*s3.GetObjectTorrentInput) *s3.GetObjectTorrentOutput); ok { r1 = rf(_a0) } else { @@ -4023,7 +5200,15 @@ func (_m *S3API) GetObjectTorrentWithContext(_a0 context.Context, _a1 *s3.GetObj _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectTorrentWithContext") + } + 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 { @@ -4032,7 +5217,6 @@ func (_m *S3API) GetObjectTorrentWithContext(_a0 context.Context, _a1 *s3.GetObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectTorrentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4053,7 +5237,15 @@ func (_m *S3API) GetObjectWithContext(_a0 context.Context, _a1 *s3.GetObjectInpu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetObjectWithContext") + } + 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 { @@ -4062,7 +5254,6 @@ func (_m *S3API) GetObjectWithContext(_a0 context.Context, _a1 *s3.GetObjectInpu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4076,7 +5267,15 @@ func (_m *S3API) GetObjectWithContext(_a0 context.Context, _a1 *s3.GetObjectInpu func (_m *S3API) GetPublicAccessBlock(_a0 *s3.GetPublicAccessBlockInput) (*s3.GetPublicAccessBlockOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetPublicAccessBlock") + } + 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 { @@ -4085,7 +5284,6 @@ func (_m *S3API) GetPublicAccessBlock(_a0 *s3.GetPublicAccessBlockInput) (*s3.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.GetPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -4099,7 +5297,15 @@ func (_m *S3API) GetPublicAccessBlock(_a0 *s3.GetPublicAccessBlockInput) (*s3.Ge func (_m *S3API) GetPublicAccessBlockRequest(_a0 *s3.GetPublicAccessBlockInput) (*request.Request, *s3.GetPublicAccessBlockOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetPublicAccessBlockRequest") + } + 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 { @@ -4108,7 +5314,6 @@ func (_m *S3API) GetPublicAccessBlockRequest(_a0 *s3.GetPublicAccessBlockInput) } } - var r1 *s3.GetPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.GetPublicAccessBlockInput) *s3.GetPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -4131,7 +5336,15 @@ func (_m *S3API) GetPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPublicAccessBlockWithContext") + } + 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 { @@ -4140,7 +5353,6 @@ func (_m *S3API) GetPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Ge } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.GetPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4154,7 +5366,15 @@ func (_m *S3API) GetPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Ge func (_m *S3API) HeadBucket(_a0 *s3.HeadBucketInput) (*s3.HeadBucketOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for HeadBucket") + } + 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 { @@ -4163,7 +5383,6 @@ func (_m *S3API) HeadBucket(_a0 *s3.HeadBucketInput) (*s3.HeadBucketOutput, erro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.HeadBucketInput) error); ok { r1 = rf(_a0) } else { @@ -4177,7 +5396,15 @@ func (_m *S3API) HeadBucket(_a0 *s3.HeadBucketInput) (*s3.HeadBucketOutput, erro func (_m *S3API) HeadBucketRequest(_a0 *s3.HeadBucketInput) (*request.Request, *s3.HeadBucketOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for HeadBucketRequest") + } + 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 { @@ -4186,7 +5413,6 @@ func (_m *S3API) HeadBucketRequest(_a0 *s3.HeadBucketInput) (*request.Request, * } } - var r1 *s3.HeadBucketOutput if rf, ok := ret.Get(1).(func(*s3.HeadBucketInput) *s3.HeadBucketOutput); ok { r1 = rf(_a0) } else { @@ -4209,7 +5435,15 @@ func (_m *S3API) HeadBucketWithContext(_a0 context.Context, _a1 *s3.HeadBucketIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for HeadBucketWithContext") + } + 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 { @@ -4218,7 +5452,6 @@ func (_m *S3API) HeadBucketWithContext(_a0 context.Context, _a1 *s3.HeadBucketIn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.HeadBucketInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4232,7 +5465,15 @@ func (_m *S3API) HeadBucketWithContext(_a0 context.Context, _a1 *s3.HeadBucketIn func (_m *S3API) HeadObject(_a0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for HeadObject") + } + 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 { @@ -4241,7 +5482,6 @@ func (_m *S3API) HeadObject(_a0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, erro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.HeadObjectInput) error); ok { r1 = rf(_a0) } else { @@ -4255,7 +5495,15 @@ func (_m *S3API) HeadObject(_a0 *s3.HeadObjectInput) (*s3.HeadObjectOutput, erro func (_m *S3API) HeadObjectRequest(_a0 *s3.HeadObjectInput) (*request.Request, *s3.HeadObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for HeadObjectRequest") + } + 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 { @@ -4264,7 +5512,6 @@ func (_m *S3API) HeadObjectRequest(_a0 *s3.HeadObjectInput) (*request.Request, * } } - var r1 *s3.HeadObjectOutput if rf, ok := ret.Get(1).(func(*s3.HeadObjectInput) *s3.HeadObjectOutput); ok { r1 = rf(_a0) } else { @@ -4287,7 +5534,15 @@ func (_m *S3API) HeadObjectWithContext(_a0 context.Context, _a1 *s3.HeadObjectIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for HeadObjectWithContext") + } + 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 { @@ -4296,7 +5551,6 @@ func (_m *S3API) HeadObjectWithContext(_a0 context.Context, _a1 *s3.HeadObjectIn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.HeadObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4310,7 +5564,15 @@ func (_m *S3API) HeadObjectWithContext(_a0 context.Context, _a1 *s3.HeadObjectIn func (_m *S3API) ListBucketAnalyticsConfigurations(_a0 *s3.ListBucketAnalyticsConfigurationsInput) (*s3.ListBucketAnalyticsConfigurationsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketAnalyticsConfigurations") + } + 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 { @@ -4319,7 +5581,6 @@ func (_m *S3API) ListBucketAnalyticsConfigurations(_a0 *s3.ListBucketAnalyticsCo } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketAnalyticsConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4333,7 +5594,15 @@ func (_m *S3API) ListBucketAnalyticsConfigurations(_a0 *s3.ListBucketAnalyticsCo func (_m *S3API) ListBucketAnalyticsConfigurationsRequest(_a0 *s3.ListBucketAnalyticsConfigurationsInput) (*request.Request, *s3.ListBucketAnalyticsConfigurationsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketAnalyticsConfigurationsRequest") + } + 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 { @@ -4342,7 +5611,6 @@ func (_m *S3API) ListBucketAnalyticsConfigurationsRequest(_a0 *s3.ListBucketAnal } } - var r1 *s3.ListBucketAnalyticsConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketAnalyticsConfigurationsInput) *s3.ListBucketAnalyticsConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4365,7 +5633,15 @@ func (_m *S3API) ListBucketAnalyticsConfigurationsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListBucketAnalyticsConfigurationsWithContext") + } + 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 { @@ -4374,7 +5650,6 @@ func (_m *S3API) ListBucketAnalyticsConfigurationsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketAnalyticsConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4388,7 +5663,15 @@ func (_m *S3API) ListBucketAnalyticsConfigurationsWithContext(_a0 context.Contex func (_m *S3API) ListBucketIntelligentTieringConfigurations(_a0 *s3.ListBucketIntelligentTieringConfigurationsInput) (*s3.ListBucketIntelligentTieringConfigurationsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketIntelligentTieringConfigurations") + } + 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 { @@ -4397,7 +5680,6 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurations(_a0 *s3.ListBucketIn } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4411,7 +5693,15 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurations(_a0 *s3.ListBucketIn func (_m *S3API) ListBucketIntelligentTieringConfigurationsRequest(_a0 *s3.ListBucketIntelligentTieringConfigurationsInput) (*request.Request, *s3.ListBucketIntelligentTieringConfigurationsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketIntelligentTieringConfigurationsRequest") + } + 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 { @@ -4420,7 +5710,6 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurationsRequest(_a0 *s3.ListB } } - var r1 *s3.ListBucketIntelligentTieringConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketIntelligentTieringConfigurationsInput) *s3.ListBucketIntelligentTieringConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4443,7 +5732,15 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurationsWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListBucketIntelligentTieringConfigurationsWithContext") + } + 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 { @@ -4452,7 +5749,6 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurationsWithContext(_a0 conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketIntelligentTieringConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4466,7 +5762,15 @@ func (_m *S3API) ListBucketIntelligentTieringConfigurationsWithContext(_a0 conte func (_m *S3API) ListBucketInventoryConfigurations(_a0 *s3.ListBucketInventoryConfigurationsInput) (*s3.ListBucketInventoryConfigurationsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketInventoryConfigurations") + } + 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 { @@ -4475,7 +5779,6 @@ func (_m *S3API) ListBucketInventoryConfigurations(_a0 *s3.ListBucketInventoryCo } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketInventoryConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4489,7 +5792,15 @@ func (_m *S3API) ListBucketInventoryConfigurations(_a0 *s3.ListBucketInventoryCo func (_m *S3API) ListBucketInventoryConfigurationsRequest(_a0 *s3.ListBucketInventoryConfigurationsInput) (*request.Request, *s3.ListBucketInventoryConfigurationsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketInventoryConfigurationsRequest") + } + 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 { @@ -4498,7 +5809,6 @@ func (_m *S3API) ListBucketInventoryConfigurationsRequest(_a0 *s3.ListBucketInve } } - var r1 *s3.ListBucketInventoryConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketInventoryConfigurationsInput) *s3.ListBucketInventoryConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4521,7 +5831,15 @@ func (_m *S3API) ListBucketInventoryConfigurationsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListBucketInventoryConfigurationsWithContext") + } + 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 { @@ -4530,7 +5848,6 @@ func (_m *S3API) ListBucketInventoryConfigurationsWithContext(_a0 context.Contex } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketInventoryConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4544,7 +5861,15 @@ func (_m *S3API) ListBucketInventoryConfigurationsWithContext(_a0 context.Contex func (_m *S3API) ListBucketMetricsConfigurations(_a0 *s3.ListBucketMetricsConfigurationsInput) (*s3.ListBucketMetricsConfigurationsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketMetricsConfigurations") + } + 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 { @@ -4553,7 +5878,6 @@ func (_m *S3API) ListBucketMetricsConfigurations(_a0 *s3.ListBucketMetricsConfig } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketMetricsConfigurationsInput) error); ok { r1 = rf(_a0) } else { @@ -4567,7 +5891,15 @@ func (_m *S3API) ListBucketMetricsConfigurations(_a0 *s3.ListBucketMetricsConfig func (_m *S3API) ListBucketMetricsConfigurationsRequest(_a0 *s3.ListBucketMetricsConfigurationsInput) (*request.Request, *s3.ListBucketMetricsConfigurationsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketMetricsConfigurationsRequest") + } + 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 { @@ -4576,7 +5908,6 @@ func (_m *S3API) ListBucketMetricsConfigurationsRequest(_a0 *s3.ListBucketMetric } } - var r1 *s3.ListBucketMetricsConfigurationsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketMetricsConfigurationsInput) *s3.ListBucketMetricsConfigurationsOutput); ok { r1 = rf(_a0) } else { @@ -4599,7 +5930,15 @@ func (_m *S3API) ListBucketMetricsConfigurationsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListBucketMetricsConfigurationsWithContext") + } + 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 { @@ -4608,7 +5947,6 @@ func (_m *S3API) ListBucketMetricsConfigurationsWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketMetricsConfigurationsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4622,7 +5960,15 @@ func (_m *S3API) ListBucketMetricsConfigurationsWithContext(_a0 context.Context, func (_m *S3API) ListBuckets(_a0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBuckets") + } + 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 { @@ -4631,7 +5977,6 @@ func (_m *S3API) ListBuckets(_a0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, e } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListBucketsInput) error); ok { r1 = rf(_a0) } else { @@ -4645,7 +5990,15 @@ func (_m *S3API) ListBuckets(_a0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, e func (_m *S3API) ListBucketsRequest(_a0 *s3.ListBucketsInput) (*request.Request, *s3.ListBucketsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListBucketsRequest") + } + 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 { @@ -4654,7 +6007,6 @@ func (_m *S3API) ListBucketsRequest(_a0 *s3.ListBucketsInput) (*request.Request, } } - var r1 *s3.ListBucketsOutput if rf, ok := ret.Get(1).(func(*s3.ListBucketsInput) *s3.ListBucketsOutput); ok { r1 = rf(_a0) } else { @@ -4677,7 +6029,15 @@ func (_m *S3API) ListBucketsWithContext(_a0 context.Context, _a1 *s3.ListBuckets _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListBucketsWithContext") + } + 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 { @@ -4686,7 +6046,6 @@ func (_m *S3API) ListBucketsWithContext(_a0 context.Context, _a1 *s3.ListBuckets } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListBucketsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4696,11 +6055,161 @@ func (_m *S3API) ListBucketsWithContext(_a0 context.Context, _a1 *s3.ListBuckets return r0, r1 } +// ListDirectoryBuckets provides a mock function with given fields: _a0 +func (_m *S3API) ListDirectoryBuckets(_a0 *s3.ListDirectoryBucketsInput) (*s3.ListDirectoryBucketsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListDirectoryBuckets") + } + + var r0 *s3.ListDirectoryBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*s3.ListDirectoryBucketsInput) (*s3.ListDirectoryBucketsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.ListDirectoryBucketsInput) *s3.ListDirectoryBucketsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.ListDirectoryBucketsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*s3.ListDirectoryBucketsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListDirectoryBucketsPages provides a mock function with given fields: _a0, _a1 +func (_m *S3API) ListDirectoryBucketsPages(_a0 *s3.ListDirectoryBucketsInput, _a1 func(*s3.ListDirectoryBucketsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for ListDirectoryBucketsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*s3.ListDirectoryBucketsInput, func(*s3.ListDirectoryBucketsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListDirectoryBucketsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *S3API) ListDirectoryBucketsPagesWithContext(_a0 context.Context, _a1 *s3.ListDirectoryBucketsInput, _a2 func(*s3.ListDirectoryBucketsOutput, 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...) + + if len(ret) == 0 { + panic("no return value specified for ListDirectoryBucketsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListDirectoryBucketsInput, func(*s3.ListDirectoryBucketsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListDirectoryBucketsRequest provides a mock function with given fields: _a0 +func (_m *S3API) ListDirectoryBucketsRequest(_a0 *s3.ListDirectoryBucketsInput) (*request.Request, *s3.ListDirectoryBucketsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListDirectoryBucketsRequest") + } + + var r0 *request.Request + var r1 *s3.ListDirectoryBucketsOutput + if rf, ok := ret.Get(0).(func(*s3.ListDirectoryBucketsInput) (*request.Request, *s3.ListDirectoryBucketsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*s3.ListDirectoryBucketsInput) *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.ListDirectoryBucketsInput) *s3.ListDirectoryBucketsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*s3.ListDirectoryBucketsOutput) + } + } + + return r0, r1 +} + +// ListDirectoryBucketsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *S3API) ListDirectoryBucketsWithContext(_a0 context.Context, _a1 *s3.ListDirectoryBucketsInput, _a2 ...request.Option) (*s3.ListDirectoryBucketsOutput, 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...) + + if len(ret) == 0 { + panic("no return value specified for ListDirectoryBucketsWithContext") + } + + var r0 *s3.ListDirectoryBucketsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListDirectoryBucketsInput, ...request.Option) (*s3.ListDirectoryBucketsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *s3.ListDirectoryBucketsInput, ...request.Option) *s3.ListDirectoryBucketsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*s3.ListDirectoryBucketsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *s3.ListDirectoryBucketsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListMultipartUploads provides a mock function with given fields: _a0 func (_m *S3API) ListMultipartUploads(_a0 *s3.ListMultipartUploadsInput) (*s3.ListMultipartUploadsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMultipartUploads") + } + 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 { @@ -4709,7 +6218,6 @@ func (_m *S3API) ListMultipartUploads(_a0 *s3.ListMultipartUploadsInput) (*s3.Li } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListMultipartUploadsInput) error); ok { r1 = rf(_a0) } else { @@ -4723,6 +6231,10 @@ func (_m *S3API) ListMultipartUploads(_a0 *s3.ListMultipartUploadsInput) (*s3.Li func (_m *S3API) ListMultipartUploadsPages(_a0 *s3.ListMultipartUploadsInput, _a1 func(*s3.ListMultipartUploadsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListMultipartUploadsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.ListMultipartUploadsInput, func(*s3.ListMultipartUploadsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -4744,6 +6256,10 @@ func (_m *S3API) ListMultipartUploadsPagesWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMultipartUploadsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.ListMultipartUploadsInput, func(*s3.ListMultipartUploadsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -4758,7 +6274,15 @@ func (_m *S3API) ListMultipartUploadsPagesWithContext(_a0 context.Context, _a1 * func (_m *S3API) ListMultipartUploadsRequest(_a0 *s3.ListMultipartUploadsInput) (*request.Request, *s3.ListMultipartUploadsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMultipartUploadsRequest") + } + 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 { @@ -4767,7 +6291,6 @@ func (_m *S3API) ListMultipartUploadsRequest(_a0 *s3.ListMultipartUploadsInput) } } - var r1 *s3.ListMultipartUploadsOutput if rf, ok := ret.Get(1).(func(*s3.ListMultipartUploadsInput) *s3.ListMultipartUploadsOutput); ok { r1 = rf(_a0) } else { @@ -4790,7 +6313,15 @@ func (_m *S3API) ListMultipartUploadsWithContext(_a0 context.Context, _a1 *s3.Li _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMultipartUploadsWithContext") + } + 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 { @@ -4799,7 +6330,6 @@ func (_m *S3API) ListMultipartUploadsWithContext(_a0 context.Context, _a1 *s3.Li } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListMultipartUploadsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4813,7 +6343,15 @@ func (_m *S3API) ListMultipartUploadsWithContext(_a0 context.Context, _a1 *s3.Li func (_m *S3API) ListObjectVersions(_a0 *s3.ListObjectVersionsInput) (*s3.ListObjectVersionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjectVersions") + } + 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 { @@ -4822,7 +6360,6 @@ func (_m *S3API) ListObjectVersions(_a0 *s3.ListObjectVersionsInput) (*s3.ListOb } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectVersionsInput) error); ok { r1 = rf(_a0) } else { @@ -4836,6 +6373,10 @@ func (_m *S3API) ListObjectVersions(_a0 *s3.ListObjectVersionsInput) (*s3.ListOb func (_m *S3API) ListObjectVersionsPages(_a0 *s3.ListObjectVersionsInput, _a1 func(*s3.ListObjectVersionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListObjectVersionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.ListObjectVersionsInput, func(*s3.ListObjectVersionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -4857,6 +6398,10 @@ func (_m *S3API) ListObjectVersionsPagesWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectVersionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectVersionsInput, func(*s3.ListObjectVersionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -4871,7 +6416,15 @@ func (_m *S3API) ListObjectVersionsPagesWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) ListObjectVersionsRequest(_a0 *s3.ListObjectVersionsInput) (*request.Request, *s3.ListObjectVersionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjectVersionsRequest") + } + 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 { @@ -4880,7 +6433,6 @@ func (_m *S3API) ListObjectVersionsRequest(_a0 *s3.ListObjectVersionsInput) (*re } } - var r1 *s3.ListObjectVersionsOutput if rf, ok := ret.Get(1).(func(*s3.ListObjectVersionsInput) *s3.ListObjectVersionsOutput); ok { r1 = rf(_a0) } else { @@ -4903,7 +6455,15 @@ func (_m *S3API) ListObjectVersionsWithContext(_a0 context.Context, _a1 *s3.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectVersionsWithContext") + } + 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 { @@ -4912,7 +6472,6 @@ func (_m *S3API) ListObjectVersionsWithContext(_a0 context.Context, _a1 *s3.List } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectVersionsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -4926,7 +6485,15 @@ func (_m *S3API) ListObjectVersionsWithContext(_a0 context.Context, _a1 *s3.List func (_m *S3API) ListObjects(_a0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjects") + } + 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 { @@ -4935,7 +6502,6 @@ func (_m *S3API) ListObjects(_a0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, e } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectsInput) error); ok { r1 = rf(_a0) } else { @@ -4949,6 +6515,10 @@ func (_m *S3API) ListObjects(_a0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, e func (_m *S3API) ListObjectsPages(_a0 *s3.ListObjectsInput, _a1 func(*s3.ListObjectsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListObjectsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.ListObjectsInput, func(*s3.ListObjectsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -4970,6 +6540,10 @@ func (_m *S3API) ListObjectsPagesWithContext(_a0 context.Context, _a1 *s3.ListOb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsInput, func(*s3.ListObjectsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -4984,7 +6558,15 @@ func (_m *S3API) ListObjectsPagesWithContext(_a0 context.Context, _a1 *s3.ListOb func (_m *S3API) ListObjectsRequest(_a0 *s3.ListObjectsInput) (*request.Request, *s3.ListObjectsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjectsRequest") + } + 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 { @@ -4993,7 +6575,6 @@ func (_m *S3API) ListObjectsRequest(_a0 *s3.ListObjectsInput) (*request.Request, } } - var r1 *s3.ListObjectsOutput if rf, ok := ret.Get(1).(func(*s3.ListObjectsInput) *s3.ListObjectsOutput); ok { r1 = rf(_a0) } else { @@ -5009,7 +6590,15 @@ func (_m *S3API) ListObjectsRequest(_a0 *s3.ListObjectsInput) (*request.Request, func (_m *S3API) ListObjectsV2(_a0 *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjectsV2") + } + 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 { @@ -5018,7 +6607,6 @@ func (_m *S3API) ListObjectsV2(_a0 *s3.ListObjectsV2Input) (*s3.ListObjectsV2Out } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListObjectsV2Input) error); ok { r1 = rf(_a0) } else { @@ -5032,6 +6620,10 @@ func (_m *S3API) ListObjectsV2(_a0 *s3.ListObjectsV2Input) (*s3.ListObjectsV2Out func (_m *S3API) ListObjectsV2Pages(_a0 *s3.ListObjectsV2Input, _a1 func(*s3.ListObjectsV2Output, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListObjectsV2Pages") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.ListObjectsV2Input, func(*s3.ListObjectsV2Output, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -5053,6 +6645,10 @@ func (_m *S3API) ListObjectsV2PagesWithContext(_a0 context.Context, _a1 *s3.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectsV2PagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.ListObjectsV2Input, func(*s3.ListObjectsV2Output, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -5067,7 +6663,15 @@ func (_m *S3API) ListObjectsV2PagesWithContext(_a0 context.Context, _a1 *s3.List func (_m *S3API) ListObjectsV2Request(_a0 *s3.ListObjectsV2Input) (*request.Request, *s3.ListObjectsV2Output) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListObjectsV2Request") + } + 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 { @@ -5076,7 +6680,6 @@ func (_m *S3API) ListObjectsV2Request(_a0 *s3.ListObjectsV2Input) (*request.Requ } } - var r1 *s3.ListObjectsV2Output if rf, ok := ret.Get(1).(func(*s3.ListObjectsV2Input) *s3.ListObjectsV2Output); ok { r1 = rf(_a0) } else { @@ -5099,7 +6702,15 @@ func (_m *S3API) ListObjectsV2WithContext(_a0 context.Context, _a1 *s3.ListObjec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectsV2WithContext") + } + 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 { @@ -5108,7 +6719,6 @@ func (_m *S3API) ListObjectsV2WithContext(_a0 context.Context, _a1 *s3.ListObjec } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectsV2Input, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5129,7 +6739,15 @@ func (_m *S3API) ListObjectsWithContext(_a0 context.Context, _a1 *s3.ListObjects _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListObjectsWithContext") + } + 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 { @@ -5138,7 +6756,6 @@ func (_m *S3API) ListObjectsWithContext(_a0 context.Context, _a1 *s3.ListObjects } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListObjectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5152,7 +6769,15 @@ func (_m *S3API) ListObjectsWithContext(_a0 context.Context, _a1 *s3.ListObjects func (_m *S3API) ListParts(_a0 *s3.ListPartsInput) (*s3.ListPartsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListParts") + } + 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 { @@ -5161,7 +6786,6 @@ func (_m *S3API) ListParts(_a0 *s3.ListPartsInput) (*s3.ListPartsOutput, error) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.ListPartsInput) error); ok { r1 = rf(_a0) } else { @@ -5175,6 +6799,10 @@ func (_m *S3API) ListParts(_a0 *s3.ListPartsInput) (*s3.ListPartsOutput, error) func (_m *S3API) ListPartsPages(_a0 *s3.ListPartsInput, _a1 func(*s3.ListPartsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListPartsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.ListPartsInput, func(*s3.ListPartsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -5196,6 +6824,10 @@ func (_m *S3API) ListPartsPagesWithContext(_a0 context.Context, _a1 *s3.ListPart _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPartsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.ListPartsInput, func(*s3.ListPartsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -5210,7 +6842,15 @@ func (_m *S3API) ListPartsPagesWithContext(_a0 context.Context, _a1 *s3.ListPart func (_m *S3API) ListPartsRequest(_a0 *s3.ListPartsInput) (*request.Request, *s3.ListPartsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPartsRequest") + } + 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 { @@ -5219,7 +6859,6 @@ func (_m *S3API) ListPartsRequest(_a0 *s3.ListPartsInput) (*request.Request, *s3 } } - var r1 *s3.ListPartsOutput if rf, ok := ret.Get(1).(func(*s3.ListPartsInput) *s3.ListPartsOutput); ok { r1 = rf(_a0) } else { @@ -5242,7 +6881,15 @@ func (_m *S3API) ListPartsWithContext(_a0 context.Context, _a1 *s3.ListPartsInpu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPartsWithContext") + } + 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 { @@ -5251,7 +6898,6 @@ func (_m *S3API) ListPartsWithContext(_a0 context.Context, _a1 *s3.ListPartsInpu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.ListPartsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5265,7 +6911,15 @@ func (_m *S3API) ListPartsWithContext(_a0 context.Context, _a1 *s3.ListPartsInpu func (_m *S3API) PutBucketAccelerateConfiguration(_a0 *s3.PutBucketAccelerateConfigurationInput) (*s3.PutBucketAccelerateConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAccelerateConfiguration") + } + 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 { @@ -5274,7 +6928,6 @@ func (_m *S3API) PutBucketAccelerateConfiguration(_a0 *s3.PutBucketAccelerateCon } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAccelerateConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5288,7 +6941,15 @@ func (_m *S3API) PutBucketAccelerateConfiguration(_a0 *s3.PutBucketAccelerateCon func (_m *S3API) PutBucketAccelerateConfigurationRequest(_a0 *s3.PutBucketAccelerateConfigurationInput) (*request.Request, *s3.PutBucketAccelerateConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAccelerateConfigurationRequest") + } + 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 { @@ -5297,7 +6958,6 @@ func (_m *S3API) PutBucketAccelerateConfigurationRequest(_a0 *s3.PutBucketAccele } } - var r1 *s3.PutBucketAccelerateConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAccelerateConfigurationInput) *s3.PutBucketAccelerateConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5320,7 +6980,15 @@ func (_m *S3API) PutBucketAccelerateConfigurationWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketAccelerateConfigurationWithContext") + } + 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 { @@ -5329,7 +6997,6 @@ func (_m *S3API) PutBucketAccelerateConfigurationWithContext(_a0 context.Context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAccelerateConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5343,7 +7010,15 @@ func (_m *S3API) PutBucketAccelerateConfigurationWithContext(_a0 context.Context func (_m *S3API) PutBucketAcl(_a0 *s3.PutBucketAclInput) (*s3.PutBucketAclOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAcl") + } + 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 { @@ -5352,7 +7027,6 @@ func (_m *S3API) PutBucketAcl(_a0 *s3.PutBucketAclInput) (*s3.PutBucketAclOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAclInput) error); ok { r1 = rf(_a0) } else { @@ -5366,7 +7040,15 @@ func (_m *S3API) PutBucketAcl(_a0 *s3.PutBucketAclInput) (*s3.PutBucketAclOutput func (_m *S3API) PutBucketAclRequest(_a0 *s3.PutBucketAclInput) (*request.Request, *s3.PutBucketAclOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAclRequest") + } + 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 { @@ -5375,7 +7057,6 @@ func (_m *S3API) PutBucketAclRequest(_a0 *s3.PutBucketAclInput) (*request.Reques } } - var r1 *s3.PutBucketAclOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAclInput) *s3.PutBucketAclOutput); ok { r1 = rf(_a0) } else { @@ -5398,7 +7079,15 @@ func (_m *S3API) PutBucketAclWithContext(_a0 context.Context, _a1 *s3.PutBucketA _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketAclWithContext") + } + 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 { @@ -5407,7 +7096,6 @@ func (_m *S3API) PutBucketAclWithContext(_a0 context.Context, _a1 *s3.PutBucketA } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5421,7 +7109,15 @@ func (_m *S3API) PutBucketAclWithContext(_a0 context.Context, _a1 *s3.PutBucketA func (_m *S3API) PutBucketAnalyticsConfiguration(_a0 *s3.PutBucketAnalyticsConfigurationInput) (*s3.PutBucketAnalyticsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAnalyticsConfiguration") + } + 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 { @@ -5430,7 +7126,6 @@ func (_m *S3API) PutBucketAnalyticsConfiguration(_a0 *s3.PutBucketAnalyticsConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketAnalyticsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5444,7 +7139,15 @@ func (_m *S3API) PutBucketAnalyticsConfiguration(_a0 *s3.PutBucketAnalyticsConfi func (_m *S3API) PutBucketAnalyticsConfigurationRequest(_a0 *s3.PutBucketAnalyticsConfigurationInput) (*request.Request, *s3.PutBucketAnalyticsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketAnalyticsConfigurationRequest") + } + 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 { @@ -5453,7 +7156,6 @@ func (_m *S3API) PutBucketAnalyticsConfigurationRequest(_a0 *s3.PutBucketAnalyti } } - var r1 *s3.PutBucketAnalyticsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketAnalyticsConfigurationInput) *s3.PutBucketAnalyticsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5476,7 +7178,15 @@ func (_m *S3API) PutBucketAnalyticsConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketAnalyticsConfigurationWithContext") + } + 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 { @@ -5485,7 +7195,6 @@ func (_m *S3API) PutBucketAnalyticsConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketAnalyticsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5499,7 +7208,15 @@ func (_m *S3API) PutBucketAnalyticsConfigurationWithContext(_a0 context.Context, func (_m *S3API) PutBucketCors(_a0 *s3.PutBucketCorsInput) (*s3.PutBucketCorsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketCors") + } + 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 { @@ -5508,7 +7225,6 @@ func (_m *S3API) PutBucketCors(_a0 *s3.PutBucketCorsInput) (*s3.PutBucketCorsOut } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketCorsInput) error); ok { r1 = rf(_a0) } else { @@ -5522,7 +7238,15 @@ func (_m *S3API) PutBucketCors(_a0 *s3.PutBucketCorsInput) (*s3.PutBucketCorsOut func (_m *S3API) PutBucketCorsRequest(_a0 *s3.PutBucketCorsInput) (*request.Request, *s3.PutBucketCorsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketCorsRequest") + } + 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 { @@ -5531,7 +7255,6 @@ func (_m *S3API) PutBucketCorsRequest(_a0 *s3.PutBucketCorsInput) (*request.Requ } } - var r1 *s3.PutBucketCorsOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketCorsInput) *s3.PutBucketCorsOutput); ok { r1 = rf(_a0) } else { @@ -5554,7 +7277,15 @@ func (_m *S3API) PutBucketCorsWithContext(_a0 context.Context, _a1 *s3.PutBucket _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketCorsWithContext") + } + 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 { @@ -5563,7 +7294,6 @@ func (_m *S3API) PutBucketCorsWithContext(_a0 context.Context, _a1 *s3.PutBucket } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketCorsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5577,7 +7307,15 @@ func (_m *S3API) PutBucketCorsWithContext(_a0 context.Context, _a1 *s3.PutBucket func (_m *S3API) PutBucketEncryption(_a0 *s3.PutBucketEncryptionInput) (*s3.PutBucketEncryptionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketEncryption") + } + 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 { @@ -5586,7 +7324,6 @@ func (_m *S3API) PutBucketEncryption(_a0 *s3.PutBucketEncryptionInput) (*s3.PutB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketEncryptionInput) error); ok { r1 = rf(_a0) } else { @@ -5600,7 +7337,15 @@ func (_m *S3API) PutBucketEncryption(_a0 *s3.PutBucketEncryptionInput) (*s3.PutB func (_m *S3API) PutBucketEncryptionRequest(_a0 *s3.PutBucketEncryptionInput) (*request.Request, *s3.PutBucketEncryptionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketEncryptionRequest") + } + 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 { @@ -5609,7 +7354,6 @@ func (_m *S3API) PutBucketEncryptionRequest(_a0 *s3.PutBucketEncryptionInput) (* } } - var r1 *s3.PutBucketEncryptionOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketEncryptionInput) *s3.PutBucketEncryptionOutput); ok { r1 = rf(_a0) } else { @@ -5632,7 +7376,15 @@ func (_m *S3API) PutBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Put _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketEncryptionWithContext") + } + 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 { @@ -5641,7 +7393,6 @@ func (_m *S3API) PutBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Put } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketEncryptionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5655,7 +7406,15 @@ func (_m *S3API) PutBucketEncryptionWithContext(_a0 context.Context, _a1 *s3.Put func (_m *S3API) PutBucketIntelligentTieringConfiguration(_a0 *s3.PutBucketIntelligentTieringConfigurationInput) (*s3.PutBucketIntelligentTieringConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketIntelligentTieringConfiguration") + } + 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 { @@ -5664,7 +7423,6 @@ func (_m *S3API) PutBucketIntelligentTieringConfiguration(_a0 *s3.PutBucketIntel } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketIntelligentTieringConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5678,7 +7436,15 @@ func (_m *S3API) PutBucketIntelligentTieringConfiguration(_a0 *s3.PutBucketIntel func (_m *S3API) PutBucketIntelligentTieringConfigurationRequest(_a0 *s3.PutBucketIntelligentTieringConfigurationInput) (*request.Request, *s3.PutBucketIntelligentTieringConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketIntelligentTieringConfigurationRequest") + } + 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 { @@ -5687,7 +7453,6 @@ func (_m *S3API) PutBucketIntelligentTieringConfigurationRequest(_a0 *s3.PutBuck } } - var r1 *s3.PutBucketIntelligentTieringConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketIntelligentTieringConfigurationInput) *s3.PutBucketIntelligentTieringConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5710,7 +7475,15 @@ func (_m *S3API) PutBucketIntelligentTieringConfigurationWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketIntelligentTieringConfigurationWithContext") + } + 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 { @@ -5719,7 +7492,6 @@ func (_m *S3API) PutBucketIntelligentTieringConfigurationWithContext(_a0 context } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketIntelligentTieringConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5733,7 +7505,15 @@ func (_m *S3API) PutBucketIntelligentTieringConfigurationWithContext(_a0 context func (_m *S3API) PutBucketInventoryConfiguration(_a0 *s3.PutBucketInventoryConfigurationInput) (*s3.PutBucketInventoryConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketInventoryConfiguration") + } + 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 { @@ -5742,7 +7522,6 @@ func (_m *S3API) PutBucketInventoryConfiguration(_a0 *s3.PutBucketInventoryConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketInventoryConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5756,7 +7535,15 @@ func (_m *S3API) PutBucketInventoryConfiguration(_a0 *s3.PutBucketInventoryConfi func (_m *S3API) PutBucketInventoryConfigurationRequest(_a0 *s3.PutBucketInventoryConfigurationInput) (*request.Request, *s3.PutBucketInventoryConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketInventoryConfigurationRequest") + } + 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 { @@ -5765,7 +7552,6 @@ func (_m *S3API) PutBucketInventoryConfigurationRequest(_a0 *s3.PutBucketInvento } } - var r1 *s3.PutBucketInventoryConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketInventoryConfigurationInput) *s3.PutBucketInventoryConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5788,7 +7574,15 @@ func (_m *S3API) PutBucketInventoryConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketInventoryConfigurationWithContext") + } + 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 { @@ -5797,7 +7591,6 @@ func (_m *S3API) PutBucketInventoryConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketInventoryConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5811,7 +7604,15 @@ func (_m *S3API) PutBucketInventoryConfigurationWithContext(_a0 context.Context, func (_m *S3API) PutBucketLifecycle(_a0 *s3.PutBucketLifecycleInput) (*s3.PutBucketLifecycleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycle") + } + 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 { @@ -5820,7 +7621,6 @@ func (_m *S3API) PutBucketLifecycle(_a0 *s3.PutBucketLifecycleInput) (*s3.PutBuc } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleInput) error); ok { r1 = rf(_a0) } else { @@ -5834,7 +7634,15 @@ func (_m *S3API) PutBucketLifecycle(_a0 *s3.PutBucketLifecycleInput) (*s3.PutBuc func (_m *S3API) PutBucketLifecycleConfiguration(_a0 *s3.PutBucketLifecycleConfigurationInput) (*s3.PutBucketLifecycleConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycleConfiguration") + } + 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 { @@ -5843,7 +7651,6 @@ func (_m *S3API) PutBucketLifecycleConfiguration(_a0 *s3.PutBucketLifecycleConfi } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -5857,7 +7664,15 @@ func (_m *S3API) PutBucketLifecycleConfiguration(_a0 *s3.PutBucketLifecycleConfi func (_m *S3API) PutBucketLifecycleConfigurationRequest(_a0 *s3.PutBucketLifecycleConfigurationInput) (*request.Request, *s3.PutBucketLifecycleConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycleConfigurationRequest") + } + 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 { @@ -5866,7 +7681,6 @@ func (_m *S3API) PutBucketLifecycleConfigurationRequest(_a0 *s3.PutBucketLifecyc } } - var r1 *s3.PutBucketLifecycleConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleConfigurationInput) *s3.PutBucketLifecycleConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -5889,7 +7703,15 @@ func (_m *S3API) PutBucketLifecycleConfigurationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycleConfigurationWithContext") + } + 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 { @@ -5898,7 +7720,6 @@ func (_m *S3API) PutBucketLifecycleConfigurationWithContext(_a0 context.Context, } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLifecycleConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5912,7 +7733,15 @@ func (_m *S3API) PutBucketLifecycleConfigurationWithContext(_a0 context.Context, func (_m *S3API) PutBucketLifecycleRequest(_a0 *s3.PutBucketLifecycleInput) (*request.Request, *s3.PutBucketLifecycleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycleRequest") + } + 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 { @@ -5921,7 +7750,6 @@ func (_m *S3API) PutBucketLifecycleRequest(_a0 *s3.PutBucketLifecycleInput) (*re } } - var r1 *s3.PutBucketLifecycleOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLifecycleInput) *s3.PutBucketLifecycleOutput); ok { r1 = rf(_a0) } else { @@ -5944,7 +7772,15 @@ func (_m *S3API) PutBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.PutB _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketLifecycleWithContext") + } + 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 { @@ -5953,7 +7789,6 @@ func (_m *S3API) PutBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.PutB } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLifecycleInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -5967,7 +7802,15 @@ func (_m *S3API) PutBucketLifecycleWithContext(_a0 context.Context, _a1 *s3.PutB func (_m *S3API) PutBucketLogging(_a0 *s3.PutBucketLoggingInput) (*s3.PutBucketLoggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLogging") + } + 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 { @@ -5976,7 +7819,6 @@ func (_m *S3API) PutBucketLogging(_a0 *s3.PutBucketLoggingInput) (*s3.PutBucketL } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketLoggingInput) error); ok { r1 = rf(_a0) } else { @@ -5990,7 +7832,15 @@ func (_m *S3API) PutBucketLogging(_a0 *s3.PutBucketLoggingInput) (*s3.PutBucketL func (_m *S3API) PutBucketLoggingRequest(_a0 *s3.PutBucketLoggingInput) (*request.Request, *s3.PutBucketLoggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketLoggingRequest") + } + 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 { @@ -5999,7 +7849,6 @@ func (_m *S3API) PutBucketLoggingRequest(_a0 *s3.PutBucketLoggingInput) (*reques } } - var r1 *s3.PutBucketLoggingOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketLoggingInput) *s3.PutBucketLoggingOutput); ok { r1 = rf(_a0) } else { @@ -6022,7 +7871,15 @@ func (_m *S3API) PutBucketLoggingWithContext(_a0 context.Context, _a1 *s3.PutBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketLoggingWithContext") + } + 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 { @@ -6031,7 +7888,6 @@ func (_m *S3API) PutBucketLoggingWithContext(_a0 context.Context, _a1 *s3.PutBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketLoggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6045,7 +7901,15 @@ func (_m *S3API) PutBucketLoggingWithContext(_a0 context.Context, _a1 *s3.PutBuc func (_m *S3API) PutBucketMetricsConfiguration(_a0 *s3.PutBucketMetricsConfigurationInput) (*s3.PutBucketMetricsConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketMetricsConfiguration") + } + 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 { @@ -6054,7 +7918,6 @@ func (_m *S3API) PutBucketMetricsConfiguration(_a0 *s3.PutBucketMetricsConfigura } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketMetricsConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -6068,7 +7931,15 @@ func (_m *S3API) PutBucketMetricsConfiguration(_a0 *s3.PutBucketMetricsConfigura func (_m *S3API) PutBucketMetricsConfigurationRequest(_a0 *s3.PutBucketMetricsConfigurationInput) (*request.Request, *s3.PutBucketMetricsConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketMetricsConfigurationRequest") + } + 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 { @@ -6077,7 +7948,6 @@ func (_m *S3API) PutBucketMetricsConfigurationRequest(_a0 *s3.PutBucketMetricsCo } } - var r1 *s3.PutBucketMetricsConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketMetricsConfigurationInput) *s3.PutBucketMetricsConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -6100,7 +7970,15 @@ func (_m *S3API) PutBucketMetricsConfigurationWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketMetricsConfigurationWithContext") + } + 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 { @@ -6109,7 +7987,6 @@ func (_m *S3API) PutBucketMetricsConfigurationWithContext(_a0 context.Context, _ } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketMetricsConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6123,7 +8000,15 @@ func (_m *S3API) PutBucketMetricsConfigurationWithContext(_a0 context.Context, _ func (_m *S3API) PutBucketNotification(_a0 *s3.PutBucketNotificationInput) (*s3.PutBucketNotificationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotification") + } + 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 { @@ -6132,7 +8017,6 @@ func (_m *S3API) PutBucketNotification(_a0 *s3.PutBucketNotificationInput) (*s3. } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationInput) error); ok { r1 = rf(_a0) } else { @@ -6146,7 +8030,15 @@ func (_m *S3API) PutBucketNotification(_a0 *s3.PutBucketNotificationInput) (*s3. func (_m *S3API) PutBucketNotificationConfiguration(_a0 *s3.PutBucketNotificationConfigurationInput) (*s3.PutBucketNotificationConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotificationConfiguration") + } + 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 { @@ -6155,7 +8047,6 @@ func (_m *S3API) PutBucketNotificationConfiguration(_a0 *s3.PutBucketNotificatio } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -6169,7 +8060,15 @@ func (_m *S3API) PutBucketNotificationConfiguration(_a0 *s3.PutBucketNotificatio func (_m *S3API) PutBucketNotificationConfigurationRequest(_a0 *s3.PutBucketNotificationConfigurationInput) (*request.Request, *s3.PutBucketNotificationConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotificationConfigurationRequest") + } + 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 { @@ -6178,7 +8077,6 @@ func (_m *S3API) PutBucketNotificationConfigurationRequest(_a0 *s3.PutBucketNoti } } - var r1 *s3.PutBucketNotificationConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationConfigurationInput) *s3.PutBucketNotificationConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -6201,7 +8099,15 @@ func (_m *S3API) PutBucketNotificationConfigurationWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotificationConfigurationWithContext") + } + 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 { @@ -6210,7 +8116,6 @@ func (_m *S3API) PutBucketNotificationConfigurationWithContext(_a0 context.Conte } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketNotificationConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6224,7 +8129,15 @@ func (_m *S3API) PutBucketNotificationConfigurationWithContext(_a0 context.Conte func (_m *S3API) PutBucketNotificationRequest(_a0 *s3.PutBucketNotificationInput) (*request.Request, *s3.PutBucketNotificationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotificationRequest") + } + 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 { @@ -6233,7 +8146,6 @@ func (_m *S3API) PutBucketNotificationRequest(_a0 *s3.PutBucketNotificationInput } } - var r1 *s3.PutBucketNotificationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketNotificationInput) *s3.PutBucketNotificationOutput); ok { r1 = rf(_a0) } else { @@ -6256,7 +8168,15 @@ func (_m *S3API) PutBucketNotificationWithContext(_a0 context.Context, _a1 *s3.P _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketNotificationWithContext") + } + 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 { @@ -6265,7 +8185,6 @@ func (_m *S3API) PutBucketNotificationWithContext(_a0 context.Context, _a1 *s3.P } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketNotificationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6279,7 +8198,15 @@ func (_m *S3API) PutBucketNotificationWithContext(_a0 context.Context, _a1 *s3.P func (_m *S3API) PutBucketOwnershipControls(_a0 *s3.PutBucketOwnershipControlsInput) (*s3.PutBucketOwnershipControlsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketOwnershipControls") + } + 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 { @@ -6288,7 +8215,6 @@ func (_m *S3API) PutBucketOwnershipControls(_a0 *s3.PutBucketOwnershipControlsIn } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketOwnershipControlsInput) error); ok { r1 = rf(_a0) } else { @@ -6302,7 +8228,15 @@ func (_m *S3API) PutBucketOwnershipControls(_a0 *s3.PutBucketOwnershipControlsIn func (_m *S3API) PutBucketOwnershipControlsRequest(_a0 *s3.PutBucketOwnershipControlsInput) (*request.Request, *s3.PutBucketOwnershipControlsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketOwnershipControlsRequest") + } + 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 { @@ -6311,7 +8245,6 @@ func (_m *S3API) PutBucketOwnershipControlsRequest(_a0 *s3.PutBucketOwnershipCon } } - var r1 *s3.PutBucketOwnershipControlsOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketOwnershipControlsInput) *s3.PutBucketOwnershipControlsOutput); ok { r1 = rf(_a0) } else { @@ -6334,7 +8267,15 @@ func (_m *S3API) PutBucketOwnershipControlsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketOwnershipControlsWithContext") + } + 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 { @@ -6343,7 +8284,6 @@ func (_m *S3API) PutBucketOwnershipControlsWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketOwnershipControlsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6357,7 +8297,15 @@ func (_m *S3API) PutBucketOwnershipControlsWithContext(_a0 context.Context, _a1 func (_m *S3API) PutBucketPolicy(_a0 *s3.PutBucketPolicyInput) (*s3.PutBucketPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketPolicy") + } + 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 { @@ -6366,7 +8314,6 @@ func (_m *S3API) PutBucketPolicy(_a0 *s3.PutBucketPolicyInput) (*s3.PutBucketPol } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketPolicyInput) error); ok { r1 = rf(_a0) } else { @@ -6380,7 +8327,15 @@ func (_m *S3API) PutBucketPolicy(_a0 *s3.PutBucketPolicyInput) (*s3.PutBucketPol func (_m *S3API) PutBucketPolicyRequest(_a0 *s3.PutBucketPolicyInput) (*request.Request, *s3.PutBucketPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketPolicyRequest") + } + 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 { @@ -6389,7 +8344,6 @@ func (_m *S3API) PutBucketPolicyRequest(_a0 *s3.PutBucketPolicyInput) (*request. } } - var r1 *s3.PutBucketPolicyOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketPolicyInput) *s3.PutBucketPolicyOutput); ok { r1 = rf(_a0) } else { @@ -6412,7 +8366,15 @@ func (_m *S3API) PutBucketPolicyWithContext(_a0 context.Context, _a1 *s3.PutBuck _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketPolicyWithContext") + } + 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 { @@ -6421,7 +8383,6 @@ func (_m *S3API) PutBucketPolicyWithContext(_a0 context.Context, _a1 *s3.PutBuck } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6435,7 +8396,15 @@ func (_m *S3API) PutBucketPolicyWithContext(_a0 context.Context, _a1 *s3.PutBuck func (_m *S3API) PutBucketReplication(_a0 *s3.PutBucketReplicationInput) (*s3.PutBucketReplicationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketReplication") + } + 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 { @@ -6444,7 +8413,6 @@ func (_m *S3API) PutBucketReplication(_a0 *s3.PutBucketReplicationInput) (*s3.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketReplicationInput) error); ok { r1 = rf(_a0) } else { @@ -6458,7 +8426,15 @@ func (_m *S3API) PutBucketReplication(_a0 *s3.PutBucketReplicationInput) (*s3.Pu func (_m *S3API) PutBucketReplicationRequest(_a0 *s3.PutBucketReplicationInput) (*request.Request, *s3.PutBucketReplicationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketReplicationRequest") + } + 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 { @@ -6467,7 +8443,6 @@ func (_m *S3API) PutBucketReplicationRequest(_a0 *s3.PutBucketReplicationInput) } } - var r1 *s3.PutBucketReplicationOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketReplicationInput) *s3.PutBucketReplicationOutput); ok { r1 = rf(_a0) } else { @@ -6490,7 +8465,15 @@ func (_m *S3API) PutBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Pu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketReplicationWithContext") + } + 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 { @@ -6499,7 +8482,6 @@ func (_m *S3API) PutBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketReplicationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6513,7 +8495,15 @@ func (_m *S3API) PutBucketReplicationWithContext(_a0 context.Context, _a1 *s3.Pu func (_m *S3API) PutBucketRequestPayment(_a0 *s3.PutBucketRequestPaymentInput) (*s3.PutBucketRequestPaymentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketRequestPayment") + } + 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 { @@ -6522,7 +8512,6 @@ func (_m *S3API) PutBucketRequestPayment(_a0 *s3.PutBucketRequestPaymentInput) ( } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketRequestPaymentInput) error); ok { r1 = rf(_a0) } else { @@ -6536,7 +8525,15 @@ func (_m *S3API) PutBucketRequestPayment(_a0 *s3.PutBucketRequestPaymentInput) ( func (_m *S3API) PutBucketRequestPaymentRequest(_a0 *s3.PutBucketRequestPaymentInput) (*request.Request, *s3.PutBucketRequestPaymentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketRequestPaymentRequest") + } + 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 { @@ -6545,7 +8542,6 @@ func (_m *S3API) PutBucketRequestPaymentRequest(_a0 *s3.PutBucketRequestPaymentI } } - var r1 *s3.PutBucketRequestPaymentOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketRequestPaymentInput) *s3.PutBucketRequestPaymentOutput); ok { r1 = rf(_a0) } else { @@ -6568,7 +8564,15 @@ func (_m *S3API) PutBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketRequestPaymentWithContext") + } + 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 { @@ -6577,7 +8581,6 @@ func (_m *S3API) PutBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketRequestPaymentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6591,7 +8594,15 @@ func (_m *S3API) PutBucketRequestPaymentWithContext(_a0 context.Context, _a1 *s3 func (_m *S3API) PutBucketTagging(_a0 *s3.PutBucketTaggingInput) (*s3.PutBucketTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketTagging") + } + 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 { @@ -6600,7 +8611,6 @@ func (_m *S3API) PutBucketTagging(_a0 *s3.PutBucketTaggingInput) (*s3.PutBucketT } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -6614,7 +8624,15 @@ func (_m *S3API) PutBucketTagging(_a0 *s3.PutBucketTaggingInput) (*s3.PutBucketT func (_m *S3API) PutBucketTaggingRequest(_a0 *s3.PutBucketTaggingInput) (*request.Request, *s3.PutBucketTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketTaggingRequest") + } + 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 { @@ -6623,7 +8641,6 @@ func (_m *S3API) PutBucketTaggingRequest(_a0 *s3.PutBucketTaggingInput) (*reques } } - var r1 *s3.PutBucketTaggingOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketTaggingInput) *s3.PutBucketTaggingOutput); ok { r1 = rf(_a0) } else { @@ -6646,7 +8663,15 @@ func (_m *S3API) PutBucketTaggingWithContext(_a0 context.Context, _a1 *s3.PutBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketTaggingWithContext") + } + 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 { @@ -6655,7 +8680,6 @@ func (_m *S3API) PutBucketTaggingWithContext(_a0 context.Context, _a1 *s3.PutBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6669,7 +8693,15 @@ func (_m *S3API) PutBucketTaggingWithContext(_a0 context.Context, _a1 *s3.PutBuc func (_m *S3API) PutBucketVersioning(_a0 *s3.PutBucketVersioningInput) (*s3.PutBucketVersioningOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketVersioning") + } + 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 { @@ -6678,7 +8710,6 @@ func (_m *S3API) PutBucketVersioning(_a0 *s3.PutBucketVersioningInput) (*s3.PutB } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketVersioningInput) error); ok { r1 = rf(_a0) } else { @@ -6692,7 +8723,15 @@ func (_m *S3API) PutBucketVersioning(_a0 *s3.PutBucketVersioningInput) (*s3.PutB func (_m *S3API) PutBucketVersioningRequest(_a0 *s3.PutBucketVersioningInput) (*request.Request, *s3.PutBucketVersioningOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketVersioningRequest") + } + 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 { @@ -6701,7 +8740,6 @@ func (_m *S3API) PutBucketVersioningRequest(_a0 *s3.PutBucketVersioningInput) (* } } - var r1 *s3.PutBucketVersioningOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketVersioningInput) *s3.PutBucketVersioningOutput); ok { r1 = rf(_a0) } else { @@ -6724,7 +8762,15 @@ func (_m *S3API) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Put _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketVersioningWithContext") + } + 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 { @@ -6733,7 +8779,6 @@ func (_m *S3API) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Put } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketVersioningInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6747,7 +8792,15 @@ func (_m *S3API) PutBucketVersioningWithContext(_a0 context.Context, _a1 *s3.Put func (_m *S3API) PutBucketWebsite(_a0 *s3.PutBucketWebsiteInput) (*s3.PutBucketWebsiteOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketWebsite") + } + 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 { @@ -6756,7 +8809,6 @@ func (_m *S3API) PutBucketWebsite(_a0 *s3.PutBucketWebsiteInput) (*s3.PutBucketW } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutBucketWebsiteInput) error); ok { r1 = rf(_a0) } else { @@ -6770,7 +8822,15 @@ func (_m *S3API) PutBucketWebsite(_a0 *s3.PutBucketWebsiteInput) (*s3.PutBucketW func (_m *S3API) PutBucketWebsiteRequest(_a0 *s3.PutBucketWebsiteInput) (*request.Request, *s3.PutBucketWebsiteOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutBucketWebsiteRequest") + } + 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 { @@ -6779,7 +8839,6 @@ func (_m *S3API) PutBucketWebsiteRequest(_a0 *s3.PutBucketWebsiteInput) (*reques } } - var r1 *s3.PutBucketWebsiteOutput if rf, ok := ret.Get(1).(func(*s3.PutBucketWebsiteInput) *s3.PutBucketWebsiteOutput); ok { r1 = rf(_a0) } else { @@ -6802,7 +8861,15 @@ func (_m *S3API) PutBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.PutBuc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutBucketWebsiteWithContext") + } + 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 { @@ -6811,7 +8878,6 @@ func (_m *S3API) PutBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.PutBuc } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutBucketWebsiteInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6825,7 +8891,15 @@ func (_m *S3API) PutBucketWebsiteWithContext(_a0 context.Context, _a1 *s3.PutBuc func (_m *S3API) PutObject(_a0 *s3.PutObjectInput) (*s3.PutObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObject") + } + 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 { @@ -6834,7 +8908,6 @@ func (_m *S3API) PutObject(_a0 *s3.PutObjectInput) (*s3.PutObjectOutput, error) } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectInput) error); ok { r1 = rf(_a0) } else { @@ -6848,7 +8921,15 @@ func (_m *S3API) PutObject(_a0 *s3.PutObjectInput) (*s3.PutObjectOutput, error) func (_m *S3API) PutObjectAcl(_a0 *s3.PutObjectAclInput) (*s3.PutObjectAclOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectAcl") + } + 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 { @@ -6857,7 +8938,6 @@ func (_m *S3API) PutObjectAcl(_a0 *s3.PutObjectAclInput) (*s3.PutObjectAclOutput } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectAclInput) error); ok { r1 = rf(_a0) } else { @@ -6871,7 +8951,15 @@ func (_m *S3API) PutObjectAcl(_a0 *s3.PutObjectAclInput) (*s3.PutObjectAclOutput func (_m *S3API) PutObjectAclRequest(_a0 *s3.PutObjectAclInput) (*request.Request, *s3.PutObjectAclOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectAclRequest") + } + 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 { @@ -6880,7 +8968,6 @@ func (_m *S3API) PutObjectAclRequest(_a0 *s3.PutObjectAclInput) (*request.Reques } } - var r1 *s3.PutObjectAclOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectAclInput) *s3.PutObjectAclOutput); ok { r1 = rf(_a0) } else { @@ -6903,7 +8990,15 @@ func (_m *S3API) PutObjectAclWithContext(_a0 context.Context, _a1 *s3.PutObjectA _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectAclWithContext") + } + 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 { @@ -6912,7 +9007,6 @@ func (_m *S3API) PutObjectAclWithContext(_a0 context.Context, _a1 *s3.PutObjectA } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectAclInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -6926,7 +9020,15 @@ func (_m *S3API) PutObjectAclWithContext(_a0 context.Context, _a1 *s3.PutObjectA func (_m *S3API) PutObjectLegalHold(_a0 *s3.PutObjectLegalHoldInput) (*s3.PutObjectLegalHoldOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectLegalHold") + } + 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 { @@ -6935,7 +9037,6 @@ func (_m *S3API) PutObjectLegalHold(_a0 *s3.PutObjectLegalHoldInput) (*s3.PutObj } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectLegalHoldInput) error); ok { r1 = rf(_a0) } else { @@ -6949,7 +9050,15 @@ func (_m *S3API) PutObjectLegalHold(_a0 *s3.PutObjectLegalHoldInput) (*s3.PutObj func (_m *S3API) PutObjectLegalHoldRequest(_a0 *s3.PutObjectLegalHoldInput) (*request.Request, *s3.PutObjectLegalHoldOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectLegalHoldRequest") + } + 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 { @@ -6958,7 +9067,6 @@ func (_m *S3API) PutObjectLegalHoldRequest(_a0 *s3.PutObjectLegalHoldInput) (*re } } - var r1 *s3.PutObjectLegalHoldOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectLegalHoldInput) *s3.PutObjectLegalHoldOutput); ok { r1 = rf(_a0) } else { @@ -6981,7 +9089,15 @@ func (_m *S3API) PutObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.PutO _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectLegalHoldWithContext") + } + 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 { @@ -6990,7 +9106,6 @@ func (_m *S3API) PutObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.PutO } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectLegalHoldInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7004,7 +9119,15 @@ func (_m *S3API) PutObjectLegalHoldWithContext(_a0 context.Context, _a1 *s3.PutO func (_m *S3API) PutObjectLockConfiguration(_a0 *s3.PutObjectLockConfigurationInput) (*s3.PutObjectLockConfigurationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectLockConfiguration") + } + 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 { @@ -7013,7 +9136,6 @@ func (_m *S3API) PutObjectLockConfiguration(_a0 *s3.PutObjectLockConfigurationIn } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectLockConfigurationInput) error); ok { r1 = rf(_a0) } else { @@ -7027,7 +9149,15 @@ func (_m *S3API) PutObjectLockConfiguration(_a0 *s3.PutObjectLockConfigurationIn func (_m *S3API) PutObjectLockConfigurationRequest(_a0 *s3.PutObjectLockConfigurationInput) (*request.Request, *s3.PutObjectLockConfigurationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectLockConfigurationRequest") + } + 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 { @@ -7036,7 +9166,6 @@ func (_m *S3API) PutObjectLockConfigurationRequest(_a0 *s3.PutObjectLockConfigur } } - var r1 *s3.PutObjectLockConfigurationOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectLockConfigurationInput) *s3.PutObjectLockConfigurationOutput); ok { r1 = rf(_a0) } else { @@ -7059,7 +9188,15 @@ func (_m *S3API) PutObjectLockConfigurationWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectLockConfigurationWithContext") + } + 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 { @@ -7068,7 +9205,6 @@ func (_m *S3API) PutObjectLockConfigurationWithContext(_a0 context.Context, _a1 } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectLockConfigurationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7082,7 +9218,15 @@ func (_m *S3API) PutObjectLockConfigurationWithContext(_a0 context.Context, _a1 func (_m *S3API) PutObjectRequest(_a0 *s3.PutObjectInput) (*request.Request, *s3.PutObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectRequest") + } + 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 { @@ -7091,7 +9235,6 @@ func (_m *S3API) PutObjectRequest(_a0 *s3.PutObjectInput) (*request.Request, *s3 } } - var r1 *s3.PutObjectOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectInput) *s3.PutObjectOutput); ok { r1 = rf(_a0) } else { @@ -7107,7 +9250,15 @@ func (_m *S3API) PutObjectRequest(_a0 *s3.PutObjectInput) (*request.Request, *s3 func (_m *S3API) PutObjectRetention(_a0 *s3.PutObjectRetentionInput) (*s3.PutObjectRetentionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectRetention") + } + 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 { @@ -7116,7 +9267,6 @@ func (_m *S3API) PutObjectRetention(_a0 *s3.PutObjectRetentionInput) (*s3.PutObj } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectRetentionInput) error); ok { r1 = rf(_a0) } else { @@ -7130,7 +9280,15 @@ func (_m *S3API) PutObjectRetention(_a0 *s3.PutObjectRetentionInput) (*s3.PutObj func (_m *S3API) PutObjectRetentionRequest(_a0 *s3.PutObjectRetentionInput) (*request.Request, *s3.PutObjectRetentionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectRetentionRequest") + } + 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 { @@ -7139,7 +9297,6 @@ func (_m *S3API) PutObjectRetentionRequest(_a0 *s3.PutObjectRetentionInput) (*re } } - var r1 *s3.PutObjectRetentionOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectRetentionInput) *s3.PutObjectRetentionOutput); ok { r1 = rf(_a0) } else { @@ -7162,7 +9319,15 @@ func (_m *S3API) PutObjectRetentionWithContext(_a0 context.Context, _a1 *s3.PutO _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectRetentionWithContext") + } + 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 { @@ -7171,7 +9336,6 @@ func (_m *S3API) PutObjectRetentionWithContext(_a0 context.Context, _a1 *s3.PutO } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectRetentionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7185,7 +9349,15 @@ func (_m *S3API) PutObjectRetentionWithContext(_a0 context.Context, _a1 *s3.PutO func (_m *S3API) PutObjectTagging(_a0 *s3.PutObjectTaggingInput) (*s3.PutObjectTaggingOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectTagging") + } + 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 { @@ -7194,7 +9366,6 @@ func (_m *S3API) PutObjectTagging(_a0 *s3.PutObjectTaggingInput) (*s3.PutObjectT } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutObjectTaggingInput) error); ok { r1 = rf(_a0) } else { @@ -7208,7 +9379,15 @@ func (_m *S3API) PutObjectTagging(_a0 *s3.PutObjectTaggingInput) (*s3.PutObjectT func (_m *S3API) PutObjectTaggingRequest(_a0 *s3.PutObjectTaggingInput) (*request.Request, *s3.PutObjectTaggingOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutObjectTaggingRequest") + } + 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 { @@ -7217,7 +9396,6 @@ func (_m *S3API) PutObjectTaggingRequest(_a0 *s3.PutObjectTaggingInput) (*reques } } - var r1 *s3.PutObjectTaggingOutput if rf, ok := ret.Get(1).(func(*s3.PutObjectTaggingInput) *s3.PutObjectTaggingOutput); ok { r1 = rf(_a0) } else { @@ -7240,7 +9418,15 @@ func (_m *S3API) PutObjectTaggingWithContext(_a0 context.Context, _a1 *s3.PutObj _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectTaggingWithContext") + } + 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 { @@ -7249,7 +9435,6 @@ func (_m *S3API) PutObjectTaggingWithContext(_a0 context.Context, _a1 *s3.PutObj } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectTaggingInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7270,7 +9455,15 @@ func (_m *S3API) PutObjectWithContext(_a0 context.Context, _a1 *s3.PutObjectInpu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutObjectWithContext") + } + 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 { @@ -7279,7 +9472,6 @@ func (_m *S3API) PutObjectWithContext(_a0 context.Context, _a1 *s3.PutObjectInpu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7293,7 +9485,15 @@ func (_m *S3API) PutObjectWithContext(_a0 context.Context, _a1 *s3.PutObjectInpu func (_m *S3API) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (*s3.PutPublicAccessBlockOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutPublicAccessBlock") + } + 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 { @@ -7302,7 +9502,6 @@ func (_m *S3API) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (*s3.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.PutPublicAccessBlockInput) error); ok { r1 = rf(_a0) } else { @@ -7316,7 +9515,15 @@ func (_m *S3API) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (*s3.Pu func (_m *S3API) PutPublicAccessBlockRequest(_a0 *s3.PutPublicAccessBlockInput) (*request.Request, *s3.PutPublicAccessBlockOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutPublicAccessBlockRequest") + } + 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 { @@ -7325,7 +9532,6 @@ func (_m *S3API) PutPublicAccessBlockRequest(_a0 *s3.PutPublicAccessBlockInput) } } - var r1 *s3.PutPublicAccessBlockOutput if rf, ok := ret.Get(1).(func(*s3.PutPublicAccessBlockInput) *s3.PutPublicAccessBlockOutput); ok { r1 = rf(_a0) } else { @@ -7348,7 +9554,15 @@ func (_m *S3API) PutPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Pu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutPublicAccessBlockWithContext") + } + 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 { @@ -7357,7 +9571,6 @@ func (_m *S3API) PutPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Pu } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.PutPublicAccessBlockInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7371,7 +9584,15 @@ func (_m *S3API) PutPublicAccessBlockWithContext(_a0 context.Context, _a1 *s3.Pu func (_m *S3API) RestoreObject(_a0 *s3.RestoreObjectInput) (*s3.RestoreObjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RestoreObject") + } + 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 { @@ -7380,7 +9601,6 @@ func (_m *S3API) RestoreObject(_a0 *s3.RestoreObjectInput) (*s3.RestoreObjectOut } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.RestoreObjectInput) error); ok { r1 = rf(_a0) } else { @@ -7394,7 +9614,15 @@ func (_m *S3API) RestoreObject(_a0 *s3.RestoreObjectInput) (*s3.RestoreObjectOut func (_m *S3API) RestoreObjectRequest(_a0 *s3.RestoreObjectInput) (*request.Request, *s3.RestoreObjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RestoreObjectRequest") + } + 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 { @@ -7403,7 +9631,6 @@ func (_m *S3API) RestoreObjectRequest(_a0 *s3.RestoreObjectInput) (*request.Requ } } - var r1 *s3.RestoreObjectOutput if rf, ok := ret.Get(1).(func(*s3.RestoreObjectInput) *s3.RestoreObjectOutput); ok { r1 = rf(_a0) } else { @@ -7426,7 +9653,15 @@ func (_m *S3API) RestoreObjectWithContext(_a0 context.Context, _a1 *s3.RestoreOb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreObjectWithContext") + } + 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 { @@ -7435,7 +9670,6 @@ func (_m *S3API) RestoreObjectWithContext(_a0 context.Context, _a1 *s3.RestoreOb } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.RestoreObjectInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7449,7 +9683,15 @@ func (_m *S3API) RestoreObjectWithContext(_a0 context.Context, _a1 *s3.RestoreOb func (_m *S3API) SelectObjectContent(_a0 *s3.SelectObjectContentInput) (*s3.SelectObjectContentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SelectObjectContent") + } + 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 { @@ -7458,7 +9700,6 @@ func (_m *S3API) SelectObjectContent(_a0 *s3.SelectObjectContentInput) (*s3.Sele } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.SelectObjectContentInput) error); ok { r1 = rf(_a0) } else { @@ -7472,7 +9713,15 @@ func (_m *S3API) SelectObjectContent(_a0 *s3.SelectObjectContentInput) (*s3.Sele func (_m *S3API) SelectObjectContentRequest(_a0 *s3.SelectObjectContentInput) (*request.Request, *s3.SelectObjectContentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SelectObjectContentRequest") + } + 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 { @@ -7481,7 +9730,6 @@ func (_m *S3API) SelectObjectContentRequest(_a0 *s3.SelectObjectContentInput) (* } } - var r1 *s3.SelectObjectContentOutput if rf, ok := ret.Get(1).(func(*s3.SelectObjectContentInput) *s3.SelectObjectContentOutput); ok { r1 = rf(_a0) } else { @@ -7504,7 +9752,15 @@ func (_m *S3API) SelectObjectContentWithContext(_a0 context.Context, _a1 *s3.Sel _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SelectObjectContentWithContext") + } + 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 { @@ -7513,7 +9769,6 @@ func (_m *S3API) SelectObjectContentWithContext(_a0 context.Context, _a1 *s3.Sel } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.SelectObjectContentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7527,7 +9782,15 @@ func (_m *S3API) SelectObjectContentWithContext(_a0 context.Context, _a1 *s3.Sel func (_m *S3API) UploadPart(_a0 *s3.UploadPartInput) (*s3.UploadPartOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UploadPart") + } + 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 { @@ -7536,7 +9799,6 @@ func (_m *S3API) UploadPart(_a0 *s3.UploadPartInput) (*s3.UploadPartOutput, erro } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.UploadPartInput) error); ok { r1 = rf(_a0) } else { @@ -7550,7 +9812,15 @@ func (_m *S3API) UploadPart(_a0 *s3.UploadPartInput) (*s3.UploadPartOutput, erro func (_m *S3API) UploadPartCopy(_a0 *s3.UploadPartCopyInput) (*s3.UploadPartCopyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UploadPartCopy") + } + 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 { @@ -7559,7 +9829,6 @@ func (_m *S3API) UploadPartCopy(_a0 *s3.UploadPartCopyInput) (*s3.UploadPartCopy } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.UploadPartCopyInput) error); ok { r1 = rf(_a0) } else { @@ -7573,7 +9842,15 @@ func (_m *S3API) UploadPartCopy(_a0 *s3.UploadPartCopyInput) (*s3.UploadPartCopy func (_m *S3API) UploadPartCopyRequest(_a0 *s3.UploadPartCopyInput) (*request.Request, *s3.UploadPartCopyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UploadPartCopyRequest") + } + 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 { @@ -7582,7 +9859,6 @@ func (_m *S3API) UploadPartCopyRequest(_a0 *s3.UploadPartCopyInput) (*request.Re } } - var r1 *s3.UploadPartCopyOutput if rf, ok := ret.Get(1).(func(*s3.UploadPartCopyInput) *s3.UploadPartCopyOutput); ok { r1 = rf(_a0) } else { @@ -7605,7 +9881,15 @@ func (_m *S3API) UploadPartCopyWithContext(_a0 context.Context, _a1 *s3.UploadPa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UploadPartCopyWithContext") + } + 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 { @@ -7614,7 +9898,6 @@ func (_m *S3API) UploadPartCopyWithContext(_a0 context.Context, _a1 *s3.UploadPa } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.UploadPartCopyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7628,7 +9911,15 @@ func (_m *S3API) UploadPartCopyWithContext(_a0 context.Context, _a1 *s3.UploadPa func (_m *S3API) UploadPartRequest(_a0 *s3.UploadPartInput) (*request.Request, *s3.UploadPartOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UploadPartRequest") + } + 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 { @@ -7637,7 +9928,6 @@ func (_m *S3API) UploadPartRequest(_a0 *s3.UploadPartInput) (*request.Request, * } } - var r1 *s3.UploadPartOutput if rf, ok := ret.Get(1).(func(*s3.UploadPartInput) *s3.UploadPartOutput); ok { r1 = rf(_a0) } else { @@ -7660,7 +9950,15 @@ func (_m *S3API) UploadPartWithContext(_a0 context.Context, _a1 *s3.UploadPartIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UploadPartWithContext") + } + 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 { @@ -7669,7 +9967,6 @@ func (_m *S3API) UploadPartWithContext(_a0 context.Context, _a1 *s3.UploadPartIn } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.UploadPartInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7683,6 +9980,10 @@ func (_m *S3API) UploadPartWithContext(_a0 context.Context, _a1 *s3.UploadPartIn func (_m *S3API) WaitUntilBucketExists(_a0 *s3.HeadBucketInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilBucketExists") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) error); ok { r0 = rf(_a0) @@ -7704,6 +10005,10 @@ func (_m *S3API) WaitUntilBucketExistsWithContext(_a0 context.Context, _a1 *s3.H _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilBucketExistsWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadBucketInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -7718,6 +10023,10 @@ func (_m *S3API) WaitUntilBucketExistsWithContext(_a0 context.Context, _a1 *s3.H func (_m *S3API) WaitUntilBucketNotExists(_a0 *s3.HeadBucketInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilBucketNotExists") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.HeadBucketInput) error); ok { r0 = rf(_a0) @@ -7739,6 +10048,10 @@ func (_m *S3API) WaitUntilBucketNotExistsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilBucketNotExistsWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadBucketInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -7753,6 +10066,10 @@ func (_m *S3API) WaitUntilBucketNotExistsWithContext(_a0 context.Context, _a1 *s func (_m *S3API) WaitUntilObjectExists(_a0 *s3.HeadObjectInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilObjectExists") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) error); ok { r0 = rf(_a0) @@ -7774,6 +10091,10 @@ func (_m *S3API) WaitUntilObjectExistsWithContext(_a0 context.Context, _a1 *s3.H _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilObjectExistsWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadObjectInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -7788,6 +10109,10 @@ func (_m *S3API) WaitUntilObjectExistsWithContext(_a0 context.Context, _a1 *s3.H func (_m *S3API) WaitUntilObjectNotExists(_a0 *s3.HeadObjectInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilObjectNotExists") + } + var r0 error if rf, ok := ret.Get(0).(func(*s3.HeadObjectInput) error); ok { r0 = rf(_a0) @@ -7809,6 +10134,10 @@ func (_m *S3API) WaitUntilObjectNotExistsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilObjectNotExistsWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *s3.HeadObjectInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -7823,7 +10152,15 @@ func (_m *S3API) WaitUntilObjectNotExistsWithContext(_a0 context.Context, _a1 *s func (_m *S3API) WriteGetObjectResponse(_a0 *s3.WriteGetObjectResponseInput) (*s3.WriteGetObjectResponseOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WriteGetObjectResponse") + } + 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 { @@ -7832,7 +10169,6 @@ func (_m *S3API) WriteGetObjectResponse(_a0 *s3.WriteGetObjectResponseInput) (*s } } - var r1 error if rf, ok := ret.Get(1).(func(*s3.WriteGetObjectResponseInput) error); ok { r1 = rf(_a0) } else { @@ -7846,7 +10182,15 @@ func (_m *S3API) WriteGetObjectResponse(_a0 *s3.WriteGetObjectResponseInput) (*s func (_m *S3API) WriteGetObjectResponseRequest(_a0 *s3.WriteGetObjectResponseInput) (*request.Request, *s3.WriteGetObjectResponseOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WriteGetObjectResponseRequest") + } + 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 { @@ -7855,7 +10199,6 @@ func (_m *S3API) WriteGetObjectResponseRequest(_a0 *s3.WriteGetObjectResponseInp } } - var r1 *s3.WriteGetObjectResponseOutput if rf, ok := ret.Get(1).(func(*s3.WriteGetObjectResponseInput) *s3.WriteGetObjectResponseOutput); ok { r1 = rf(_a0) } else { @@ -7878,7 +10221,15 @@ func (_m *S3API) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 *s3. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WriteGetObjectResponseWithContext") + } + 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 { @@ -7887,7 +10238,6 @@ func (_m *S3API) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 *s3. } } - var r1 error if rf, ok := ret.Get(1).(func(context.Context, *s3.WriteGetObjectResponseInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { @@ -7896,3 +10246,17 @@ func (_m *S3API) WriteGetObjectResponseWithContext(_a0 context.Context, _a1 *s3. return r0, r1 } + +// NewS3API creates a new instance of S3API. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewS3API(t interface { + mock.TestingT + Cleanup(func()) +}) *S3API { + mock := &S3API{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +}