From e96f44122177cf877fb51a31ebc55017c1fe905d Mon Sep 17 00:00:00 2001 From: Ron Green <11993626+georgettica@users.noreply.github.com> Date: Sun, 12 Sep 2021 15:57:44 +0300 Subject: [PATCH] chore(makefile): align mockgen versions this caused a 'go-get' to be called and change the go.mod stuff this change also changed some generated files --- Makefile | 2 +- cmd/clusterdeployment/mock/k8s/client.go | 43 +- cmd/clusterdeployment/mock/printer/printer.go | 19 +- pkg/provider/aws/mock/client.go | 671 +++++++++--------- 4 files changed, 369 insertions(+), 366 deletions(-) diff --git a/Makefile b/Makefile index 4cfc0014d..ff91ff119 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ mockgen: ensure-mockgen @git diff --exit-code -- ./pkg/provider/aws/mock ensure-mockgen: - go get github.com/golang/mock/mockgen@v1.4.4 + go get github.com/golang/mock/mockgen@v1.5.0 test: go test ${BUILDFLAGS} ./... -covermode=atomic -coverpkg=./... diff --git a/cmd/clusterdeployment/mock/k8s/client.go b/cmd/clusterdeployment/mock/k8s/client.go index dc5989d37..028d4bc5e 100644 --- a/cmd/clusterdeployment/mock/k8s/client.go +++ b/cmd/clusterdeployment/mock/k8s/client.go @@ -6,37 +6,38 @@ package client import ( context "context" + reflect "reflect" + gomock "github.com/golang/mock/gomock" runtime "k8s.io/apimachinery/pkg/runtime" types "k8s.io/apimachinery/pkg/types" - reflect "reflect" client "sigs.k8s.io/controller-runtime/pkg/client" ) -// MockClient is a mock of Client interface +// MockClient is a mock of Client interface. type MockClient struct { ctrl *gomock.Controller recorder *MockClientMockRecorder } -// MockClientMockRecorder is the mock recorder for MockClient +// MockClientMockRecorder is the mock recorder for MockClient. type MockClientMockRecorder struct { mock *MockClient } -// NewMockClient creates a new mock instance +// NewMockClient creates a new mock instance. func NewMockClient(ctrl *gomock.Controller) *MockClient { mock := &MockClient{ctrl: ctrl} mock.recorder = &MockClientMockRecorder{mock} return mock } -// EXPECT returns an object that allows the caller to indicate expected use +// EXPECT returns an object that allows the caller to indicate expected use. func (m *MockClient) EXPECT() *MockClientMockRecorder { return m.recorder } -// Create mocks base method +// Create mocks base method. func (m *MockClient) Create(arg0 context.Context, arg1 runtime.Object, arg2 ...client.CreateOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} @@ -48,14 +49,14 @@ func (m *MockClient) Create(arg0 context.Context, arg1 runtime.Object, arg2 ...c return ret0 } -// Create indicates an expected call of Create +// Create indicates an expected call of Create. func (mr *MockClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockClient)(nil).Create), varargs...) } -// Delete mocks base method +// Delete mocks base method. func (m *MockClient) Delete(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} @@ -67,14 +68,14 @@ func (m *MockClient) Delete(arg0 context.Context, arg1 runtime.Object, arg2 ...c return ret0 } -// Delete indicates an expected call of Delete +// Delete indicates an expected call of Delete. func (mr *MockClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockClient)(nil).Delete), varargs...) } -// DeleteAllOf mocks base method +// DeleteAllOf mocks base method. func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 runtime.Object, arg2 ...client.DeleteAllOfOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} @@ -86,14 +87,14 @@ func (m *MockClient) DeleteAllOf(arg0 context.Context, arg1 runtime.Object, arg2 return ret0 } -// DeleteAllOf indicates an expected call of DeleteAllOf +// DeleteAllOf indicates an expected call of DeleteAllOf. func (mr *MockClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAllOf", reflect.TypeOf((*MockClient)(nil).DeleteAllOf), varargs...) } -// Get mocks base method +// Get mocks base method. func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 runtime.Object) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2) @@ -101,13 +102,13 @@ func (m *MockClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 r return ret0 } -// Get indicates an expected call of Get +// Get indicates an expected call of Get. func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockClient)(nil).Get), arg0, arg1, arg2) } -// List mocks base method +// List mocks base method. func (m *MockClient) List(arg0 context.Context, arg1 runtime.Object, arg2 ...client.ListOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} @@ -119,14 +120,14 @@ func (m *MockClient) List(arg0 context.Context, arg1 runtime.Object, arg2 ...cli return ret0 } -// List indicates an expected call of List +// List indicates an expected call of List. func (mr *MockClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockClient)(nil).List), varargs...) } -// Patch mocks base method +// Patch mocks base method. func (m *MockClient) Patch(arg0 context.Context, arg1 runtime.Object, arg2 client.Patch, arg3 ...client.PatchOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} @@ -138,14 +139,14 @@ func (m *MockClient) Patch(arg0 context.Context, arg1 runtime.Object, arg2 clien return ret0 } -// Patch indicates an expected call of Patch +// Patch indicates an expected call of Patch. func (mr *MockClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockClient)(nil).Patch), varargs...) } -// Status mocks base method +// Status mocks base method. func (m *MockClient) Status() client.StatusWriter { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Status") @@ -153,13 +154,13 @@ func (m *MockClient) Status() client.StatusWriter { return ret0 } -// Status indicates an expected call of Status +// Status indicates an expected call of Status. func (mr *MockClientMockRecorder) Status() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Status", reflect.TypeOf((*MockClient)(nil).Status)) } -// Update mocks base method +// Update mocks base method. func (m *MockClient) Update(arg0 context.Context, arg1 runtime.Object, arg2 ...client.UpdateOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} @@ -171,7 +172,7 @@ func (m *MockClient) Update(arg0 context.Context, arg1 runtime.Object, arg2 ...c return ret0 } -// Update indicates an expected call of Update +// Update indicates an expected call of Update. func (mr *MockClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() varargs := append([]interface{}{arg0, arg1}, arg2...) diff --git a/cmd/clusterdeployment/mock/printer/printer.go b/cmd/clusterdeployment/mock/printer/printer.go index 06e87b5d4..42133b989 100644 --- a/cmd/clusterdeployment/mock/printer/printer.go +++ b/cmd/clusterdeployment/mock/printer/printer.go @@ -5,46 +5,47 @@ package printer import ( - gomock "github.com/golang/mock/gomock" reflect "reflect" + + gomock "github.com/golang/mock/gomock" ) -// MockPrinter is a mock of Printer interface +// MockPrinter is a mock of Printer interface. type MockPrinter struct { ctrl *gomock.Controller recorder *MockPrinterMockRecorder } -// MockPrinterMockRecorder is the mock recorder for MockPrinter +// MockPrinterMockRecorder is the mock recorder for MockPrinter. type MockPrinterMockRecorder struct { mock *MockPrinter } -// NewMockPrinter creates a new mock instance +// NewMockPrinter creates a new mock instance. func NewMockPrinter(ctrl *gomock.Controller) *MockPrinter { mock := &MockPrinter{ctrl: ctrl} mock.recorder = &MockPrinterMockRecorder{mock} return mock } -// EXPECT returns an object that allows the caller to indicate expected use +// EXPECT returns an object that allows the caller to indicate expected use. func (m *MockPrinter) EXPECT() *MockPrinterMockRecorder { return m.recorder } -// AddRow mocks base method +// AddRow mocks base method. func (m *MockPrinter) AddRow(row []string) { m.ctrl.T.Helper() m.ctrl.Call(m, "AddRow", row) } -// AddRow indicates an expected call of AddRow +// AddRow indicates an expected call of AddRow. func (mr *MockPrinterMockRecorder) AddRow(row interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddRow", reflect.TypeOf((*MockPrinter)(nil).AddRow), row) } -// Flush mocks base method +// Flush mocks base method. func (m *MockPrinter) Flush() error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Flush") @@ -52,7 +53,7 @@ func (m *MockPrinter) Flush() error { return ret0 } -// Flush indicates an expected call of Flush +// Flush indicates an expected call of Flush. func (mr *MockPrinterMockRecorder) Flush() *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Flush", reflect.TypeOf((*MockPrinter)(nil).Flush)) diff --git a/pkg/provider/aws/mock/client.go b/pkg/provider/aws/mock/client.go index 9ca857e7b..f1358d7da 100644 --- a/pkg/provider/aws/mock/client.go +++ b/pkg/provider/aws/mock/client.go @@ -5,6 +5,8 @@ package mock import ( + reflect "reflect" + costexplorer "github.com/aws/aws-sdk-go/service/costexplorer" ec2 "github.com/aws/aws-sdk-go/service/ec2" iam "github.com/aws/aws-sdk-go/service/iam" @@ -14,33 +16,32 @@ import ( servicequotas "github.com/aws/aws-sdk-go/service/servicequotas" sts "github.com/aws/aws-sdk-go/service/sts" gomock "github.com/golang/mock/gomock" - reflect "reflect" ) -// MockClient is a mock of Client interface +// MockClient is a mock of Client interface. type MockClient struct { ctrl *gomock.Controller recorder *MockClientMockRecorder } -// MockClientMockRecorder is the mock recorder for MockClient +// MockClientMockRecorder is the mock recorder for MockClient. type MockClientMockRecorder struct { mock *MockClient } -// NewMockClient creates a new mock instance +// NewMockClient creates a new mock instance. func NewMockClient(ctrl *gomock.Controller) *MockClient { mock := &MockClient{ctrl: ctrl} mock.recorder = &MockClientMockRecorder{mock} return mock } -// EXPECT returns an object that allows the caller to indicate expected use +// EXPECT returns an object that allows the caller to indicate expected use. func (m *MockClient) EXPECT() *MockClientMockRecorder { return m.recorder } -// AssumeRole mocks base method +// AssumeRole mocks base method. func (m *MockClient) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AssumeRole", arg0) @@ -49,118 +50,118 @@ func (m *MockClient) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutpu return ret0, ret1 } -// AssumeRole indicates an expected call of AssumeRole +// AssumeRole indicates an expected call of AssumeRole. func (mr *MockClientMockRecorder) AssumeRole(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AssumeRole", reflect.TypeOf((*MockClient)(nil).AssumeRole), arg0) } -// GetCallerIdentity mocks base method -func (m *MockClient) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error) { +// AttachRolePolicy mocks base method. +func (m *MockClient) AttachRolePolicy(arg0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetCallerIdentity", arg0) - ret0, _ := ret[0].(*sts.GetCallerIdentityOutput) + ret := m.ctrl.Call(m, "AttachRolePolicy", arg0) + ret0, _ := ret[0].(*iam.AttachRolePolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetCallerIdentity indicates an expected call of GetCallerIdentity -func (mr *MockClientMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call { +// AttachRolePolicy indicates an expected call of AttachRolePolicy. +func (mr *MockClientMockRecorder) AttachRolePolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCallerIdentity", reflect.TypeOf((*MockClient)(nil).GetCallerIdentity), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachRolePolicy", reflect.TypeOf((*MockClient)(nil).AttachRolePolicy), arg0) } -// GetFederationToken mocks base method -func (m *MockClient) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error) { +// AttachUserPolicy mocks base method. +func (m *MockClient) AttachUserPolicy(arg0 *iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetFederationToken", arg0) - ret0, _ := ret[0].(*sts.GetFederationTokenOutput) + ret := m.ctrl.Call(m, "AttachUserPolicy", arg0) + ret0, _ := ret[0].(*iam.AttachUserPolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetFederationToken indicates an expected call of GetFederationToken -func (mr *MockClientMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call { +// AttachUserPolicy indicates an expected call of AttachUserPolicy. +func (mr *MockClientMockRecorder) AttachUserPolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFederationToken", reflect.TypeOf((*MockClient)(nil).GetFederationToken), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachUserPolicy", reflect.TypeOf((*MockClient)(nil).AttachUserPolicy), arg0) } -// ListBuckets mocks base method -func (m *MockClient) ListBuckets(arg0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error) { +// CreateAccessKey mocks base method. +func (m *MockClient) CreateAccessKey(arg0 *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListBuckets", arg0) - ret0, _ := ret[0].(*s3.ListBucketsOutput) + ret := m.ctrl.Call(m, "CreateAccessKey", arg0) + ret0, _ := ret[0].(*iam.CreateAccessKeyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListBuckets indicates an expected call of ListBuckets -func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call { +// CreateAccessKey indicates an expected call of CreateAccessKey. +func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBuckets", reflect.TypeOf((*MockClient)(nil).ListBuckets), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessKey", reflect.TypeOf((*MockClient)(nil).CreateAccessKey), arg0) } -// DeleteBucket mocks base method -func (m *MockClient) DeleteBucket(arg0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error) { +// CreateAccount mocks base method. +func (m *MockClient) CreateAccount(input *organizations.CreateAccountInput) (*organizations.CreateAccountOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteBucket", arg0) - ret0, _ := ret[0].(*s3.DeleteBucketOutput) + ret := m.ctrl.Call(m, "CreateAccount", input) + ret0, _ := ret[0].(*organizations.CreateAccountOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteBucket indicates an expected call of DeleteBucket -func (mr *MockClientMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call { +// CreateAccount indicates an expected call of CreateAccount. +func (mr *MockClientMockRecorder) CreateAccount(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBucket", reflect.TypeOf((*MockClient)(nil).DeleteBucket), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccount", reflect.TypeOf((*MockClient)(nil).CreateAccount), input) } -// ListObjects mocks base method -func (m *MockClient) ListObjects(arg0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, error) { +// CreateCostCategoryDefinition mocks base method. +func (m *MockClient) CreateCostCategoryDefinition(input *costexplorer.CreateCostCategoryDefinitionInput) (*costexplorer.CreateCostCategoryDefinitionOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListObjects", arg0) - ret0, _ := ret[0].(*s3.ListObjectsOutput) + ret := m.ctrl.Call(m, "CreateCostCategoryDefinition", input) + ret0, _ := ret[0].(*costexplorer.CreateCostCategoryDefinitionOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListObjects indicates an expected call of ListObjects -func (mr *MockClientMockRecorder) ListObjects(arg0 interface{}) *gomock.Call { +// CreateCostCategoryDefinition indicates an expected call of CreateCostCategoryDefinition. +func (mr *MockClientMockRecorder) CreateCostCategoryDefinition(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListObjects", reflect.TypeOf((*MockClient)(nil).ListObjects), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCostCategoryDefinition", reflect.TypeOf((*MockClient)(nil).CreateCostCategoryDefinition), input) } -// DeleteObjects mocks base method -func (m *MockClient) DeleteObjects(arg0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) { +// CreatePolicy mocks base method. +func (m *MockClient) CreatePolicy(arg0 *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteObjects", arg0) - ret0, _ := ret[0].(*s3.DeleteObjectsOutput) + ret := m.ctrl.Call(m, "CreatePolicy", arg0) + ret0, _ := ret[0].(*iam.CreatePolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteObjects indicates an expected call of DeleteObjects -func (mr *MockClientMockRecorder) DeleteObjects(arg0 interface{}) *gomock.Call { +// CreatePolicy indicates an expected call of CreatePolicy. +func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjects", reflect.TypeOf((*MockClient)(nil).DeleteObjects), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePolicy", reflect.TypeOf((*MockClient)(nil).CreatePolicy), arg0) } -// CreateAccessKey mocks base method -func (m *MockClient) CreateAccessKey(arg0 *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error) { +// CreateUser mocks base method. +func (m *MockClient) CreateUser(arg0 *iam.CreateUserInput) (*iam.CreateUserOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateAccessKey", arg0) - ret0, _ := ret[0].(*iam.CreateAccessKeyOutput) + ret := m.ctrl.Call(m, "CreateUser", arg0) + ret0, _ := ret[0].(*iam.CreateUserOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreateAccessKey indicates an expected call of CreateAccessKey -func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call { +// CreateUser indicates an expected call of CreateUser. +func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessKey", reflect.TypeOf((*MockClient)(nil).CreateAccessKey), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUser", reflect.TypeOf((*MockClient)(nil).CreateUser), arg0) } -// DeleteAccessKey mocks base method +// DeleteAccessKey mocks base method. func (m *MockClient) DeleteAccessKey(arg0 *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteAccessKey", arg0) @@ -169,433 +170,433 @@ func (m *MockClient) DeleteAccessKey(arg0 *iam.DeleteAccessKeyInput) (*iam.Delet return ret0, ret1 } -// DeleteAccessKey indicates an expected call of DeleteAccessKey +// DeleteAccessKey indicates an expected call of DeleteAccessKey. func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccessKey", reflect.TypeOf((*MockClient)(nil).DeleteAccessKey), arg0) } -// ListAccessKeys mocks base method -func (m *MockClient) ListAccessKeys(arg0 *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error) { +// DeleteBucket mocks base method. +func (m *MockClient) DeleteBucket(arg0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccessKeys", arg0) - ret0, _ := ret[0].(*iam.ListAccessKeysOutput) + ret := m.ctrl.Call(m, "DeleteBucket", arg0) + ret0, _ := ret[0].(*s3.DeleteBucketOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListAccessKeys indicates an expected call of ListAccessKeys -func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call { +// DeleteBucket indicates an expected call of DeleteBucket. +func (mr *MockClientMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccessKeys", reflect.TypeOf((*MockClient)(nil).ListAccessKeys), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBucket", reflect.TypeOf((*MockClient)(nil).DeleteBucket), arg0) } -// GetUser mocks base method -func (m *MockClient) GetUser(arg0 *iam.GetUserInput) (*iam.GetUserOutput, error) { +// DeleteLoginProfile mocks base method. +func (m *MockClient) DeleteLoginProfile(arg0 *iam.DeleteLoginProfileInput) (*iam.DeleteLoginProfileOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetUser", arg0) - ret0, _ := ret[0].(*iam.GetUserOutput) + ret := m.ctrl.Call(m, "DeleteLoginProfile", arg0) + ret0, _ := ret[0].(*iam.DeleteLoginProfileOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetUser indicates an expected call of GetUser -func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call { +// DeleteLoginProfile indicates an expected call of DeleteLoginProfile. +func (mr *MockClientMockRecorder) DeleteLoginProfile(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUser", reflect.TypeOf((*MockClient)(nil).GetUser), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoginProfile", reflect.TypeOf((*MockClient)(nil).DeleteLoginProfile), arg0) } -// CreateUser mocks base method -func (m *MockClient) CreateUser(arg0 *iam.CreateUserInput) (*iam.CreateUserOutput, error) { +// DeleteObjects mocks base method. +func (m *MockClient) DeleteObjects(arg0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateUser", arg0) - ret0, _ := ret[0].(*iam.CreateUserOutput) + ret := m.ctrl.Call(m, "DeleteObjects", arg0) + ret0, _ := ret[0].(*s3.DeleteObjectsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreateUser indicates an expected call of CreateUser -func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call { +// DeleteObjects indicates an expected call of DeleteObjects. +func (mr *MockClientMockRecorder) DeleteObjects(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUser", reflect.TypeOf((*MockClient)(nil).CreateUser), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjects", reflect.TypeOf((*MockClient)(nil).DeleteObjects), arg0) } -// ListUsers mocks base method -func (m *MockClient) ListUsers(arg0 *iam.ListUsersInput) (*iam.ListUsersOutput, error) { +// DeletePolicy mocks base method. +func (m *MockClient) DeletePolicy(arg0 *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListUsers", arg0) - ret0, _ := ret[0].(*iam.ListUsersOutput) + ret := m.ctrl.Call(m, "DeletePolicy", arg0) + ret0, _ := ret[0].(*iam.DeletePolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListUsers indicates an expected call of ListUsers -func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call { +// DeletePolicy indicates an expected call of DeletePolicy. +func (mr *MockClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUsers", reflect.TypeOf((*MockClient)(nil).ListUsers), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePolicy", reflect.TypeOf((*MockClient)(nil).DeletePolicy), arg0) } -// AttachUserPolicy mocks base method -func (m *MockClient) AttachUserPolicy(arg0 *iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error) { +// DeleteRole mocks base method. +func (m *MockClient) DeleteRole(arg0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "AttachUserPolicy", arg0) - ret0, _ := ret[0].(*iam.AttachUserPolicyOutput) + ret := m.ctrl.Call(m, "DeleteRole", arg0) + ret0, _ := ret[0].(*iam.DeleteRoleOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// AttachUserPolicy indicates an expected call of AttachUserPolicy -func (mr *MockClientMockRecorder) AttachUserPolicy(arg0 interface{}) *gomock.Call { +// DeleteRole indicates an expected call of DeleteRole. +func (mr *MockClientMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachUserPolicy", reflect.TypeOf((*MockClient)(nil).AttachUserPolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRole", reflect.TypeOf((*MockClient)(nil).DeleteRole), arg0) } -// CreatePolicy mocks base method -func (m *MockClient) CreatePolicy(arg0 *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error) { +// DeleteSigningCertificate mocks base method. +func (m *MockClient) DeleteSigningCertificate(arg0 *iam.DeleteSigningCertificateInput) (*iam.DeleteSigningCertificateOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreatePolicy", arg0) - ret0, _ := ret[0].(*iam.CreatePolicyOutput) + ret := m.ctrl.Call(m, "DeleteSigningCertificate", arg0) + ret0, _ := ret[0].(*iam.DeleteSigningCertificateOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreatePolicy indicates an expected call of CreatePolicy -func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call { +// DeleteSigningCertificate indicates an expected call of DeleteSigningCertificate. +func (mr *MockClientMockRecorder) DeleteSigningCertificate(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePolicy", reflect.TypeOf((*MockClient)(nil).CreatePolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSigningCertificate", reflect.TypeOf((*MockClient)(nil).DeleteSigningCertificate), arg0) } -// DeletePolicy mocks base method -func (m *MockClient) DeletePolicy(arg0 *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error) { +// DeleteUser mocks base method. +func (m *MockClient) DeleteUser(arg0 *iam.DeleteUserInput) (*iam.DeleteUserOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeletePolicy", arg0) - ret0, _ := ret[0].(*iam.DeletePolicyOutput) + ret := m.ctrl.Call(m, "DeleteUser", arg0) + ret0, _ := ret[0].(*iam.DeleteUserOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeletePolicy indicates an expected call of DeletePolicy -func (mr *MockClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call { +// DeleteUser indicates an expected call of DeleteUser. +func (mr *MockClientMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePolicy", reflect.TypeOf((*MockClient)(nil).DeletePolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUser", reflect.TypeOf((*MockClient)(nil).DeleteUser), arg0) } -// AttachRolePolicy mocks base method -func (m *MockClient) AttachRolePolicy(arg0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error) { +// DeleteUserPolicy mocks base method. +func (m *MockClient) DeleteUserPolicy(arg0 *iam.DeleteUserPolicyInput) (*iam.DeleteUserPolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "AttachRolePolicy", arg0) - ret0, _ := ret[0].(*iam.AttachRolePolicyOutput) + ret := m.ctrl.Call(m, "DeleteUserPolicy", arg0) + ret0, _ := ret[0].(*iam.DeleteUserPolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// AttachRolePolicy indicates an expected call of AttachRolePolicy -func (mr *MockClientMockRecorder) AttachRolePolicy(arg0 interface{}) *gomock.Call { +// DeleteUserPolicy indicates an expected call of DeleteUserPolicy. +func (mr *MockClientMockRecorder) DeleteUserPolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachRolePolicy", reflect.TypeOf((*MockClient)(nil).AttachRolePolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUserPolicy", reflect.TypeOf((*MockClient)(nil).DeleteUserPolicy), arg0) } -// DetachRolePolicy mocks base method -func (m *MockClient) DetachRolePolicy(arg0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error) { +// DescribeCreateAccountStatus mocks base method. +func (m *MockClient) DescribeCreateAccountStatus(input *organizations.DescribeCreateAccountStatusInput) (*organizations.DescribeCreateAccountStatusOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DetachRolePolicy", arg0) - ret0, _ := ret[0].(*iam.DetachRolePolicyOutput) + ret := m.ctrl.Call(m, "DescribeCreateAccountStatus", input) + ret0, _ := ret[0].(*organizations.DescribeCreateAccountStatusOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DetachRolePolicy indicates an expected call of DetachRolePolicy -func (mr *MockClientMockRecorder) DetachRolePolicy(arg0 interface{}) *gomock.Call { +// DescribeCreateAccountStatus indicates an expected call of DescribeCreateAccountStatus. +func (mr *MockClientMockRecorder) DescribeCreateAccountStatus(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachRolePolicy", reflect.TypeOf((*MockClient)(nil).DetachRolePolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCreateAccountStatus", reflect.TypeOf((*MockClient)(nil).DescribeCreateAccountStatus), input) } -// ListAttachedRolePolicies mocks base method -func (m *MockClient) ListAttachedRolePolicies(arg0 *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error) { +// DescribeInstances mocks base method. +func (m *MockClient) DescribeInstances(arg0 *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAttachedRolePolicies", arg0) - ret0, _ := ret[0].(*iam.ListAttachedRolePoliciesOutput) + ret := m.ctrl.Call(m, "DescribeInstances", arg0) + ret0, _ := ret[0].(*ec2.DescribeInstancesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListAttachedRolePolicies indicates an expected call of ListAttachedRolePolicies -func (mr *MockClientMockRecorder) ListAttachedRolePolicies(arg0 interface{}) *gomock.Call { +// DescribeInstances indicates an expected call of DescribeInstances. +func (mr *MockClientMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAttachedRolePolicies", reflect.TypeOf((*MockClient)(nil).ListAttachedRolePolicies), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstances", reflect.TypeOf((*MockClient)(nil).DescribeInstances), arg0) } -// DeleteLoginProfile mocks base method -func (m *MockClient) DeleteLoginProfile(arg0 *iam.DeleteLoginProfileInput) (*iam.DeleteLoginProfileOutput, error) { +// DescribeOrganizationalUnit mocks base method. +func (m *MockClient) DescribeOrganizationalUnit(input *organizations.DescribeOrganizationalUnitInput) (*organizations.DescribeOrganizationalUnitOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteLoginProfile", arg0) - ret0, _ := ret[0].(*iam.DeleteLoginProfileOutput) + ret := m.ctrl.Call(m, "DescribeOrganizationalUnit", input) + ret0, _ := ret[0].(*organizations.DescribeOrganizationalUnitOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteLoginProfile indicates an expected call of DeleteLoginProfile -func (mr *MockClientMockRecorder) DeleteLoginProfile(arg0 interface{}) *gomock.Call { +// DescribeOrganizationalUnit indicates an expected call of DescribeOrganizationalUnit. +func (mr *MockClientMockRecorder) DescribeOrganizationalUnit(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoginProfile", reflect.TypeOf((*MockClient)(nil).DeleteLoginProfile), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeOrganizationalUnit", reflect.TypeOf((*MockClient)(nil).DescribeOrganizationalUnit), input) } -// ListSigningCertificates mocks base method -func (m *MockClient) ListSigningCertificates(arg0 *iam.ListSigningCertificatesInput) (*iam.ListSigningCertificatesOutput, error) { +// DetachRolePolicy mocks base method. +func (m *MockClient) DetachRolePolicy(arg0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListSigningCertificates", arg0) - ret0, _ := ret[0].(*iam.ListSigningCertificatesOutput) + ret := m.ctrl.Call(m, "DetachRolePolicy", arg0) + ret0, _ := ret[0].(*iam.DetachRolePolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListSigningCertificates indicates an expected call of ListSigningCertificates -func (mr *MockClientMockRecorder) ListSigningCertificates(arg0 interface{}) *gomock.Call { +// DetachRolePolicy indicates an expected call of DetachRolePolicy. +func (mr *MockClientMockRecorder) DetachRolePolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSigningCertificates", reflect.TypeOf((*MockClient)(nil).ListSigningCertificates), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachRolePolicy", reflect.TypeOf((*MockClient)(nil).DetachRolePolicy), arg0) } -// DeleteSigningCertificate mocks base method -func (m *MockClient) DeleteSigningCertificate(arg0 *iam.DeleteSigningCertificateInput) (*iam.DeleteSigningCertificateOutput, error) { +// DetachUserPolicy mocks base method. +func (m *MockClient) DetachUserPolicy(arg0 *iam.DetachUserPolicyInput) (*iam.DetachUserPolicyOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteSigningCertificate", arg0) - ret0, _ := ret[0].(*iam.DeleteSigningCertificateOutput) + ret := m.ctrl.Call(m, "DetachUserPolicy", arg0) + ret0, _ := ret[0].(*iam.DetachUserPolicyOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteSigningCertificate indicates an expected call of DeleteSigningCertificate -func (mr *MockClientMockRecorder) DeleteSigningCertificate(arg0 interface{}) *gomock.Call { +// DetachUserPolicy indicates an expected call of DetachUserPolicy. +func (mr *MockClientMockRecorder) DetachUserPolicy(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSigningCertificate", reflect.TypeOf((*MockClient)(nil).DeleteSigningCertificate), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachUserPolicy", reflect.TypeOf((*MockClient)(nil).DetachUserPolicy), arg0) } -// ListUserPolicies mocks base method -func (m *MockClient) ListUserPolicies(arg0 *iam.ListUserPoliciesInput) (*iam.ListUserPoliciesOutput, error) { +// GetCallerIdentity mocks base method. +func (m *MockClient) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListUserPolicies", arg0) - ret0, _ := ret[0].(*iam.ListUserPoliciesOutput) + ret := m.ctrl.Call(m, "GetCallerIdentity", arg0) + ret0, _ := ret[0].(*sts.GetCallerIdentityOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListUserPolicies indicates an expected call of ListUserPolicies -func (mr *MockClientMockRecorder) ListUserPolicies(arg0 interface{}) *gomock.Call { +// GetCallerIdentity indicates an expected call of GetCallerIdentity. +func (mr *MockClientMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserPolicies", reflect.TypeOf((*MockClient)(nil).ListUserPolicies), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCallerIdentity", reflect.TypeOf((*MockClient)(nil).GetCallerIdentity), arg0) } -// DeleteUserPolicy mocks base method -func (m *MockClient) DeleteUserPolicy(arg0 *iam.DeleteUserPolicyInput) (*iam.DeleteUserPolicyOutput, error) { +// GetCostAndUsage mocks base method. +func (m *MockClient) GetCostAndUsage(input *costexplorer.GetCostAndUsageInput) (*costexplorer.GetCostAndUsageOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteUserPolicy", arg0) - ret0, _ := ret[0].(*iam.DeleteUserPolicyOutput) + ret := m.ctrl.Call(m, "GetCostAndUsage", input) + ret0, _ := ret[0].(*costexplorer.GetCostAndUsageOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteUserPolicy indicates an expected call of DeleteUserPolicy -func (mr *MockClientMockRecorder) DeleteUserPolicy(arg0 interface{}) *gomock.Call { +// GetCostAndUsage indicates an expected call of GetCostAndUsage. +func (mr *MockClientMockRecorder) GetCostAndUsage(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUserPolicy", reflect.TypeOf((*MockClient)(nil).DeleteUserPolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCostAndUsage", reflect.TypeOf((*MockClient)(nil).GetCostAndUsage), input) } -// ListAttachedUserPolicies mocks base method -func (m *MockClient) ListAttachedUserPolicies(arg0 *iam.ListAttachedUserPoliciesInput) (*iam.ListAttachedUserPoliciesOutput, error) { +// GetFederationToken mocks base method. +func (m *MockClient) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAttachedUserPolicies", arg0) - ret0, _ := ret[0].(*iam.ListAttachedUserPoliciesOutput) + ret := m.ctrl.Call(m, "GetFederationToken", arg0) + ret0, _ := ret[0].(*sts.GetFederationTokenOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListAttachedUserPolicies indicates an expected call of ListAttachedUserPolicies -func (mr *MockClientMockRecorder) ListAttachedUserPolicies(arg0 interface{}) *gomock.Call { +// GetFederationToken indicates an expected call of GetFederationToken. +func (mr *MockClientMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAttachedUserPolicies", reflect.TypeOf((*MockClient)(nil).ListAttachedUserPolicies), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFederationToken", reflect.TypeOf((*MockClient)(nil).GetFederationToken), arg0) } -// DetachUserPolicy mocks base method -func (m *MockClient) DetachUserPolicy(arg0 *iam.DetachUserPolicyInput) (*iam.DetachUserPolicyOutput, error) { +// GetResources mocks base method. +func (m *MockClient) GetResources(input *resourcegroupstaggingapi.GetResourcesInput) (*resourcegroupstaggingapi.GetResourcesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DetachUserPolicy", arg0) - ret0, _ := ret[0].(*iam.DetachUserPolicyOutput) + ret := m.ctrl.Call(m, "GetResources", input) + ret0, _ := ret[0].(*resourcegroupstaggingapi.GetResourcesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DetachUserPolicy indicates an expected call of DetachUserPolicy -func (mr *MockClientMockRecorder) DetachUserPolicy(arg0 interface{}) *gomock.Call { +// GetResources indicates an expected call of GetResources. +func (mr *MockClientMockRecorder) GetResources(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetachUserPolicy", reflect.TypeOf((*MockClient)(nil).DetachUserPolicy), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResources", reflect.TypeOf((*MockClient)(nil).GetResources), input) } -// ListGroupsForUser mocks base method -func (m *MockClient) ListGroupsForUser(arg0 *iam.ListGroupsForUserInput) (*iam.ListGroupsForUserOutput, error) { +// GetUser mocks base method. +func (m *MockClient) GetUser(arg0 *iam.GetUserInput) (*iam.GetUserOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListGroupsForUser", arg0) - ret0, _ := ret[0].(*iam.ListGroupsForUserOutput) + ret := m.ctrl.Call(m, "GetUser", arg0) + ret0, _ := ret[0].(*iam.GetUserOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListGroupsForUser indicates an expected call of ListGroupsForUser -func (mr *MockClientMockRecorder) ListGroupsForUser(arg0 interface{}) *gomock.Call { +// GetUser indicates an expected call of GetUser. +func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGroupsForUser", reflect.TypeOf((*MockClient)(nil).ListGroupsForUser), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUser", reflect.TypeOf((*MockClient)(nil).GetUser), arg0) } -// RemoveUserFromGroup mocks base method -func (m *MockClient) RemoveUserFromGroup(arg0 *iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error) { +// ListAccessKeys mocks base method. +func (m *MockClient) ListAccessKeys(arg0 *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RemoveUserFromGroup", arg0) - ret0, _ := ret[0].(*iam.RemoveUserFromGroupOutput) + ret := m.ctrl.Call(m, "ListAccessKeys", arg0) + ret0, _ := ret[0].(*iam.ListAccessKeysOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// RemoveUserFromGroup indicates an expected call of RemoveUserFromGroup -func (mr *MockClientMockRecorder) RemoveUserFromGroup(arg0 interface{}) *gomock.Call { +// ListAccessKeys indicates an expected call of ListAccessKeys. +func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveUserFromGroup", reflect.TypeOf((*MockClient)(nil).RemoveUserFromGroup), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccessKeys", reflect.TypeOf((*MockClient)(nil).ListAccessKeys), arg0) } -// ListRoles mocks base method -func (m *MockClient) ListRoles(arg0 *iam.ListRolesInput) (*iam.ListRolesOutput, error) { +// ListAccounts mocks base method. +func (m *MockClient) ListAccounts(input *organizations.ListAccountsInput) (*organizations.ListAccountsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListRoles", arg0) - ret0, _ := ret[0].(*iam.ListRolesOutput) + ret := m.ctrl.Call(m, "ListAccounts", input) + ret0, _ := ret[0].(*organizations.ListAccountsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListRoles indicates an expected call of ListRoles -func (mr *MockClientMockRecorder) ListRoles(arg0 interface{}) *gomock.Call { +// ListAccounts indicates an expected call of ListAccounts. +func (mr *MockClientMockRecorder) ListAccounts(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRoles", reflect.TypeOf((*MockClient)(nil).ListRoles), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccounts", reflect.TypeOf((*MockClient)(nil).ListAccounts), input) } -// DeleteRole mocks base method -func (m *MockClient) DeleteRole(arg0 *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error) { +// ListAccountsForParent mocks base method. +func (m *MockClient) ListAccountsForParent(input *organizations.ListAccountsForParentInput) (*organizations.ListAccountsForParentOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteRole", arg0) - ret0, _ := ret[0].(*iam.DeleteRoleOutput) + ret := m.ctrl.Call(m, "ListAccountsForParent", input) + ret0, _ := ret[0].(*organizations.ListAccountsForParentOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteRole indicates an expected call of DeleteRole -func (mr *MockClientMockRecorder) DeleteRole(arg0 interface{}) *gomock.Call { +// ListAccountsForParent indicates an expected call of ListAccountsForParent. +func (mr *MockClientMockRecorder) ListAccountsForParent(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRole", reflect.TypeOf((*MockClient)(nil).DeleteRole), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccountsForParent", reflect.TypeOf((*MockClient)(nil).ListAccountsForParent), input) } -// DeleteUser mocks base method -func (m *MockClient) DeleteUser(arg0 *iam.DeleteUserInput) (*iam.DeleteUserOutput, error) { +// ListAttachedRolePolicies mocks base method. +func (m *MockClient) ListAttachedRolePolicies(arg0 *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteUser", arg0) - ret0, _ := ret[0].(*iam.DeleteUserOutput) + ret := m.ctrl.Call(m, "ListAttachedRolePolicies", arg0) + ret0, _ := ret[0].(*iam.ListAttachedRolePoliciesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DeleteUser indicates an expected call of DeleteUser -func (mr *MockClientMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call { +// ListAttachedRolePolicies indicates an expected call of ListAttachedRolePolicies. +func (mr *MockClientMockRecorder) ListAttachedRolePolicies(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUser", reflect.TypeOf((*MockClient)(nil).DeleteUser), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAttachedRolePolicies", reflect.TypeOf((*MockClient)(nil).ListAttachedRolePolicies), arg0) } -// DescribeInstances mocks base method -func (m *MockClient) DescribeInstances(arg0 *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) { +// ListAttachedUserPolicies mocks base method. +func (m *MockClient) ListAttachedUserPolicies(arg0 *iam.ListAttachedUserPoliciesInput) (*iam.ListAttachedUserPoliciesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DescribeInstances", arg0) - ret0, _ := ret[0].(*ec2.DescribeInstancesOutput) + ret := m.ctrl.Call(m, "ListAttachedUserPolicies", arg0) + ret0, _ := ret[0].(*iam.ListAttachedUserPoliciesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DescribeInstances indicates an expected call of DescribeInstances -func (mr *MockClientMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call { +// ListAttachedUserPolicies indicates an expected call of ListAttachedUserPolicies. +func (mr *MockClientMockRecorder) ListAttachedUserPolicies(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstances", reflect.TypeOf((*MockClient)(nil).DescribeInstances), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAttachedUserPolicies", reflect.TypeOf((*MockClient)(nil).ListAttachedUserPolicies), arg0) } -// ListServiceQuotas mocks base method -func (m *MockClient) ListServiceQuotas(arg0 *servicequotas.ListServiceQuotasInput) (*servicequotas.ListServiceQuotasOutput, error) { +// ListBuckets mocks base method. +func (m *MockClient) ListBuckets(arg0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceQuotas", arg0) - ret0, _ := ret[0].(*servicequotas.ListServiceQuotasOutput) + ret := m.ctrl.Call(m, "ListBuckets", arg0) + ret0, _ := ret[0].(*s3.ListBucketsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListServiceQuotas indicates an expected call of ListServiceQuotas -func (mr *MockClientMockRecorder) ListServiceQuotas(arg0 interface{}) *gomock.Call { +// ListBuckets indicates an expected call of ListBuckets. +func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceQuotas", reflect.TypeOf((*MockClient)(nil).ListServiceQuotas), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBuckets", reflect.TypeOf((*MockClient)(nil).ListBuckets), arg0) } -// RequestServiceQuotaIncrease mocks base method -func (m *MockClient) RequestServiceQuotaIncrease(arg0 *servicequotas.RequestServiceQuotaIncreaseInput) (*servicequotas.RequestServiceQuotaIncreaseOutput, error) { +// ListCostCategoryDefinitions mocks base method. +func (m *MockClient) ListCostCategoryDefinitions(input *costexplorer.ListCostCategoryDefinitionsInput) (*costexplorer.ListCostCategoryDefinitionsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RequestServiceQuotaIncrease", arg0) - ret0, _ := ret[0].(*servicequotas.RequestServiceQuotaIncreaseOutput) + ret := m.ctrl.Call(m, "ListCostCategoryDefinitions", input) + ret0, _ := ret[0].(*costexplorer.ListCostCategoryDefinitionsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// RequestServiceQuotaIncrease indicates an expected call of RequestServiceQuotaIncrease -func (mr *MockClientMockRecorder) RequestServiceQuotaIncrease(arg0 interface{}) *gomock.Call { +// ListCostCategoryDefinitions indicates an expected call of ListCostCategoryDefinitions. +func (mr *MockClientMockRecorder) ListCostCategoryDefinitions(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestServiceQuotaIncrease", reflect.TypeOf((*MockClient)(nil).RequestServiceQuotaIncrease), arg0) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCostCategoryDefinitions", reflect.TypeOf((*MockClient)(nil).ListCostCategoryDefinitions), input) } -// CreateAccount mocks base method -func (m *MockClient) CreateAccount(input *organizations.CreateAccountInput) (*organizations.CreateAccountOutput, error) { +// ListGroupsForUser mocks base method. +func (m *MockClient) ListGroupsForUser(arg0 *iam.ListGroupsForUserInput) (*iam.ListGroupsForUserOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateAccount", input) - ret0, _ := ret[0].(*organizations.CreateAccountOutput) + ret := m.ctrl.Call(m, "ListGroupsForUser", arg0) + ret0, _ := ret[0].(*iam.ListGroupsForUserOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreateAccount indicates an expected call of CreateAccount -func (mr *MockClientMockRecorder) CreateAccount(input interface{}) *gomock.Call { +// ListGroupsForUser indicates an expected call of ListGroupsForUser. +func (mr *MockClientMockRecorder) ListGroupsForUser(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccount", reflect.TypeOf((*MockClient)(nil).CreateAccount), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGroupsForUser", reflect.TypeOf((*MockClient)(nil).ListGroupsForUser), arg0) } -// DescribeCreateAccountStatus mocks base method -func (m *MockClient) DescribeCreateAccountStatus(input *organizations.DescribeCreateAccountStatusInput) (*organizations.DescribeCreateAccountStatusOutput, error) { +// ListObjects mocks base method. +func (m *MockClient) ListObjects(arg0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DescribeCreateAccountStatus", input) - ret0, _ := ret[0].(*organizations.DescribeCreateAccountStatusOutput) + ret := m.ctrl.Call(m, "ListObjects", arg0) + ret0, _ := ret[0].(*s3.ListObjectsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DescribeCreateAccountStatus indicates an expected call of DescribeCreateAccountStatus -func (mr *MockClientMockRecorder) DescribeCreateAccountStatus(input interface{}) *gomock.Call { +// ListObjects indicates an expected call of ListObjects. +func (mr *MockClientMockRecorder) ListObjects(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCreateAccountStatus", reflect.TypeOf((*MockClient)(nil).DescribeCreateAccountStatus), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListObjects", reflect.TypeOf((*MockClient)(nil).ListObjects), arg0) } -// ListAccounts mocks base method -func (m *MockClient) ListAccounts(input *organizations.ListAccountsInput) (*organizations.ListAccountsOutput, error) { +// ListOrganizationalUnitsForParent mocks base method. +func (m *MockClient) ListOrganizationalUnitsForParent(input *organizations.ListOrganizationalUnitsForParentInput) (*organizations.ListOrganizationalUnitsForParentOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccounts", input) - ret0, _ := ret[0].(*organizations.ListAccountsOutput) + ret := m.ctrl.Call(m, "ListOrganizationalUnitsForParent", input) + ret0, _ := ret[0].(*organizations.ListOrganizationalUnitsForParentOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListAccounts indicates an expected call of ListAccounts -func (mr *MockClientMockRecorder) ListAccounts(input interface{}) *gomock.Call { +// ListOrganizationalUnitsForParent indicates an expected call of ListOrganizationalUnitsForParent. +func (mr *MockClientMockRecorder) ListOrganizationalUnitsForParent(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccounts", reflect.TypeOf((*MockClient)(nil).ListAccounts), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOrganizationalUnitsForParent", reflect.TypeOf((*MockClient)(nil).ListOrganizationalUnitsForParent), input) } -// ListParents mocks base method +// ListParents mocks base method. func (m *MockClient) ListParents(input *organizations.ListParentsInput) (*organizations.ListParentsOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListParents", input) @@ -604,118 +605,118 @@ func (m *MockClient) ListParents(input *organizations.ListParentsInput) (*organi return ret0, ret1 } -// ListParents indicates an expected call of ListParents +// ListParents indicates an expected call of ListParents. func (mr *MockClientMockRecorder) ListParents(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListParents", reflect.TypeOf((*MockClient)(nil).ListParents), input) } -// ListRoots mocks base method -func (m *MockClient) ListRoots(input *organizations.ListRootsInput) (*organizations.ListRootsOutput, error) { +// ListRoles mocks base method. +func (m *MockClient) ListRoles(arg0 *iam.ListRolesInput) (*iam.ListRolesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListRoots", input) - ret0, _ := ret[0].(*organizations.ListRootsOutput) + ret := m.ctrl.Call(m, "ListRoles", arg0) + ret0, _ := ret[0].(*iam.ListRolesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListRoots indicates an expected call of ListRoots -func (mr *MockClientMockRecorder) ListRoots(input interface{}) *gomock.Call { +// ListRoles indicates an expected call of ListRoles. +func (mr *MockClientMockRecorder) ListRoles(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRoots", reflect.TypeOf((*MockClient)(nil).ListRoots), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRoles", reflect.TypeOf((*MockClient)(nil).ListRoles), arg0) } -// ListAccountsForParent mocks base method -func (m *MockClient) ListAccountsForParent(input *organizations.ListAccountsForParentInput) (*organizations.ListAccountsForParentOutput, error) { +// ListRoots mocks base method. +func (m *MockClient) ListRoots(input *organizations.ListRootsInput) (*organizations.ListRootsOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccountsForParent", input) - ret0, _ := ret[0].(*organizations.ListAccountsForParentOutput) + ret := m.ctrl.Call(m, "ListRoots", input) + ret0, _ := ret[0].(*organizations.ListRootsOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListAccountsForParent indicates an expected call of ListAccountsForParent -func (mr *MockClientMockRecorder) ListAccountsForParent(input interface{}) *gomock.Call { +// ListRoots indicates an expected call of ListRoots. +func (mr *MockClientMockRecorder) ListRoots(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccountsForParent", reflect.TypeOf((*MockClient)(nil).ListAccountsForParent), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRoots", reflect.TypeOf((*MockClient)(nil).ListRoots), input) } -// ListOrganizationalUnitsForParent mocks base method -func (m *MockClient) ListOrganizationalUnitsForParent(input *organizations.ListOrganizationalUnitsForParentInput) (*organizations.ListOrganizationalUnitsForParentOutput, error) { +// ListServiceQuotas mocks base method. +func (m *MockClient) ListServiceQuotas(arg0 *servicequotas.ListServiceQuotasInput) (*servicequotas.ListServiceQuotasOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListOrganizationalUnitsForParent", input) - ret0, _ := ret[0].(*organizations.ListOrganizationalUnitsForParentOutput) + ret := m.ctrl.Call(m, "ListServiceQuotas", arg0) + ret0, _ := ret[0].(*servicequotas.ListServiceQuotasOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListOrganizationalUnitsForParent indicates an expected call of ListOrganizationalUnitsForParent -func (mr *MockClientMockRecorder) ListOrganizationalUnitsForParent(input interface{}) *gomock.Call { +// ListServiceQuotas indicates an expected call of ListServiceQuotas. +func (mr *MockClientMockRecorder) ListServiceQuotas(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOrganizationalUnitsForParent", reflect.TypeOf((*MockClient)(nil).ListOrganizationalUnitsForParent), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceQuotas", reflect.TypeOf((*MockClient)(nil).ListServiceQuotas), arg0) } -// DescribeOrganizationalUnit mocks base method -func (m *MockClient) DescribeOrganizationalUnit(input *organizations.DescribeOrganizationalUnitInput) (*organizations.DescribeOrganizationalUnitOutput, error) { +// ListSigningCertificates mocks base method. +func (m *MockClient) ListSigningCertificates(arg0 *iam.ListSigningCertificatesInput) (*iam.ListSigningCertificatesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DescribeOrganizationalUnit", input) - ret0, _ := ret[0].(*organizations.DescribeOrganizationalUnitOutput) + ret := m.ctrl.Call(m, "ListSigningCertificates", arg0) + ret0, _ := ret[0].(*iam.ListSigningCertificatesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// DescribeOrganizationalUnit indicates an expected call of DescribeOrganizationalUnit -func (mr *MockClientMockRecorder) DescribeOrganizationalUnit(input interface{}) *gomock.Call { +// ListSigningCertificates indicates an expected call of ListSigningCertificates. +func (mr *MockClientMockRecorder) ListSigningCertificates(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeOrganizationalUnit", reflect.TypeOf((*MockClient)(nil).DescribeOrganizationalUnit), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSigningCertificates", reflect.TypeOf((*MockClient)(nil).ListSigningCertificates), arg0) } -// TagResource mocks base method -func (m *MockClient) TagResource(input *organizations.TagResourceInput) (*organizations.TagResourceOutput, error) { +// ListTagsForResource mocks base method. +func (m *MockClient) ListTagsForResource(input *organizations.ListTagsForResourceInput) (*organizations.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "TagResource", input) - ret0, _ := ret[0].(*organizations.TagResourceOutput) + ret := m.ctrl.Call(m, "ListTagsForResource", input) + ret0, _ := ret[0].(*organizations.ListTagsForResourceOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// TagResource indicates an expected call of TagResource -func (mr *MockClientMockRecorder) TagResource(input interface{}) *gomock.Call { +// ListTagsForResource indicates an expected call of ListTagsForResource. +func (mr *MockClientMockRecorder) ListTagsForResource(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResource", reflect.TypeOf((*MockClient)(nil).TagResource), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResource", reflect.TypeOf((*MockClient)(nil).ListTagsForResource), input) } -// UntagResource mocks base method -func (m *MockClient) UntagResource(input *organizations.UntagResourceInput) (*organizations.UntagResourceOutput, error) { +// ListUserPolicies mocks base method. +func (m *MockClient) ListUserPolicies(arg0 *iam.ListUserPoliciesInput) (*iam.ListUserPoliciesOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UntagResource", input) - ret0, _ := ret[0].(*organizations.UntagResourceOutput) + ret := m.ctrl.Call(m, "ListUserPolicies", arg0) + ret0, _ := ret[0].(*iam.ListUserPoliciesOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// UntagResource indicates an expected call of UntagResource -func (mr *MockClientMockRecorder) UntagResource(input interface{}) *gomock.Call { +// ListUserPolicies indicates an expected call of ListUserPolicies. +func (mr *MockClientMockRecorder) ListUserPolicies(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResource", reflect.TypeOf((*MockClient)(nil).UntagResource), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserPolicies", reflect.TypeOf((*MockClient)(nil).ListUserPolicies), arg0) } -// ListTagsForResource mocks base method -func (m *MockClient) ListTagsForResource(input *organizations.ListTagsForResourceInput) (*organizations.ListTagsForResourceOutput, error) { +// ListUsers mocks base method. +func (m *MockClient) ListUsers(arg0 *iam.ListUsersInput) (*iam.ListUsersOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTagsForResource", input) - ret0, _ := ret[0].(*organizations.ListTagsForResourceOutput) + ret := m.ctrl.Call(m, "ListUsers", arg0) + ret0, _ := ret[0].(*iam.ListUsersOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListTagsForResource indicates an expected call of ListTagsForResource -func (mr *MockClientMockRecorder) ListTagsForResource(input interface{}) *gomock.Call { +// ListUsers indicates an expected call of ListUsers. +func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResource", reflect.TypeOf((*MockClient)(nil).ListTagsForResource), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUsers", reflect.TypeOf((*MockClient)(nil).ListUsers), arg0) } -// MoveAccount mocks base method +// MoveAccount mocks base method. func (m *MockClient) MoveAccount(input *organizations.MoveAccountInput) (*organizations.MoveAccountOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "MoveAccount", input) @@ -724,68 +725,68 @@ func (m *MockClient) MoveAccount(input *organizations.MoveAccountInput) (*organi return ret0, ret1 } -// MoveAccount indicates an expected call of MoveAccount +// MoveAccount indicates an expected call of MoveAccount. func (mr *MockClientMockRecorder) MoveAccount(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MoveAccount", reflect.TypeOf((*MockClient)(nil).MoveAccount), input) } -// GetResources mocks base method -func (m *MockClient) GetResources(input *resourcegroupstaggingapi.GetResourcesInput) (*resourcegroupstaggingapi.GetResourcesOutput, error) { +// RemoveUserFromGroup mocks base method. +func (m *MockClient) RemoveUserFromGroup(arg0 *iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetResources", input) - ret0, _ := ret[0].(*resourcegroupstaggingapi.GetResourcesOutput) + ret := m.ctrl.Call(m, "RemoveUserFromGroup", arg0) + ret0, _ := ret[0].(*iam.RemoveUserFromGroupOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetResources indicates an expected call of GetResources -func (mr *MockClientMockRecorder) GetResources(input interface{}) *gomock.Call { +// RemoveUserFromGroup indicates an expected call of RemoveUserFromGroup. +func (mr *MockClientMockRecorder) RemoveUserFromGroup(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResources", reflect.TypeOf((*MockClient)(nil).GetResources), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveUserFromGroup", reflect.TypeOf((*MockClient)(nil).RemoveUserFromGroup), arg0) } -// GetCostAndUsage mocks base method -func (m *MockClient) GetCostAndUsage(input *costexplorer.GetCostAndUsageInput) (*costexplorer.GetCostAndUsageOutput, error) { +// RequestServiceQuotaIncrease mocks base method. +func (m *MockClient) RequestServiceQuotaIncrease(arg0 *servicequotas.RequestServiceQuotaIncreaseInput) (*servicequotas.RequestServiceQuotaIncreaseOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetCostAndUsage", input) - ret0, _ := ret[0].(*costexplorer.GetCostAndUsageOutput) + ret := m.ctrl.Call(m, "RequestServiceQuotaIncrease", arg0) + ret0, _ := ret[0].(*servicequotas.RequestServiceQuotaIncreaseOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// GetCostAndUsage indicates an expected call of GetCostAndUsage -func (mr *MockClientMockRecorder) GetCostAndUsage(input interface{}) *gomock.Call { +// RequestServiceQuotaIncrease indicates an expected call of RequestServiceQuotaIncrease. +func (mr *MockClientMockRecorder) RequestServiceQuotaIncrease(arg0 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCostAndUsage", reflect.TypeOf((*MockClient)(nil).GetCostAndUsage), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestServiceQuotaIncrease", reflect.TypeOf((*MockClient)(nil).RequestServiceQuotaIncrease), arg0) } -// CreateCostCategoryDefinition mocks base method -func (m *MockClient) CreateCostCategoryDefinition(input *costexplorer.CreateCostCategoryDefinitionInput) (*costexplorer.CreateCostCategoryDefinitionOutput, error) { +// TagResource mocks base method. +func (m *MockClient) TagResource(input *organizations.TagResourceInput) (*organizations.TagResourceOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateCostCategoryDefinition", input) - ret0, _ := ret[0].(*costexplorer.CreateCostCategoryDefinitionOutput) + ret := m.ctrl.Call(m, "TagResource", input) + ret0, _ := ret[0].(*organizations.TagResourceOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// CreateCostCategoryDefinition indicates an expected call of CreateCostCategoryDefinition -func (mr *MockClientMockRecorder) CreateCostCategoryDefinition(input interface{}) *gomock.Call { +// TagResource indicates an expected call of TagResource. +func (mr *MockClientMockRecorder) TagResource(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCostCategoryDefinition", reflect.TypeOf((*MockClient)(nil).CreateCostCategoryDefinition), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResource", reflect.TypeOf((*MockClient)(nil).TagResource), input) } -// ListCostCategoryDefinitions mocks base method -func (m *MockClient) ListCostCategoryDefinitions(input *costexplorer.ListCostCategoryDefinitionsInput) (*costexplorer.ListCostCategoryDefinitionsOutput, error) { +// UntagResource mocks base method. +func (m *MockClient) UntagResource(input *organizations.UntagResourceInput) (*organizations.UntagResourceOutput, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListCostCategoryDefinitions", input) - ret0, _ := ret[0].(*costexplorer.ListCostCategoryDefinitionsOutput) + ret := m.ctrl.Call(m, "UntagResource", input) + ret0, _ := ret[0].(*organizations.UntagResourceOutput) ret1, _ := ret[1].(error) return ret0, ret1 } -// ListCostCategoryDefinitions indicates an expected call of ListCostCategoryDefinitions -func (mr *MockClientMockRecorder) ListCostCategoryDefinitions(input interface{}) *gomock.Call { +// UntagResource indicates an expected call of UntagResource. +func (mr *MockClientMockRecorder) UntagResource(input interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCostCategoryDefinitions", reflect.TypeOf((*MockClient)(nil).ListCostCategoryDefinitions), input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResource", reflect.TypeOf((*MockClient)(nil).UntagResource), input) }