diff --git a/aws/go.mod b/aws/go.mod index 38df21e9..431f4730 100644 --- a/aws/go.mod +++ b/aws/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.1 require ( - github.com/aws/aws-sdk-go v1.53.16 + github.com/aws/aws-sdk-go v1.54.1 github.com/golang/mock v1.6.0 github.com/pkg/errors v0.9.1 ) diff --git a/aws/go.sum b/aws/go.sum index dd933acf..c5cb1bbf 100644 --- a/aws/go.sum +++ b/aws/go.sum @@ -1,5 +1,5 @@ -github.com/aws/aws-sdk-go v1.53.16 h1:8oZjKQO/ml1WLUZw5hvF7pvYjPf8o9f57Wldoy/q9Qc= -github.com/aws/aws-sdk-go v1.53.16/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.54.1 h1:+ULL7oLC+v3T00fOMIohUarPI3SR3oyDd6FBEvgdhvs= +github.com/aws/aws-sdk-go v1.54.1/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/aws/mocks/ec2.go b/aws/mocks/ec2.go index a2cb7073..e2cf9e2a 100644 --- a/aws/mocks/ec2.go +++ b/aws/mocks/ec2.go @@ -19458,6 +19458,56 @@ func (mr *MockEC2APIMockRecorder) DescribeTagsWithContext(arg0, arg1 interface{} return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTagsWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeTagsWithContext), varargs...) } +// DescribeTrafficMirrorFilterRules mocks base method. +func (m *MockEC2API) DescribeTrafficMirrorFilterRules(arg0 *ec2.DescribeTrafficMirrorFilterRulesInput) (*ec2.DescribeTrafficMirrorFilterRulesOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTrafficMirrorFilterRules", arg0) + ret0, _ := ret[0].(*ec2.DescribeTrafficMirrorFilterRulesOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeTrafficMirrorFilterRules indicates an expected call of DescribeTrafficMirrorFilterRules. +func (mr *MockEC2APIMockRecorder) DescribeTrafficMirrorFilterRules(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTrafficMirrorFilterRules", reflect.TypeOf((*MockEC2API)(nil).DescribeTrafficMirrorFilterRules), arg0) +} + +// DescribeTrafficMirrorFilterRulesRequest mocks base method. +func (m *MockEC2API) DescribeTrafficMirrorFilterRulesRequest(arg0 *ec2.DescribeTrafficMirrorFilterRulesInput) (*request.Request, *ec2.DescribeTrafficMirrorFilterRulesOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTrafficMirrorFilterRulesRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*ec2.DescribeTrafficMirrorFilterRulesOutput) + return ret0, ret1 +} + +// DescribeTrafficMirrorFilterRulesRequest indicates an expected call of DescribeTrafficMirrorFilterRulesRequest. +func (mr *MockEC2APIMockRecorder) DescribeTrafficMirrorFilterRulesRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTrafficMirrorFilterRulesRequest", reflect.TypeOf((*MockEC2API)(nil).DescribeTrafficMirrorFilterRulesRequest), arg0) +} + +// DescribeTrafficMirrorFilterRulesWithContext mocks base method. +func (m *MockEC2API) DescribeTrafficMirrorFilterRulesWithContext(arg0 context.Context, arg1 *ec2.DescribeTrafficMirrorFilterRulesInput, arg2 ...request.Option) (*ec2.DescribeTrafficMirrorFilterRulesOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DescribeTrafficMirrorFilterRulesWithContext", varargs...) + ret0, _ := ret[0].(*ec2.DescribeTrafficMirrorFilterRulesOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeTrafficMirrorFilterRulesWithContext indicates an expected call of DescribeTrafficMirrorFilterRulesWithContext. +func (mr *MockEC2APIMockRecorder) DescribeTrafficMirrorFilterRulesWithContext(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, "DescribeTrafficMirrorFilterRulesWithContext", reflect.TypeOf((*MockEC2API)(nil).DescribeTrafficMirrorFilterRulesWithContext), varargs...) +} + // DescribeTrafficMirrorFilters mocks base method. func (m *MockEC2API) DescribeTrafficMirrorFilters(arg0 *ec2.DescribeTrafficMirrorFiltersInput) (*ec2.DescribeTrafficMirrorFiltersOutput, error) { m.ctrl.T.Helper() diff --git a/aws/mocks/kms.go b/aws/mocks/kms.go index c27f9ade..cfa85145 100644 --- a/aws/mocks/kms.go +++ b/aws/mocks/kms.go @@ -536,6 +536,56 @@ func (mr *MockKMSAPIMockRecorder) DeleteImportedKeyMaterialWithContext(arg0, arg return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteImportedKeyMaterialWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DeleteImportedKeyMaterialWithContext), varargs...) } +// DeriveSharedSecret mocks base method. +func (m *MockKMSAPI) DeriveSharedSecret(arg0 *kms.DeriveSharedSecretInput) (*kms.DeriveSharedSecretOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeriveSharedSecret", arg0) + ret0, _ := ret[0].(*kms.DeriveSharedSecretOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeriveSharedSecret indicates an expected call of DeriveSharedSecret. +func (mr *MockKMSAPIMockRecorder) DeriveSharedSecret(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeriveSharedSecret", reflect.TypeOf((*MockKMSAPI)(nil).DeriveSharedSecret), arg0) +} + +// DeriveSharedSecretRequest mocks base method. +func (m *MockKMSAPI) DeriveSharedSecretRequest(arg0 *kms.DeriveSharedSecretInput) (*request.Request, *kms.DeriveSharedSecretOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeriveSharedSecretRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*kms.DeriveSharedSecretOutput) + return ret0, ret1 +} + +// DeriveSharedSecretRequest indicates an expected call of DeriveSharedSecretRequest. +func (mr *MockKMSAPIMockRecorder) DeriveSharedSecretRequest(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeriveSharedSecretRequest", reflect.TypeOf((*MockKMSAPI)(nil).DeriveSharedSecretRequest), arg0) +} + +// DeriveSharedSecretWithContext mocks base method. +func (m *MockKMSAPI) DeriveSharedSecretWithContext(arg0 context.Context, arg1 *kms.DeriveSharedSecretInput, arg2 ...request.Option) (*kms.DeriveSharedSecretOutput, error) { + m.ctrl.T.Helper() + varargs := []interface{}{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeriveSharedSecretWithContext", varargs...) + ret0, _ := ret[0].(*kms.DeriveSharedSecretOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeriveSharedSecretWithContext indicates an expected call of DeriveSharedSecretWithContext. +func (mr *MockKMSAPIMockRecorder) DeriveSharedSecretWithContext(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, "DeriveSharedSecretWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DeriveSharedSecretWithContext), varargs...) +} + // DescribeCustomKeyStores mocks base method. func (m *MockKMSAPI) DescribeCustomKeyStores(arg0 *kms.DescribeCustomKeyStoresInput) (*kms.DescribeCustomKeyStoresOutput, error) { m.ctrl.T.Helper()