From ab36584ed0d71dc8f575d2f0c61cd67764aa1c8b Mon Sep 17 00:00:00 2001 From: Mikhail Berezovskiy Date: Thu, 10 Aug 2023 13:12:01 -0700 Subject: [PATCH] remove aws-sdk override, lattice service now available --- .gitignore | 1 - Dockerfile | 3 - Makefile | 1 - go.mod | 4 +- go.sum | 2 + pkg/aws/services/eks.go | 2 + pkg/aws/services/eks_mocks.go | 104 +- pkg/aws/services/vpclattice.go | 13 +- pkg/aws/services/vpclattice_mocks.go | 173 +- .../services/vpclattice_service_api_mock.go | 2934 -------------- pkg/aws/services/vpclattice_test.go | 27 +- .../apis/vpc-lattice/2022-11-30/api-2.json | 3394 ----------------- scripts/gen_mocks.sh | 2 - setup.sh | 22 - test/go.mod | 3 +- 15 files changed, 166 insertions(+), 6519 deletions(-) delete mode 100644 pkg/aws/services/vpclattice_service_api_mock.go delete mode 100644 scripts/aws_sdk_model_override/models/apis/vpc-lattice/2022-11-30/api-2.json delete mode 100755 setup.sh diff --git a/.gitignore b/.gitignore index 8b3e9905..ac637af8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ # Keep this until the APIs upstreamed -scripts/aws_sdk_model_override/aws-sdk-go coverage.out deploy.yaml diff --git a/Dockerfile b/Dockerfile index 53762791..853236a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,6 @@ WORKDIR /workspace # Copy the Go Modules manifests COPY go.mod go.mod COPY go.sum go.sum -COPY scripts/aws_sdk_model_override/aws-sdk-go/go.mod scripts/aws_sdk_model_override/aws-sdk-go/go.mod -COPY scripts/aws_sdk_model_override/aws-sdk-go/go.sum scripts/aws_sdk_model_override/aws-sdk-go/go.sum - # cache deps before building and copying source so that we don't need to re-download as much # and so that source changes don't invalidate our downloaded layer diff --git a/Makefile b/Makefile index 39dffda7..26bd5e11 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,6 @@ test: ## Run tests. .PHONY: toolchain toolchain: ## Install developer toolchain ./hack/toolchain.sh - ./setup.sh ./scripts/gen_mocks.sh ##@ Deployment diff --git a/go.mod b/go.mod index eec53f89..b8e271a2 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/aws/aws-application-networking-k8s go 1.20 require ( - github.com/aws/aws-sdk-go v1.44.136 + github.com/aws/aws-sdk-go v1.44.321 github.com/go-logr/logr v1.2.3 github.com/golang/glog v1.0.0 github.com/golang/mock v1.6.0 @@ -84,5 +84,3 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) - -replace github.com/aws/aws-sdk-go => ./scripts/aws_sdk_model_override/aws-sdk-go diff --git a/go.sum b/go.sum index 70662316..cd92d065 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/aws/aws-sdk-go v1.44.321 h1:iXwFLxWjZPjYqjPq0EcCs46xX7oDLEELte1+BzgpKk8= +github.com/aws/aws-sdk-go v1.44.321/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= diff --git a/pkg/aws/services/eks.go b/pkg/aws/services/eks.go index 3715fd4f..ace0ed2c 100644 --- a/pkg/aws/services/eks.go +++ b/pkg/aws/services/eks.go @@ -7,6 +7,8 @@ import ( "github.com/aws/aws-sdk-go/service/eks/eksiface" ) +//go:generate mockgen -destination eks_mocks.go -package services github.com/aws/aws-application-networking-k8s/pkg/aws/services EKS + type EKS interface { eksiface.EKSAPI } diff --git a/pkg/aws/services/eks_mocks.go b/pkg/aws/services/eks_mocks.go index 9eddbe57..6dea126e 100644 --- a/pkg/aws/services/eks_mocks.go +++ b/pkg/aws/services/eks_mocks.go @@ -1,13 +1,13 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/aws/services/eks.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/aws/services (interfaces: EKS) // Package services is a generated GoMock package. package services import ( + context "context" reflect "reflect" - aws "github.com/aws/aws-sdk-go/aws" request "github.com/aws/aws-sdk-go/aws/request" eks "github.com/aws/aws-sdk-go/service/eks" gomock "github.com/golang/mock/gomock" @@ -67,7 +67,7 @@ func (mr *MockEKSMockRecorder) AssociateEncryptionConfigRequest(arg0 interface{} } // AssociateEncryptionConfigWithContext mocks base method. -func (m *MockEKS) AssociateEncryptionConfigWithContext(arg0 aws.Context, arg1 *eks.AssociateEncryptionConfigInput, arg2 ...request.Option) (*eks.AssociateEncryptionConfigOutput, error) { +func (m *MockEKS) AssociateEncryptionConfigWithContext(arg0 context.Context, arg1 *eks.AssociateEncryptionConfigInput, arg2 ...request.Option) (*eks.AssociateEncryptionConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -117,7 +117,7 @@ func (mr *MockEKSMockRecorder) AssociateIdentityProviderConfigRequest(arg0 inter } // AssociateIdentityProviderConfigWithContext mocks base method. -func (m *MockEKS) AssociateIdentityProviderConfigWithContext(arg0 aws.Context, arg1 *eks.AssociateIdentityProviderConfigInput, arg2 ...request.Option) (*eks.AssociateIdentityProviderConfigOutput, error) { +func (m *MockEKS) AssociateIdentityProviderConfigWithContext(arg0 context.Context, arg1 *eks.AssociateIdentityProviderConfigInput, arg2 ...request.Option) (*eks.AssociateIdentityProviderConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -167,7 +167,7 @@ func (mr *MockEKSMockRecorder) CreateAddonRequest(arg0 interface{}) *gomock.Call } // CreateAddonWithContext mocks base method. -func (m *MockEKS) CreateAddonWithContext(arg0 aws.Context, arg1 *eks.CreateAddonInput, arg2 ...request.Option) (*eks.CreateAddonOutput, error) { +func (m *MockEKS) CreateAddonWithContext(arg0 context.Context, arg1 *eks.CreateAddonInput, arg2 ...request.Option) (*eks.CreateAddonOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -217,7 +217,7 @@ func (mr *MockEKSMockRecorder) CreateClusterRequest(arg0 interface{}) *gomock.Ca } // CreateClusterWithContext mocks base method. -func (m *MockEKS) CreateClusterWithContext(arg0 aws.Context, arg1 *eks.CreateClusterInput, arg2 ...request.Option) (*eks.CreateClusterOutput, error) { +func (m *MockEKS) CreateClusterWithContext(arg0 context.Context, arg1 *eks.CreateClusterInput, arg2 ...request.Option) (*eks.CreateClusterOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -267,7 +267,7 @@ func (mr *MockEKSMockRecorder) CreateFargateProfileRequest(arg0 interface{}) *go } // CreateFargateProfileWithContext mocks base method. -func (m *MockEKS) CreateFargateProfileWithContext(arg0 aws.Context, arg1 *eks.CreateFargateProfileInput, arg2 ...request.Option) (*eks.CreateFargateProfileOutput, error) { +func (m *MockEKS) CreateFargateProfileWithContext(arg0 context.Context, arg1 *eks.CreateFargateProfileInput, arg2 ...request.Option) (*eks.CreateFargateProfileOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -317,7 +317,7 @@ func (mr *MockEKSMockRecorder) CreateNodegroupRequest(arg0 interface{}) *gomock. } // CreateNodegroupWithContext mocks base method. -func (m *MockEKS) CreateNodegroupWithContext(arg0 aws.Context, arg1 *eks.CreateNodegroupInput, arg2 ...request.Option) (*eks.CreateNodegroupOutput, error) { +func (m *MockEKS) CreateNodegroupWithContext(arg0 context.Context, arg1 *eks.CreateNodegroupInput, arg2 ...request.Option) (*eks.CreateNodegroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -367,7 +367,7 @@ func (mr *MockEKSMockRecorder) DeleteAddonRequest(arg0 interface{}) *gomock.Call } // DeleteAddonWithContext mocks base method. -func (m *MockEKS) DeleteAddonWithContext(arg0 aws.Context, arg1 *eks.DeleteAddonInput, arg2 ...request.Option) (*eks.DeleteAddonOutput, error) { +func (m *MockEKS) DeleteAddonWithContext(arg0 context.Context, arg1 *eks.DeleteAddonInput, arg2 ...request.Option) (*eks.DeleteAddonOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -417,7 +417,7 @@ func (mr *MockEKSMockRecorder) DeleteClusterRequest(arg0 interface{}) *gomock.Ca } // DeleteClusterWithContext mocks base method. -func (m *MockEKS) DeleteClusterWithContext(arg0 aws.Context, arg1 *eks.DeleteClusterInput, arg2 ...request.Option) (*eks.DeleteClusterOutput, error) { +func (m *MockEKS) DeleteClusterWithContext(arg0 context.Context, arg1 *eks.DeleteClusterInput, arg2 ...request.Option) (*eks.DeleteClusterOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -467,7 +467,7 @@ func (mr *MockEKSMockRecorder) DeleteFargateProfileRequest(arg0 interface{}) *go } // DeleteFargateProfileWithContext mocks base method. -func (m *MockEKS) DeleteFargateProfileWithContext(arg0 aws.Context, arg1 *eks.DeleteFargateProfileInput, arg2 ...request.Option) (*eks.DeleteFargateProfileOutput, error) { +func (m *MockEKS) DeleteFargateProfileWithContext(arg0 context.Context, arg1 *eks.DeleteFargateProfileInput, arg2 ...request.Option) (*eks.DeleteFargateProfileOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -517,7 +517,7 @@ func (mr *MockEKSMockRecorder) DeleteNodegroupRequest(arg0 interface{}) *gomock. } // DeleteNodegroupWithContext mocks base method. -func (m *MockEKS) DeleteNodegroupWithContext(arg0 aws.Context, arg1 *eks.DeleteNodegroupInput, arg2 ...request.Option) (*eks.DeleteNodegroupOutput, error) { +func (m *MockEKS) DeleteNodegroupWithContext(arg0 context.Context, arg1 *eks.DeleteNodegroupInput, arg2 ...request.Option) (*eks.DeleteNodegroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -567,7 +567,7 @@ func (mr *MockEKSMockRecorder) DeregisterClusterRequest(arg0 interface{}) *gomoc } // DeregisterClusterWithContext mocks base method. -func (m *MockEKS) DeregisterClusterWithContext(arg0 aws.Context, arg1 *eks.DeregisterClusterInput, arg2 ...request.Option) (*eks.DeregisterClusterOutput, error) { +func (m *MockEKS) DeregisterClusterWithContext(arg0 context.Context, arg1 *eks.DeregisterClusterInput, arg2 ...request.Option) (*eks.DeregisterClusterOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -632,7 +632,7 @@ func (mr *MockEKSMockRecorder) DescribeAddonConfigurationRequest(arg0 interface{ } // DescribeAddonConfigurationWithContext mocks base method. -func (m *MockEKS) DescribeAddonConfigurationWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonConfigurationInput, arg2 ...request.Option) (*eks.DescribeAddonConfigurationOutput, error) { +func (m *MockEKS) DescribeAddonConfigurationWithContext(arg0 context.Context, arg1 *eks.DescribeAddonConfigurationInput, arg2 ...request.Option) (*eks.DescribeAddonConfigurationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -696,7 +696,7 @@ func (mr *MockEKSMockRecorder) DescribeAddonVersionsPages(arg0, arg1 interface{} } // DescribeAddonVersionsPagesWithContext mocks base method. -func (m *MockEKS) DescribeAddonVersionsPagesWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonVersionsInput, arg2 func(*eks.DescribeAddonVersionsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) DescribeAddonVersionsPagesWithContext(arg0 context.Context, arg1 *eks.DescribeAddonVersionsInput, arg2 func(*eks.DescribeAddonVersionsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -730,7 +730,7 @@ func (mr *MockEKSMockRecorder) DescribeAddonVersionsRequest(arg0 interface{}) *g } // DescribeAddonVersionsWithContext mocks base method. -func (m *MockEKS) DescribeAddonVersionsWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonVersionsInput, arg2 ...request.Option) (*eks.DescribeAddonVersionsOutput, error) { +func (m *MockEKS) DescribeAddonVersionsWithContext(arg0 context.Context, arg1 *eks.DescribeAddonVersionsInput, arg2 ...request.Option) (*eks.DescribeAddonVersionsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -750,7 +750,7 @@ func (mr *MockEKSMockRecorder) DescribeAddonVersionsWithContext(arg0, arg1 inter } // DescribeAddonWithContext mocks base method. -func (m *MockEKS) DescribeAddonWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.Option) (*eks.DescribeAddonOutput, error) { +func (m *MockEKS) DescribeAddonWithContext(arg0 context.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.Option) (*eks.DescribeAddonOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -800,7 +800,7 @@ func (mr *MockEKSMockRecorder) DescribeClusterRequest(arg0 interface{}) *gomock. } // DescribeClusterWithContext mocks base method. -func (m *MockEKS) DescribeClusterWithContext(arg0 aws.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.Option) (*eks.DescribeClusterOutput, error) { +func (m *MockEKS) DescribeClusterWithContext(arg0 context.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.Option) (*eks.DescribeClusterOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -850,7 +850,7 @@ func (mr *MockEKSMockRecorder) DescribeFargateProfileRequest(arg0 interface{}) * } // DescribeFargateProfileWithContext mocks base method. -func (m *MockEKS) DescribeFargateProfileWithContext(arg0 aws.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.Option) (*eks.DescribeFargateProfileOutput, error) { +func (m *MockEKS) DescribeFargateProfileWithContext(arg0 context.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.Option) (*eks.DescribeFargateProfileOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -900,7 +900,7 @@ func (mr *MockEKSMockRecorder) DescribeIdentityProviderConfigRequest(arg0 interf } // DescribeIdentityProviderConfigWithContext mocks base method. -func (m *MockEKS) DescribeIdentityProviderConfigWithContext(arg0 aws.Context, arg1 *eks.DescribeIdentityProviderConfigInput, arg2 ...request.Option) (*eks.DescribeIdentityProviderConfigOutput, error) { +func (m *MockEKS) DescribeIdentityProviderConfigWithContext(arg0 context.Context, arg1 *eks.DescribeIdentityProviderConfigInput, arg2 ...request.Option) (*eks.DescribeIdentityProviderConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -950,7 +950,7 @@ func (mr *MockEKSMockRecorder) DescribeNodegroupRequest(arg0 interface{}) *gomoc } // DescribeNodegroupWithContext mocks base method. -func (m *MockEKS) DescribeNodegroupWithContext(arg0 aws.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.Option) (*eks.DescribeNodegroupOutput, error) { +func (m *MockEKS) DescribeNodegroupWithContext(arg0 context.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.Option) (*eks.DescribeNodegroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1000,7 +1000,7 @@ func (mr *MockEKSMockRecorder) DescribeUpdateRequest(arg0 interface{}) *gomock.C } // DescribeUpdateWithContext mocks base method. -func (m *MockEKS) DescribeUpdateWithContext(arg0 aws.Context, arg1 *eks.DescribeUpdateInput, arg2 ...request.Option) (*eks.DescribeUpdateOutput, error) { +func (m *MockEKS) DescribeUpdateWithContext(arg0 context.Context, arg1 *eks.DescribeUpdateInput, arg2 ...request.Option) (*eks.DescribeUpdateOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1050,7 +1050,7 @@ func (mr *MockEKSMockRecorder) DisassociateIdentityProviderConfigRequest(arg0 in } // DisassociateIdentityProviderConfigWithContext mocks base method. -func (m *MockEKS) DisassociateIdentityProviderConfigWithContext(arg0 aws.Context, arg1 *eks.DisassociateIdentityProviderConfigInput, arg2 ...request.Option) (*eks.DisassociateIdentityProviderConfigOutput, error) { +func (m *MockEKS) DisassociateIdentityProviderConfigWithContext(arg0 context.Context, arg1 *eks.DisassociateIdentityProviderConfigInput, arg2 ...request.Option) (*eks.DisassociateIdentityProviderConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1099,7 +1099,7 @@ func (mr *MockEKSMockRecorder) ListAddonsPages(arg0, arg1 interface{}) *gomock.C } // ListAddonsPagesWithContext mocks base method. -func (m *MockEKS) ListAddonsPagesWithContext(arg0 aws.Context, arg1 *eks.ListAddonsInput, arg2 func(*eks.ListAddonsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListAddonsPagesWithContext(arg0 context.Context, arg1 *eks.ListAddonsInput, arg2 func(*eks.ListAddonsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1133,7 +1133,7 @@ func (mr *MockEKSMockRecorder) ListAddonsRequest(arg0 interface{}) *gomock.Call } // ListAddonsWithContext mocks base method. -func (m *MockEKS) ListAddonsWithContext(arg0 aws.Context, arg1 *eks.ListAddonsInput, arg2 ...request.Option) (*eks.ListAddonsOutput, error) { +func (m *MockEKS) ListAddonsWithContext(arg0 context.Context, arg1 *eks.ListAddonsInput, arg2 ...request.Option) (*eks.ListAddonsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1182,7 +1182,7 @@ func (mr *MockEKSMockRecorder) ListClustersPages(arg0, arg1 interface{}) *gomock } // ListClustersPagesWithContext mocks base method. -func (m *MockEKS) ListClustersPagesWithContext(arg0 aws.Context, arg1 *eks.ListClustersInput, arg2 func(*eks.ListClustersOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListClustersPagesWithContext(arg0 context.Context, arg1 *eks.ListClustersInput, arg2 func(*eks.ListClustersOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1216,7 +1216,7 @@ func (mr *MockEKSMockRecorder) ListClustersRequest(arg0 interface{}) *gomock.Cal } // ListClustersWithContext mocks base method. -func (m *MockEKS) ListClustersWithContext(arg0 aws.Context, arg1 *eks.ListClustersInput, arg2 ...request.Option) (*eks.ListClustersOutput, error) { +func (m *MockEKS) ListClustersWithContext(arg0 context.Context, arg1 *eks.ListClustersInput, arg2 ...request.Option) (*eks.ListClustersOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1265,7 +1265,7 @@ func (mr *MockEKSMockRecorder) ListFargateProfilesPages(arg0, arg1 interface{}) } // ListFargateProfilesPagesWithContext mocks base method. -func (m *MockEKS) ListFargateProfilesPagesWithContext(arg0 aws.Context, arg1 *eks.ListFargateProfilesInput, arg2 func(*eks.ListFargateProfilesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListFargateProfilesPagesWithContext(arg0 context.Context, arg1 *eks.ListFargateProfilesInput, arg2 func(*eks.ListFargateProfilesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1299,7 +1299,7 @@ func (mr *MockEKSMockRecorder) ListFargateProfilesRequest(arg0 interface{}) *gom } // ListFargateProfilesWithContext mocks base method. -func (m *MockEKS) ListFargateProfilesWithContext(arg0 aws.Context, arg1 *eks.ListFargateProfilesInput, arg2 ...request.Option) (*eks.ListFargateProfilesOutput, error) { +func (m *MockEKS) ListFargateProfilesWithContext(arg0 context.Context, arg1 *eks.ListFargateProfilesInput, arg2 ...request.Option) (*eks.ListFargateProfilesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1348,7 +1348,7 @@ func (mr *MockEKSMockRecorder) ListIdentityProviderConfigsPages(arg0, arg1 inter } // ListIdentityProviderConfigsPagesWithContext mocks base method. -func (m *MockEKS) ListIdentityProviderConfigsPagesWithContext(arg0 aws.Context, arg1 *eks.ListIdentityProviderConfigsInput, arg2 func(*eks.ListIdentityProviderConfigsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListIdentityProviderConfigsPagesWithContext(arg0 context.Context, arg1 *eks.ListIdentityProviderConfigsInput, arg2 func(*eks.ListIdentityProviderConfigsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1382,7 +1382,7 @@ func (mr *MockEKSMockRecorder) ListIdentityProviderConfigsRequest(arg0 interface } // ListIdentityProviderConfigsWithContext mocks base method. -func (m *MockEKS) ListIdentityProviderConfigsWithContext(arg0 aws.Context, arg1 *eks.ListIdentityProviderConfigsInput, arg2 ...request.Option) (*eks.ListIdentityProviderConfigsOutput, error) { +func (m *MockEKS) ListIdentityProviderConfigsWithContext(arg0 context.Context, arg1 *eks.ListIdentityProviderConfigsInput, arg2 ...request.Option) (*eks.ListIdentityProviderConfigsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1431,7 +1431,7 @@ func (mr *MockEKSMockRecorder) ListNodegroupsPages(arg0, arg1 interface{}) *gomo } // ListNodegroupsPagesWithContext mocks base method. -func (m *MockEKS) ListNodegroupsPagesWithContext(arg0 aws.Context, arg1 *eks.ListNodegroupsInput, arg2 func(*eks.ListNodegroupsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListNodegroupsPagesWithContext(arg0 context.Context, arg1 *eks.ListNodegroupsInput, arg2 func(*eks.ListNodegroupsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1465,7 +1465,7 @@ func (mr *MockEKSMockRecorder) ListNodegroupsRequest(arg0 interface{}) *gomock.C } // ListNodegroupsWithContext mocks base method. -func (m *MockEKS) ListNodegroupsWithContext(arg0 aws.Context, arg1 *eks.ListNodegroupsInput, arg2 ...request.Option) (*eks.ListNodegroupsOutput, error) { +func (m *MockEKS) ListNodegroupsWithContext(arg0 context.Context, arg1 *eks.ListNodegroupsInput, arg2 ...request.Option) (*eks.ListNodegroupsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1515,7 +1515,7 @@ func (mr *MockEKSMockRecorder) ListTagsForResourceRequest(arg0 interface{}) *gom } // ListTagsForResourceWithContext mocks base method. -func (m *MockEKS) ListTagsForResourceWithContext(arg0 aws.Context, arg1 *eks.ListTagsForResourceInput, arg2 ...request.Option) (*eks.ListTagsForResourceOutput, error) { +func (m *MockEKS) ListTagsForResourceWithContext(arg0 context.Context, arg1 *eks.ListTagsForResourceInput, arg2 ...request.Option) (*eks.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1564,7 +1564,7 @@ func (mr *MockEKSMockRecorder) ListUpdatesPages(arg0, arg1 interface{}) *gomock. } // ListUpdatesPagesWithContext mocks base method. -func (m *MockEKS) ListUpdatesPagesWithContext(arg0 aws.Context, arg1 *eks.ListUpdatesInput, arg2 func(*eks.ListUpdatesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockEKS) ListUpdatesPagesWithContext(arg0 context.Context, arg1 *eks.ListUpdatesInput, arg2 func(*eks.ListUpdatesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1598,7 +1598,7 @@ func (mr *MockEKSMockRecorder) ListUpdatesRequest(arg0 interface{}) *gomock.Call } // ListUpdatesWithContext mocks base method. -func (m *MockEKS) ListUpdatesWithContext(arg0 aws.Context, arg1 *eks.ListUpdatesInput, arg2 ...request.Option) (*eks.ListUpdatesOutput, error) { +func (m *MockEKS) ListUpdatesWithContext(arg0 context.Context, arg1 *eks.ListUpdatesInput, arg2 ...request.Option) (*eks.ListUpdatesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1648,7 +1648,7 @@ func (mr *MockEKSMockRecorder) RegisterClusterRequest(arg0 interface{}) *gomock. } // RegisterClusterWithContext mocks base method. -func (m *MockEKS) RegisterClusterWithContext(arg0 aws.Context, arg1 *eks.RegisterClusterInput, arg2 ...request.Option) (*eks.RegisterClusterOutput, error) { +func (m *MockEKS) RegisterClusterWithContext(arg0 context.Context, arg1 *eks.RegisterClusterInput, arg2 ...request.Option) (*eks.RegisterClusterOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1698,7 +1698,7 @@ func (mr *MockEKSMockRecorder) TagResourceRequest(arg0 interface{}) *gomock.Call } // TagResourceWithContext mocks base method. -func (m *MockEKS) TagResourceWithContext(arg0 aws.Context, arg1 *eks.TagResourceInput, arg2 ...request.Option) (*eks.TagResourceOutput, error) { +func (m *MockEKS) TagResourceWithContext(arg0 context.Context, arg1 *eks.TagResourceInput, arg2 ...request.Option) (*eks.TagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1748,7 +1748,7 @@ func (mr *MockEKSMockRecorder) UntagResourceRequest(arg0 interface{}) *gomock.Ca } // UntagResourceWithContext mocks base method. -func (m *MockEKS) UntagResourceWithContext(arg0 aws.Context, arg1 *eks.UntagResourceInput, arg2 ...request.Option) (*eks.UntagResourceOutput, error) { +func (m *MockEKS) UntagResourceWithContext(arg0 context.Context, arg1 *eks.UntagResourceInput, arg2 ...request.Option) (*eks.UntagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1798,7 +1798,7 @@ func (mr *MockEKSMockRecorder) UpdateAddonRequest(arg0 interface{}) *gomock.Call } // UpdateAddonWithContext mocks base method. -func (m *MockEKS) UpdateAddonWithContext(arg0 aws.Context, arg1 *eks.UpdateAddonInput, arg2 ...request.Option) (*eks.UpdateAddonOutput, error) { +func (m *MockEKS) UpdateAddonWithContext(arg0 context.Context, arg1 *eks.UpdateAddonInput, arg2 ...request.Option) (*eks.UpdateAddonOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1848,7 +1848,7 @@ func (mr *MockEKSMockRecorder) UpdateClusterConfigRequest(arg0 interface{}) *gom } // UpdateClusterConfigWithContext mocks base method. -func (m *MockEKS) UpdateClusterConfigWithContext(arg0 aws.Context, arg1 *eks.UpdateClusterConfigInput, arg2 ...request.Option) (*eks.UpdateClusterConfigOutput, error) { +func (m *MockEKS) UpdateClusterConfigWithContext(arg0 context.Context, arg1 *eks.UpdateClusterConfigInput, arg2 ...request.Option) (*eks.UpdateClusterConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1898,7 +1898,7 @@ func (mr *MockEKSMockRecorder) UpdateClusterVersionRequest(arg0 interface{}) *go } // UpdateClusterVersionWithContext mocks base method. -func (m *MockEKS) UpdateClusterVersionWithContext(arg0 aws.Context, arg1 *eks.UpdateClusterVersionInput, arg2 ...request.Option) (*eks.UpdateClusterVersionOutput, error) { +func (m *MockEKS) UpdateClusterVersionWithContext(arg0 context.Context, arg1 *eks.UpdateClusterVersionInput, arg2 ...request.Option) (*eks.UpdateClusterVersionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1948,7 +1948,7 @@ func (mr *MockEKSMockRecorder) UpdateNodegroupConfigRequest(arg0 interface{}) *g } // UpdateNodegroupConfigWithContext mocks base method. -func (m *MockEKS) UpdateNodegroupConfigWithContext(arg0 aws.Context, arg1 *eks.UpdateNodegroupConfigInput, arg2 ...request.Option) (*eks.UpdateNodegroupConfigOutput, error) { +func (m *MockEKS) UpdateNodegroupConfigWithContext(arg0 context.Context, arg1 *eks.UpdateNodegroupConfigInput, arg2 ...request.Option) (*eks.UpdateNodegroupConfigOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1998,7 +1998,7 @@ func (mr *MockEKSMockRecorder) UpdateNodegroupVersionRequest(arg0 interface{}) * } // UpdateNodegroupVersionWithContext mocks base method. -func (m *MockEKS) UpdateNodegroupVersionWithContext(arg0 aws.Context, arg1 *eks.UpdateNodegroupVersionInput, arg2 ...request.Option) (*eks.UpdateNodegroupVersionOutput, error) { +func (m *MockEKS) UpdateNodegroupVersionWithContext(arg0 context.Context, arg1 *eks.UpdateNodegroupVersionInput, arg2 ...request.Option) (*eks.UpdateNodegroupVersionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2032,7 +2032,7 @@ func (mr *MockEKSMockRecorder) WaitUntilAddonActive(arg0 interface{}) *gomock.Ca } // WaitUntilAddonActiveWithContext mocks base method. -func (m *MockEKS) WaitUntilAddonActiveWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilAddonActiveWithContext(arg0 context.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2065,7 +2065,7 @@ func (mr *MockEKSMockRecorder) WaitUntilAddonDeleted(arg0 interface{}) *gomock.C } // WaitUntilAddonDeletedWithContext mocks base method. -func (m *MockEKS) WaitUntilAddonDeletedWithContext(arg0 aws.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilAddonDeletedWithContext(arg0 context.Context, arg1 *eks.DescribeAddonInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2098,7 +2098,7 @@ func (mr *MockEKSMockRecorder) WaitUntilClusterActive(arg0 interface{}) *gomock. } // WaitUntilClusterActiveWithContext mocks base method. -func (m *MockEKS) WaitUntilClusterActiveWithContext(arg0 aws.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilClusterActiveWithContext(arg0 context.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2131,7 +2131,7 @@ func (mr *MockEKSMockRecorder) WaitUntilClusterDeleted(arg0 interface{}) *gomock } // WaitUntilClusterDeletedWithContext mocks base method. -func (m *MockEKS) WaitUntilClusterDeletedWithContext(arg0 aws.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilClusterDeletedWithContext(arg0 context.Context, arg1 *eks.DescribeClusterInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2164,7 +2164,7 @@ func (mr *MockEKSMockRecorder) WaitUntilFargateProfileActive(arg0 interface{}) * } // WaitUntilFargateProfileActiveWithContext mocks base method. -func (m *MockEKS) WaitUntilFargateProfileActiveWithContext(arg0 aws.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilFargateProfileActiveWithContext(arg0 context.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2197,7 +2197,7 @@ func (mr *MockEKSMockRecorder) WaitUntilFargateProfileDeleted(arg0 interface{}) } // WaitUntilFargateProfileDeletedWithContext mocks base method. -func (m *MockEKS) WaitUntilFargateProfileDeletedWithContext(arg0 aws.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilFargateProfileDeletedWithContext(arg0 context.Context, arg1 *eks.DescribeFargateProfileInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2230,7 +2230,7 @@ func (mr *MockEKSMockRecorder) WaitUntilNodegroupActive(arg0 interface{}) *gomoc } // WaitUntilNodegroupActiveWithContext mocks base method. -func (m *MockEKS) WaitUntilNodegroupActiveWithContext(arg0 aws.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilNodegroupActiveWithContext(arg0 context.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2263,7 +2263,7 @@ func (mr *MockEKSMockRecorder) WaitUntilNodegroupDeleted(arg0 interface{}) *gomo } // WaitUntilNodegroupDeletedWithContext mocks base method. -func (m *MockEKS) WaitUntilNodegroupDeletedWithContext(arg0 aws.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.WaiterOption) error { +func (m *MockEKS) WaitUntilNodegroupDeletedWithContext(arg0 context.Context, arg1 *eks.DescribeNodegroupInput, arg2 ...request.WaiterOption) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { diff --git a/pkg/aws/services/vpclattice.go b/pkg/aws/services/vpclattice.go index 1acba627..adf94a20 100644 --- a/pkg/aws/services/vpclattice.go +++ b/pkg/aws/services/vpclattice.go @@ -2,16 +2,19 @@ package services import ( "context" + "os" + "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/vpclattice" "github.com/aws/aws-sdk-go/service/vpclattice/vpclatticeiface" "github.com/golang/glog" - "os" ) +//go:generate mockgen -destination vpclattice_mocks.go -package services github.com/aws/aws-application-networking-k8s/pkg/aws/services Lattice + type Lattice interface { - vpclatticeiface.VpcLatticeAPI + vpclatticeiface.VPCLatticeAPI ListServiceNetworksAsList(ctx context.Context, input *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) ListServicesAsList(ctx context.Context, input *vpclattice.ListServicesInput) ([]*vpclattice.ServiceSummary, error) ListTargetGroupsAsList(ctx context.Context, input *vpclattice.ListTargetGroupsInput) ([]*vpclattice.TargetGroupSummary, error) @@ -21,11 +24,11 @@ type Lattice interface { } type defaultLattice struct { - vpclatticeiface.VpcLatticeAPI + vpclatticeiface.VPCLatticeAPI } func NewDefaultLattice(sess *session.Session, region string) *defaultLattice { - var latticeSess vpclatticeiface.VpcLatticeAPI + var latticeSess vpclatticeiface.VPCLatticeAPI latticeEndpoint := "https://vpc-lattice." + region + ".amazonaws.com" endpoint := os.Getenv("LATTICE_ENDPOINT") @@ -38,7 +41,7 @@ func NewDefaultLattice(sess *session.Session, region string) *defaultLattice { glog.V(2).Infoln("Lattice Service EndPoint:", endpoint) - return &defaultLattice{VpcLatticeAPI: latticeSess} + return &defaultLattice{latticeSess} } func (d *defaultLattice) ListServiceNetworksAsList(ctx context.Context, input *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) { diff --git a/pkg/aws/services/vpclattice_mocks.go b/pkg/aws/services/vpclattice_mocks.go index ebdf04c1..edd8a0c3 100644 --- a/pkg/aws/services/vpclattice_mocks.go +++ b/pkg/aws/services/vpclattice_mocks.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: ./pkg/aws/services/vpclattice.go +// Source: github.com/aws/aws-application-networking-k8s/pkg/aws/services (interfaces: Lattice) // Package services is a generated GoMock package. package services @@ -8,7 +8,6 @@ import ( context "context" reflect "reflect" - aws "github.com/aws/aws-sdk-go/aws" request "github.com/aws/aws-sdk-go/aws/request" vpclattice "github.com/aws/aws-sdk-go/service/vpclattice" gomock "github.com/golang/mock/gomock" @@ -68,7 +67,7 @@ func (mr *MockLatticeMockRecorder) BatchUpdateRuleRequest(arg0 interface{}) *gom } // BatchUpdateRuleWithContext mocks base method. -func (m *MockLattice) BatchUpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.BatchUpdateRuleInput, arg2 ...request.Option) (*vpclattice.BatchUpdateRuleOutput, error) { +func (m *MockLattice) BatchUpdateRuleWithContext(arg0 context.Context, arg1 *vpclattice.BatchUpdateRuleInput, arg2 ...request.Option) (*vpclattice.BatchUpdateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -118,7 +117,7 @@ func (mr *MockLatticeMockRecorder) CreateAccessLogSubscriptionRequest(arg0 inter } // CreateAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) CreateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.CreateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { +func (m *MockLattice) CreateAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.CreateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -168,7 +167,7 @@ func (mr *MockLatticeMockRecorder) CreateListenerRequest(arg0 interface{}) *gomo } // CreateListenerWithContext mocks base method. -func (m *MockLattice) CreateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.CreateListenerInput, arg2 ...request.Option) (*vpclattice.CreateListenerOutput, error) { +func (m *MockLattice) CreateListenerWithContext(arg0 context.Context, arg1 *vpclattice.CreateListenerInput, arg2 ...request.Option) (*vpclattice.CreateListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -218,7 +217,7 @@ func (mr *MockLatticeMockRecorder) CreateRuleRequest(arg0 interface{}) *gomock.C } // CreateRuleWithContext mocks base method. -func (m *MockLattice) CreateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.CreateRuleInput, arg2 ...request.Option) (*vpclattice.CreateRuleOutput, error) { +func (m *MockLattice) CreateRuleWithContext(arg0 context.Context, arg1 *vpclattice.CreateRuleInput, arg2 ...request.Option) (*vpclattice.CreateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -313,7 +312,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkServiceAssociationRequest } // CreateServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) CreateServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -363,7 +362,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkVpcAssociationRequest(arg } // CreateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) CreateServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -383,7 +382,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceNetworkVpcAssociationWithContext } // CreateServiceNetworkWithContext mocks base method. -func (m *MockLattice) CreateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkOutput, error) { +func (m *MockLattice) CreateServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -418,7 +417,7 @@ func (mr *MockLatticeMockRecorder) CreateServiceRequest(arg0 interface{}) *gomoc } // CreateServiceWithContext mocks base method. -func (m *MockLattice) CreateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceInput, arg2 ...request.Option) (*vpclattice.CreateServiceOutput, error) { +func (m *MockLattice) CreateServiceWithContext(arg0 context.Context, arg1 *vpclattice.CreateServiceInput, arg2 ...request.Option) (*vpclattice.CreateServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -468,7 +467,7 @@ func (mr *MockLatticeMockRecorder) CreateTargetGroupRequest(arg0 interface{}) *g } // CreateTargetGroupWithContext mocks base method. -func (m *MockLattice) CreateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.CreateTargetGroupInput, arg2 ...request.Option) (*vpclattice.CreateTargetGroupOutput, error) { +func (m *MockLattice) CreateTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.CreateTargetGroupInput, arg2 ...request.Option) (*vpclattice.CreateTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -518,7 +517,7 @@ func (mr *MockLatticeMockRecorder) DeleteAccessLogSubscriptionRequest(arg0 inter } // DeleteAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) DeleteAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { +func (m *MockLattice) DeleteAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.DeleteAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -568,7 +567,7 @@ func (mr *MockLatticeMockRecorder) DeleteAuthPolicyRequest(arg0 interface{}) *go } // DeleteAuthPolicyWithContext mocks base method. -func (m *MockLattice) DeleteAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAuthPolicyInput, arg2 ...request.Option) (*vpclattice.DeleteAuthPolicyOutput, error) { +func (m *MockLattice) DeleteAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.DeleteAuthPolicyInput, arg2 ...request.Option) (*vpclattice.DeleteAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -618,7 +617,7 @@ func (mr *MockLatticeMockRecorder) DeleteListenerRequest(arg0 interface{}) *gomo } // DeleteListenerWithContext mocks base method. -func (m *MockLattice) DeleteListenerWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteListenerInput, arg2 ...request.Option) (*vpclattice.DeleteListenerOutput, error) { +func (m *MockLattice) DeleteListenerWithContext(arg0 context.Context, arg1 *vpclattice.DeleteListenerInput, arg2 ...request.Option) (*vpclattice.DeleteListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -668,7 +667,7 @@ func (mr *MockLatticeMockRecorder) DeleteResourcePolicyRequest(arg0 interface{}) } // DeleteResourcePolicyWithContext mocks base method. -func (m *MockLattice) DeleteResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteResourcePolicyInput, arg2 ...request.Option) (*vpclattice.DeleteResourcePolicyOutput, error) { +func (m *MockLattice) DeleteResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.DeleteResourcePolicyInput, arg2 ...request.Option) (*vpclattice.DeleteResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -718,7 +717,7 @@ func (mr *MockLatticeMockRecorder) DeleteRuleRequest(arg0 interface{}) *gomock.C } // DeleteRuleWithContext mocks base method. -func (m *MockLattice) DeleteRuleWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteRuleInput, arg2 ...request.Option) (*vpclattice.DeleteRuleOutput, error) { +func (m *MockLattice) DeleteRuleWithContext(arg0 context.Context, arg1 *vpclattice.DeleteRuleInput, arg2 ...request.Option) (*vpclattice.DeleteRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -813,7 +812,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkServiceAssociationRequest } // DeleteServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) DeleteServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -863,7 +862,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkVpcAssociationRequest(arg } // DeleteServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) DeleteServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -883,7 +882,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceNetworkVpcAssociationWithContext } // DeleteServiceNetworkWithContext mocks base method. -func (m *MockLattice) DeleteServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkOutput, error) { +func (m *MockLattice) DeleteServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceNetworkInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -918,7 +917,7 @@ func (mr *MockLatticeMockRecorder) DeleteServiceRequest(arg0 interface{}) *gomoc } // DeleteServiceWithContext mocks base method. -func (m *MockLattice) DeleteServiceWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceInput, arg2 ...request.Option) (*vpclattice.DeleteServiceOutput, error) { +func (m *MockLattice) DeleteServiceWithContext(arg0 context.Context, arg1 *vpclattice.DeleteServiceInput, arg2 ...request.Option) (*vpclattice.DeleteServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -968,7 +967,7 @@ func (mr *MockLatticeMockRecorder) DeleteTargetGroupRequest(arg0 interface{}) *g } // DeleteTargetGroupWithContext mocks base method. -func (m *MockLattice) DeleteTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteTargetGroupInput, arg2 ...request.Option) (*vpclattice.DeleteTargetGroupOutput, error) { +func (m *MockLattice) DeleteTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.DeleteTargetGroupInput, arg2 ...request.Option) (*vpclattice.DeleteTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1018,7 +1017,7 @@ func (mr *MockLatticeMockRecorder) DeregisterTargetsRequest(arg0 interface{}) *g } // DeregisterTargetsWithContext mocks base method. -func (m *MockLattice) DeregisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.DeregisterTargetsInput, arg2 ...request.Option) (*vpclattice.DeregisterTargetsOutput, error) { +func (m *MockLattice) DeregisterTargetsWithContext(arg0 context.Context, arg1 *vpclattice.DeregisterTargetsInput, arg2 ...request.Option) (*vpclattice.DeregisterTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1068,7 +1067,7 @@ func (mr *MockLatticeMockRecorder) GetAccessLogSubscriptionRequest(arg0 interfac } // GetAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) GetAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.GetAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.GetAccessLogSubscriptionOutput, error) { +func (m *MockLattice) GetAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.GetAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.GetAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1118,7 +1117,7 @@ func (mr *MockLatticeMockRecorder) GetAuthPolicyRequest(arg0 interface{}) *gomoc } // GetAuthPolicyWithContext mocks base method. -func (m *MockLattice) GetAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetAuthPolicyInput, arg2 ...request.Option) (*vpclattice.GetAuthPolicyOutput, error) { +func (m *MockLattice) GetAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.GetAuthPolicyInput, arg2 ...request.Option) (*vpclattice.GetAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1168,7 +1167,7 @@ func (mr *MockLatticeMockRecorder) GetListenerRequest(arg0 interface{}) *gomock. } // GetListenerWithContext mocks base method. -func (m *MockLattice) GetListenerWithContext(arg0 aws.Context, arg1 *vpclattice.GetListenerInput, arg2 ...request.Option) (*vpclattice.GetListenerOutput, error) { +func (m *MockLattice) GetListenerWithContext(arg0 context.Context, arg1 *vpclattice.GetListenerInput, arg2 ...request.Option) (*vpclattice.GetListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1218,7 +1217,7 @@ func (mr *MockLatticeMockRecorder) GetResourcePolicyRequest(arg0 interface{}) *g } // GetResourcePolicyWithContext mocks base method. -func (m *MockLattice) GetResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetResourcePolicyInput, arg2 ...request.Option) (*vpclattice.GetResourcePolicyOutput, error) { +func (m *MockLattice) GetResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.GetResourcePolicyInput, arg2 ...request.Option) (*vpclattice.GetResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1268,7 +1267,7 @@ func (mr *MockLatticeMockRecorder) GetRuleRequest(arg0 interface{}) *gomock.Call } // GetRuleWithContext mocks base method. -func (m *MockLattice) GetRuleWithContext(arg0 aws.Context, arg1 *vpclattice.GetRuleInput, arg2 ...request.Option) (*vpclattice.GetRuleOutput, error) { +func (m *MockLattice) GetRuleWithContext(arg0 context.Context, arg1 *vpclattice.GetRuleInput, arg2 ...request.Option) (*vpclattice.GetRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1363,7 +1362,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkServiceAssociationRequest(ar } // GetServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { +func (m *MockLattice) GetServiceNetworkServiceAssociationWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1413,7 +1412,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkVpcAssociationRequest(arg0 i } // GetServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) GetServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1433,7 +1432,7 @@ func (mr *MockLatticeMockRecorder) GetServiceNetworkVpcAssociationWithContext(ar } // GetServiceNetworkWithContext mocks base method. -func (m *MockLattice) GetServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkOutput, error) { +func (m *MockLattice) GetServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceNetworkInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1468,7 +1467,7 @@ func (mr *MockLatticeMockRecorder) GetServiceRequest(arg0 interface{}) *gomock.C } // GetServiceWithContext mocks base method. -func (m *MockLattice) GetServiceWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceInput, arg2 ...request.Option) (*vpclattice.GetServiceOutput, error) { +func (m *MockLattice) GetServiceWithContext(arg0 context.Context, arg1 *vpclattice.GetServiceInput, arg2 ...request.Option) (*vpclattice.GetServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1518,7 +1517,7 @@ func (mr *MockLatticeMockRecorder) GetTargetGroupRequest(arg0 interface{}) *gomo } // GetTargetGroupWithContext mocks base method. -func (m *MockLattice) GetTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.GetTargetGroupInput, arg2 ...request.Option) (*vpclattice.GetTargetGroupOutput, error) { +func (m *MockLattice) GetTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.GetTargetGroupInput, arg2 ...request.Option) (*vpclattice.GetTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1567,7 +1566,7 @@ func (mr *MockLatticeMockRecorder) ListAccessLogSubscriptionsPages(arg0, arg1 in } // ListAccessLogSubscriptionsPagesWithContext mocks base method. -func (m *MockLattice) ListAccessLogSubscriptionsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListAccessLogSubscriptionsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1601,7 +1600,7 @@ func (mr *MockLatticeMockRecorder) ListAccessLogSubscriptionsRequest(arg0 interf } // ListAccessLogSubscriptionsWithContext mocks base method. -func (m *MockLattice) ListAccessLogSubscriptionsWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 ...request.Option) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { +func (m *MockLattice) ListAccessLogSubscriptionsWithContext(arg0 context.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 ...request.Option) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1650,7 +1649,7 @@ func (mr *MockLatticeMockRecorder) ListListenersPages(arg0, arg1 interface{}) *g } // ListListenersPagesWithContext mocks base method. -func (m *MockLattice) ListListenersPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 func(*vpclattice.ListListenersOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListListenersPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListListenersInput, arg2 func(*vpclattice.ListListenersOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1684,7 +1683,7 @@ func (mr *MockLatticeMockRecorder) ListListenersRequest(arg0 interface{}) *gomoc } // ListListenersWithContext mocks base method. -func (m *MockLattice) ListListenersWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 ...request.Option) (*vpclattice.ListListenersOutput, error) { +func (m *MockLattice) ListListenersWithContext(arg0 context.Context, arg1 *vpclattice.ListListenersInput, arg2 ...request.Option) (*vpclattice.ListListenersOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1733,7 +1732,7 @@ func (mr *MockLatticeMockRecorder) ListRulesPages(arg0, arg1 interface{}) *gomoc } // ListRulesPagesWithContext mocks base method. -func (m *MockLattice) ListRulesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 func(*vpclattice.ListRulesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListRulesPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListRulesInput, arg2 func(*vpclattice.ListRulesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1767,7 +1766,7 @@ func (mr *MockLatticeMockRecorder) ListRulesRequest(arg0 interface{}) *gomock.Ca } // ListRulesWithContext mocks base method. -func (m *MockLattice) ListRulesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 ...request.Option) (*vpclattice.ListRulesOutput, error) { +func (m *MockLattice) ListRulesWithContext(arg0 context.Context, arg1 *vpclattice.ListRulesInput, arg2 ...request.Option) (*vpclattice.ListRulesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1802,18 +1801,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociations(arg0 in } // ListServiceNetworkServiceAssociationsAsList mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsAsList(ctx context.Context, input *vpclattice.ListServiceNetworkServiceAssociationsInput) ([]*vpclattice.ServiceNetworkServiceAssociationSummary, error) { +func (m *MockLattice) ListServiceNetworkServiceAssociationsAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput) ([]*vpclattice.ServiceNetworkServiceAssociationSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkServiceAssociationSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworkServiceAssociationsAsList indicates an expected call of ListServiceNetworkServiceAssociationsAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkServiceAssociationsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkServiceAssociationsAsList), arg0, arg1) } // ListServiceNetworkServiceAssociationsPages mocks base method. @@ -1831,7 +1830,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsPages(ar } // ListServiceNetworkServiceAssociationsPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworkServiceAssociationsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1865,7 +1864,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkServiceAssociationsRequest( } // ListServiceNetworkServiceAssociationsWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkServiceAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { +func (m *MockLattice) ListServiceNetworkServiceAssociationsWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1900,18 +1899,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociations(arg0 interf } // ListServiceNetworkVpcAssociationsAsList mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsAsList(ctx context.Context, input *vpclattice.ListServiceNetworkVpcAssociationsInput) ([]*vpclattice.ServiceNetworkVpcAssociationSummary, error) { +func (m *MockLattice) ListServiceNetworkVpcAssociationsAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput) ([]*vpclattice.ServiceNetworkVpcAssociationSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkVpcAssociationSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworkVpcAssociationsAsList indicates an expected call of ListServiceNetworkVpcAssociationsAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkVpcAssociationsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworkVpcAssociationsAsList), arg0, arg1) } // ListServiceNetworkVpcAssociationsPages mocks base method. @@ -1929,7 +1928,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsPages(arg0, } // ListServiceNetworkVpcAssociationsPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworkVpcAssociationsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -1963,7 +1962,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworkVpcAssociationsRequest(arg0 } // ListServiceNetworkVpcAssociationsWithContext mocks base method. -func (m *MockLattice) ListServiceNetworkVpcAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { +func (m *MockLattice) ListServiceNetworkVpcAssociationsWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -1998,18 +1997,18 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworks(arg0 interface{}) *gomock } // ListServiceNetworksAsList mocks base method. -func (m *MockLattice) ListServiceNetworksAsList(ctx context.Context, input *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) { +func (m *MockLattice) ListServiceNetworksAsList(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput) ([]*vpclattice.ServiceNetworkSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworksAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServiceNetworksAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceNetworkSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServiceNetworksAsList indicates an expected call of ListServiceNetworksAsList. -func (mr *MockLatticeMockRecorder) ListServiceNetworksAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServiceNetworksAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworksAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksAsList", reflect.TypeOf((*MockLattice)(nil).ListServiceNetworksAsList), arg0, arg1) } // ListServiceNetworksPages mocks base method. @@ -2027,7 +2026,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworksPages(arg0, arg1 interface } // ListServiceNetworksPagesWithContext mocks base method. -func (m *MockLattice) ListServiceNetworksPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 func(*vpclattice.ListServiceNetworksOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServiceNetworksPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 func(*vpclattice.ListServiceNetworksOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2061,7 +2060,7 @@ func (mr *MockLatticeMockRecorder) ListServiceNetworksRequest(arg0 interface{}) } // ListServiceNetworksWithContext mocks base method. -func (m *MockLattice) ListServiceNetworksWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworksOutput, error) { +func (m *MockLattice) ListServiceNetworksWithContext(arg0 context.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworksOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2096,18 +2095,18 @@ func (mr *MockLatticeMockRecorder) ListServices(arg0 interface{}) *gomock.Call { } // ListServicesAsList mocks base method. -func (m *MockLattice) ListServicesAsList(ctx context.Context, input *vpclattice.ListServicesInput) ([]*vpclattice.ServiceSummary, error) { +func (m *MockLattice) ListServicesAsList(arg0 context.Context, arg1 *vpclattice.ListServicesInput) ([]*vpclattice.ServiceSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServicesAsList", ctx, input) + ret := m.ctrl.Call(m, "ListServicesAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.ServiceSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListServicesAsList indicates an expected call of ListServicesAsList. -func (mr *MockLatticeMockRecorder) ListServicesAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListServicesAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesAsList", reflect.TypeOf((*MockLattice)(nil).ListServicesAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesAsList", reflect.TypeOf((*MockLattice)(nil).ListServicesAsList), arg0, arg1) } // ListServicesPages mocks base method. @@ -2125,7 +2124,7 @@ func (mr *MockLatticeMockRecorder) ListServicesPages(arg0, arg1 interface{}) *go } // ListServicesPagesWithContext mocks base method. -func (m *MockLattice) ListServicesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 func(*vpclattice.ListServicesOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListServicesPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListServicesInput, arg2 func(*vpclattice.ListServicesOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2159,7 +2158,7 @@ func (mr *MockLatticeMockRecorder) ListServicesRequest(arg0 interface{}) *gomock } // ListServicesWithContext mocks base method. -func (m *MockLattice) ListServicesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 ...request.Option) (*vpclattice.ListServicesOutput, error) { +func (m *MockLattice) ListServicesWithContext(arg0 context.Context, arg1 *vpclattice.ListServicesInput, arg2 ...request.Option) (*vpclattice.ListServicesOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2209,7 +2208,7 @@ func (mr *MockLatticeMockRecorder) ListTagsForResourceRequest(arg0 interface{}) } // ListTagsForResourceWithContext mocks base method. -func (m *MockLattice) ListTagsForResourceWithContext(arg0 aws.Context, arg1 *vpclattice.ListTagsForResourceInput, arg2 ...request.Option) (*vpclattice.ListTagsForResourceOutput, error) { +func (m *MockLattice) ListTagsForResourceWithContext(arg0 context.Context, arg1 *vpclattice.ListTagsForResourceInput, arg2 ...request.Option) (*vpclattice.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2244,18 +2243,18 @@ func (mr *MockLatticeMockRecorder) ListTargetGroups(arg0 interface{}) *gomock.Ca } // ListTargetGroupsAsList mocks base method. -func (m *MockLattice) ListTargetGroupsAsList(ctx context.Context, input *vpclattice.ListTargetGroupsInput) ([]*vpclattice.TargetGroupSummary, error) { +func (m *MockLattice) ListTargetGroupsAsList(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput) ([]*vpclattice.TargetGroupSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetGroupsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListTargetGroupsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.TargetGroupSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListTargetGroupsAsList indicates an expected call of ListTargetGroupsAsList. -func (mr *MockLatticeMockRecorder) ListTargetGroupsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListTargetGroupsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetGroupsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetGroupsAsList), arg0, arg1) } // ListTargetGroupsPages mocks base method. @@ -2273,7 +2272,7 @@ func (mr *MockLatticeMockRecorder) ListTargetGroupsPages(arg0, arg1 interface{}) } // ListTargetGroupsPagesWithContext mocks base method. -func (m *MockLattice) ListTargetGroupsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 func(*vpclattice.ListTargetGroupsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListTargetGroupsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 func(*vpclattice.ListTargetGroupsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2307,7 +2306,7 @@ func (mr *MockLatticeMockRecorder) ListTargetGroupsRequest(arg0 interface{}) *go } // ListTargetGroupsWithContext mocks base method. -func (m *MockLattice) ListTargetGroupsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 ...request.Option) (*vpclattice.ListTargetGroupsOutput, error) { +func (m *MockLattice) ListTargetGroupsWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 ...request.Option) (*vpclattice.ListTargetGroupsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2342,18 +2341,18 @@ func (mr *MockLatticeMockRecorder) ListTargets(arg0 interface{}) *gomock.Call { } // ListTargetsAsList mocks base method. -func (m *MockLattice) ListTargetsAsList(ctx context.Context, input *vpclattice.ListTargetsInput) ([]*vpclattice.TargetSummary, error) { +func (m *MockLattice) ListTargetsAsList(arg0 context.Context, arg1 *vpclattice.ListTargetsInput) ([]*vpclattice.TargetSummary, error) { m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetsAsList", ctx, input) + ret := m.ctrl.Call(m, "ListTargetsAsList", arg0, arg1) ret0, _ := ret[0].([]*vpclattice.TargetSummary) ret1, _ := ret[1].(error) return ret0, ret1 } // ListTargetsAsList indicates an expected call of ListTargetsAsList. -func (mr *MockLatticeMockRecorder) ListTargetsAsList(ctx, input interface{}) *gomock.Call { +func (mr *MockLatticeMockRecorder) ListTargetsAsList(arg0, arg1 interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetsAsList), ctx, input) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsAsList", reflect.TypeOf((*MockLattice)(nil).ListTargetsAsList), arg0, arg1) } // ListTargetsPages mocks base method. @@ -2371,7 +2370,7 @@ func (mr *MockLatticeMockRecorder) ListTargetsPages(arg0, arg1 interface{}) *gom } // ListTargetsPagesWithContext mocks base method. -func (m *MockLattice) ListTargetsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 func(*vpclattice.ListTargetsOutput, bool) bool, arg3 ...request.Option) error { +func (m *MockLattice) ListTargetsPagesWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetsInput, arg2 func(*vpclattice.ListTargetsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1, arg2} for _, a := range arg3 { @@ -2405,7 +2404,7 @@ func (mr *MockLatticeMockRecorder) ListTargetsRequest(arg0 interface{}) *gomock. } // ListTargetsWithContext mocks base method. -func (m *MockLattice) ListTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 ...request.Option) (*vpclattice.ListTargetsOutput, error) { +func (m *MockLattice) ListTargetsWithContext(arg0 context.Context, arg1 *vpclattice.ListTargetsInput, arg2 ...request.Option) (*vpclattice.ListTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2455,7 +2454,7 @@ func (mr *MockLatticeMockRecorder) PutAuthPolicyRequest(arg0 interface{}) *gomoc } // PutAuthPolicyWithContext mocks base method. -func (m *MockLattice) PutAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutAuthPolicyInput, arg2 ...request.Option) (*vpclattice.PutAuthPolicyOutput, error) { +func (m *MockLattice) PutAuthPolicyWithContext(arg0 context.Context, arg1 *vpclattice.PutAuthPolicyInput, arg2 ...request.Option) (*vpclattice.PutAuthPolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2505,7 +2504,7 @@ func (mr *MockLatticeMockRecorder) PutResourcePolicyRequest(arg0 interface{}) *g } // PutResourcePolicyWithContext mocks base method. -func (m *MockLattice) PutResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutResourcePolicyInput, arg2 ...request.Option) (*vpclattice.PutResourcePolicyOutput, error) { +func (m *MockLattice) PutResourcePolicyWithContext(arg0 context.Context, arg1 *vpclattice.PutResourcePolicyInput, arg2 ...request.Option) (*vpclattice.PutResourcePolicyOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2555,7 +2554,7 @@ func (mr *MockLatticeMockRecorder) RegisterTargetsRequest(arg0 interface{}) *gom } // RegisterTargetsWithContext mocks base method. -func (m *MockLattice) RegisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.RegisterTargetsInput, arg2 ...request.Option) (*vpclattice.RegisterTargetsOutput, error) { +func (m *MockLattice) RegisterTargetsWithContext(arg0 context.Context, arg1 *vpclattice.RegisterTargetsInput, arg2 ...request.Option) (*vpclattice.RegisterTargetsOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2605,7 +2604,7 @@ func (mr *MockLatticeMockRecorder) TagResourceRequest(arg0 interface{}) *gomock. } // TagResourceWithContext mocks base method. -func (m *MockLattice) TagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.TagResourceInput, arg2 ...request.Option) (*vpclattice.TagResourceOutput, error) { +func (m *MockLattice) TagResourceWithContext(arg0 context.Context, arg1 *vpclattice.TagResourceInput, arg2 ...request.Option) (*vpclattice.TagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2655,7 +2654,7 @@ func (mr *MockLatticeMockRecorder) UntagResourceRequest(arg0 interface{}) *gomoc } // UntagResourceWithContext mocks base method. -func (m *MockLattice) UntagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.UntagResourceInput, arg2 ...request.Option) (*vpclattice.UntagResourceOutput, error) { +func (m *MockLattice) UntagResourceWithContext(arg0 context.Context, arg1 *vpclattice.UntagResourceInput, arg2 ...request.Option) (*vpclattice.UntagResourceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2705,7 +2704,7 @@ func (mr *MockLatticeMockRecorder) UpdateAccessLogSubscriptionRequest(arg0 inter } // UpdateAccessLogSubscriptionWithContext mocks base method. -func (m *MockLattice) UpdateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { +func (m *MockLattice) UpdateAccessLogSubscriptionWithContext(arg0 context.Context, arg1 *vpclattice.UpdateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2755,7 +2754,7 @@ func (mr *MockLatticeMockRecorder) UpdateListenerRequest(arg0 interface{}) *gomo } // UpdateListenerWithContext mocks base method. -func (m *MockLattice) UpdateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateListenerInput, arg2 ...request.Option) (*vpclattice.UpdateListenerOutput, error) { +func (m *MockLattice) UpdateListenerWithContext(arg0 context.Context, arg1 *vpclattice.UpdateListenerInput, arg2 ...request.Option) (*vpclattice.UpdateListenerOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2805,7 +2804,7 @@ func (mr *MockLatticeMockRecorder) UpdateRuleRequest(arg0 interface{}) *gomock.C } // UpdateRuleWithContext mocks base method. -func (m *MockLattice) UpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateRuleInput, arg2 ...request.Option) (*vpclattice.UpdateRuleOutput, error) { +func (m *MockLattice) UpdateRuleWithContext(arg0 context.Context, arg1 *vpclattice.UpdateRuleInput, arg2 ...request.Option) (*vpclattice.UpdateRuleOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2900,7 +2899,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceNetworkVpcAssociationRequest(arg } // UpdateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockLattice) UpdateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { +func (m *MockLattice) UpdateServiceNetworkVpcAssociationWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2920,7 +2919,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceNetworkVpcAssociationWithContext } // UpdateServiceNetworkWithContext mocks base method. -func (m *MockLattice) UpdateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkOutput, error) { +func (m *MockLattice) UpdateServiceNetworkWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -2955,7 +2954,7 @@ func (mr *MockLatticeMockRecorder) UpdateServiceRequest(arg0 interface{}) *gomoc } // UpdateServiceWithContext mocks base method. -func (m *MockLattice) UpdateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceInput, arg2 ...request.Option) (*vpclattice.UpdateServiceOutput, error) { +func (m *MockLattice) UpdateServiceWithContext(arg0 context.Context, arg1 *vpclattice.UpdateServiceInput, arg2 ...request.Option) (*vpclattice.UpdateServiceOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { @@ -3005,7 +3004,7 @@ func (mr *MockLatticeMockRecorder) UpdateTargetGroupRequest(arg0 interface{}) *g } // UpdateTargetGroupWithContext mocks base method. -func (m *MockLattice) UpdateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateTargetGroupInput, arg2 ...request.Option) (*vpclattice.UpdateTargetGroupOutput, error) { +func (m *MockLattice) UpdateTargetGroupWithContext(arg0 context.Context, arg1 *vpclattice.UpdateTargetGroupInput, arg2 ...request.Option) (*vpclattice.UpdateTargetGroupOutput, error) { m.ctrl.T.Helper() varargs := []interface{}{arg0, arg1} for _, a := range arg2 { diff --git a/pkg/aws/services/vpclattice_service_api_mock.go b/pkg/aws/services/vpclattice_service_api_mock.go deleted file mode 100644 index 60f95df9..00000000 --- a/pkg/aws/services/vpclattice_service_api_mock.go +++ /dev/null @@ -1,2934 +0,0 @@ -// Code generated by MockGen. DO NOT EDIT. -// Source: ./scripts/aws_sdk_model_override/aws-sdk-go/service/vpclattice/vpclatticeiface/interface.go - -// Package services is a generated GoMock package. -package services - -import ( - reflect "reflect" - - aws "github.com/aws/aws-sdk-go/aws" - request "github.com/aws/aws-sdk-go/aws/request" - vpclattice "github.com/aws/aws-sdk-go/service/vpclattice" - gomock "github.com/golang/mock/gomock" -) - -// MockVpcLatticeAPI is a mock of VpcLatticeAPI interface. -type MockVpcLatticeAPI struct { - ctrl *gomock.Controller - recorder *MockVpcLatticeAPIMockRecorder -} - -// MockVpcLatticeAPIMockRecorder is the mock recorder for MockVpcLatticeAPI. -type MockVpcLatticeAPIMockRecorder struct { - mock *MockVpcLatticeAPI -} - -// NewMockVpcLatticeAPI creates a new mock instance. -func NewMockVpcLatticeAPI(ctrl *gomock.Controller) *MockVpcLatticeAPI { - mock := &MockVpcLatticeAPI{ctrl: ctrl} - mock.recorder = &MockVpcLatticeAPIMockRecorder{mock} - return mock -} - -// EXPECT returns an object that allows the caller to indicate expected use. -func (m *MockVpcLatticeAPI) EXPECT() *MockVpcLatticeAPIMockRecorder { - return m.recorder -} - -// BatchUpdateRule mocks base method. -func (m *MockVpcLatticeAPI) BatchUpdateRule(arg0 *vpclattice.BatchUpdateRuleInput) (*vpclattice.BatchUpdateRuleOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "BatchUpdateRule", arg0) - ret0, _ := ret[0].(*vpclattice.BatchUpdateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// BatchUpdateRule indicates an expected call of BatchUpdateRule. -func (mr *MockVpcLatticeAPIMockRecorder) BatchUpdateRule(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchUpdateRule", reflect.TypeOf((*MockVpcLatticeAPI)(nil).BatchUpdateRule), arg0) -} - -// BatchUpdateRuleRequest mocks base method. -func (m *MockVpcLatticeAPI) BatchUpdateRuleRequest(arg0 *vpclattice.BatchUpdateRuleInput) (*request.Request, *vpclattice.BatchUpdateRuleOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "BatchUpdateRuleRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.BatchUpdateRuleOutput) - return ret0, ret1 -} - -// BatchUpdateRuleRequest indicates an expected call of BatchUpdateRuleRequest. -func (mr *MockVpcLatticeAPIMockRecorder) BatchUpdateRuleRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BatchUpdateRuleRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).BatchUpdateRuleRequest), arg0) -} - -// BatchUpdateRuleWithContext mocks base method. -func (m *MockVpcLatticeAPI) BatchUpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.BatchUpdateRuleInput, arg2 ...request.Option) (*vpclattice.BatchUpdateRuleOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "BatchUpdateRuleWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.BatchUpdateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// BatchUpdateRuleWithContext indicates an expected call of BatchUpdateRuleWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) BatchUpdateRuleWithContext(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, "BatchUpdateRuleWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).BatchUpdateRuleWithContext), varargs...) -} - -// CreateAccessLogSubscription mocks base method. -func (m *MockVpcLatticeAPI) CreateAccessLogSubscription(arg0 *vpclattice.CreateAccessLogSubscriptionInput) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateAccessLogSubscription", arg0) - ret0, _ := ret[0].(*vpclattice.CreateAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateAccessLogSubscription indicates an expected call of CreateAccessLogSubscription. -func (mr *MockVpcLatticeAPIMockRecorder) CreateAccessLogSubscription(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessLogSubscription", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateAccessLogSubscription), arg0) -} - -// CreateAccessLogSubscriptionRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateAccessLogSubscriptionRequest(arg0 *vpclattice.CreateAccessLogSubscriptionInput) (*request.Request, *vpclattice.CreateAccessLogSubscriptionOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateAccessLogSubscriptionRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateAccessLogSubscriptionOutput) - return ret0, ret1 -} - -// CreateAccessLogSubscriptionRequest indicates an expected call of CreateAccessLogSubscriptionRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateAccessLogSubscriptionRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessLogSubscriptionRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateAccessLogSubscriptionRequest), arg0) -} - -// CreateAccessLogSubscriptionWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.CreateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.CreateAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateAccessLogSubscriptionWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateAccessLogSubscriptionWithContext indicates an expected call of CreateAccessLogSubscriptionWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateAccessLogSubscriptionWithContext(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, "CreateAccessLogSubscriptionWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateAccessLogSubscriptionWithContext), varargs...) -} - -// CreateListener mocks base method. -func (m *MockVpcLatticeAPI) CreateListener(arg0 *vpclattice.CreateListenerInput) (*vpclattice.CreateListenerOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateListener", arg0) - ret0, _ := ret[0].(*vpclattice.CreateListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateListener indicates an expected call of CreateListener. -func (mr *MockVpcLatticeAPIMockRecorder) CreateListener(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateListener", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateListener), arg0) -} - -// CreateListenerRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateListenerRequest(arg0 *vpclattice.CreateListenerInput) (*request.Request, *vpclattice.CreateListenerOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateListenerRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateListenerOutput) - return ret0, ret1 -} - -// CreateListenerRequest indicates an expected call of CreateListenerRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateListenerRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateListenerRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateListenerRequest), arg0) -} - -// CreateListenerWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.CreateListenerInput, arg2 ...request.Option) (*vpclattice.CreateListenerOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateListenerWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateListenerWithContext indicates an expected call of CreateListenerWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateListenerWithContext(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, "CreateListenerWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateListenerWithContext), varargs...) -} - -// CreateRule mocks base method. -func (m *MockVpcLatticeAPI) CreateRule(arg0 *vpclattice.CreateRuleInput) (*vpclattice.CreateRuleOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateRule", arg0) - ret0, _ := ret[0].(*vpclattice.CreateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateRule indicates an expected call of CreateRule. -func (mr *MockVpcLatticeAPIMockRecorder) CreateRule(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateRule", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateRule), arg0) -} - -// CreateRuleRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateRuleRequest(arg0 *vpclattice.CreateRuleInput) (*request.Request, *vpclattice.CreateRuleOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateRuleRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateRuleOutput) - return ret0, ret1 -} - -// CreateRuleRequest indicates an expected call of CreateRuleRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateRuleRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateRuleRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateRuleRequest), arg0) -} - -// CreateRuleWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.CreateRuleInput, arg2 ...request.Option) (*vpclattice.CreateRuleOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateRuleWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateRuleWithContext indicates an expected call of CreateRuleWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateRuleWithContext(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, "CreateRuleWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateRuleWithContext), varargs...) -} - -// CreateService mocks base method. -func (m *MockVpcLatticeAPI) CreateService(arg0 *vpclattice.CreateServiceInput) (*vpclattice.CreateServiceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateService", arg0) - ret0, _ := ret[0].(*vpclattice.CreateServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateService indicates an expected call of CreateService. -func (mr *MockVpcLatticeAPIMockRecorder) CreateService(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateService", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateService), arg0) -} - -// CreateServiceNetwork mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetwork(arg0 *vpclattice.CreateServiceNetworkInput) (*vpclattice.CreateServiceNetworkOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetwork", arg0) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetwork indicates an expected call of CreateServiceNetwork. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetwork(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetwork", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetwork), arg0) -} - -// CreateServiceNetworkRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkRequest(arg0 *vpclattice.CreateServiceNetworkInput) (*request.Request, *vpclattice.CreateServiceNetworkOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetworkRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateServiceNetworkOutput) - return ret0, ret1 -} - -// CreateServiceNetworkRequest indicates an expected call of CreateServiceNetworkRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetworkRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkRequest), arg0) -} - -// CreateServiceNetworkServiceAssociation mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkServiceAssociation(arg0 *vpclattice.CreateServiceNetworkServiceAssociationInput) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetworkServiceAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetworkServiceAssociation indicates an expected call of CreateServiceNetworkServiceAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkServiceAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetworkServiceAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkServiceAssociation), arg0) -} - -// CreateServiceNetworkServiceAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkServiceAssociationRequest(arg0 *vpclattice.CreateServiceNetworkServiceAssociationInput) (*request.Request, *vpclattice.CreateServiceNetworkServiceAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetworkServiceAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateServiceNetworkServiceAssociationOutput) - return ret0, ret1 -} - -// CreateServiceNetworkServiceAssociationRequest indicates an expected call of CreateServiceNetworkServiceAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkServiceAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetworkServiceAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkServiceAssociationRequest), arg0) -} - -// CreateServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateServiceNetworkServiceAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetworkServiceAssociationWithContext indicates an expected call of CreateServiceNetworkServiceAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkServiceAssociationWithContext(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, "CreateServiceNetworkServiceAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkServiceAssociationWithContext), varargs...) -} - -// CreateServiceNetworkVpcAssociation mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkVpcAssociation(arg0 *vpclattice.CreateServiceNetworkVpcAssociationInput) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetworkVpcAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetworkVpcAssociation indicates an expected call of CreateServiceNetworkVpcAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkVpcAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetworkVpcAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkVpcAssociation), arg0) -} - -// CreateServiceNetworkVpcAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkVpcAssociationRequest(arg0 *vpclattice.CreateServiceNetworkVpcAssociationInput) (*request.Request, *vpclattice.CreateServiceNetworkVpcAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceNetworkVpcAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateServiceNetworkVpcAssociationOutput) - return ret0, ret1 -} - -// CreateServiceNetworkVpcAssociationRequest indicates an expected call of CreateServiceNetworkVpcAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkVpcAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceNetworkVpcAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkVpcAssociationRequest), arg0) -} - -// CreateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateServiceNetworkVpcAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetworkVpcAssociationWithContext indicates an expected call of CreateServiceNetworkVpcAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkVpcAssociationWithContext(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, "CreateServiceNetworkVpcAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkVpcAssociationWithContext), varargs...) -} - -// CreateServiceNetworkWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.CreateServiceNetworkOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateServiceNetworkWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceNetworkWithContext indicates an expected call of CreateServiceNetworkWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceNetworkWithContext(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, "CreateServiceNetworkWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceNetworkWithContext), varargs...) -} - -// CreateServiceRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceRequest(arg0 *vpclattice.CreateServiceInput) (*request.Request, *vpclattice.CreateServiceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateServiceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateServiceOutput) - return ret0, ret1 -} - -// CreateServiceRequest indicates an expected call of CreateServiceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceRequest), arg0) -} - -// CreateServiceWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.CreateServiceInput, arg2 ...request.Option) (*vpclattice.CreateServiceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateServiceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateServiceWithContext indicates an expected call of CreateServiceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateServiceWithContext(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, "CreateServiceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateServiceWithContext), varargs...) -} - -// CreateTargetGroup mocks base method. -func (m *MockVpcLatticeAPI) CreateTargetGroup(arg0 *vpclattice.CreateTargetGroupInput) (*vpclattice.CreateTargetGroupOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateTargetGroup", arg0) - ret0, _ := ret[0].(*vpclattice.CreateTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateTargetGroup indicates an expected call of CreateTargetGroup. -func (mr *MockVpcLatticeAPIMockRecorder) CreateTargetGroup(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTargetGroup", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateTargetGroup), arg0) -} - -// CreateTargetGroupRequest mocks base method. -func (m *MockVpcLatticeAPI) CreateTargetGroupRequest(arg0 *vpclattice.CreateTargetGroupInput) (*request.Request, *vpclattice.CreateTargetGroupOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "CreateTargetGroupRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.CreateTargetGroupOutput) - return ret0, ret1 -} - -// CreateTargetGroupRequest indicates an expected call of CreateTargetGroupRequest. -func (mr *MockVpcLatticeAPIMockRecorder) CreateTargetGroupRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTargetGroupRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateTargetGroupRequest), arg0) -} - -// CreateTargetGroupWithContext mocks base method. -func (m *MockVpcLatticeAPI) CreateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.CreateTargetGroupInput, arg2 ...request.Option) (*vpclattice.CreateTargetGroupOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "CreateTargetGroupWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.CreateTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// CreateTargetGroupWithContext indicates an expected call of CreateTargetGroupWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) CreateTargetGroupWithContext(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, "CreateTargetGroupWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).CreateTargetGroupWithContext), varargs...) -} - -// DeleteAccessLogSubscription mocks base method. -func (m *MockVpcLatticeAPI) DeleteAccessLogSubscription(arg0 *vpclattice.DeleteAccessLogSubscriptionInput) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteAccessLogSubscription", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteAccessLogSubscription indicates an expected call of DeleteAccessLogSubscription. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAccessLogSubscription(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccessLogSubscription", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAccessLogSubscription), arg0) -} - -// DeleteAccessLogSubscriptionRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteAccessLogSubscriptionRequest(arg0 *vpclattice.DeleteAccessLogSubscriptionInput) (*request.Request, *vpclattice.DeleteAccessLogSubscriptionOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteAccessLogSubscriptionRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteAccessLogSubscriptionOutput) - return ret0, ret1 -} - -// DeleteAccessLogSubscriptionRequest indicates an expected call of DeleteAccessLogSubscriptionRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAccessLogSubscriptionRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccessLogSubscriptionRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAccessLogSubscriptionRequest), arg0) -} - -// DeleteAccessLogSubscriptionWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.DeleteAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteAccessLogSubscriptionWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteAccessLogSubscriptionWithContext indicates an expected call of DeleteAccessLogSubscriptionWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAccessLogSubscriptionWithContext(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, "DeleteAccessLogSubscriptionWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAccessLogSubscriptionWithContext), varargs...) -} - -// DeleteAuthPolicy mocks base method. -func (m *MockVpcLatticeAPI) DeleteAuthPolicy(arg0 *vpclattice.DeleteAuthPolicyInput) (*vpclattice.DeleteAuthPolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteAuthPolicy", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteAuthPolicy indicates an expected call of DeleteAuthPolicy. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAuthPolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAuthPolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAuthPolicy), arg0) -} - -// DeleteAuthPolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteAuthPolicyRequest(arg0 *vpclattice.DeleteAuthPolicyInput) (*request.Request, *vpclattice.DeleteAuthPolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteAuthPolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteAuthPolicyOutput) - return ret0, ret1 -} - -// DeleteAuthPolicyRequest indicates an expected call of DeleteAuthPolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAuthPolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAuthPolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAuthPolicyRequest), arg0) -} - -// DeleteAuthPolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteAuthPolicyInput, arg2 ...request.Option) (*vpclattice.DeleteAuthPolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteAuthPolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteAuthPolicyWithContext indicates an expected call of DeleteAuthPolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteAuthPolicyWithContext(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, "DeleteAuthPolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteAuthPolicyWithContext), varargs...) -} - -// DeleteListener mocks base method. -func (m *MockVpcLatticeAPI) DeleteListener(arg0 *vpclattice.DeleteListenerInput) (*vpclattice.DeleteListenerOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteListener", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteListener indicates an expected call of DeleteListener. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteListener(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteListener", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteListener), arg0) -} - -// DeleteListenerRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteListenerRequest(arg0 *vpclattice.DeleteListenerInput) (*request.Request, *vpclattice.DeleteListenerOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteListenerRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteListenerOutput) - return ret0, ret1 -} - -// DeleteListenerRequest indicates an expected call of DeleteListenerRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteListenerRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteListenerRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteListenerRequest), arg0) -} - -// DeleteListenerWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteListenerWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteListenerInput, arg2 ...request.Option) (*vpclattice.DeleteListenerOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteListenerWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteListenerWithContext indicates an expected call of DeleteListenerWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteListenerWithContext(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, "DeleteListenerWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteListenerWithContext), varargs...) -} - -// DeleteResourcePolicy mocks base method. -func (m *MockVpcLatticeAPI) DeleteResourcePolicy(arg0 *vpclattice.DeleteResourcePolicyInput) (*vpclattice.DeleteResourcePolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteResourcePolicy", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteResourcePolicy indicates an expected call of DeleteResourcePolicy. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteResourcePolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourcePolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteResourcePolicy), arg0) -} - -// DeleteResourcePolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteResourcePolicyRequest(arg0 *vpclattice.DeleteResourcePolicyInput) (*request.Request, *vpclattice.DeleteResourcePolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteResourcePolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteResourcePolicyOutput) - return ret0, ret1 -} - -// DeleteResourcePolicyRequest indicates an expected call of DeleteResourcePolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteResourcePolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteResourcePolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteResourcePolicyRequest), arg0) -} - -// DeleteResourcePolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteResourcePolicyInput, arg2 ...request.Option) (*vpclattice.DeleteResourcePolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteResourcePolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteResourcePolicyWithContext indicates an expected call of DeleteResourcePolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteResourcePolicyWithContext(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, "DeleteResourcePolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteResourcePolicyWithContext), varargs...) -} - -// DeleteRule mocks base method. -func (m *MockVpcLatticeAPI) DeleteRule(arg0 *vpclattice.DeleteRuleInput) (*vpclattice.DeleteRuleOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteRule", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteRule indicates an expected call of DeleteRule. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteRule(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRule", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteRule), arg0) -} - -// DeleteRuleRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteRuleRequest(arg0 *vpclattice.DeleteRuleInput) (*request.Request, *vpclattice.DeleteRuleOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteRuleRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteRuleOutput) - return ret0, ret1 -} - -// DeleteRuleRequest indicates an expected call of DeleteRuleRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteRuleRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteRuleRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteRuleRequest), arg0) -} - -// DeleteRuleWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteRuleWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteRuleInput, arg2 ...request.Option) (*vpclattice.DeleteRuleOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteRuleWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteRuleWithContext indicates an expected call of DeleteRuleWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteRuleWithContext(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, "DeleteRuleWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteRuleWithContext), varargs...) -} - -// DeleteService mocks base method. -func (m *MockVpcLatticeAPI) DeleteService(arg0 *vpclattice.DeleteServiceInput) (*vpclattice.DeleteServiceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteService", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteService indicates an expected call of DeleteService. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteService(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteService", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteService), arg0) -} - -// DeleteServiceNetwork mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetwork(arg0 *vpclattice.DeleteServiceNetworkInput) (*vpclattice.DeleteServiceNetworkOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetwork", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetwork indicates an expected call of DeleteServiceNetwork. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetwork(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetwork", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetwork), arg0) -} - -// DeleteServiceNetworkRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkRequest(arg0 *vpclattice.DeleteServiceNetworkInput) (*request.Request, *vpclattice.DeleteServiceNetworkOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetworkRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteServiceNetworkOutput) - return ret0, ret1 -} - -// DeleteServiceNetworkRequest indicates an expected call of DeleteServiceNetworkRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetworkRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkRequest), arg0) -} - -// DeleteServiceNetworkServiceAssociation mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkServiceAssociation(arg0 *vpclattice.DeleteServiceNetworkServiceAssociationInput) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetworkServiceAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetworkServiceAssociation indicates an expected call of DeleteServiceNetworkServiceAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkServiceAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetworkServiceAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkServiceAssociation), arg0) -} - -// DeleteServiceNetworkServiceAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkServiceAssociationRequest(arg0 *vpclattice.DeleteServiceNetworkServiceAssociationInput) (*request.Request, *vpclattice.DeleteServiceNetworkServiceAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetworkServiceAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteServiceNetworkServiceAssociationOutput) - return ret0, ret1 -} - -// DeleteServiceNetworkServiceAssociationRequest indicates an expected call of DeleteServiceNetworkServiceAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkServiceAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetworkServiceAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkServiceAssociationRequest), arg0) -} - -// DeleteServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteServiceNetworkServiceAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetworkServiceAssociationWithContext indicates an expected call of DeleteServiceNetworkServiceAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkServiceAssociationWithContext(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, "DeleteServiceNetworkServiceAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkServiceAssociationWithContext), varargs...) -} - -// DeleteServiceNetworkVpcAssociation mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkVpcAssociation(arg0 *vpclattice.DeleteServiceNetworkVpcAssociationInput) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetworkVpcAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetworkVpcAssociation indicates an expected call of DeleteServiceNetworkVpcAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkVpcAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetworkVpcAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkVpcAssociation), arg0) -} - -// DeleteServiceNetworkVpcAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkVpcAssociationRequest(arg0 *vpclattice.DeleteServiceNetworkVpcAssociationInput) (*request.Request, *vpclattice.DeleteServiceNetworkVpcAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceNetworkVpcAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteServiceNetworkVpcAssociationOutput) - return ret0, ret1 -} - -// DeleteServiceNetworkVpcAssociationRequest indicates an expected call of DeleteServiceNetworkVpcAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkVpcAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceNetworkVpcAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkVpcAssociationRequest), arg0) -} - -// DeleteServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteServiceNetworkVpcAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetworkVpcAssociationWithContext indicates an expected call of DeleteServiceNetworkVpcAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkVpcAssociationWithContext(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, "DeleteServiceNetworkVpcAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkVpcAssociationWithContext), varargs...) -} - -// DeleteServiceNetworkWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceNetworkInput, arg2 ...request.Option) (*vpclattice.DeleteServiceNetworkOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteServiceNetworkWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceNetworkWithContext indicates an expected call of DeleteServiceNetworkWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceNetworkWithContext(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, "DeleteServiceNetworkWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceNetworkWithContext), varargs...) -} - -// DeleteServiceRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceRequest(arg0 *vpclattice.DeleteServiceInput) (*request.Request, *vpclattice.DeleteServiceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteServiceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteServiceOutput) - return ret0, ret1 -} - -// DeleteServiceRequest indicates an expected call of DeleteServiceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceRequest), arg0) -} - -// DeleteServiceWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteServiceWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteServiceInput, arg2 ...request.Option) (*vpclattice.DeleteServiceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteServiceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteServiceWithContext indicates an expected call of DeleteServiceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteServiceWithContext(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, "DeleteServiceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteServiceWithContext), varargs...) -} - -// DeleteTargetGroup mocks base method. -func (m *MockVpcLatticeAPI) DeleteTargetGroup(arg0 *vpclattice.DeleteTargetGroupInput) (*vpclattice.DeleteTargetGroupOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteTargetGroup", arg0) - ret0, _ := ret[0].(*vpclattice.DeleteTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteTargetGroup indicates an expected call of DeleteTargetGroup. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteTargetGroup(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTargetGroup", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteTargetGroup), arg0) -} - -// DeleteTargetGroupRequest mocks base method. -func (m *MockVpcLatticeAPI) DeleteTargetGroupRequest(arg0 *vpclattice.DeleteTargetGroupInput) (*request.Request, *vpclattice.DeleteTargetGroupOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeleteTargetGroupRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeleteTargetGroupOutput) - return ret0, ret1 -} - -// DeleteTargetGroupRequest indicates an expected call of DeleteTargetGroupRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteTargetGroupRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTargetGroupRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteTargetGroupRequest), arg0) -} - -// DeleteTargetGroupWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeleteTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.DeleteTargetGroupInput, arg2 ...request.Option) (*vpclattice.DeleteTargetGroupOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeleteTargetGroupWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeleteTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeleteTargetGroupWithContext indicates an expected call of DeleteTargetGroupWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeleteTargetGroupWithContext(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, "DeleteTargetGroupWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeleteTargetGroupWithContext), varargs...) -} - -// DeregisterTargets mocks base method. -func (m *MockVpcLatticeAPI) DeregisterTargets(arg0 *vpclattice.DeregisterTargetsInput) (*vpclattice.DeregisterTargetsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeregisterTargets", arg0) - ret0, _ := ret[0].(*vpclattice.DeregisterTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeregisterTargets indicates an expected call of DeregisterTargets. -func (mr *MockVpcLatticeAPIMockRecorder) DeregisterTargets(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeregisterTargets", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeregisterTargets), arg0) -} - -// DeregisterTargetsRequest mocks base method. -func (m *MockVpcLatticeAPI) DeregisterTargetsRequest(arg0 *vpclattice.DeregisterTargetsInput) (*request.Request, *vpclattice.DeregisterTargetsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "DeregisterTargetsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.DeregisterTargetsOutput) - return ret0, ret1 -} - -// DeregisterTargetsRequest indicates an expected call of DeregisterTargetsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) DeregisterTargetsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeregisterTargetsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeregisterTargetsRequest), arg0) -} - -// DeregisterTargetsWithContext mocks base method. -func (m *MockVpcLatticeAPI) DeregisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.DeregisterTargetsInput, arg2 ...request.Option) (*vpclattice.DeregisterTargetsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "DeregisterTargetsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.DeregisterTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// DeregisterTargetsWithContext indicates an expected call of DeregisterTargetsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) DeregisterTargetsWithContext(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, "DeregisterTargetsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).DeregisterTargetsWithContext), varargs...) -} - -// GetAccessLogSubscription mocks base method. -func (m *MockVpcLatticeAPI) GetAccessLogSubscription(arg0 *vpclattice.GetAccessLogSubscriptionInput) (*vpclattice.GetAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetAccessLogSubscription", arg0) - ret0, _ := ret[0].(*vpclattice.GetAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetAccessLogSubscription indicates an expected call of GetAccessLogSubscription. -func (mr *MockVpcLatticeAPIMockRecorder) GetAccessLogSubscription(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccessLogSubscription", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAccessLogSubscription), arg0) -} - -// GetAccessLogSubscriptionRequest mocks base method. -func (m *MockVpcLatticeAPI) GetAccessLogSubscriptionRequest(arg0 *vpclattice.GetAccessLogSubscriptionInput) (*request.Request, *vpclattice.GetAccessLogSubscriptionOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetAccessLogSubscriptionRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetAccessLogSubscriptionOutput) - return ret0, ret1 -} - -// GetAccessLogSubscriptionRequest indicates an expected call of GetAccessLogSubscriptionRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetAccessLogSubscriptionRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAccessLogSubscriptionRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAccessLogSubscriptionRequest), arg0) -} - -// GetAccessLogSubscriptionWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.GetAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.GetAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetAccessLogSubscriptionWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetAccessLogSubscriptionWithContext indicates an expected call of GetAccessLogSubscriptionWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetAccessLogSubscriptionWithContext(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, "GetAccessLogSubscriptionWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAccessLogSubscriptionWithContext), varargs...) -} - -// GetAuthPolicy mocks base method. -func (m *MockVpcLatticeAPI) GetAuthPolicy(arg0 *vpclattice.GetAuthPolicyInput) (*vpclattice.GetAuthPolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetAuthPolicy", arg0) - ret0, _ := ret[0].(*vpclattice.GetAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetAuthPolicy indicates an expected call of GetAuthPolicy. -func (mr *MockVpcLatticeAPIMockRecorder) GetAuthPolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuthPolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAuthPolicy), arg0) -} - -// GetAuthPolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) GetAuthPolicyRequest(arg0 *vpclattice.GetAuthPolicyInput) (*request.Request, *vpclattice.GetAuthPolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetAuthPolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetAuthPolicyOutput) - return ret0, ret1 -} - -// GetAuthPolicyRequest indicates an expected call of GetAuthPolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetAuthPolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAuthPolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAuthPolicyRequest), arg0) -} - -// GetAuthPolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetAuthPolicyInput, arg2 ...request.Option) (*vpclattice.GetAuthPolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetAuthPolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetAuthPolicyWithContext indicates an expected call of GetAuthPolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetAuthPolicyWithContext(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, "GetAuthPolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetAuthPolicyWithContext), varargs...) -} - -// GetListener mocks base method. -func (m *MockVpcLatticeAPI) GetListener(arg0 *vpclattice.GetListenerInput) (*vpclattice.GetListenerOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetListener", arg0) - ret0, _ := ret[0].(*vpclattice.GetListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetListener indicates an expected call of GetListener. -func (mr *MockVpcLatticeAPIMockRecorder) GetListener(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetListener", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetListener), arg0) -} - -// GetListenerRequest mocks base method. -func (m *MockVpcLatticeAPI) GetListenerRequest(arg0 *vpclattice.GetListenerInput) (*request.Request, *vpclattice.GetListenerOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetListenerRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetListenerOutput) - return ret0, ret1 -} - -// GetListenerRequest indicates an expected call of GetListenerRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetListenerRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetListenerRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetListenerRequest), arg0) -} - -// GetListenerWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetListenerWithContext(arg0 aws.Context, arg1 *vpclattice.GetListenerInput, arg2 ...request.Option) (*vpclattice.GetListenerOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetListenerWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetListenerWithContext indicates an expected call of GetListenerWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetListenerWithContext(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, "GetListenerWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetListenerWithContext), varargs...) -} - -// GetResourcePolicy mocks base method. -func (m *MockVpcLatticeAPI) GetResourcePolicy(arg0 *vpclattice.GetResourcePolicyInput) (*vpclattice.GetResourcePolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetResourcePolicy", arg0) - ret0, _ := ret[0].(*vpclattice.GetResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetResourcePolicy indicates an expected call of GetResourcePolicy. -func (mr *MockVpcLatticeAPIMockRecorder) GetResourcePolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourcePolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetResourcePolicy), arg0) -} - -// GetResourcePolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) GetResourcePolicyRequest(arg0 *vpclattice.GetResourcePolicyInput) (*request.Request, *vpclattice.GetResourcePolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetResourcePolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetResourcePolicyOutput) - return ret0, ret1 -} - -// GetResourcePolicyRequest indicates an expected call of GetResourcePolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetResourcePolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetResourcePolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetResourcePolicyRequest), arg0) -} - -// GetResourcePolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.GetResourcePolicyInput, arg2 ...request.Option) (*vpclattice.GetResourcePolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetResourcePolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetResourcePolicyWithContext indicates an expected call of GetResourcePolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetResourcePolicyWithContext(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, "GetResourcePolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetResourcePolicyWithContext), varargs...) -} - -// GetRule mocks base method. -func (m *MockVpcLatticeAPI) GetRule(arg0 *vpclattice.GetRuleInput) (*vpclattice.GetRuleOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetRule", arg0) - ret0, _ := ret[0].(*vpclattice.GetRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetRule indicates an expected call of GetRule. -func (mr *MockVpcLatticeAPIMockRecorder) GetRule(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRule", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetRule), arg0) -} - -// GetRuleRequest mocks base method. -func (m *MockVpcLatticeAPI) GetRuleRequest(arg0 *vpclattice.GetRuleInput) (*request.Request, *vpclattice.GetRuleOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetRuleRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetRuleOutput) - return ret0, ret1 -} - -// GetRuleRequest indicates an expected call of GetRuleRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetRuleRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRuleRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetRuleRequest), arg0) -} - -// GetRuleWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetRuleWithContext(arg0 aws.Context, arg1 *vpclattice.GetRuleInput, arg2 ...request.Option) (*vpclattice.GetRuleOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetRuleWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetRuleWithContext indicates an expected call of GetRuleWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetRuleWithContext(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, "GetRuleWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetRuleWithContext), varargs...) -} - -// GetService mocks base method. -func (m *MockVpcLatticeAPI) GetService(arg0 *vpclattice.GetServiceInput) (*vpclattice.GetServiceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetService", arg0) - ret0, _ := ret[0].(*vpclattice.GetServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetService indicates an expected call of GetService. -func (mr *MockVpcLatticeAPIMockRecorder) GetService(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetService", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetService), arg0) -} - -// GetServiceNetwork mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetwork(arg0 *vpclattice.GetServiceNetworkInput) (*vpclattice.GetServiceNetworkOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetwork", arg0) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetwork indicates an expected call of GetServiceNetwork. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetwork(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetwork", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetwork), arg0) -} - -// GetServiceNetworkRequest mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkRequest(arg0 *vpclattice.GetServiceNetworkInput) (*request.Request, *vpclattice.GetServiceNetworkOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetworkRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetServiceNetworkOutput) - return ret0, ret1 -} - -// GetServiceNetworkRequest indicates an expected call of GetServiceNetworkRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetworkRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkRequest), arg0) -} - -// GetServiceNetworkServiceAssociation mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkServiceAssociation(arg0 *vpclattice.GetServiceNetworkServiceAssociationInput) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetworkServiceAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetworkServiceAssociation indicates an expected call of GetServiceNetworkServiceAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkServiceAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetworkServiceAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkServiceAssociation), arg0) -} - -// GetServiceNetworkServiceAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkServiceAssociationRequest(arg0 *vpclattice.GetServiceNetworkServiceAssociationInput) (*request.Request, *vpclattice.GetServiceNetworkServiceAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetworkServiceAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetServiceNetworkServiceAssociationOutput) - return ret0, ret1 -} - -// GetServiceNetworkServiceAssociationRequest indicates an expected call of GetServiceNetworkServiceAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkServiceAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetworkServiceAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkServiceAssociationRequest), arg0) -} - -// GetServiceNetworkServiceAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkServiceAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkServiceAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkServiceAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetServiceNetworkServiceAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkServiceAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetworkServiceAssociationWithContext indicates an expected call of GetServiceNetworkServiceAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkServiceAssociationWithContext(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, "GetServiceNetworkServiceAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkServiceAssociationWithContext), varargs...) -} - -// GetServiceNetworkVpcAssociation mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkVpcAssociation(arg0 *vpclattice.GetServiceNetworkVpcAssociationInput) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetworkVpcAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetworkVpcAssociation indicates an expected call of GetServiceNetworkVpcAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkVpcAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetworkVpcAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkVpcAssociation), arg0) -} - -// GetServiceNetworkVpcAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkVpcAssociationRequest(arg0 *vpclattice.GetServiceNetworkVpcAssociationInput) (*request.Request, *vpclattice.GetServiceNetworkVpcAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceNetworkVpcAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetServiceNetworkVpcAssociationOutput) - return ret0, ret1 -} - -// GetServiceNetworkVpcAssociationRequest indicates an expected call of GetServiceNetworkVpcAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkVpcAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceNetworkVpcAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkVpcAssociationRequest), arg0) -} - -// GetServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetServiceNetworkVpcAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetworkVpcAssociationWithContext indicates an expected call of GetServiceNetworkVpcAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkVpcAssociationWithContext(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, "GetServiceNetworkVpcAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkVpcAssociationWithContext), varargs...) -} - -// GetServiceNetworkWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceNetworkInput, arg2 ...request.Option) (*vpclattice.GetServiceNetworkOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetServiceNetworkWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceNetworkWithContext indicates an expected call of GetServiceNetworkWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceNetworkWithContext(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, "GetServiceNetworkWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceNetworkWithContext), varargs...) -} - -// GetServiceRequest mocks base method. -func (m *MockVpcLatticeAPI) GetServiceRequest(arg0 *vpclattice.GetServiceInput) (*request.Request, *vpclattice.GetServiceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetServiceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetServiceOutput) - return ret0, ret1 -} - -// GetServiceRequest indicates an expected call of GetServiceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceRequest), arg0) -} - -// GetServiceWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetServiceWithContext(arg0 aws.Context, arg1 *vpclattice.GetServiceInput, arg2 ...request.Option) (*vpclattice.GetServiceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetServiceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetServiceWithContext indicates an expected call of GetServiceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetServiceWithContext(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, "GetServiceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetServiceWithContext), varargs...) -} - -// GetTargetGroup mocks base method. -func (m *MockVpcLatticeAPI) GetTargetGroup(arg0 *vpclattice.GetTargetGroupInput) (*vpclattice.GetTargetGroupOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetTargetGroup", arg0) - ret0, _ := ret[0].(*vpclattice.GetTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetTargetGroup indicates an expected call of GetTargetGroup. -func (mr *MockVpcLatticeAPIMockRecorder) GetTargetGroup(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTargetGroup", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetTargetGroup), arg0) -} - -// GetTargetGroupRequest mocks base method. -func (m *MockVpcLatticeAPI) GetTargetGroupRequest(arg0 *vpclattice.GetTargetGroupInput) (*request.Request, *vpclattice.GetTargetGroupOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetTargetGroupRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.GetTargetGroupOutput) - return ret0, ret1 -} - -// GetTargetGroupRequest indicates an expected call of GetTargetGroupRequest. -func (mr *MockVpcLatticeAPIMockRecorder) GetTargetGroupRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTargetGroupRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetTargetGroupRequest), arg0) -} - -// GetTargetGroupWithContext mocks base method. -func (m *MockVpcLatticeAPI) GetTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.GetTargetGroupInput, arg2 ...request.Option) (*vpclattice.GetTargetGroupOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "GetTargetGroupWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.GetTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetTargetGroupWithContext indicates an expected call of GetTargetGroupWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) GetTargetGroupWithContext(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, "GetTargetGroupWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).GetTargetGroupWithContext), varargs...) -} - -// ListAccessLogSubscriptions mocks base method. -func (m *MockVpcLatticeAPI) ListAccessLogSubscriptions(arg0 *vpclattice.ListAccessLogSubscriptionsInput) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccessLogSubscriptions", arg0) - ret0, _ := ret[0].(*vpclattice.ListAccessLogSubscriptionsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListAccessLogSubscriptions indicates an expected call of ListAccessLogSubscriptions. -func (mr *MockVpcLatticeAPIMockRecorder) ListAccessLogSubscriptions(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccessLogSubscriptions", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListAccessLogSubscriptions), arg0) -} - -// ListAccessLogSubscriptionsPages mocks base method. -func (m *MockVpcLatticeAPI) ListAccessLogSubscriptionsPages(arg0 *vpclattice.ListAccessLogSubscriptionsInput, arg1 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccessLogSubscriptionsPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListAccessLogSubscriptionsPages indicates an expected call of ListAccessLogSubscriptionsPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListAccessLogSubscriptionsPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccessLogSubscriptionsPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListAccessLogSubscriptionsPages), arg0, arg1) -} - -// ListAccessLogSubscriptionsPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListAccessLogSubscriptionsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 func(*vpclattice.ListAccessLogSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListAccessLogSubscriptionsPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListAccessLogSubscriptionsPagesWithContext indicates an expected call of ListAccessLogSubscriptionsPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListAccessLogSubscriptionsPagesWithContext(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, "ListAccessLogSubscriptionsPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListAccessLogSubscriptionsPagesWithContext), varargs...) -} - -// ListAccessLogSubscriptionsRequest mocks base method. -func (m *MockVpcLatticeAPI) ListAccessLogSubscriptionsRequest(arg0 *vpclattice.ListAccessLogSubscriptionsInput) (*request.Request, *vpclattice.ListAccessLogSubscriptionsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListAccessLogSubscriptionsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListAccessLogSubscriptionsOutput) - return ret0, ret1 -} - -// ListAccessLogSubscriptionsRequest indicates an expected call of ListAccessLogSubscriptionsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListAccessLogSubscriptionsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAccessLogSubscriptionsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListAccessLogSubscriptionsRequest), arg0) -} - -// ListAccessLogSubscriptionsWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListAccessLogSubscriptionsWithContext(arg0 aws.Context, arg1 *vpclattice.ListAccessLogSubscriptionsInput, arg2 ...request.Option) (*vpclattice.ListAccessLogSubscriptionsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListAccessLogSubscriptionsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListAccessLogSubscriptionsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListAccessLogSubscriptionsWithContext indicates an expected call of ListAccessLogSubscriptionsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListAccessLogSubscriptionsWithContext(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, "ListAccessLogSubscriptionsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListAccessLogSubscriptionsWithContext), varargs...) -} - -// ListListeners mocks base method. -func (m *MockVpcLatticeAPI) ListListeners(arg0 *vpclattice.ListListenersInput) (*vpclattice.ListListenersOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListListeners", arg0) - ret0, _ := ret[0].(*vpclattice.ListListenersOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListListeners indicates an expected call of ListListeners. -func (mr *MockVpcLatticeAPIMockRecorder) ListListeners(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListListeners", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListListeners), arg0) -} - -// ListListenersPages mocks base method. -func (m *MockVpcLatticeAPI) ListListenersPages(arg0 *vpclattice.ListListenersInput, arg1 func(*vpclattice.ListListenersOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListListenersPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListListenersPages indicates an expected call of ListListenersPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListListenersPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListListenersPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListListenersPages), arg0, arg1) -} - -// ListListenersPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListListenersPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 func(*vpclattice.ListListenersOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListListenersPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListListenersPagesWithContext indicates an expected call of ListListenersPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListListenersPagesWithContext(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, "ListListenersPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListListenersPagesWithContext), varargs...) -} - -// ListListenersRequest mocks base method. -func (m *MockVpcLatticeAPI) ListListenersRequest(arg0 *vpclattice.ListListenersInput) (*request.Request, *vpclattice.ListListenersOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListListenersRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListListenersOutput) - return ret0, ret1 -} - -// ListListenersRequest indicates an expected call of ListListenersRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListListenersRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListListenersRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListListenersRequest), arg0) -} - -// ListListenersWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListListenersWithContext(arg0 aws.Context, arg1 *vpclattice.ListListenersInput, arg2 ...request.Option) (*vpclattice.ListListenersOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListListenersWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListListenersOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListListenersWithContext indicates an expected call of ListListenersWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListListenersWithContext(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, "ListListenersWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListListenersWithContext), varargs...) -} - -// ListRules mocks base method. -func (m *MockVpcLatticeAPI) ListRules(arg0 *vpclattice.ListRulesInput) (*vpclattice.ListRulesOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListRules", arg0) - ret0, _ := ret[0].(*vpclattice.ListRulesOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListRules indicates an expected call of ListRules. -func (mr *MockVpcLatticeAPIMockRecorder) ListRules(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRules", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListRules), arg0) -} - -// ListRulesPages mocks base method. -func (m *MockVpcLatticeAPI) ListRulesPages(arg0 *vpclattice.ListRulesInput, arg1 func(*vpclattice.ListRulesOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListRulesPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListRulesPages indicates an expected call of ListRulesPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListRulesPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRulesPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListRulesPages), arg0, arg1) -} - -// ListRulesPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListRulesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 func(*vpclattice.ListRulesOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListRulesPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListRulesPagesWithContext indicates an expected call of ListRulesPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListRulesPagesWithContext(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, "ListRulesPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListRulesPagesWithContext), varargs...) -} - -// ListRulesRequest mocks base method. -func (m *MockVpcLatticeAPI) ListRulesRequest(arg0 *vpclattice.ListRulesInput) (*request.Request, *vpclattice.ListRulesOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListRulesRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListRulesOutput) - return ret0, ret1 -} - -// ListRulesRequest indicates an expected call of ListRulesRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListRulesRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRulesRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListRulesRequest), arg0) -} - -// ListRulesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListRulesWithContext(arg0 aws.Context, arg1 *vpclattice.ListRulesInput, arg2 ...request.Option) (*vpclattice.ListRulesOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListRulesWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListRulesOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListRulesWithContext indicates an expected call of ListRulesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListRulesWithContext(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, "ListRulesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListRulesWithContext), varargs...) -} - -// ListServiceNetworkServiceAssociations mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkServiceAssociations(arg0 *vpclattice.ListServiceNetworkServiceAssociationsInput) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociations", arg0) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworkServiceAssociationsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworkServiceAssociations indicates an expected call of ListServiceNetworkServiceAssociations. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkServiceAssociations(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociations", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkServiceAssociations), arg0) -} - -// ListServiceNetworkServiceAssociationsPages mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkServiceAssociationsPages(arg0 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg1 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworkServiceAssociationsPages indicates an expected call of ListServiceNetworkServiceAssociationsPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkServiceAssociationsPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkServiceAssociationsPages), arg0, arg1) -} - -// ListServiceNetworkServiceAssociationsPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkServiceAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkServiceAssociationsOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworkServiceAssociationsPagesWithContext indicates an expected call of ListServiceNetworkServiceAssociationsPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkServiceAssociationsPagesWithContext(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, "ListServiceNetworkServiceAssociationsPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkServiceAssociationsPagesWithContext), varargs...) -} - -// ListServiceNetworkServiceAssociationsRequest mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkServiceAssociationsRequest(arg0 *vpclattice.ListServiceNetworkServiceAssociationsInput) (*request.Request, *vpclattice.ListServiceNetworkServiceAssociationsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListServiceNetworkServiceAssociationsOutput) - return ret0, ret1 -} - -// ListServiceNetworkServiceAssociationsRequest indicates an expected call of ListServiceNetworkServiceAssociationsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkServiceAssociationsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkServiceAssociationsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkServiceAssociationsRequest), arg0) -} - -// ListServiceNetworkServiceAssociationsWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkServiceAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkServiceAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworkServiceAssociationsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworkServiceAssociationsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworkServiceAssociationsWithContext indicates an expected call of ListServiceNetworkServiceAssociationsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkServiceAssociationsWithContext(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, "ListServiceNetworkServiceAssociationsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkServiceAssociationsWithContext), varargs...) -} - -// ListServiceNetworkVpcAssociations mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkVpcAssociations(arg0 *vpclattice.ListServiceNetworkVpcAssociationsInput) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociations", arg0) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworkVpcAssociationsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworkVpcAssociations indicates an expected call of ListServiceNetworkVpcAssociations. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkVpcAssociations(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociations", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkVpcAssociations), arg0) -} - -// ListServiceNetworkVpcAssociationsPages mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkVpcAssociationsPages(arg0 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg1 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworkVpcAssociationsPages indicates an expected call of ListServiceNetworkVpcAssociationsPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkVpcAssociationsPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkVpcAssociationsPages), arg0, arg1) -} - -// ListServiceNetworkVpcAssociationsPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkVpcAssociationsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 func(*vpclattice.ListServiceNetworkVpcAssociationsOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworkVpcAssociationsPagesWithContext indicates an expected call of ListServiceNetworkVpcAssociationsPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkVpcAssociationsPagesWithContext(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, "ListServiceNetworkVpcAssociationsPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkVpcAssociationsPagesWithContext), varargs...) -} - -// ListServiceNetworkVpcAssociationsRequest mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkVpcAssociationsRequest(arg0 *vpclattice.ListServiceNetworkVpcAssociationsInput) (*request.Request, *vpclattice.ListServiceNetworkVpcAssociationsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListServiceNetworkVpcAssociationsOutput) - return ret0, ret1 -} - -// ListServiceNetworkVpcAssociationsRequest indicates an expected call of ListServiceNetworkVpcAssociationsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkVpcAssociationsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworkVpcAssociationsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkVpcAssociationsRequest), arg0) -} - -// ListServiceNetworkVpcAssociationsWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworkVpcAssociationsWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworkVpcAssociationsInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworkVpcAssociationsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworkVpcAssociationsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworkVpcAssociationsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworkVpcAssociationsWithContext indicates an expected call of ListServiceNetworkVpcAssociationsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworkVpcAssociationsWithContext(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, "ListServiceNetworkVpcAssociationsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworkVpcAssociationsWithContext), varargs...) -} - -// ListServiceNetworks mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworks(arg0 *vpclattice.ListServiceNetworksInput) (*vpclattice.ListServiceNetworksOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworks", arg0) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworksOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworks indicates an expected call of ListServiceNetworks. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworks(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworks", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworks), arg0) -} - -// ListServiceNetworksPages mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworksPages(arg0 *vpclattice.ListServiceNetworksInput, arg1 func(*vpclattice.ListServiceNetworksOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworksPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworksPages indicates an expected call of ListServiceNetworksPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworksPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworksPages), arg0, arg1) -} - -// ListServiceNetworksPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworksPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 func(*vpclattice.ListServiceNetworksOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworksPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServiceNetworksPagesWithContext indicates an expected call of ListServiceNetworksPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworksPagesWithContext(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, "ListServiceNetworksPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworksPagesWithContext), varargs...) -} - -// ListServiceNetworksRequest mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworksRequest(arg0 *vpclattice.ListServiceNetworksInput) (*request.Request, *vpclattice.ListServiceNetworksOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServiceNetworksRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListServiceNetworksOutput) - return ret0, ret1 -} - -// ListServiceNetworksRequest indicates an expected call of ListServiceNetworksRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworksRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceNetworksRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworksRequest), arg0) -} - -// ListServiceNetworksWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServiceNetworksWithContext(arg0 aws.Context, arg1 *vpclattice.ListServiceNetworksInput, arg2 ...request.Option) (*vpclattice.ListServiceNetworksOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServiceNetworksWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListServiceNetworksOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServiceNetworksWithContext indicates an expected call of ListServiceNetworksWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServiceNetworksWithContext(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, "ListServiceNetworksWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServiceNetworksWithContext), varargs...) -} - -// ListServices mocks base method. -func (m *MockVpcLatticeAPI) ListServices(arg0 *vpclattice.ListServicesInput) (*vpclattice.ListServicesOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServices", arg0) - ret0, _ := ret[0].(*vpclattice.ListServicesOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServices indicates an expected call of ListServices. -func (mr *MockVpcLatticeAPIMockRecorder) ListServices(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServices", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServices), arg0) -} - -// ListServicesPages mocks base method. -func (m *MockVpcLatticeAPI) ListServicesPages(arg0 *vpclattice.ListServicesInput, arg1 func(*vpclattice.ListServicesOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServicesPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServicesPages indicates an expected call of ListServicesPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListServicesPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServicesPages), arg0, arg1) -} - -// ListServicesPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServicesPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 func(*vpclattice.ListServicesOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServicesPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListServicesPagesWithContext indicates an expected call of ListServicesPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServicesPagesWithContext(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, "ListServicesPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServicesPagesWithContext), varargs...) -} - -// ListServicesRequest mocks base method. -func (m *MockVpcLatticeAPI) ListServicesRequest(arg0 *vpclattice.ListServicesInput) (*request.Request, *vpclattice.ListServicesOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListServicesRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListServicesOutput) - return ret0, ret1 -} - -// ListServicesRequest indicates an expected call of ListServicesRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListServicesRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServicesRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServicesRequest), arg0) -} - -// ListServicesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListServicesWithContext(arg0 aws.Context, arg1 *vpclattice.ListServicesInput, arg2 ...request.Option) (*vpclattice.ListServicesOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListServicesWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListServicesOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListServicesWithContext indicates an expected call of ListServicesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListServicesWithContext(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, "ListServicesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListServicesWithContext), varargs...) -} - -// ListTagsForResource mocks base method. -func (m *MockVpcLatticeAPI) ListTagsForResource(arg0 *vpclattice.ListTagsForResourceInput) (*vpclattice.ListTagsForResourceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTagsForResource", arg0) - ret0, _ := ret[0].(*vpclattice.ListTagsForResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTagsForResource indicates an expected call of ListTagsForResource. -func (mr *MockVpcLatticeAPIMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResource", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTagsForResource), arg0) -} - -// ListTagsForResourceRequest mocks base method. -func (m *MockVpcLatticeAPI) ListTagsForResourceRequest(arg0 *vpclattice.ListTagsForResourceInput) (*request.Request, *vpclattice.ListTagsForResourceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTagsForResourceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListTagsForResourceOutput) - return ret0, ret1 -} - -// ListTagsForResourceRequest indicates an expected call of ListTagsForResourceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListTagsForResourceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResourceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTagsForResourceRequest), arg0) -} - -// ListTagsForResourceWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListTagsForResourceWithContext(arg0 aws.Context, arg1 *vpclattice.ListTagsForResourceInput, arg2 ...request.Option) (*vpclattice.ListTagsForResourceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListTagsForResourceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListTagsForResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTagsForResourceWithContext indicates an expected call of ListTagsForResourceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListTagsForResourceWithContext(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, "ListTagsForResourceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTagsForResourceWithContext), varargs...) -} - -// ListTargetGroups mocks base method. -func (m *MockVpcLatticeAPI) ListTargetGroups(arg0 *vpclattice.ListTargetGroupsInput) (*vpclattice.ListTargetGroupsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetGroups", arg0) - ret0, _ := ret[0].(*vpclattice.ListTargetGroupsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTargetGroups indicates an expected call of ListTargetGroups. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetGroups(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroups", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetGroups), arg0) -} - -// ListTargetGroupsPages mocks base method. -func (m *MockVpcLatticeAPI) ListTargetGroupsPages(arg0 *vpclattice.ListTargetGroupsInput, arg1 func(*vpclattice.ListTargetGroupsOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetGroupsPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListTargetGroupsPages indicates an expected call of ListTargetGroupsPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetGroupsPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetGroupsPages), arg0, arg1) -} - -// ListTargetGroupsPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListTargetGroupsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 func(*vpclattice.ListTargetGroupsOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListTargetGroupsPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListTargetGroupsPagesWithContext indicates an expected call of ListTargetGroupsPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetGroupsPagesWithContext(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, "ListTargetGroupsPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetGroupsPagesWithContext), varargs...) -} - -// ListTargetGroupsRequest mocks base method. -func (m *MockVpcLatticeAPI) ListTargetGroupsRequest(arg0 *vpclattice.ListTargetGroupsInput) (*request.Request, *vpclattice.ListTargetGroupsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetGroupsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListTargetGroupsOutput) - return ret0, ret1 -} - -// ListTargetGroupsRequest indicates an expected call of ListTargetGroupsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetGroupsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetGroupsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetGroupsRequest), arg0) -} - -// ListTargetGroupsWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListTargetGroupsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetGroupsInput, arg2 ...request.Option) (*vpclattice.ListTargetGroupsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListTargetGroupsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListTargetGroupsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTargetGroupsWithContext indicates an expected call of ListTargetGroupsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetGroupsWithContext(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, "ListTargetGroupsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetGroupsWithContext), varargs...) -} - -// ListTargets mocks base method. -func (m *MockVpcLatticeAPI) ListTargets(arg0 *vpclattice.ListTargetsInput) (*vpclattice.ListTargetsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargets", arg0) - ret0, _ := ret[0].(*vpclattice.ListTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTargets indicates an expected call of ListTargets. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargets(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargets", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargets), arg0) -} - -// ListTargetsPages mocks base method. -func (m *MockVpcLatticeAPI) ListTargetsPages(arg0 *vpclattice.ListTargetsInput, arg1 func(*vpclattice.ListTargetsOutput, bool) bool) error { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetsPages", arg0, arg1) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListTargetsPages indicates an expected call of ListTargetsPages. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetsPages(arg0, arg1 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsPages", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetsPages), arg0, arg1) -} - -// ListTargetsPagesWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListTargetsPagesWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 func(*vpclattice.ListTargetsOutput, bool) bool, arg3 ...request.Option) error { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} - for _, a := range arg3 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListTargetsPagesWithContext", varargs...) - ret0, _ := ret[0].(error) - return ret0 -} - -// ListTargetsPagesWithContext indicates an expected call of ListTargetsPagesWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetsPagesWithContext(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, "ListTargetsPagesWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetsPagesWithContext), varargs...) -} - -// ListTargetsRequest mocks base method. -func (m *MockVpcLatticeAPI) ListTargetsRequest(arg0 *vpclattice.ListTargetsInput) (*request.Request, *vpclattice.ListTargetsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "ListTargetsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.ListTargetsOutput) - return ret0, ret1 -} - -// ListTargetsRequest indicates an expected call of ListTargetsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetsRequest), arg0) -} - -// ListTargetsWithContext mocks base method. -func (m *MockVpcLatticeAPI) ListTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.ListTargetsInput, arg2 ...request.Option) (*vpclattice.ListTargetsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "ListTargetsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.ListTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// ListTargetsWithContext indicates an expected call of ListTargetsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) ListTargetsWithContext(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, "ListTargetsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).ListTargetsWithContext), varargs...) -} - -// PutAuthPolicy mocks base method. -func (m *MockVpcLatticeAPI) PutAuthPolicy(arg0 *vpclattice.PutAuthPolicyInput) (*vpclattice.PutAuthPolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "PutAuthPolicy", arg0) - ret0, _ := ret[0].(*vpclattice.PutAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// PutAuthPolicy indicates an expected call of PutAuthPolicy. -func (mr *MockVpcLatticeAPIMockRecorder) PutAuthPolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutAuthPolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutAuthPolicy), arg0) -} - -// PutAuthPolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) PutAuthPolicyRequest(arg0 *vpclattice.PutAuthPolicyInput) (*request.Request, *vpclattice.PutAuthPolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "PutAuthPolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.PutAuthPolicyOutput) - return ret0, ret1 -} - -// PutAuthPolicyRequest indicates an expected call of PutAuthPolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) PutAuthPolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutAuthPolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutAuthPolicyRequest), arg0) -} - -// PutAuthPolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) PutAuthPolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutAuthPolicyInput, arg2 ...request.Option) (*vpclattice.PutAuthPolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "PutAuthPolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.PutAuthPolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// PutAuthPolicyWithContext indicates an expected call of PutAuthPolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) PutAuthPolicyWithContext(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, "PutAuthPolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutAuthPolicyWithContext), varargs...) -} - -// PutResourcePolicy mocks base method. -func (m *MockVpcLatticeAPI) PutResourcePolicy(arg0 *vpclattice.PutResourcePolicyInput) (*vpclattice.PutResourcePolicyOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "PutResourcePolicy", arg0) - ret0, _ := ret[0].(*vpclattice.PutResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// PutResourcePolicy indicates an expected call of PutResourcePolicy. -func (mr *MockVpcLatticeAPIMockRecorder) PutResourcePolicy(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutResourcePolicy", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutResourcePolicy), arg0) -} - -// PutResourcePolicyRequest mocks base method. -func (m *MockVpcLatticeAPI) PutResourcePolicyRequest(arg0 *vpclattice.PutResourcePolicyInput) (*request.Request, *vpclattice.PutResourcePolicyOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "PutResourcePolicyRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.PutResourcePolicyOutput) - return ret0, ret1 -} - -// PutResourcePolicyRequest indicates an expected call of PutResourcePolicyRequest. -func (mr *MockVpcLatticeAPIMockRecorder) PutResourcePolicyRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutResourcePolicyRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutResourcePolicyRequest), arg0) -} - -// PutResourcePolicyWithContext mocks base method. -func (m *MockVpcLatticeAPI) PutResourcePolicyWithContext(arg0 aws.Context, arg1 *vpclattice.PutResourcePolicyInput, arg2 ...request.Option) (*vpclattice.PutResourcePolicyOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "PutResourcePolicyWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.PutResourcePolicyOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// PutResourcePolicyWithContext indicates an expected call of PutResourcePolicyWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) PutResourcePolicyWithContext(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, "PutResourcePolicyWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).PutResourcePolicyWithContext), varargs...) -} - -// RegisterTargets mocks base method. -func (m *MockVpcLatticeAPI) RegisterTargets(arg0 *vpclattice.RegisterTargetsInput) (*vpclattice.RegisterTargetsOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RegisterTargets", arg0) - ret0, _ := ret[0].(*vpclattice.RegisterTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// RegisterTargets indicates an expected call of RegisterTargets. -func (mr *MockVpcLatticeAPIMockRecorder) RegisterTargets(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterTargets", reflect.TypeOf((*MockVpcLatticeAPI)(nil).RegisterTargets), arg0) -} - -// RegisterTargetsRequest mocks base method. -func (m *MockVpcLatticeAPI) RegisterTargetsRequest(arg0 *vpclattice.RegisterTargetsInput) (*request.Request, *vpclattice.RegisterTargetsOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "RegisterTargetsRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.RegisterTargetsOutput) - return ret0, ret1 -} - -// RegisterTargetsRequest indicates an expected call of RegisterTargetsRequest. -func (mr *MockVpcLatticeAPIMockRecorder) RegisterTargetsRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterTargetsRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).RegisterTargetsRequest), arg0) -} - -// RegisterTargetsWithContext mocks base method. -func (m *MockVpcLatticeAPI) RegisterTargetsWithContext(arg0 aws.Context, arg1 *vpclattice.RegisterTargetsInput, arg2 ...request.Option) (*vpclattice.RegisterTargetsOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "RegisterTargetsWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.RegisterTargetsOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// RegisterTargetsWithContext indicates an expected call of RegisterTargetsWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) RegisterTargetsWithContext(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, "RegisterTargetsWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).RegisterTargetsWithContext), varargs...) -} - -// TagResource mocks base method. -func (m *MockVpcLatticeAPI) TagResource(arg0 *vpclattice.TagResourceInput) (*vpclattice.TagResourceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "TagResource", arg0) - ret0, _ := ret[0].(*vpclattice.TagResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// TagResource indicates an expected call of TagResource. -func (mr *MockVpcLatticeAPIMockRecorder) TagResource(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResource", reflect.TypeOf((*MockVpcLatticeAPI)(nil).TagResource), arg0) -} - -// TagResourceRequest mocks base method. -func (m *MockVpcLatticeAPI) TagResourceRequest(arg0 *vpclattice.TagResourceInput) (*request.Request, *vpclattice.TagResourceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "TagResourceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.TagResourceOutput) - return ret0, ret1 -} - -// TagResourceRequest indicates an expected call of TagResourceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) TagResourceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResourceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).TagResourceRequest), arg0) -} - -// TagResourceWithContext mocks base method. -func (m *MockVpcLatticeAPI) TagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.TagResourceInput, arg2 ...request.Option) (*vpclattice.TagResourceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "TagResourceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.TagResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// TagResourceWithContext indicates an expected call of TagResourceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) TagResourceWithContext(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, "TagResourceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).TagResourceWithContext), varargs...) -} - -// UntagResource mocks base method. -func (m *MockVpcLatticeAPI) UntagResource(arg0 *vpclattice.UntagResourceInput) (*vpclattice.UntagResourceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UntagResource", arg0) - ret0, _ := ret[0].(*vpclattice.UntagResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UntagResource indicates an expected call of UntagResource. -func (mr *MockVpcLatticeAPIMockRecorder) UntagResource(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResource", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UntagResource), arg0) -} - -// UntagResourceRequest mocks base method. -func (m *MockVpcLatticeAPI) UntagResourceRequest(arg0 *vpclattice.UntagResourceInput) (*request.Request, *vpclattice.UntagResourceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UntagResourceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UntagResourceOutput) - return ret0, ret1 -} - -// UntagResourceRequest indicates an expected call of UntagResourceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UntagResourceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResourceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UntagResourceRequest), arg0) -} - -// UntagResourceWithContext mocks base method. -func (m *MockVpcLatticeAPI) UntagResourceWithContext(arg0 aws.Context, arg1 *vpclattice.UntagResourceInput, arg2 ...request.Option) (*vpclattice.UntagResourceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UntagResourceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UntagResourceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UntagResourceWithContext indicates an expected call of UntagResourceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UntagResourceWithContext(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, "UntagResourceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UntagResourceWithContext), varargs...) -} - -// UpdateAccessLogSubscription mocks base method. -func (m *MockVpcLatticeAPI) UpdateAccessLogSubscription(arg0 *vpclattice.UpdateAccessLogSubscriptionInput) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateAccessLogSubscription", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateAccessLogSubscription indicates an expected call of UpdateAccessLogSubscription. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateAccessLogSubscription(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccessLogSubscription", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateAccessLogSubscription), arg0) -} - -// UpdateAccessLogSubscriptionRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateAccessLogSubscriptionRequest(arg0 *vpclattice.UpdateAccessLogSubscriptionInput) (*request.Request, *vpclattice.UpdateAccessLogSubscriptionOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateAccessLogSubscriptionRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateAccessLogSubscriptionOutput) - return ret0, ret1 -} - -// UpdateAccessLogSubscriptionRequest indicates an expected call of UpdateAccessLogSubscriptionRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateAccessLogSubscriptionRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAccessLogSubscriptionRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateAccessLogSubscriptionRequest), arg0) -} - -// UpdateAccessLogSubscriptionWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateAccessLogSubscriptionWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateAccessLogSubscriptionInput, arg2 ...request.Option) (*vpclattice.UpdateAccessLogSubscriptionOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateAccessLogSubscriptionWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateAccessLogSubscriptionOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateAccessLogSubscriptionWithContext indicates an expected call of UpdateAccessLogSubscriptionWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateAccessLogSubscriptionWithContext(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, "UpdateAccessLogSubscriptionWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateAccessLogSubscriptionWithContext), varargs...) -} - -// UpdateListener mocks base method. -func (m *MockVpcLatticeAPI) UpdateListener(arg0 *vpclattice.UpdateListenerInput) (*vpclattice.UpdateListenerOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateListener", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateListener indicates an expected call of UpdateListener. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateListener(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateListener", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateListener), arg0) -} - -// UpdateListenerRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateListenerRequest(arg0 *vpclattice.UpdateListenerInput) (*request.Request, *vpclattice.UpdateListenerOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateListenerRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateListenerOutput) - return ret0, ret1 -} - -// UpdateListenerRequest indicates an expected call of UpdateListenerRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateListenerRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateListenerRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateListenerRequest), arg0) -} - -// UpdateListenerWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateListenerWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateListenerInput, arg2 ...request.Option) (*vpclattice.UpdateListenerOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateListenerWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateListenerOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateListenerWithContext indicates an expected call of UpdateListenerWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateListenerWithContext(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, "UpdateListenerWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateListenerWithContext), varargs...) -} - -// UpdateRule mocks base method. -func (m *MockVpcLatticeAPI) UpdateRule(arg0 *vpclattice.UpdateRuleInput) (*vpclattice.UpdateRuleOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateRule", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateRule indicates an expected call of UpdateRule. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateRule(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateRule", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateRule), arg0) -} - -// UpdateRuleRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateRuleRequest(arg0 *vpclattice.UpdateRuleInput) (*request.Request, *vpclattice.UpdateRuleOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateRuleRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateRuleOutput) - return ret0, ret1 -} - -// UpdateRuleRequest indicates an expected call of UpdateRuleRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateRuleRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateRuleRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateRuleRequest), arg0) -} - -// UpdateRuleWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateRuleWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateRuleInput, arg2 ...request.Option) (*vpclattice.UpdateRuleOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateRuleWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateRuleOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateRuleWithContext indicates an expected call of UpdateRuleWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateRuleWithContext(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, "UpdateRuleWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateRuleWithContext), varargs...) -} - -// UpdateService mocks base method. -func (m *MockVpcLatticeAPI) UpdateService(arg0 *vpclattice.UpdateServiceInput) (*vpclattice.UpdateServiceOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateService", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateService indicates an expected call of UpdateService. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateService(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateService", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateService), arg0) -} - -// UpdateServiceNetwork mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetwork(arg0 *vpclattice.UpdateServiceNetworkInput) (*vpclattice.UpdateServiceNetworkOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateServiceNetwork", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateServiceNetwork indicates an expected call of UpdateServiceNetwork. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetwork(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceNetwork", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetwork), arg0) -} - -// UpdateServiceNetworkRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetworkRequest(arg0 *vpclattice.UpdateServiceNetworkInput) (*request.Request, *vpclattice.UpdateServiceNetworkOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateServiceNetworkRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateServiceNetworkOutput) - return ret0, ret1 -} - -// UpdateServiceNetworkRequest indicates an expected call of UpdateServiceNetworkRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetworkRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceNetworkRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetworkRequest), arg0) -} - -// UpdateServiceNetworkVpcAssociation mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetworkVpcAssociation(arg0 *vpclattice.UpdateServiceNetworkVpcAssociationInput) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateServiceNetworkVpcAssociation", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateServiceNetworkVpcAssociation indicates an expected call of UpdateServiceNetworkVpcAssociation. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetworkVpcAssociation(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceNetworkVpcAssociation", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetworkVpcAssociation), arg0) -} - -// UpdateServiceNetworkVpcAssociationRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetworkVpcAssociationRequest(arg0 *vpclattice.UpdateServiceNetworkVpcAssociationInput) (*request.Request, *vpclattice.UpdateServiceNetworkVpcAssociationOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateServiceNetworkVpcAssociationRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateServiceNetworkVpcAssociationOutput) - return ret0, ret1 -} - -// UpdateServiceNetworkVpcAssociationRequest indicates an expected call of UpdateServiceNetworkVpcAssociationRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetworkVpcAssociationRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceNetworkVpcAssociationRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetworkVpcAssociationRequest), arg0) -} - -// UpdateServiceNetworkVpcAssociationWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetworkVpcAssociationWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkVpcAssociationInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkVpcAssociationOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateServiceNetworkVpcAssociationWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateServiceNetworkVpcAssociationOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateServiceNetworkVpcAssociationWithContext indicates an expected call of UpdateServiceNetworkVpcAssociationWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetworkVpcAssociationWithContext(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, "UpdateServiceNetworkVpcAssociationWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetworkVpcAssociationWithContext), varargs...) -} - -// UpdateServiceNetworkWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceNetworkWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceNetworkInput, arg2 ...request.Option) (*vpclattice.UpdateServiceNetworkOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateServiceNetworkWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateServiceNetworkOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateServiceNetworkWithContext indicates an expected call of UpdateServiceNetworkWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceNetworkWithContext(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, "UpdateServiceNetworkWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceNetworkWithContext), varargs...) -} - -// UpdateServiceRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceRequest(arg0 *vpclattice.UpdateServiceInput) (*request.Request, *vpclattice.UpdateServiceOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateServiceRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateServiceOutput) - return ret0, ret1 -} - -// UpdateServiceRequest indicates an expected call of UpdateServiceRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateServiceRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceRequest), arg0) -} - -// UpdateServiceWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateServiceWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateServiceInput, arg2 ...request.Option) (*vpclattice.UpdateServiceOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateServiceWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateServiceOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateServiceWithContext indicates an expected call of UpdateServiceWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateServiceWithContext(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, "UpdateServiceWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateServiceWithContext), varargs...) -} - -// UpdateTargetGroup mocks base method. -func (m *MockVpcLatticeAPI) UpdateTargetGroup(arg0 *vpclattice.UpdateTargetGroupInput) (*vpclattice.UpdateTargetGroupOutput, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateTargetGroup", arg0) - ret0, _ := ret[0].(*vpclattice.UpdateTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateTargetGroup indicates an expected call of UpdateTargetGroup. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateTargetGroup(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateTargetGroup", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateTargetGroup), arg0) -} - -// UpdateTargetGroupRequest mocks base method. -func (m *MockVpcLatticeAPI) UpdateTargetGroupRequest(arg0 *vpclattice.UpdateTargetGroupInput) (*request.Request, *vpclattice.UpdateTargetGroupOutput) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "UpdateTargetGroupRequest", arg0) - ret0, _ := ret[0].(*request.Request) - ret1, _ := ret[1].(*vpclattice.UpdateTargetGroupOutput) - return ret0, ret1 -} - -// UpdateTargetGroupRequest indicates an expected call of UpdateTargetGroupRequest. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateTargetGroupRequest(arg0 interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateTargetGroupRequest", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateTargetGroupRequest), arg0) -} - -// UpdateTargetGroupWithContext mocks base method. -func (m *MockVpcLatticeAPI) UpdateTargetGroupWithContext(arg0 aws.Context, arg1 *vpclattice.UpdateTargetGroupInput, arg2 ...request.Option) (*vpclattice.UpdateTargetGroupOutput, error) { - m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} - for _, a := range arg2 { - varargs = append(varargs, a) - } - ret := m.ctrl.Call(m, "UpdateTargetGroupWithContext", varargs...) - ret0, _ := ret[0].(*vpclattice.UpdateTargetGroupOutput) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// UpdateTargetGroupWithContext indicates an expected call of UpdateTargetGroupWithContext. -func (mr *MockVpcLatticeAPIMockRecorder) UpdateTargetGroupWithContext(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, "UpdateTargetGroupWithContext", reflect.TypeOf((*MockVpcLatticeAPI)(nil).UpdateTargetGroupWithContext), varargs...) -} diff --git a/pkg/aws/services/vpclattice_test.go b/pkg/aws/services/vpclattice_test.go index b3aeb08c..fc452891 100644 --- a/pkg/aws/services/vpclattice_test.go +++ b/pkg/aws/services/vpclattice_test.go @@ -2,10 +2,11 @@ package services import ( "context" + "testing" + "github.com/aws/aws-sdk-go/service/vpclattice" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" - "testing" ) func Test_defaultLattice_ListServiceNetworksAsList(t *testing.T) { @@ -31,10 +32,10 @@ func Test_defaultLattice_ListServiceNetworksAsList(t *testing.T) { for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListServiceNetworksInput{ @@ -84,10 +85,10 @@ func Test_defaultLattice_ListServicesAsList(t *testing.T) { for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListServicesInput{ @@ -130,10 +131,10 @@ func Test_defaultLattice_ListTGsAsList(t *testing.T) { for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListTargetGroupsInput{ @@ -172,10 +173,10 @@ func Test_defaultLattice_ListTargetsAsList(t *testing.T) { for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListTargetsInput{ @@ -214,10 +215,10 @@ func Test_defaultLattice_ListServiceNetworkVpcAssociationsAsList(t *testing.T) { for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListServiceNetworkVpcAssociationsInput{ @@ -256,10 +257,10 @@ func Test_defaultLattice_ListServiceNetworkServiceAssociationsAsList(t *testing. for _, tt := range tests { c := gomock.NewController(t) defer c.Finish() - mockLatticeService := NewMockVpcLatticeAPI(c) + mockLatticeService := NewMockLattice(c) d := &defaultLattice{ - VpcLatticeAPI: mockLatticeService, + VPCLatticeAPI: mockLatticeService, } input := &vpclattice.ListServiceNetworkServiceAssociationsInput{ diff --git a/scripts/aws_sdk_model_override/models/apis/vpc-lattice/2022-11-30/api-2.json b/scripts/aws_sdk_model_override/models/apis/vpc-lattice/2022-11-30/api-2.json deleted file mode 100644 index 99c19ea0..00000000 --- a/scripts/aws_sdk_model_override/models/apis/vpc-lattice/2022-11-30/api-2.json +++ /dev/null @@ -1,3394 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2022-11-30", - "endpointPrefix":"vpc-lattice", - "jsonVersion":"1.1", - "protocol":"rest-json", - "ripServiceName":"vpc-lattice", - "serviceFullName":"VPC Lattice", - "serviceId":"VpcLattice", - "signatureVersion":"v4", - "signingName":"vpc-lattice", - "uid":"vpclattice-2022-11-30" - }, - "operations":{ - "BatchUpdateRule":{ - "name":"BatchUpdateRule", - "http":{ - "method":"PATCH", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - "responseCode":200 - }, - "input":{"shape":"BatchUpdateRuleRequest"}, - "output":{"shape":"BatchUpdateRuleResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateAccessLogSubscription":{ - "name":"CreateAccessLogSubscription", - "http":{ - "method":"POST", - "requestUri":"/accesslogsubscriptions", - "responseCode":201 - }, - "input":{"shape":"CreateAccessLogSubscriptionRequest"}, - "output":{"shape":"CreateAccessLogSubscriptionResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateListener":{ - "name":"CreateListener", - "http":{ - "method":"POST", - "requestUri":"/services/{serviceIdentifier}/listeners", - "responseCode":201 - }, - "input":{"shape":"CreateListenerRequest"}, - "output":{"shape":"CreateListenerResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateRule":{ - "name":"CreateRule", - "http":{ - "method":"POST", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - "responseCode":201 - }, - "input":{"shape":"CreateRuleRequest"}, - "output":{"shape":"CreateRuleResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateService":{ - "name":"CreateService", - "http":{ - "method":"POST", - "requestUri":"/services", - "responseCode":201 - }, - "input":{"shape":"CreateServiceRequest"}, - "output":{"shape":"CreateServiceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateServiceNetwork":{ - "name":"CreateServiceNetwork", - "http":{ - "method":"POST", - "requestUri":"/servicenetworks", - "responseCode":201 - }, - "input":{"shape":"CreateServiceNetworkRequest"}, - "output":{"shape":"CreateServiceNetworkResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateServiceNetworkServiceAssociation":{ - "name":"CreateServiceNetworkServiceAssociation", - "http":{ - "method":"POST", - "requestUri":"/servicenetworkserviceassociations", - "responseCode":200 - }, - "input":{"shape":"CreateServiceNetworkServiceAssociationRequest"}, - "output":{"shape":"CreateServiceNetworkServiceAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateServiceNetworkVpcAssociation":{ - "name":"CreateServiceNetworkVpcAssociation", - "http":{ - "method":"POST", - "requestUri":"/servicenetworkvpcassociations", - "responseCode":200 - }, - "input":{"shape":"CreateServiceNetworkVpcAssociationRequest"}, - "output":{"shape":"CreateServiceNetworkVpcAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "CreateTargetGroup":{ - "name":"CreateTargetGroup", - "http":{ - "method":"POST", - "requestUri":"/targetgroups", - "responseCode":201 - }, - "input":{"shape":"CreateTargetGroupRequest"}, - "output":{"shape":"CreateTargetGroupResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteAccessLogSubscription":{ - "name":"DeleteAccessLogSubscription", - "http":{ - "method":"DELETE", - "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - "responseCode":204 - }, - "input":{"shape":"DeleteAccessLogSubscriptionRequest"}, - "output":{"shape":"DeleteAccessLogSubscriptionResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteAuthPolicy":{ - "name":"DeleteAuthPolicy", - "http":{ - "method":"DELETE", - "requestUri":"/authpolicy/{resourceIdentifier}", - "responseCode":204 - }, - "input":{"shape":"DeleteAuthPolicyRequest"}, - "output":{"shape":"DeleteAuthPolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteListener":{ - "name":"DeleteListener", - "http":{ - "method":"DELETE", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", - "responseCode":204 - }, - "input":{"shape":"DeleteListenerRequest"}, - "output":{"shape":"DeleteListenerResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteResourcePolicy":{ - "name":"DeleteResourcePolicy", - "http":{ - "method":"DELETE", - "requestUri":"/resourcepolicy/{resourceArn}", - "responseCode":204 - }, - "input":{"shape":"DeleteResourcePolicyRequest"}, - "output":{"shape":"DeleteResourcePolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteRule":{ - "name":"DeleteRule", - "http":{ - "method":"DELETE", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - "responseCode":204 - }, - "input":{"shape":"DeleteRuleRequest"}, - "output":{"shape":"DeleteRuleResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteService":{ - "name":"DeleteService", - "http":{ - "method":"DELETE", - "requestUri":"/services/{serviceIdentifier}", - "responseCode":200 - }, - "input":{"shape":"DeleteServiceRequest"}, - "output":{"shape":"DeleteServiceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteServiceNetwork":{ - "name":"DeleteServiceNetwork", - "http":{ - "method":"DELETE", - "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", - "responseCode":204 - }, - "input":{"shape":"DeleteServiceNetworkRequest"}, - "output":{"shape":"DeleteServiceNetworkResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteServiceNetworkServiceAssociation":{ - "name":"DeleteServiceNetworkServiceAssociation", - "http":{ - "method":"DELETE", - "requestUri":"/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", - "responseCode":200 - }, - "input":{"shape":"DeleteServiceNetworkServiceAssociationRequest"}, - "output":{"shape":"DeleteServiceNetworkServiceAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteServiceNetworkVpcAssociation":{ - "name":"DeleteServiceNetworkVpcAssociation", - "http":{ - "method":"DELETE", - "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - "responseCode":200 - }, - "input":{"shape":"DeleteServiceNetworkVpcAssociationRequest"}, - "output":{"shape":"DeleteServiceNetworkVpcAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeleteTargetGroup":{ - "name":"DeleteTargetGroup", - "http":{ - "method":"DELETE", - "requestUri":"/targetgroups/{targetGroupIdentifier}", - "responseCode":200 - }, - "input":{"shape":"DeleteTargetGroupRequest"}, - "output":{"shape":"DeleteTargetGroupResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "DeregisterTargets":{ - "name":"DeregisterTargets", - "http":{ - "method":"POST", - "requestUri":"/targetgroups/{targetGroupIdentifier}/deregistertargets", - "responseCode":200 - }, - "input":{"shape":"DeregisterTargetsRequest"}, - "output":{"shape":"DeregisterTargetsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "GetAccessLogSubscription":{ - "name":"GetAccessLogSubscription", - "http":{ - "method":"GET", - "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetAccessLogSubscriptionRequest"}, - "output":{"shape":"GetAccessLogSubscriptionResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetAuthPolicy":{ - "name":"GetAuthPolicy", - "http":{ - "method":"GET", - "requestUri":"/authpolicy/{resourceIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetAuthPolicyRequest"}, - "output":{"shape":"GetAuthPolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetListener":{ - "name":"GetListener", - "http":{ - "method":"GET", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetListenerRequest"}, - "output":{"shape":"GetListenerResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetResourcePolicy":{ - "name":"GetResourcePolicy", - "http":{ - "method":"GET", - "requestUri":"/resourcepolicy/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"GetResourcePolicyRequest"}, - "output":{"shape":"GetResourcePolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetRule":{ - "name":"GetRule", - "http":{ - "method":"GET", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetRuleRequest"}, - "output":{"shape":"GetRuleResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetService":{ - "name":"GetService", - "http":{ - "method":"GET", - "requestUri":"/services/{serviceIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetServiceRequest"}, - "output":{"shape":"GetServiceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetServiceNetwork":{ - "name":"GetServiceNetwork", - "http":{ - "method":"GET", - "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetServiceNetworkRequest"}, - "output":{"shape":"GetServiceNetworkResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetServiceNetworkServiceAssociation":{ - "name":"GetServiceNetworkServiceAssociation", - "http":{ - "method":"GET", - "requestUri":"/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetServiceNetworkServiceAssociationRequest"}, - "output":{"shape":"GetServiceNetworkServiceAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetServiceNetworkVpcAssociation":{ - "name":"GetServiceNetworkVpcAssociation", - "http":{ - "method":"GET", - "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetServiceNetworkVpcAssociationRequest"}, - "output":{"shape":"GetServiceNetworkVpcAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "GetTargetGroup":{ - "name":"GetTargetGroup", - "http":{ - "method":"GET", - "requestUri":"/targetgroups/{targetGroupIdentifier}", - "responseCode":200 - }, - "input":{"shape":"GetTargetGroupRequest"}, - "output":{"shape":"GetTargetGroupResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "ListAccessLogSubscriptions":{ - "name":"ListAccessLogSubscriptions", - "http":{ - "method":"GET", - "requestUri":"/accesslogsubscriptions", - "responseCode":200 - }, - "input":{"shape":"ListAccessLogSubscriptionsRequest"}, - "output":{"shape":"ListAccessLogSubscriptionsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListListeners":{ - "name":"ListListeners", - "http":{ - "method":"GET", - "requestUri":"/services/{serviceIdentifier}/listeners", - "responseCode":200 - }, - "input":{"shape":"ListListenersRequest"}, - "output":{"shape":"ListListenersResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "ListRules":{ - "name":"ListRules", - "http":{ - "method":"GET", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - "responseCode":200 - }, - "input":{"shape":"ListRulesRequest"}, - "output":{"shape":"ListRulesResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "ListServiceNetworkServiceAssociations":{ - "name":"ListServiceNetworkServiceAssociations", - "http":{ - "method":"GET", - "requestUri":"/servicenetworkserviceassociations", - "responseCode":200 - }, - "input":{"shape":"ListServiceNetworkServiceAssociationsRequest"}, - "output":{"shape":"ListServiceNetworkServiceAssociationsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListServiceNetworkVpcAssociations":{ - "name":"ListServiceNetworkVpcAssociations", - "http":{ - "method":"GET", - "requestUri":"/servicenetworkvpcassociations", - "responseCode":200 - }, - "input":{"shape":"ListServiceNetworkVpcAssociationsRequest"}, - "output":{"shape":"ListServiceNetworkVpcAssociationsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListServiceNetworks":{ - "name":"ListServiceNetworks", - "http":{ - "method":"GET", - "requestUri":"/servicenetworks", - "responseCode":200 - }, - "input":{"shape":"ListServiceNetworksRequest"}, - "output":{"shape":"ListServiceNetworksResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListServices":{ - "name":"ListServices", - "http":{ - "method":"GET", - "requestUri":"/services", - "responseCode":200 - }, - "input":{"shape":"ListServicesRequest"}, - "output":{"shape":"ListServicesResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "ListTargetGroups":{ - "name":"ListTargetGroups", - "http":{ - "method":"GET", - "requestUri":"/targetgroups", - "responseCode":200 - }, - "input":{"shape":"ListTargetGroupsRequest"}, - "output":{"shape":"ListTargetGroupsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ] - }, - "ListTargets":{ - "name":"ListTargets", - "http":{ - "method":"POST", - "requestUri":"/targetgroups/{targetGroupIdentifier}/listtargets", - "responseCode":200 - }, - "input":{"shape":"ListTargetsRequest"}, - "output":{"shape":"ListTargetsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "PutAuthPolicy":{ - "name":"PutAuthPolicy", - "http":{ - "method":"PUT", - "requestUri":"/authpolicy/{resourceIdentifier}", - "responseCode":200 - }, - "input":{"shape":"PutAuthPolicyRequest"}, - "output":{"shape":"PutAuthPolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "PutResourcePolicy":{ - "name":"PutResourcePolicy", - "http":{ - "method":"PUT", - "requestUri":"/resourcepolicy/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"PutResourcePolicyRequest"}, - "output":{"shape":"PutResourcePolicyResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "RegisterTargets":{ - "name":"RegisterTargets", - "http":{ - "method":"POST", - "requestUri":"/targetgroups/{targetGroupIdentifier}/registertargets", - "responseCode":200 - }, - "input":{"shape":"RegisterTargetsRequest"}, - "output":{"shape":"RegisterTargetsResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"InternalServerException"} - ] - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ] - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}", - "responseCode":200 - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateAccessLogSubscription":{ - "name":"UpdateAccessLogSubscription", - "http":{ - "method":"PATCH", - "requestUri":"/accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateAccessLogSubscriptionRequest"}, - "output":{"shape":"UpdateAccessLogSubscriptionResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateListener":{ - "name":"UpdateListener", - "http":{ - "method":"PATCH", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateListenerRequest"}, - "output":{"shape":"UpdateListenerResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateRule":{ - "name":"UpdateRule", - "http":{ - "method":"PATCH", - "requestUri":"/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateRuleRequest"}, - "output":{"shape":"UpdateRuleResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateService":{ - "name":"UpdateService", - "http":{ - "method":"PATCH", - "requestUri":"/services/{serviceIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateServiceRequest"}, - "output":{"shape":"UpdateServiceResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ] - }, - "UpdateServiceNetwork":{ - "name":"UpdateServiceNetwork", - "http":{ - "method":"PATCH", - "requestUri":"/servicenetworks/{serviceNetworkIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateServiceNetworkRequest"}, - "output":{"shape":"UpdateServiceNetworkResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateServiceNetworkVpcAssociation":{ - "name":"UpdateServiceNetworkVpcAssociation", - "http":{ - "method":"PATCH", - "requestUri":"/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateServiceNetworkVpcAssociationRequest"}, - "output":{"shape":"UpdateServiceNetworkVpcAssociationResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - }, - "UpdateTargetGroup":{ - "name":"UpdateTargetGroup", - "http":{ - "method":"PATCH", - "requestUri":"/targetgroups/{targetGroupIdentifier}", - "responseCode":200 - }, - "input":{"shape":"UpdateTargetGroupRequest"}, - "output":{"shape":"UpdateTargetGroupResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "idempotent":true - } - }, - "shapes":{ - "AccessDeniedException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"} - }, - "error":{ - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - "AccessLogDestinationArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$" - }, - "AccessLogSubscriptionArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:accesslogsubscription/als-[0-9a-z]{17}$" - }, - "AccessLogSubscriptionId":{ - "type":"string", - "max":21, - "min":21, - "pattern":"^als-[0-9a-z]{17}$" - }, - "AccessLogSubscriptionIdentifier":{ - "type":"string", - "max":2048, - "min":17, - "pattern":"^((als-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:accesslogsubscription/als-[0-9a-z]{17}))$" - }, - "AccessLogSubscriptionList":{ - "type":"list", - "member":{"shape":"AccessLogSubscriptionSummary"} - }, - "AccessLogSubscriptionSummary":{ - "type":"structure", - "required":[ - "arn", - "createdAt", - "destinationArn", - "id", - "lastUpdatedAt", - "resourceArn", - "resourceId" - ], - "members":{ - "arn":{"shape":"AccessLogSubscriptionArn"}, - "createdAt":{"shape":"Timestamp"}, - "destinationArn":{"shape":"AccessLogDestinationArn"}, - "id":{"shape":"AccessLogSubscriptionId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "resourceArn":{"shape":"ResourceArn"}, - "resourceId":{"shape":"ResourceId"} - } - }, - "AccountId":{ - "type":"string", - "max":12, - "min":1, - "pattern":"^[0-9]{12}$" - }, - "Arn":{ - "type":"string", - "max":1224, - "min":0, - "pattern":"^arn:[a-z0-9][-.a-z0-9]{0,62}:vpc-lattice:([a-z0-9][-.a-z0-9]{0,62})?:\\d{12}?:[^/].{0,1023}$" - }, - "AuthPolicyState":{ - "type":"string", - "enum":[ - "Active", - "Inactive" - ] - }, - "AuthPolicyString":{ - "type":"string", - "max":10000, - "min":0, - "pattern":"^.*\\S.*$" - }, - "AuthType":{ - "type":"string", - "enum":[ - "NONE", - "AWS_IAM" - ] - }, - "BatchUpdateRuleRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "rules", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "rules":{"shape":"RuleUpdateList"}, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "BatchUpdateRuleResponse":{ - "type":"structure", - "members":{ - "successful":{"shape":"RuleUpdateSuccessList"}, - "unsuccessful":{"shape":"RuleUpdateFailureList"} - } - }, - "Boolean":{ - "type":"boolean", - "box":true - }, - "CertificateArn":{ - "type":"string", - "max":2048, - "min":0, - "pattern":"^(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:certificate/[0-9a-z-]+)?$" - }, - "ClientToken":{ - "type":"string", - "max":64, - "min":1, - "pattern":"[!-~]+" - }, - "ConflictException":{ - "type":"structure", - "required":[ - "message", - "resourceId", - "resourceType" - ], - "members":{ - "message":{"shape":"String"}, - "resourceId":{"shape":"String"}, - "resourceType":{"shape":"String"} - }, - "error":{ - "httpStatusCode":409, - "senderFault":true - }, - "exception":true - }, - "CreateAccessLogSubscriptionRequest":{ - "type":"structure", - "required":[ - "destinationArn", - "resourceIdentifier" - ], - "members":{ - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "destinationArn":{"shape":"AccessLogDestinationArn"}, - "resourceIdentifier":{"shape":"ResourceIdentifier"}, - "tags":{"shape":"TagMap"} - } - }, - "CreateAccessLogSubscriptionResponse":{ - "type":"structure", - "required":[ - "arn", - "destinationArn", - "id", - "resourceArn", - "resourceId" - ], - "members":{ - "arn":{"shape":"AccessLogSubscriptionArn"}, - "destinationArn":{"shape":"AccessLogDestinationArn"}, - "id":{"shape":"AccessLogSubscriptionId"}, - "resourceArn":{"shape":"ResourceArn"}, - "resourceId":{"shape":"ResourceId"} - } - }, - "CreateListenerRequest":{ - "type":"structure", - "required":[ - "defaultAction", - "name", - "protocol", - "serviceIdentifier" - ], - "members":{ - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "defaultAction":{"shape":"RuleAction"}, - "name":{"shape":"ListenerName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"ListenerProtocol"}, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - }, - "tags":{"shape":"TagMap"} - } - }, - "CreateListenerResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ListenerArn"}, - "defaultAction":{"shape":"RuleAction"}, - "id":{"shape":"ListenerId"}, - "name":{"shape":"ListenerName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"ListenerProtocol"}, - "serviceArn":{"shape":"ServiceArn"}, - "serviceId":{"shape":"ServiceId"} - } - }, - "CreateRuleRequest":{ - "type":"structure", - "required":[ - "action", - "listenerIdentifier", - "match", - "name", - "priority", - "serviceIdentifier" - ], - "members":{ - "action":{"shape":"RuleAction"}, - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "match":{"shape":"RuleMatch"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"}, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - }, - "tags":{"shape":"TagMap"} - } - }, - "CreateRuleResponse":{ - "type":"structure", - "members":{ - "action":{"shape":"RuleAction"}, - "arn":{"shape":"RuleArn"}, - "id":{"shape":"RuleId"}, - "match":{"shape":"RuleMatch"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"} - } - }, - "CreateServiceNetworkRequest":{ - "type":"structure", - "required":["name"], - "members":{ - "authType":{"shape":"AuthType"}, - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "name":{"shape":"ServiceNetworkName"}, - "tags":{"shape":"TagMap"} - } - }, - "CreateServiceNetworkResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkArn"}, - "authType":{"shape":"AuthType"}, - "id":{"shape":"ServiceNetworkId"}, - "name":{"shape":"ServiceNetworkName"} - } - }, - "CreateServiceNetworkServiceAssociationRequest":{ - "type":"structure", - "required":[ - "serviceIdentifier", - "serviceNetworkIdentifier" - ], - "members":{ - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "serviceIdentifier":{"shape":"ServiceIdentifier"}, - "serviceNetworkIdentifier":{"shape":"ServiceNetworkIdentifier"}, - "tags":{"shape":"TagMap"} - } - }, - "CreateServiceNetworkServiceAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkServiceAssociationArn"}, - "createdBy":{"shape":"AccountId"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "id":{"shape":"ServiceNetworkServiceAssociationIdentifier"}, - "status":{"shape":"ServiceNetworkServiceAssociationStatus"} - } - }, - "CreateServiceNetworkVpcAssociationRequest":{ - "type":"structure", - "required":[ - "serviceNetworkIdentifier", - "vpcIdentifier" - ], - "members":{ - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "securityGroupIds":{"shape":"CreateServiceNetworkVpcAssociationRequestSecurityGroupIdsList"}, - "serviceNetworkIdentifier":{"shape":"ServiceNetworkIdentifier"}, - "tags":{"shape":"TagMap"}, - "vpcIdentifier":{"shape":"VpcId"} - } - }, - "CreateServiceNetworkVpcAssociationRequestSecurityGroupIdsList":{ - "type":"list", - "member":{"shape":"SecurityGroupId"}, - "max":5, - "min":0 - }, - "CreateServiceNetworkVpcAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkVpcAssociationArn"}, - "createdBy":{"shape":"AccountId"}, - "id":{"shape":"ServiceNetworkVpcAssociationId"}, - "securityGroupIds":{"shape":"SecurityGroupList"}, - "status":{"shape":"ServiceNetworkVpcAssociationStatus"} - } - }, - "CreateServiceRequest":{ - "type":"structure", - "required":["name"], - "members":{ - "authType":{"shape":"AuthType"}, - "certificateArn":{"shape":"CertificateArn"}, - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "name":{"shape":"ServiceName"}, - "tags":{"shape":"TagMap"} - } - }, - "CreateServiceResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceArn"}, - "authType":{"shape":"AuthType"}, - "certificateArn":{"shape":"CertificateArn"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "id":{"shape":"ServiceId"}, - "name":{"shape":"ServiceName"}, - "status":{"shape":"ServiceStatus"} - } - }, - "CreateTargetGroupRequest":{ - "type":"structure", - "required":[ - "name", - "type" - ], - "members":{ - "clientToken":{ - "shape":"ClientToken", - "idempotencyToken":true - }, - "config":{"shape":"TargetGroupConfig"}, - "name":{"shape":"TargetGroupName"}, - "tags":{"shape":"TagMap"}, - "type":{"shape":"TargetGroupType"} - } - }, - "CreateTargetGroupResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"TargetGroupArn"}, - "config":{"shape":"TargetGroupConfig"}, - "id":{"shape":"TargetGroupId"}, - "name":{"shape":"TargetGroupName"}, - "status":{"shape":"TargetGroupStatus"}, - "type":{"shape":"TargetGroupType"} - } - }, - "DeleteAccessLogSubscriptionRequest":{ - "type":"structure", - "required":["accessLogSubscriptionIdentifier"], - "members":{ - "accessLogSubscriptionIdentifier":{ - "shape":"AccessLogSubscriptionIdentifier", - "location":"uri", - "locationName":"accessLogSubscriptionIdentifier" - } - } - }, - "DeleteAccessLogSubscriptionResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteAuthPolicyRequest":{ - "type":"structure", - "required":["resourceIdentifier"], - "members":{ - "resourceIdentifier":{ - "shape":"ResourceIdentifier", - "location":"uri", - "locationName":"resourceIdentifier" - } - } - }, - "DeleteAuthPolicyResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteListenerRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "DeleteListenerResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteResourcePolicyRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"ResourceArn", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "DeleteResourcePolicyResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteRuleRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "ruleIdentifier", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "ruleIdentifier":{ - "shape":"RuleIdentifier", - "location":"uri", - "locationName":"ruleIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "DeleteRuleResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteServiceNetworkRequest":{ - "type":"structure", - "required":["serviceNetworkIdentifier"], - "members":{ - "serviceNetworkIdentifier":{ - "shape":"ServiceNetworkIdentifier", - "location":"uri", - "locationName":"serviceNetworkIdentifier" - } - } - }, - "DeleteServiceNetworkResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteServiceNetworkServiceAssociationRequest":{ - "type":"structure", - "required":["serviceNetworkServiceAssociationIdentifier"], - "members":{ - "serviceNetworkServiceAssociationIdentifier":{ - "shape":"ServiceNetworkServiceAssociationIdentifier", - "location":"uri", - "locationName":"serviceNetworkServiceAssociationIdentifier" - } - } - }, - "DeleteServiceNetworkServiceAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkServiceAssociationArn"}, - "id":{"shape":"ServiceNetworkServiceAssociationIdentifier"}, - "status":{"shape":"ServiceNetworkServiceAssociationStatus"} - } - }, - "DeleteServiceNetworkVpcAssociationRequest":{ - "type":"structure", - "required":["serviceNetworkVpcAssociationIdentifier"], - "members":{ - "serviceNetworkVpcAssociationIdentifier":{ - "shape":"ServiceNetworkVpcAssociationIdentifier", - "location":"uri", - "locationName":"serviceNetworkVpcAssociationIdentifier" - } - } - }, - "DeleteServiceNetworkVpcAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkVpcAssociationArn"}, - "id":{"shape":"ServiceNetworkVpcAssociationId"}, - "status":{"shape":"ServiceNetworkVpcAssociationStatus"} - } - }, - "DeleteServiceRequest":{ - "type":"structure", - "required":["serviceIdentifier"], - "members":{ - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "DeleteServiceResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceArn"}, - "id":{"shape":"ServiceId"}, - "name":{"shape":"ServiceName"}, - "status":{"shape":"ServiceStatus"} - } - }, - "DeleteTargetGroupRequest":{ - "type":"structure", - "required":["targetGroupIdentifier"], - "members":{ - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - } - } - }, - "DeleteTargetGroupResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"TargetGroupArn"}, - "id":{"shape":"TargetGroupId"}, - "status":{"shape":"TargetGroupStatus"} - } - }, - "DeregisterTargetsRequest":{ - "type":"structure", - "required":[ - "targetGroupIdentifier", - "targets" - ], - "members":{ - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - }, - "targets":{"shape":"DeregisterTargetsRequestTargetsList"} - } - }, - "DeregisterTargetsRequestTargetsList":{ - "type":"list", - "member":{"shape":"Target"}, - "max":100, - "min":1 - }, - "DeregisterTargetsResponse":{ - "type":"structure", - "members":{ - "successful":{"shape":"TargetList"}, - "unsuccessful":{"shape":"TargetFailureList"} - } - }, - "DnsEntry":{ - "type":"structure", - "members":{ - "domainName":{"shape":"String"}, - "hostedZoneId":{"shape":"String"} - } - }, - "FailureCode":{"type":"string"}, - "FailureMessage":{"type":"string"}, - "FixedResponseAction":{ - "type":"structure", - "required":["statusCode"], - "members":{ - "statusCode":{"shape":"HttpStatusCode"} - } - }, - "ForwardAction":{ - "type":"structure", - "required":["targetGroups"], - "members":{ - "targetGroups":{"shape":"WeightedTargetGroupList"} - } - }, - "GetAccessLogSubscriptionRequest":{ - "type":"structure", - "required":["accessLogSubscriptionIdentifier"], - "members":{ - "accessLogSubscriptionIdentifier":{ - "shape":"AccessLogSubscriptionIdentifier", - "location":"uri", - "locationName":"accessLogSubscriptionIdentifier" - } - } - }, - "GetAccessLogSubscriptionResponse":{ - "type":"structure", - "required":[ - "arn", - "createdAt", - "destinationArn", - "id", - "lastUpdatedAt", - "resourceArn", - "resourceId" - ], - "members":{ - "arn":{"shape":"AccessLogSubscriptionArn"}, - "createdAt":{"shape":"Timestamp"}, - "destinationArn":{"shape":"AccessLogDestinationArn"}, - "id":{"shape":"AccessLogSubscriptionId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "resourceArn":{"shape":"ResourceArn"}, - "resourceId":{"shape":"ResourceId"} - } - }, - "GetAuthPolicyRequest":{ - "type":"structure", - "required":["resourceIdentifier"], - "members":{ - "resourceIdentifier":{ - "shape":"ResourceIdentifier", - "location":"uri", - "locationName":"resourceIdentifier" - } - } - }, - "GetAuthPolicyResponse":{ - "type":"structure", - "members":{ - "createdAt":{"shape":"Timestamp"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "policy":{"shape":"AuthPolicyString"}, - "state":{"shape":"AuthPolicyState"} - } - }, - "GetListenerRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "GetListenerResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ListenerArn"}, - "createdAt":{"shape":"Timestamp"}, - "defaultAction":{"shape":"RuleAction"}, - "id":{"shape":"ListenerId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ListenerName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"ListenerProtocol"}, - "serviceArn":{"shape":"ServiceArn"}, - "serviceId":{"shape":"ServiceId"} - } - }, - "GetResourcePolicyRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"ResourceArn", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "GetResourcePolicyResponse":{ - "type":"structure", - "members":{ - "policy":{"shape":"PolicyString"} - } - }, - "GetRuleRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "ruleIdentifier", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "ruleIdentifier":{ - "shape":"RuleIdentifier", - "location":"uri", - "locationName":"ruleIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "GetRuleResponse":{ - "type":"structure", - "members":{ - "action":{"shape":"RuleAction"}, - "arn":{"shape":"RuleArn"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"RuleId"}, - "isDefault":{"shape":"Boolean"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "match":{"shape":"RuleMatch"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"} - } - }, - "GetServiceNetworkRequest":{ - "type":"structure", - "required":["serviceNetworkIdentifier"], - "members":{ - "serviceNetworkIdentifier":{ - "shape":"ServiceNetworkIdentifier", - "location":"uri", - "locationName":"serviceNetworkIdentifier" - } - } - }, - "GetServiceNetworkResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkArn"}, - "authType":{"shape":"AuthType"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"ServiceNetworkId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ServiceNetworkName"}, - "numberOfAssociatedServices":{"shape":"Long"}, - "numberOfAssociatedVPCs":{"shape":"Long"} - } - }, - "GetServiceNetworkServiceAssociationRequest":{ - "type":"structure", - "required":["serviceNetworkServiceAssociationIdentifier"], - "members":{ - "serviceNetworkServiceAssociationIdentifier":{ - "shape":"ServiceNetworkServiceAssociationIdentifier", - "location":"uri", - "locationName":"serviceNetworkServiceAssociationIdentifier" - } - } - }, - "GetServiceNetworkServiceAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkServiceAssociationArn"}, - "createdAt":{"shape":"Timestamp"}, - "createdBy":{"shape":"AccountId"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "failureCode":{"shape":"String"}, - "failureMessage":{"shape":"String"}, - "id":{"shape":"ServiceNetworkServiceAssociationIdentifier"}, - "serviceArn":{"shape":"ServiceArn"}, - "serviceId":{"shape":"ServiceId"}, - "serviceName":{"shape":"ServiceName"}, - "serviceNetworkArn":{"shape":"ServiceNetworkArn"}, - "serviceNetworkId":{"shape":"ServiceNetworkId"}, - "serviceNetworkName":{"shape":"ServiceNetworkName"}, - "status":{"shape":"ServiceNetworkServiceAssociationStatus"} - } - }, - "GetServiceNetworkVpcAssociationRequest":{ - "type":"structure", - "required":["serviceNetworkVpcAssociationIdentifier"], - "members":{ - "serviceNetworkVpcAssociationIdentifier":{ - "shape":"ServiceNetworkVpcAssociationIdentifier", - "location":"uri", - "locationName":"serviceNetworkVpcAssociationIdentifier" - } - } - }, - "GetServiceNetworkVpcAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkVpcAssociationArn"}, - "createdAt":{"shape":"Timestamp"}, - "createdBy":{"shape":"AccountId"}, - "failureCode":{"shape":"String"}, - "failureMessage":{"shape":"String"}, - "id":{"shape":"ServiceNetworkVpcAssociationId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "securityGroupIds":{"shape":"SecurityGroupList"}, - "serviceNetworkArn":{"shape":"ServiceNetworkArn"}, - "serviceNetworkId":{"shape":"ServiceNetworkId"}, - "serviceNetworkName":{"shape":"ServiceNetworkName"}, - "status":{"shape":"ServiceNetworkVpcAssociationStatus"}, - "vpcId":{"shape":"VpcId"} - } - }, - "GetServiceRequest":{ - "type":"structure", - "required":["serviceIdentifier"], - "members":{ - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "GetServiceResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceArn"}, - "authType":{"shape":"AuthType"}, - "certificateArn":{"shape":"CertificateArn"}, - "createdAt":{"shape":"Timestamp"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "failureCode":{"shape":"FailureCode"}, - "failureMessage":{"shape":"FailureMessage"}, - "id":{"shape":"ServiceId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ServiceName"}, - "status":{"shape":"ServiceStatus"} - } - }, - "GetTargetGroupRequest":{ - "type":"structure", - "required":["targetGroupIdentifier"], - "members":{ - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - } - } - }, - "GetTargetGroupResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"TargetGroupArn"}, - "config":{"shape":"TargetGroupConfig"}, - "createdAt":{"shape":"Timestamp"}, - "failureCode":{"shape":"String"}, - "failureMessage":{"shape":"String"}, - "id":{"shape":"TargetGroupId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"TargetGroupName"}, - "serviceArns":{"shape":"ServiceArnList"}, - "status":{"shape":"TargetGroupStatus"}, - "type":{"shape":"TargetGroupType"} - } - }, - "HeaderMatch":{ - "type":"structure", - "required":[ - "match", - "name" - ], - "members":{ - "caseSensitive":{"shape":"Boolean"}, - "match":{"shape":"HeaderMatchType"}, - "name":{"shape":"HeaderMatchName"} - } - }, - "HeaderMatchContains":{ - "type":"string", - "max":200, - "min":1 - }, - "HeaderMatchExact":{ - "type":"string", - "max":200, - "min":1 - }, - "HeaderMatchList":{ - "type":"list", - "member":{"shape":"HeaderMatch"}, - "max":5, - "min":1 - }, - "HeaderMatchName":{ - "type":"string", - "max":100, - "min":1 - }, - "HeaderMatchPrefix":{ - "type":"string", - "max":200, - "min":1 - }, - "HeaderMatchType":{ - "type":"structure", - "members":{ - "contains":{"shape":"HeaderMatchContains"}, - "exact":{"shape":"HeaderMatchExact"}, - "prefix":{"shape":"HeaderMatchPrefix"} - }, - "union":true - }, - "HealthCheckConfig":{ - "type":"structure", - "members":{ - "enabled":{"shape":"Boolean"}, - "healthCheckIntervalSeconds":{"shape":"HealthCheckIntervalSeconds"}, - "healthCheckTimeoutSeconds":{"shape":"HealthCheckTimeoutSeconds"}, - "healthyThresholdCount":{"shape":"HealthyThresholdCount"}, - "matcher":{"shape":"Matcher"}, - "path":{"shape":"HealthCheckPath"}, - "port":{"shape":"HealthCheckPort"}, - "protocol":{"shape":"TargetGroupProtocol"}, - "protocolVersion":{"shape":"HealthCheckProtocolVersion"}, - "unhealthyThresholdCount":{"shape":"UnhealthyThresholdCount"} - } - }, - "HealthCheckIntervalSeconds":{ - "type":"integer", - "box":true, - "max":300, - "min":0 - }, - "HealthCheckPath":{ - "type":"string", - "max":2048, - "min":0, - "pattern":"(^/[a-zA-Z0-9@:%_+.~#?&/=-]*$|(^$))" - }, - "HealthCheckPort":{ - "type":"integer", - "box":true, - "max":65535, - "min":0 - }, - "HealthCheckProtocolVersion":{ - "type":"string", - "enum":[ - "HTTP1", - "HTTP2" - ] - }, - "HealthCheckTimeoutSeconds":{ - "type":"integer", - "box":true, - "max":120, - "min":0 - }, - "HealthyThresholdCount":{ - "type":"integer", - "box":true, - "max":10, - "min":0 - }, - "HttpCodeMatcher":{ - "type":"string", - "max":2000, - "min":0, - "pattern":"(^[0-9-,]+$|(^$))" - }, - "HttpMatch":{ - "type":"structure", - "members":{ - "headerMatches":{"shape":"HeaderMatchList"}, - "method":{"shape":"HttpMethod"}, - "pathMatch":{"shape":"PathMatch"} - } - }, - "HttpMethod":{ - "type":"string", - "max":16, - "min":0 - }, - "HttpStatusCode":{ - "type":"integer", - "box":true, - "max":599, - "min":100 - }, - "Integer":{ - "type":"integer", - "box":true - }, - "InternalServerException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "retryAfterSeconds":{ - "shape":"Integer", - "location":"header", - "locationName":"Retry-After" - } - }, - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true, - "retryable":{"throttling":false} - }, - "IpAddressType":{ - "type":"string", - "enum":[ - "IPV4", - "IPV6" - ] - }, - "ListAccessLogSubscriptionsRequest":{ - "type":"structure", - "required":["resourceIdentifier"], - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "resourceIdentifier":{ - "shape":"ResourceIdentifier", - "location":"querystring", - "locationName":"resourceIdentifier" - } - } - }, - "ListAccessLogSubscriptionsResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"AccessLogSubscriptionList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListListenersRequest":{ - "type":"structure", - "required":["serviceIdentifier"], - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "ListListenersResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"ListenerSummaryList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListRulesRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "serviceIdentifier" - ], - "members":{ - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "ListRulesResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"RuleSummaryList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListServiceNetworkServiceAssociationsRequest":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"querystring", - "locationName":"serviceIdentifier" - }, - "serviceNetworkIdentifier":{ - "shape":"ServiceNetworkIdentifier", - "location":"querystring", - "locationName":"serviceNetworkIdentifier" - } - } - }, - "ListServiceNetworkServiceAssociationsResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"ServiceNetworkServiceAssociationList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListServiceNetworkVpcAssociationsRequest":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "serviceNetworkIdentifier":{ - "shape":"ServiceNetworkIdentifier", - "location":"querystring", - "locationName":"serviceNetworkIdentifier" - }, - "vpcIdentifier":{ - "shape":"VpcId", - "location":"querystring", - "locationName":"vpcIdentifier" - } - } - }, - "ListServiceNetworkVpcAssociationsResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"ServiceNetworkVpcAssociationList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListServiceNetworksRequest":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - } - } - }, - "ListServiceNetworksResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"ServiceNetworkList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListServicesRequest":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - } - } - }, - "ListServicesResponse":{ - "type":"structure", - "members":{ - "items":{"shape":"ServiceList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"Arn", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "tags":{"shape":"TagMap"} - } - }, - "ListTargetGroupsRequest":{ - "type":"structure", - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "targetGroupType":{ - "shape":"TargetGroupType", - "location":"querystring", - "locationName":"targetGroupType" - }, - "vpcIdentifier":{ - "shape":"VpcId", - "location":"querystring", - "locationName":"vpcIdentifier" - } - } - }, - "ListTargetGroupsResponse":{ - "type":"structure", - "members":{ - "items":{"shape":"TargetGroupList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListTargetsRequest":{ - "type":"structure", - "required":["targetGroupIdentifier"], - "members":{ - "maxResults":{ - "shape":"MaxResults", - "location":"querystring", - "locationName":"maxResults" - }, - "nextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"nextToken" - }, - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - }, - "targets":{"shape":"ListTargetsRequestTargetsList"} - } - }, - "ListTargetsRequestTargetsList":{ - "type":"list", - "member":{"shape":"Target"}, - "max":20, - "min":0 - }, - "ListTargetsResponse":{ - "type":"structure", - "required":["items"], - "members":{ - "items":{"shape":"TargetSummaryList"}, - "nextToken":{"shape":"NextToken"} - } - }, - "ListenerArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}$" - }, - "ListenerId":{ - "type":"string", - "max":26, - "min":26, - "pattern":"^listener-[0-9a-z]{17}$" - }, - "ListenerIdentifier":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^((listener-[0-9a-z]{17})|(^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}$))$" - }, - "ListenerName":{ - "type":"string", - "max":63, - "min":3, - "pattern":"^(?!listener-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" - }, - "ListenerProtocol":{ - "type":"string", - "enum":[ - "HTTP", - "HTTPS" - ] - }, - "ListenerSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"ListenerArn"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"ListenerId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ListenerName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"ListenerProtocol"} - } - }, - "ListenerSummaryList":{ - "type":"list", - "member":{"shape":"ListenerSummary"} - }, - "Long":{ - "type":"long", - "box":true - }, - "Matcher":{ - "type":"structure", - "members":{ - "httpCode":{"shape":"HttpCodeMatcher"} - }, - "union":true - }, - "MaxResults":{ - "type":"integer", - "box":true, - "max":100, - "min":1 - }, - "NextToken":{ - "type":"string", - "max":2048, - "min":1 - }, - "PathMatch":{ - "type":"structure", - "required":["match"], - "members":{ - "caseSensitive":{"shape":"Boolean"}, - "match":{"shape":"PathMatchType"} - } - }, - "PathMatchExact":{ - "type":"string", - "max":200, - "min":1, - "pattern":"^/[a-zA-Z0-9@:%_+.~#?&/=-]*$" - }, - "PathMatchPrefix":{ - "type":"string", - "max":200, - "min":1, - "pattern":"^/[a-zA-Z0-9@:%_+.~#?&/=-]*$" - }, - "PathMatchType":{ - "type":"structure", - "members":{ - "exact":{"shape":"PathMatchExact"}, - "prefix":{"shape":"PathMatchPrefix"} - }, - "union":true - }, - "PolicyString":{ - "type":"string", - "max":10000, - "min":1, - "pattern":"^.*\\S.*$" - }, - "Port":{ - "type":"integer", - "box":true, - "max":65535, - "min":1 - }, - "PutAuthPolicyRequest":{ - "type":"structure", - "required":[ - "policy", - "resourceIdentifier" - ], - "members":{ - "policy":{"shape":"AuthPolicyString"}, - "resourceIdentifier":{ - "shape":"ResourceIdentifier", - "location":"uri", - "locationName":"resourceIdentifier" - } - } - }, - "PutAuthPolicyResponse":{ - "type":"structure", - "members":{ - "policy":{"shape":"AuthPolicyString"}, - "state":{"shape":"AuthPolicyState"} - } - }, - "PutResourcePolicyRequest":{ - "type":"structure", - "required":[ - "policy", - "resourceArn" - ], - "members":{ - "policy":{"shape":"PolicyString"}, - "resourceArn":{ - "shape":"ResourceArn", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "PutResourcePolicyResponse":{ - "type":"structure", - "members":{ - } - }, - "RegisterTargetsRequest":{ - "type":"structure", - "required":[ - "targetGroupIdentifier", - "targets" - ], - "members":{ - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - }, - "targets":{"shape":"RegisterTargetsRequestTargetsList"} - } - }, - "RegisterTargetsRequestTargetsList":{ - "type":"list", - "member":{"shape":"Target"}, - "max":100, - "min":1 - }, - "RegisterTargetsResponse":{ - "type":"structure", - "members":{ - "successful":{"shape":"TargetList"}, - "unsuccessful":{"shape":"TargetFailureList"} - } - }, - "ResourceArn":{ - "type":"string", - "max":200, - "min":20, - "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$" - }, - "ResourceId":{ - "type":"string", - "max":50, - "min":20, - "pattern":"^((sn)|(svc))-[0-9a-z]{17}$" - }, - "ResourceIdentifier":{ - "type":"string", - "max":200, - "min":17, - "pattern":"^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$" - }, - "ResourceNotFoundException":{ - "type":"structure", - "required":[ - "message", - "resourceId", - "resourceType" - ], - "members":{ - "message":{"shape":"String"}, - "resourceId":{"shape":"String"}, - "resourceType":{"shape":"String"} - }, - "error":{ - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - "RuleAction":{ - "type":"structure", - "members":{ - "fixedResponse":{"shape":"FixedResponseAction"}, - "forward":{"shape":"ForwardAction"} - }, - "union":true - }, - "RuleArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}/rule/rule-[0-9a-z]{17}$" - }, - "RuleId":{ - "type":"string", - "max":22, - "min":5, - "pattern":"^rule-[0-9a-z]{17}$" - }, - "RuleIdentifier":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^((rule-[0-9a-z]{17})|(^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}/rule/rule-[0-9a-z]{17}$))$" - }, - "RuleMatch":{ - "type":"structure", - "members":{ - "httpMatch":{"shape":"HttpMatch"} - }, - "union":true - }, - "RuleName":{ - "type":"string", - "max":63, - "min":3, - "pattern":"^(?!rule-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" - }, - "RulePriority":{ - "type":"integer", - "box":true, - "max":100, - "min":1 - }, - "RuleSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"RuleArn"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"RuleId"}, - "isDefault":{"shape":"Boolean"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"} - } - }, - "RuleSummaryList":{ - "type":"list", - "member":{"shape":"RuleSummary"} - }, - "RuleUpdate":{ - "type":"structure", - "required":["ruleIdentifier"], - "members":{ - "action":{"shape":"RuleAction"}, - "match":{"shape":"RuleMatch"}, - "priority":{"shape":"RulePriority"}, - "ruleIdentifier":{"shape":"RuleIdentifier"} - } - }, - "RuleUpdateFailure":{ - "type":"structure", - "members":{ - "failureCode":{"shape":"FailureCode"}, - "failureMessage":{"shape":"FailureMessage"}, - "ruleIdentifier":{"shape":"RuleIdentifier"} - } - }, - "RuleUpdateFailureList":{ - "type":"list", - "member":{"shape":"RuleUpdateFailure"} - }, - "RuleUpdateList":{ - "type":"list", - "member":{"shape":"RuleUpdate"}, - "max":5, - "min":1 - }, - "RuleUpdateSuccess":{ - "type":"structure", - "members":{ - "action":{"shape":"RuleAction"}, - "arn":{"shape":"RuleArn"}, - "id":{"shape":"RuleId"}, - "isDefault":{"shape":"Boolean"}, - "match":{"shape":"RuleMatch"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"} - } - }, - "RuleUpdateSuccessList":{ - "type":"list", - "member":{"shape":"RuleUpdateSuccess"} - }, - "SecurityGroupId":{ - "type":"string", - "max":200, - "min":5, - "pattern":"^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$" - }, - "SecurityGroupList":{ - "type":"list", - "member":{"shape":"SecurityGroupId"} - }, - "ServiceArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}$" - }, - "ServiceArnList":{ - "type":"list", - "member":{"shape":"ServiceArn"} - }, - "ServiceCustomDomainName":{ - "type":"string", - "max":255, - "min":3 - }, - "ServiceId":{ - "type":"string", - "max":21, - "min":21, - "pattern":"^svc-[0-9a-z]{17}$" - }, - "ServiceIdentifier":{ - "type":"string", - "max":2048, - "min":17, - "pattern":"^((svc-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:service/svc-[0-9a-z]{17}))$" - }, - "ServiceList":{ - "type":"list", - "member":{"shape":"ServiceSummary"} - }, - "ServiceName":{ - "type":"string", - "max":40, - "min":3, - "pattern":"^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" - }, - "ServiceNetworkArn":{ - "type":"string", - "max":2048, - "min":32, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetwork/sn-[0-9a-z]{17}$" - }, - "ServiceNetworkId":{ - "type":"string", - "max":32, - "min":32, - "pattern":"^servicenetwork-[0-9a-z]{17}$" - }, - "ServiceNetworkIdentifier":{ - "type":"string", - "max":2048, - "min":3, - "pattern":"^((sn-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetwork/sn-[0-9a-z]{17}))$" - }, - "ServiceNetworkList":{ - "type":"list", - "member":{"shape":"ServiceNetworkSummary"} - }, - "ServiceNetworkName":{ - "type":"string", - "max":63, - "min":3, - "pattern":"^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" - }, - "ServiceNetworkServiceAssociationArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkserviceassociation/snsa-[0-9a-z]{17}$" - }, - "ServiceNetworkServiceAssociationIdentifier":{ - "type":"string", - "max":2048, - "min":17, - "pattern":"^((snsa-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkserviceassociation/snsa-[0-9a-z]{17}))$" - }, - "ServiceNetworkServiceAssociationList":{ - "type":"list", - "member":{"shape":"ServiceNetworkServiceAssociationSummary"} - }, - "ServiceNetworkServiceAssociationStatus":{ - "type":"string", - "enum":[ - "CREATE_IN_PROGRESS", - "ACTIVE", - "DELETE_IN_PROGRESS", - "CREATE_FAILED", - "DELETE_FAILED" - ] - }, - "ServiceNetworkServiceAssociationSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkServiceAssociationArn"}, - "createdAt":{"shape":"Timestamp"}, - "createdBy":{"shape":"AccountId"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "id":{"shape":"ServiceNetworkServiceAssociationIdentifier"}, - "serviceArn":{"shape":"ServiceArn"}, - "serviceId":{"shape":"ServiceId"}, - "serviceName":{"shape":"ServiceName"}, - "serviceNetworkArn":{"shape":"ServiceNetworkArn"}, - "serviceNetworkId":{"shape":"ServiceNetworkId"}, - "serviceNetworkName":{"shape":"ServiceNetworkName"}, - "status":{"shape":"ServiceNetworkServiceAssociationStatus"} - } - }, - "ServiceNetworkSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkArn"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"ServiceNetworkId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ServiceNetworkName"}, - "numberOfAssociatedServices":{"shape":"Long"}, - "numberOfAssociatedVPCs":{"shape":"Long"} - } - }, - "ServiceNetworkVpcAssociationArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkvpcassociation/snva-[0-9a-z]{17}$" - }, - "ServiceNetworkVpcAssociationId":{ - "type":"string", - "max":22, - "min":22, - "pattern":"^snva-[0-9a-z]{17}$" - }, - "ServiceNetworkVpcAssociationIdentifier":{ - "type":"string", - "max":2048, - "min":17, - "pattern":"^((snva-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:servicenetworkvpcassociation/snva-[0-9a-z]{17}))$" - }, - "ServiceNetworkVpcAssociationList":{ - "type":"list", - "member":{"shape":"ServiceNetworkVpcAssociationSummary"} - }, - "ServiceNetworkVpcAssociationStatus":{ - "type":"string", - "enum":[ - "CREATE_IN_PROGRESS", - "ACTIVE", - "UPDATE_IN_PROGRESS", - "DELETE_IN_PROGRESS", - "CREATE_FAILED", - "DELETE_FAILED", - "UPDATE_FAILED" - ] - }, - "ServiceNetworkVpcAssociationSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkVpcAssociationArn"}, - "createdAt":{"shape":"Timestamp"}, - "createdBy":{"shape":"AccountId"}, - "id":{"shape":"ServiceNetworkVpcAssociationId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "serviceNetworkArn":{"shape":"ServiceNetworkArn"}, - "serviceNetworkId":{"shape":"ServiceNetworkId"}, - "serviceNetworkName":{"shape":"ServiceNetworkName"}, - "status":{"shape":"ServiceNetworkVpcAssociationStatus"}, - "vpcId":{"shape":"VpcId"} - } - }, - "ServiceQuotaExceededException":{ - "type":"structure", - "required":[ - "message", - "quotaCode", - "resourceType", - "serviceCode" - ], - "members":{ - "message":{"shape":"String"}, - "quotaCode":{"shape":"String"}, - "resourceId":{"shape":"String"}, - "resourceType":{"shape":"String"}, - "serviceCode":{"shape":"String"} - }, - "error":{ - "httpStatusCode":402, - "senderFault":true - }, - "exception":true - }, - "ServiceStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "CREATE_IN_PROGRESS", - "DELETE_IN_PROGRESS", - "CREATE_FAILED", - "DELETE_FAILED" - ] - }, - "ServiceSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceArn"}, - "createdAt":{"shape":"Timestamp"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "dnsEntry":{"shape":"DnsEntry"}, - "id":{"shape":"ServiceId"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"ServiceName"}, - "status":{"shape":"ServiceStatus"} - } - }, - "String":{"type":"string"}, - "TagKey":{ - "type":"string", - "max":128, - "min":1 - }, - "TagKeys":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":200, - "min":0 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":200, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tags" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{"shape":"TagMap"} - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "TagValue":{ - "type":"string", - "max":256, - "min":0 - }, - "Target":{ - "type":"structure", - "required":["id"], - "members":{ - "id":{"shape":"TargetIdString"}, - "port":{"shape":"Port"} - } - }, - "TargetFailure":{ - "type":"structure", - "members":{ - "failureCode":{"shape":"String"}, - "failureMessage":{"shape":"String"}, - "id":{"shape":"String"}, - "port":{"shape":"Port"} - } - }, - "TargetFailureList":{ - "type":"list", - "member":{"shape":"TargetFailure"} - }, - "TargetGroupArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"^arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:targetgroup/tg-[0-9a-z]{17}$" - }, - "TargetGroupConfig":{ - "type":"structure", - "required":[ - "port", - "protocol", - "vpcIdentifier" - ], - "members":{ - "healthCheck":{"shape":"HealthCheckConfig"}, - "ipAddressType":{"shape":"IpAddressType"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"TargetGroupProtocol"}, - "protocolVersion":{"shape":"TargetGroupProtocolVersion"}, - "vpcIdentifier":{"shape":"VpcId"} - } - }, - "TargetGroupId":{ - "type":"string", - "max":20, - "min":20, - "pattern":"^tg-[0-9a-z]{17}$" - }, - "TargetGroupIdentifier":{ - "type":"string", - "max":2048, - "min":17, - "pattern":"^((tg-[0-9a-z]{17})|(arn:[a-z0-9\\-]+:vpc-lattice:[a-zA-Z0-9\\-]+:\\d{12}:targetgroup/tg-[0-9a-z]{17}))$" - }, - "TargetGroupList":{ - "type":"list", - "member":{"shape":"TargetGroupSummary"} - }, - "TargetGroupName":{ - "type":"string", - "max":128, - "min":3, - "pattern":"^(?!tg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" - }, - "TargetGroupProtocol":{ - "type":"string", - "enum":[ - "HTTP", - "HTTPS" - ] - }, - "TargetGroupProtocolVersion":{ - "type":"string", - "enum":[ - "HTTP1", - "HTTP2", - "GRPC" - ] - }, - "TargetGroupStatus":{ - "type":"string", - "enum":[ - "CREATE_IN_PROGRESS", - "ACTIVE", - "DELETE_IN_PROGRESS", - "CREATE_FAILED", - "DELETE_FAILED" - ] - }, - "TargetGroupSummary":{ - "type":"structure", - "members":{ - "arn":{"shape":"TargetGroupArn"}, - "createdAt":{"shape":"Timestamp"}, - "id":{"shape":"TargetGroupId"}, - "ipAddressType":{"shape":"IpAddressType"}, - "lastUpdatedAt":{"shape":"Timestamp"}, - "name":{"shape":"TargetGroupName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"TargetGroupProtocol"}, - "serviceArns":{"shape":"ServiceArnList"}, - "status":{"shape":"TargetGroupStatus"}, - "type":{"shape":"TargetGroupType"}, - "vpcIdentifier":{"shape":"VpcId"} - } - }, - "TargetGroupType":{ - "type":"string", - "enum":[ - "IP", - "LAMBDA", - "INSTANCE", - "ALB" - ] - }, - "TargetGroupWeight":{ - "type":"integer", - "box":true, - "max":999, - "min":0 - }, - "TargetIdString":{ - "type":"string", - "max":200, - "min":1 - }, - "TargetList":{ - "type":"list", - "member":{"shape":"Target"} - }, - "TargetStatus":{ - "type":"string", - "enum":[ - "DRAINING", - "UNAVAILABLE", - "HEALTHY", - "UNHEALTHY", - "INITIAL", - "UNUSED" - ] - }, - "TargetSummary":{ - "type":"structure", - "members":{ - "id":{"shape":"String"}, - "port":{"shape":"Port"}, - "reasonCode":{"shape":"String"}, - "status":{"shape":"TargetStatus"} - } - }, - "TargetSummaryList":{ - "type":"list", - "member":{"shape":"TargetSummary"} - }, - "ThrottlingException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "quotaCode":{"shape":"String"}, - "retryAfterSeconds":{ - "shape":"Integer", - "location":"header", - "locationName":"Retry-After" - }, - "serviceCode":{"shape":"String"} - }, - "error":{ - "httpStatusCode":429, - "senderFault":true - }, - "exception":true, - "retryable":{"throttling":true} - }, - "Timestamp":{ - "type":"timestamp", - "timestampFormat":"iso8601" - }, - "UnhealthyThresholdCount":{ - "type":"integer", - "box":true, - "max":10, - "min":0 - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tagKeys" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "location":"uri", - "locationName":"resourceArn" - }, - "tagKeys":{ - "shape":"TagKeys", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateAccessLogSubscriptionRequest":{ - "type":"structure", - "required":[ - "accessLogSubscriptionIdentifier", - "destinationArn" - ], - "members":{ - "accessLogSubscriptionIdentifier":{ - "shape":"AccessLogSubscriptionIdentifier", - "location":"uri", - "locationName":"accessLogSubscriptionIdentifier" - }, - "destinationArn":{"shape":"AccessLogDestinationArn"} - } - }, - "UpdateAccessLogSubscriptionResponse":{ - "type":"structure", - "required":[ - "arn", - "destinationArn", - "id", - "resourceArn", - "resourceId" - ], - "members":{ - "arn":{"shape":"AccessLogSubscriptionArn"}, - "destinationArn":{"shape":"AccessLogDestinationArn"}, - "id":{"shape":"AccessLogSubscriptionId"}, - "resourceArn":{"shape":"ResourceArn"}, - "resourceId":{"shape":"ResourceId"} - } - }, - "UpdateListenerRequest":{ - "type":"structure", - "required":[ - "defaultAction", - "listenerIdentifier", - "serviceIdentifier" - ], - "members":{ - "defaultAction":{"shape":"RuleAction"}, - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "UpdateListenerResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ListenerArn"}, - "defaultAction":{"shape":"RuleAction"}, - "id":{"shape":"ListenerId"}, - "name":{"shape":"ListenerName"}, - "port":{"shape":"Port"}, - "protocol":{"shape":"ListenerProtocol"}, - "serviceArn":{"shape":"ServiceArn"}, - "serviceId":{"shape":"ServiceId"} - } - }, - "UpdateRuleRequest":{ - "type":"structure", - "required":[ - "listenerIdentifier", - "ruleIdentifier", - "serviceIdentifier" - ], - "members":{ - "action":{"shape":"RuleAction"}, - "listenerIdentifier":{ - "shape":"ListenerIdentifier", - "location":"uri", - "locationName":"listenerIdentifier" - }, - "match":{"shape":"RuleMatch"}, - "priority":{"shape":"RulePriority"}, - "ruleIdentifier":{ - "shape":"RuleIdentifier", - "location":"uri", - "locationName":"ruleIdentifier" - }, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "UpdateRuleResponse":{ - "type":"structure", - "members":{ - "action":{"shape":"RuleAction"}, - "arn":{"shape":"RuleArn"}, - "id":{"shape":"RuleId"}, - "isDefault":{"shape":"Boolean"}, - "match":{"shape":"RuleMatch"}, - "name":{"shape":"RuleName"}, - "priority":{"shape":"RulePriority"} - } - }, - "UpdateServiceNetworkRequest":{ - "type":"structure", - "required":[ - "authType", - "serviceNetworkIdentifier" - ], - "members":{ - "authType":{"shape":"AuthType"}, - "serviceNetworkIdentifier":{ - "shape":"ServiceNetworkIdentifier", - "location":"uri", - "locationName":"serviceNetworkIdentifier" - } - } - }, - "UpdateServiceNetworkResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkArn"}, - "authType":{"shape":"AuthType"}, - "id":{"shape":"ServiceNetworkId"}, - "name":{"shape":"ServiceNetworkName"} - } - }, - "UpdateServiceNetworkVpcAssociationRequest":{ - "type":"structure", - "required":[ - "securityGroupIds", - "serviceNetworkVpcAssociationIdentifier" - ], - "members":{ - "securityGroupIds":{"shape":"UpdateServiceNetworkVpcAssociationRequestSecurityGroupIdsList"}, - "serviceNetworkVpcAssociationIdentifier":{ - "shape":"ServiceNetworkVpcAssociationIdentifier", - "location":"uri", - "locationName":"serviceNetworkVpcAssociationIdentifier" - } - } - }, - "UpdateServiceNetworkVpcAssociationRequestSecurityGroupIdsList":{ - "type":"list", - "member":{"shape":"SecurityGroupId"}, - "max":5, - "min":1 - }, - "UpdateServiceNetworkVpcAssociationResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceNetworkVpcAssociationArn"}, - "createdBy":{"shape":"AccountId"}, - "id":{"shape":"ServiceNetworkVpcAssociationId"}, - "securityGroupIds":{"shape":"SecurityGroupList"}, - "status":{"shape":"ServiceNetworkVpcAssociationStatus"} - } - }, - "UpdateServiceRequest":{ - "type":"structure", - "required":["serviceIdentifier"], - "members":{ - "authType":{"shape":"AuthType"}, - "certificateArn":{"shape":"CertificateArn"}, - "serviceIdentifier":{ - "shape":"ServiceIdentifier", - "location":"uri", - "locationName":"serviceIdentifier" - } - } - }, - "UpdateServiceResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"ServiceArn"}, - "authType":{"shape":"AuthType"}, - "certificateArn":{"shape":"CertificateArn"}, - "customDomainName":{"shape":"ServiceCustomDomainName"}, - "id":{"shape":"ServiceId"}, - "name":{"shape":"ServiceName"} - } - }, - "UpdateTargetGroupRequest":{ - "type":"structure", - "required":[ - "healthCheck", - "targetGroupIdentifier" - ], - "members":{ - "healthCheck":{"shape":"HealthCheckConfig"}, - "targetGroupIdentifier":{ - "shape":"TargetGroupIdentifier", - "location":"uri", - "locationName":"targetGroupIdentifier" - } - } - }, - "UpdateTargetGroupResponse":{ - "type":"structure", - "members":{ - "arn":{"shape":"TargetGroupArn"}, - "config":{"shape":"TargetGroupConfig"}, - "id":{"shape":"TargetGroupId"}, - "name":{"shape":"TargetGroupName"}, - "status":{"shape":"TargetGroupStatus"}, - "type":{"shape":"TargetGroupType"} - } - }, - "ValidationException":{ - "type":"structure", - "required":[ - "message", - "reason" - ], - "members":{ - "fieldList":{"shape":"ValidationExceptionFieldList"}, - "message":{"shape":"String"}, - "reason":{"shape":"ValidationExceptionReason"} - }, - "error":{ - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - "ValidationExceptionField":{ - "type":"structure", - "required":[ - "message", - "name" - ], - "members":{ - "message":{"shape":"String"}, - "name":{"shape":"String"} - } - }, - "ValidationExceptionFieldList":{ - "type":"list", - "member":{"shape":"ValidationExceptionField"} - }, - "ValidationExceptionReason":{ - "type":"string", - "enum":[ - "unknownOperation", - "cannotParse", - "fieldValidationFailed", - "other" - ] - }, - "VpcId":{ - "type":"string", - "max":50, - "min":5, - "pattern":"^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$" - }, - "WeightedTargetGroup":{ - "type":"structure", - "required":["targetGroupIdentifier"], - "members":{ - "targetGroupIdentifier":{"shape":"TargetGroupIdentifier"}, - "weight":{"shape":"TargetGroupWeight"} - } - }, - "WeightedTargetGroupList":{ - "type":"list", - "member":{"shape":"WeightedTargetGroup"}, - "max":2, - "min":1 - } - } -} diff --git a/scripts/gen_mocks.sh b/scripts/gen_mocks.sh index abcd183d..e4a0f10d 100755 --- a/scripts/gen_mocks.sh +++ b/scripts/gen_mocks.sh @@ -2,7 +2,6 @@ ## mocks for interfaces from 3rd-party project should be put inside ./mocks folder. ## mockgen version v1.5.0 mockgen -package=mock_client -destination=./mocks/controller-runtime/client/client_mocks.go sigs.k8s.io/controller-runtime/pkg/client Client -mockgen -package=services -destination=./pkg/aws/services/eks_mocks.go -source=./pkg/aws/services/eks.go mockgen -package=services -destination=./pkg/aws/services/vpclattice_mocks.go -source=./pkg/aws/services/vpclattice.go mockgen -package=aws -destination=./pkg/aws/cloud_mocks.go -source=./pkg/aws/cloud.go mockgen -package=lattice -destination=./pkg/deploy/lattice/service_network_manager_mock.go -source=./pkg/deploy/lattice/service_network_manager.go @@ -14,4 +13,3 @@ mockgen -package=lattice -destination=./pkg/deploy/lattice/rule_manager_mock.go mockgen -package=externaldns -destination=./pkg/deploy/externaldns/dnsendpoint_manager_mock.go -source=./pkg/deploy/externaldns/dnsendpoint_manager.go # need some manual update to remote core for stack_mock.go mockgen -package=core -destination=./pkg/model/core/stack_mock.go -source=./pkg/model/core/stack.go -mockgen -package=services -destination=./pkg/aws/services/vpclattice_service_api_mock.go -source=./scripts/aws_sdk_model_override/aws-sdk-go/service/vpclattice/vpclatticeiface/interface.go diff --git a/setup.sh b/setup.sh deleted file mode 100755 index 6692146e..00000000 --- a/setup.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -e - -SDK_VENDOR_PATH="./scripts/aws_sdk_model_override/aws-sdk-go" -SDK_MODEL_OVERRIDE_DST_PATH="${SDK_VENDOR_PATH}/models" -SDK_MODEL_OVERRIDE_SRC_PATH="./scripts/aws_sdk_model_override/models" - -# Clone the SDK to the vendor path (removing an old one if necessary) -rm -rf "${SDK_VENDOR_PATH}" -git clone --depth 1 https://github.com/aws/aws-sdk-go.git "${SDK_VENDOR_PATH}" - -# Override the SDK models -cp -r "${SDK_MODEL_OVERRIDE_SRC_PATH}"/* "${SDK_MODEL_OVERRIDE_DST_PATH}"/. - -# Generate the SDK -pushd "${SDK_VENDOR_PATH}" -make generate -popd - -# Use the vendored version of aws-sdk-go -go mod edit -replace github.com/aws/aws-sdk-go="${SDK_VENDOR_PATH}" diff --git a/test/go.mod b/test/go.mod index 291c9c1c..a14655fa 100644 --- a/test/go.mod +++ b/test/go.mod @@ -4,13 +4,12 @@ go 1.20 replace ( github.com/aws/aws-application-networking-k8s => ../ - github.com/aws/aws-sdk-go => ../scripts/aws_sdk_model_override/aws-sdk-go ) require ( github.com/Pallinder/go-randomdata v1.2.0 github.com/aws/aws-application-networking-k8s v0.3.0 - github.com/aws/aws-sdk-go v1.44.136 + github.com/aws/aws-sdk-go v1.44.321 github.com/imdario/mergo v0.3.13 github.com/onsi/ginkgo/v2 v2.9.1 github.com/onsi/gomega v1.27.4