diff --git a/go.mod b/go.mod index 63b26a34..511cfd8a 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/ekristen/aws-nuke/v3 go 1.21.6 require ( - github.com/aws/aws-sdk-go v1.54.18 + github.com/aws/aws-sdk-go v1.54.19 github.com/ekristen/libnuke v0.18.0 github.com/fatih/color v1.17.0 github.com/golang/mock v1.6.0 diff --git a/go.sum b/go.sum index e384cc44..41a29193 100644 --- a/go.sum +++ b/go.sum @@ -6,6 +6,8 @@ github.com/aws/aws-sdk-go v1.53.19 h1:WEuWc918RXlIaPCyU11F7hH9H1ItK+8m2c/uoQNRUo github.com/aws/aws-sdk-go v1.53.19/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go v1.54.18 h1:t8DGtN8A2wEiazoJxeDbfPsbxCKtjoRLuO7jBSgJzo4= github.com/aws/aws-sdk-go v1.54.18/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= +github.com/aws/aws-sdk-go v1.54.19 h1:tyWV+07jagrNiCcGRzRhdtVjQs7Vy41NwsuOcl0IbVI= +github.com/aws/aws-sdk-go v1.54.19/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= diff --git a/mocks/mock_autoscalingiface/mock.go b/mocks/mock_autoscalingiface/mock.go index 357e9907..ff258ab8 100644 --- a/mocks/mock_autoscalingiface/mock.go +++ b/mocks/mock_autoscalingiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/autoscaling/autoscalingiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/autoscaling/autoscalingiface/interface.go // Package mock_autoscalingiface is a generated GoMock package. package mock_autoscalingiface diff --git a/mocks/mock_cloudformationiface/mock.go b/mocks/mock_cloudformationiface/mock.go index 8c4f0083..e3c8cb00 100644 --- a/mocks/mock_cloudformationiface/mock.go +++ b/mocks/mock_cloudformationiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/cloudformation/cloudformationiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/cloudformation/cloudformationiface/interface.go // Package mock_cloudformationiface is a generated GoMock package. package mock_cloudformationiface diff --git a/mocks/mock_ecsiface/mock.go b/mocks/mock_ecsiface/mock.go index 351d9b34..59ee7ad3 100644 --- a/mocks/mock_ecsiface/mock.go +++ b/mocks/mock_ecsiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/ecs/ecsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/ecs/ecsiface/interface.go // Package mock_ecsiface is a generated GoMock package. package mock_ecsiface diff --git a/mocks/mock_elasticacheiface/mock.go b/mocks/mock_elasticacheiface/mock.go index 161deb80..b94990b7 100644 --- a/mocks/mock_elasticacheiface/mock.go +++ b/mocks/mock_elasticacheiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/elasticache/elasticacheiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/elasticache/elasticacheiface/interface.go // Package mock_elasticacheiface is a generated GoMock package. package mock_elasticacheiface diff --git a/mocks/mock_glueiface/mock.go b/mocks/mock_glueiface/mock.go index ad219a94..72bd32ec 100644 --- a/mocks/mock_glueiface/mock.go +++ b/mocks/mock_glueiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/glue/glueiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/glue/glueiface/interface.go // Package mock_glueiface is a generated GoMock package. package mock_glueiface diff --git a/mocks/mock_iamiface/mock.go b/mocks/mock_iamiface/mock.go index 5b70196d..4d2c24bf 100644 --- a/mocks/mock_iamiface/mock.go +++ b/mocks/mock_iamiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/iam/iamiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/iam/iamiface/interface.go // Package mock_iamiface is a generated GoMock package. package mock_iamiface diff --git a/mocks/mock_quicksightiface/mock.go b/mocks/mock_quicksightiface/mock.go index 5634a2a8..d8b805d8 100644 --- a/mocks/mock_quicksightiface/mock.go +++ b/mocks/mock_quicksightiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/quicksight/quicksightiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/quicksight/quicksightiface/interface.go // Package mock_quicksightiface is a generated GoMock package. package mock_quicksightiface @@ -36,6 +36,106 @@ func (m *MockQuickSightAPI) EXPECT() *MockQuickSightAPIMockRecorder { return m.recorder } +// BatchCreateTopicReviewedAnswer mocks base method. +func (m *MockQuickSightAPI) BatchCreateTopicReviewedAnswer(arg0 *quicksight.BatchCreateTopicReviewedAnswerInput) (*quicksight.BatchCreateTopicReviewedAnswerOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "BatchCreateTopicReviewedAnswer", arg0) + ret0, _ := ret[0].(*quicksight.BatchCreateTopicReviewedAnswerOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// BatchCreateTopicReviewedAnswer indicates an expected call of BatchCreateTopicReviewedAnswer. +func (mr *MockQuickSightAPIMockRecorder) BatchCreateTopicReviewedAnswer(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchCreateTopicReviewedAnswer", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchCreateTopicReviewedAnswer), arg0) +} + +// BatchCreateTopicReviewedAnswerRequest mocks base method. +func (m *MockQuickSightAPI) BatchCreateTopicReviewedAnswerRequest(arg0 *quicksight.BatchCreateTopicReviewedAnswerInput) (*request.Request, *quicksight.BatchCreateTopicReviewedAnswerOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "BatchCreateTopicReviewedAnswerRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*quicksight.BatchCreateTopicReviewedAnswerOutput) + return ret0, ret1 +} + +// BatchCreateTopicReviewedAnswerRequest indicates an expected call of BatchCreateTopicReviewedAnswerRequest. +func (mr *MockQuickSightAPIMockRecorder) BatchCreateTopicReviewedAnswerRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchCreateTopicReviewedAnswerRequest", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchCreateTopicReviewedAnswerRequest), arg0) +} + +// BatchCreateTopicReviewedAnswerWithContext mocks base method. +func (m *MockQuickSightAPI) BatchCreateTopicReviewedAnswerWithContext(arg0 aws.Context, arg1 *quicksight.BatchCreateTopicReviewedAnswerInput, arg2 ...request.Option) (*quicksight.BatchCreateTopicReviewedAnswerOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "BatchCreateTopicReviewedAnswerWithContext", varargs...) + ret0, _ := ret[0].(*quicksight.BatchCreateTopicReviewedAnswerOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// BatchCreateTopicReviewedAnswerWithContext indicates an expected call of BatchCreateTopicReviewedAnswerWithContext. +func (mr *MockQuickSightAPIMockRecorder) BatchCreateTopicReviewedAnswerWithContext(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, "BatchCreateTopicReviewedAnswerWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchCreateTopicReviewedAnswerWithContext), varargs...) +} + +// BatchDeleteTopicReviewedAnswer mocks base method. +func (m *MockQuickSightAPI) BatchDeleteTopicReviewedAnswer(arg0 *quicksight.BatchDeleteTopicReviewedAnswerInput) (*quicksight.BatchDeleteTopicReviewedAnswerOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "BatchDeleteTopicReviewedAnswer", arg0) + ret0, _ := ret[0].(*quicksight.BatchDeleteTopicReviewedAnswerOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// BatchDeleteTopicReviewedAnswer indicates an expected call of BatchDeleteTopicReviewedAnswer. +func (mr *MockQuickSightAPIMockRecorder) BatchDeleteTopicReviewedAnswer(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchDeleteTopicReviewedAnswer", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchDeleteTopicReviewedAnswer), arg0) +} + +// BatchDeleteTopicReviewedAnswerRequest mocks base method. +func (m *MockQuickSightAPI) BatchDeleteTopicReviewedAnswerRequest(arg0 *quicksight.BatchDeleteTopicReviewedAnswerInput) (*request.Request, *quicksight.BatchDeleteTopicReviewedAnswerOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "BatchDeleteTopicReviewedAnswerRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*quicksight.BatchDeleteTopicReviewedAnswerOutput) + return ret0, ret1 +} + +// BatchDeleteTopicReviewedAnswerRequest indicates an expected call of BatchDeleteTopicReviewedAnswerRequest. +func (mr *MockQuickSightAPIMockRecorder) BatchDeleteTopicReviewedAnswerRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchDeleteTopicReviewedAnswerRequest", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchDeleteTopicReviewedAnswerRequest), arg0) +} + +// BatchDeleteTopicReviewedAnswerWithContext mocks base method. +func (m *MockQuickSightAPI) BatchDeleteTopicReviewedAnswerWithContext(arg0 aws.Context, arg1 *quicksight.BatchDeleteTopicReviewedAnswerInput, arg2 ...request.Option) (*quicksight.BatchDeleteTopicReviewedAnswerOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "BatchDeleteTopicReviewedAnswerWithContext", varargs...) + ret0, _ := ret[0].(*quicksight.BatchDeleteTopicReviewedAnswerOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// BatchDeleteTopicReviewedAnswerWithContext indicates an expected call of BatchDeleteTopicReviewedAnswerWithContext. +func (mr *MockQuickSightAPIMockRecorder) BatchDeleteTopicReviewedAnswerWithContext(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, "BatchDeleteTopicReviewedAnswerWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).BatchDeleteTopicReviewedAnswerWithContext), varargs...) +} + // CancelIngestion mocks base method. func (m *MockQuickSightAPI) CancelIngestion(arg0 *quicksight.CancelIngestionInput) (*quicksight.CancelIngestionOutput, error) { m.ctrl.T.Helper() @@ -6895,6 +6995,56 @@ func (mr *MockQuickSightAPIMockRecorder) ListTopicRefreshSchedulesWithContext(ar return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicRefreshSchedulesWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).ListTopicRefreshSchedulesWithContext), varargs...) } +// ListTopicReviewedAnswers mocks base method. +func (m *MockQuickSightAPI) ListTopicReviewedAnswers(arg0 *quicksight.ListTopicReviewedAnswersInput) (*quicksight.ListTopicReviewedAnswersOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListTopicReviewedAnswers", arg0) + ret0, _ := ret[0].(*quicksight.ListTopicReviewedAnswersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListTopicReviewedAnswers indicates an expected call of ListTopicReviewedAnswers. +func (mr *MockQuickSightAPIMockRecorder) ListTopicReviewedAnswers(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicReviewedAnswers", reflect.TypeOf((*MockQuickSightAPI)(nil).ListTopicReviewedAnswers), arg0) +} + +// ListTopicReviewedAnswersRequest mocks base method. +func (m *MockQuickSightAPI) ListTopicReviewedAnswersRequest(arg0 *quicksight.ListTopicReviewedAnswersInput) (*request.Request, *quicksight.ListTopicReviewedAnswersOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListTopicReviewedAnswersRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*quicksight.ListTopicReviewedAnswersOutput) + return ret0, ret1 +} + +// ListTopicReviewedAnswersRequest indicates an expected call of ListTopicReviewedAnswersRequest. +func (mr *MockQuickSightAPIMockRecorder) ListTopicReviewedAnswersRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicReviewedAnswersRequest", reflect.TypeOf((*MockQuickSightAPI)(nil).ListTopicReviewedAnswersRequest), arg0) +} + +// ListTopicReviewedAnswersWithContext mocks base method. +func (m *MockQuickSightAPI) ListTopicReviewedAnswersWithContext(arg0 aws.Context, arg1 *quicksight.ListTopicReviewedAnswersInput, arg2 ...request.Option) (*quicksight.ListTopicReviewedAnswersOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListTopicReviewedAnswersWithContext", varargs...) + ret0, _ := ret[0].(*quicksight.ListTopicReviewedAnswersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListTopicReviewedAnswersWithContext indicates an expected call of ListTopicReviewedAnswersWithContext. +func (mr *MockQuickSightAPIMockRecorder) ListTopicReviewedAnswersWithContext(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, "ListTopicReviewedAnswersWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).ListTopicReviewedAnswersWithContext), varargs...) +} + // ListTopics mocks base method. func (m *MockQuickSightAPI) ListTopics(arg0 *quicksight.ListTopicsInput) (*quicksight.ListTopicsOutput, error) { m.ctrl.T.Helper() diff --git a/mocks/mock_sagemakeriface/mock.go b/mocks/mock_sagemakeriface/mock.go index 31c63dea..b0e6dee3 100644 --- a/mocks/mock_sagemakeriface/mock.go +++ b/mocks/mock_sagemakeriface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/sagemaker/sagemakeriface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/sagemaker/sagemakeriface/interface.go // Package mock_sagemakeriface is a generated GoMock package. package mock_sagemakeriface diff --git a/mocks/mock_secretsmanageriface/mock.go b/mocks/mock_secretsmanageriface/mock.go index 21b42a1d..52fded1f 100644 --- a/mocks/mock_secretsmanageriface/mock.go +++ b/mocks/mock_secretsmanageriface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/secretsmanager/secretsmanageriface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/secretsmanager/secretsmanageriface/interface.go // Package mock_secretsmanageriface is a generated GoMock package. package mock_secretsmanageriface diff --git a/mocks/mock_servicediscoveryiface/mock.go b/mocks/mock_servicediscoveryiface/mock.go index 33714433..30c6b6fc 100644 --- a/mocks/mock_servicediscoveryiface/mock.go +++ b/mocks/mock_servicediscoveryiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/servicediscovery/servicediscoveryiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/servicediscovery/servicediscoveryiface/interface.go // Package mock_servicediscoveryiface is a generated GoMock package. package mock_servicediscoveryiface diff --git a/mocks/mock_sqsiface/mock.go b/mocks/mock_sqsiface/mock.go index 25f56b25..cb78567c 100644 --- a/mocks/mock_sqsiface/mock.go +++ b/mocks/mock_sqsiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/sqs/sqsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/sqs/sqsiface/interface.go // Package mock_sqsiface is a generated GoMock package. package mock_sqsiface diff --git a/mocks/mock_stsiface/mock.go b/mocks/mock_stsiface/mock.go index 3d37968b..be8ed9dc 100644 --- a/mocks/mock_stsiface/mock.go +++ b/mocks/mock_stsiface/mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.18/service/sts/stsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.54.19/service/sts/stsiface/interface.go // Package mock_stsiface is a generated GoMock package. package mock_stsiface