diff --git a/go.mod b/go.mod index 0932b407..ca67b603 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/ekristen/aws-nuke go 1.21.6 require ( - github.com/aws/aws-sdk-go v1.52.4 + github.com/aws/aws-sdk-go v1.53.19 github.com/ekristen/libnuke v0.15.0 github.com/fatih/color v1.17.0 github.com/golang/mock v1.6.0 diff --git a/go.sum b/go.sum index 8ec27fba..53db64d4 100644 --- a/go.sum +++ b/go.sum @@ -2,6 +2,8 @@ github.com/aws/aws-sdk-go v1.50.24 h1:3o2Pg7mOoVL0jv54vWtuafoZqAeEXLhm1tltWA2GcE github.com/aws/aws-sdk-go v1.50.24/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go v1.52.4 h1:9VsBVJ2TKf8xPP3+yIPGSYcEBIEymXsJzQoFgQuyvA0= github.com/aws/aws-sdk-go v1.52.4/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.53.19 h1:WEuWc918RXlIaPCyU11F7hH9H1ItK+8m2c/uoQNRUok= +github.com/aws/aws-sdk-go v1.53.19/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= 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= @@ -76,6 +78,7 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -117,6 +120,7 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/mocks/mock_cloudformationiface/mock.go b/mocks/mock_cloudformationiface/mock.go index f3dd700c..60ec679c 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.52.4/service/cloudformation/cloudformationiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 24eea0b6..2da7671f 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.52.4/service/ecs/ecsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 48b90bee..cd245857 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.52.4/service/elasticache/elasticacheiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 81fde4a0..67f5870f 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.52.4/service/glue/glueiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 fc54afb4..198aedc9 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.52.4/service/iam/iamiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 bcee5930..c0812c01 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.52.4/service/quicksight/quicksightiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.19/service/quicksight/quicksightiface/interface.go // Package mock_quicksightiface is a generated GoMock package. package mock_quicksightiface @@ -3852,6 +3852,56 @@ func (mr *MockQuickSightAPIMockRecorder) DescribeIpRestrictionWithContext(arg0, return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeIpRestrictionWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).DescribeIpRestrictionWithContext), varargs...) } +// DescribeKeyRegistration mocks base method. +func (m *MockQuickSightAPI) DescribeKeyRegistration(arg0 *quicksight.DescribeKeyRegistrationInput) (*quicksight.DescribeKeyRegistrationOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeKeyRegistration", arg0) + ret0, _ := ret[0].(*quicksight.DescribeKeyRegistrationOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeKeyRegistration indicates an expected call of DescribeKeyRegistration. +func (mr *MockQuickSightAPIMockRecorder) DescribeKeyRegistration(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyRegistration", reflect.TypeOf((*MockQuickSightAPI)(nil).DescribeKeyRegistration), arg0) +} + +// DescribeKeyRegistrationRequest mocks base method. +func (m *MockQuickSightAPI) DescribeKeyRegistrationRequest(arg0 *quicksight.DescribeKeyRegistrationInput) (*request.Request, *quicksight.DescribeKeyRegistrationOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeKeyRegistrationRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*quicksight.DescribeKeyRegistrationOutput) + return ret0, ret1 +} + +// DescribeKeyRegistrationRequest indicates an expected call of DescribeKeyRegistrationRequest. +func (mr *MockQuickSightAPIMockRecorder) DescribeKeyRegistrationRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyRegistrationRequest", reflect.TypeOf((*MockQuickSightAPI)(nil).DescribeKeyRegistrationRequest), arg0) +} + +// DescribeKeyRegistrationWithContext mocks base method. +func (m *MockQuickSightAPI) DescribeKeyRegistrationWithContext(arg0 aws.Context, arg1 *quicksight.DescribeKeyRegistrationInput, arg2 ...request.Option) (*quicksight.DescribeKeyRegistrationOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeKeyRegistrationWithContext", varargs...) + ret0, _ := ret[0].(*quicksight.DescribeKeyRegistrationOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeKeyRegistrationWithContext indicates an expected call of DescribeKeyRegistrationWithContext. +func (mr *MockQuickSightAPIMockRecorder) DescribeKeyRegistrationWithContext(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, "DescribeKeyRegistrationWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).DescribeKeyRegistrationWithContext), varargs...) +} + // DescribeNamespace mocks base method. func (m *MockQuickSightAPI) DescribeNamespace(arg0 *quicksight.DescribeNamespaceInput) (*quicksight.DescribeNamespaceOutput, error) { m.ctrl.T.Helper() @@ -8975,6 +9025,56 @@ func (mr *MockQuickSightAPIMockRecorder) UpdateIpRestrictionWithContext(arg0, ar return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIpRestrictionWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).UpdateIpRestrictionWithContext), varargs...) } +// UpdateKeyRegistration mocks base method. +func (m *MockQuickSightAPI) UpdateKeyRegistration(arg0 *quicksight.UpdateKeyRegistrationInput) (*quicksight.UpdateKeyRegistrationOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateKeyRegistration", arg0) + ret0, _ := ret[0].(*quicksight.UpdateKeyRegistrationOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateKeyRegistration indicates an expected call of UpdateKeyRegistration. +func (mr *MockQuickSightAPIMockRecorder) UpdateKeyRegistration(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateKeyRegistration", reflect.TypeOf((*MockQuickSightAPI)(nil).UpdateKeyRegistration), arg0) +} + +// UpdateKeyRegistrationRequest mocks base method. +func (m *MockQuickSightAPI) UpdateKeyRegistrationRequest(arg0 *quicksight.UpdateKeyRegistrationInput) (*request.Request, *quicksight.UpdateKeyRegistrationOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "UpdateKeyRegistrationRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*quicksight.UpdateKeyRegistrationOutput) + return ret0, ret1 +} + +// UpdateKeyRegistrationRequest indicates an expected call of UpdateKeyRegistrationRequest. +func (mr *MockQuickSightAPIMockRecorder) UpdateKeyRegistrationRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateKeyRegistrationRequest", reflect.TypeOf((*MockQuickSightAPI)(nil).UpdateKeyRegistrationRequest), arg0) +} + +// UpdateKeyRegistrationWithContext mocks base method. +func (m *MockQuickSightAPI) UpdateKeyRegistrationWithContext(arg0 aws.Context, arg1 *quicksight.UpdateKeyRegistrationInput, arg2 ...request.Option) (*quicksight.UpdateKeyRegistrationOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "UpdateKeyRegistrationWithContext", varargs...) + ret0, _ := ret[0].(*quicksight.UpdateKeyRegistrationOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// UpdateKeyRegistrationWithContext indicates an expected call of UpdateKeyRegistrationWithContext. +func (mr *MockQuickSightAPIMockRecorder) UpdateKeyRegistrationWithContext(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, "UpdateKeyRegistrationWithContext", reflect.TypeOf((*MockQuickSightAPI)(nil).UpdateKeyRegistrationWithContext), varargs...) +} + // UpdatePublicSharingSettings mocks base method. func (m *MockQuickSightAPI) UpdatePublicSharingSettings(arg0 *quicksight.UpdatePublicSharingSettingsInput) (*quicksight.UpdatePublicSharingSettingsOutput, error) { m.ctrl.T.Helper() diff --git a/mocks/mock_sagemakeriface/mock.go b/mocks/mock_sagemakeriface/mock.go index 36d3df2a..d178555d 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.52.4/service/sagemaker/sagemakeriface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.19/service/sagemaker/sagemakeriface/interface.go // Package mock_sagemakeriface is a generated GoMock package. package mock_sagemakeriface diff --git a/mocks/mock_servicediscoveryiface/mock.go b/mocks/mock_servicediscoveryiface/mock.go index c0322ea1..e24d0319 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.52.4/service/servicediscovery/servicediscoveryiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 da8538d1..28ea27c9 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.52.4/service/sqs/sqsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.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 bd55d542..0839c579 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.52.4/service/sts/stsiface/interface.go +// Source: /home/runner/go/pkg/mod/github.com/aws/aws-sdk-go@v1.53.19/service/sts/stsiface/interface.go // Package mock_stsiface is a generated GoMock package. package mock_stsiface