From ebeb2e90f8c7cf66d584461c7ce37d2083f5beb8 Mon Sep 17 00:00:00 2001 From: cpu1 Date: Thu, 14 Dec 2023 15:04:14 +0530 Subject: [PATCH 1/2] Bump dependencies Closes #7403 #7402 #7401 #7400 #7399 #7398 #7397 #7396 #7395 #7394 #7393 #7392 #7391 #7390 #7389 #7388 #7387 #7386 #7385 #7384 #7368 #7359 #7352 --- .../workflows/build-all-distros-nightly.yaml | 2 +- .github/workflows/ecr-publish-build.yaml | 2 +- .github/workflows/link-checker.yaml | 4 +- .github/workflows/publish-docs.yaml | 2 +- .github/workflows/publish-release-type.yaml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/test-and-build.yaml | 6 +- go.mod | 74 +- go.sum | 147 +- pkg/awsapi/autoscaling.go | 7 + pkg/awsapi/cloudformation.go | 7 + pkg/awsapi/cloudtrail.go | 7 + pkg/awsapi/cloudwatchlogs.go | 50 +- pkg/awsapi/eks.go | 7 + pkg/awsapi/elasticloadbalancing.go | 7 + pkg/awsapi/elasticloadbalancingv2.go | 7 + pkg/awsapi/iam.go | 7 + pkg/awsapi/outposts.go | 7 + pkg/awsapi/ssm.go | 7 + pkg/ctl/utils/mocks/VPCConfigUpdater.go | 6 +- pkg/eks/mocks/ConfigProvider.go | 6 +- pkg/eks/mocks/KubeNodeGroup.go | 18 +- pkg/eks/mocksv2/ASG.go | 280 ++- pkg/eks/mocksv2/CloudFormation.go | 300 ++- pkg/eks/mocksv2/CloudTrail.go | 212 +- pkg/eks/mocksv2/CloudWatchLogs.go | 349 ++- pkg/eks/mocksv2/CredentialsProvider.go | 6 +- pkg/eks/mocksv2/EC2.go | 2090 ++++++++++++++++- pkg/eks/mocksv2/EKS.go | 200 +- pkg/eks/mocksv2/ELB.go | 136 +- pkg/eks/mocksv2/ELBV2.go | 196 +- pkg/eks/mocksv2/IAM.go | 656 +++++- pkg/eks/mocksv2/Outposts.go | 124 +- pkg/eks/mocksv2/SSM.go | 576 ++++- pkg/eks/mocksv2/STS.go | 237 +- 35 files changed, 5373 insertions(+), 373 deletions(-) diff --git a/.github/workflows/build-all-distros-nightly.yaml b/.github/workflows/build-all-distros-nightly.yaml index 98fd5145a3..4ea111509e 100644 --- a/.github/workflows/build-all-distros-nightly.yaml +++ b/.github/workflows/build-all-distros-nightly.yaml @@ -32,7 +32,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/.github/workflows/ecr-publish-build.yaml b/.github/workflows/ecr-publish-build.yaml index 71bb5a9816..67488d133c 100644 --- a/.github/workflows/ecr-publish-build.yaml +++ b/.github/workflows/ecr-publish-build.yaml @@ -29,7 +29,7 @@ jobs: registry-type: public - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/.github/workflows/link-checker.yaml b/.github/workflows/link-checker.yaml index 154fecd0ab..a906fefb19 100644 --- a/.github/workflows/link-checker.yaml +++ b/.github/workflows/link-checker.yaml @@ -22,11 +22,11 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 #v4.7.1 + uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c #v5.0.0 with: python-version: ${{ matrix.python-version }} - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index b97afbd73d..2568abf5e4 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -15,7 +15,7 @@ jobs: token: ${{ secrets.EKSCTLBOT_TOKEN }} fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/.github/workflows/publish-release-type.yaml b/.github/workflows/publish-release-type.yaml index 5a6aa35b94..ee4f5e16fd 100644 --- a/.github/workflows/publish-release-type.yaml +++ b/.github/workflows/publish-release-type.yaml @@ -30,7 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4cc5826de7..a1928bd9ba 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -13,7 +13,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 #v8.0.0 + - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e #v9.0.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index 0ed6fe950c..f2d8406789 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -14,7 +14,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false @@ -43,7 +43,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false @@ -71,7 +71,7 @@ jobs: with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0 with: go-version: 1.20.x cache: false diff --git a/go.mod b/go.mod index f405d39a52..868256dcd8 100644 --- a/go.mod +++ b/go.mod @@ -8,25 +8,25 @@ go 1.20 require ( github.com/Masterminds/semver/v3 v3.2.1 github.com/aws/amazon-ec2-instance-selector/v2 v2.4.2-0.20230601180523-74e721cb8c1e - github.com/aws/aws-sdk-go v1.48.6 - github.com/aws/aws-sdk-go-v2 v1.23.1 - github.com/aws/aws-sdk-go-v2/config v1.25.6 - github.com/aws/aws-sdk-go-v2/credentials v1.16.5 - github.com/aws/aws-sdk-go-v2/service/autoscaling v1.35.3 - github.com/aws/aws-sdk-go-v2/service/cloudformation v1.40.2 - github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.34.1 - github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.28.1 - github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.30.4 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.137.2 - github.com/aws/aws-sdk-go-v2/service/eks v1.34.1 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.20.4 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.25.1 - github.com/aws/aws-sdk-go-v2/service/iam v1.27.4 - github.com/aws/aws-sdk-go-v2/service/kms v1.26.4 - github.com/aws/aws-sdk-go-v2/service/outposts v1.33.4 - github.com/aws/aws-sdk-go-v2/service/ssm v1.43.2 - github.com/aws/aws-sdk-go-v2/service/sts v1.25.5 - github.com/aws/smithy-go v1.17.0 + github.com/aws/aws-sdk-go v1.49.2 + github.com/aws/aws-sdk-go-v2 v1.24.0 + github.com/aws/aws-sdk-go-v2/config v1.26.1 + github.com/aws/aws-sdk-go-v2/credentials v1.16.12 + github.com/aws/aws-sdk-go-v2/service/autoscaling v1.36.5 + github.com/aws/aws-sdk-go-v2/service/cloudformation v1.42.4 + github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.35.5 + github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.30.0 + github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.31.5 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.141.0 + github.com/aws/aws-sdk-go-v2/service/eks v1.35.5 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.21.5 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.26.5 + github.com/aws/aws-sdk-go-v2/service/iam v1.28.5 + github.com/aws/aws-sdk-go-v2/service/kms v1.27.5 + github.com/aws/aws-sdk-go-v2/service/outposts v1.34.5 + github.com/aws/aws-sdk-go-v2/service/ssm v1.44.5 + github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 + github.com/aws/smithy-go v1.19.0 github.com/benjamintf1/unmarshalledmatchers v1.0.0 github.com/blang/semver v3.5.1+incompatible github.com/bxcodec/faker v2.0.1+incompatible @@ -50,7 +50,7 @@ require ( github.com/kubicorn/kubicorn v0.0.0-20180829191017-06f6bce92acc github.com/lithammer/dedent v1.1.0 github.com/maxbrunsfeld/counterfeiter/v6 v6.6.2 - github.com/onsi/ginkgo/v2 v2.13.0 + github.com/onsi/ginkgo/v2 v2.13.2 github.com/onsi/gomega v1.30.0 github.com/orcaman/concurrent-map v1.0.0 github.com/otiai10/copy v1.14.0 @@ -69,11 +69,11 @@ require ( github.com/weaveworks/goformation/v4 v4.10.2-0.20230526082129-5f5eaa9609b8 github.com/weaveworks/schemer v0.0.0-20230525114451-47139fe25848 github.com/xgfone/netaddr v0.5.1 - golang.org/x/crypto v0.15.0 + golang.org/x/crypto v0.16.0 golang.org/x/exp v0.0.0-20231006140011-7918f672742d - golang.org/x/oauth2 v0.14.0 + golang.org/x/oauth2 v0.15.0 golang.org/x/sync v0.5.0 - golang.org/x/tools v0.14.0 + golang.org/x/tools v0.16.1 gopkg.in/yaml.v2 v2.4.0 helm.sh/helm/v3 v3.11.2 k8s.io/api v0.26.0 @@ -145,20 +145,20 @@ require ( github.com/ashanbrown/makezero v1.1.1 // indirect github.com/atc0005/go-teams-notify/v2 v2.6.1 // indirect github.com/atotto/clipboard v0.1.4 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.5 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.3 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.7.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.1 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.4 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.3 // indirect github.com/aws/aws-sdk-go-v2/service/pricing v1.17.0 // indirect github.com/aws/aws-sdk-go-v2/service/s3 v1.26.3 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.17.4 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.20.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect github.com/awslabs/goformation/v4 v4.19.5 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/beorn7/perks v1.0.1 // indirect @@ -233,7 +233,7 @@ require ( github.com/go-git/go-git/v5 v5.4.2 // indirect github.com/go-gorp/gorp/v3 v3.0.5 // indirect github.com/go-ini/ini v1.67.0 // indirect - github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/logr v1.3.0 // indirect github.com/go-openapi/jsonpointer v0.19.5 // indirect github.com/go-openapi/jsonreference v0.20.0 // indirect github.com/go-openapi/swag v0.19.14 // indirect @@ -270,7 +270,7 @@ require ( github.com/google/go-github/v47 v47.1.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect - github.com/google/pprof v0.0.0-20230926050212-f7f687d19a98 // indirect + github.com/google/pprof v0.0.0-20231212022811-ec68065c825e // indirect github.com/google/s2a-go v0.1.7 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/wire v0.5.0 // indirect @@ -484,9 +484,9 @@ require ( gocloud.dev v0.26.0 // indirect golang.org/x/exp/typeparams v0.0.0-20230307190834-24139beb5833 // indirect golang.org/x/mod v0.14.0 // indirect - golang.org/x/net v0.18.0 // indirect - golang.org/x/sys v0.14.0 // indirect - golang.org/x/term v0.14.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.3.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect diff --git a/go.sum b/go.sum index 69d835263f..3c6bf779cf 100644 --- a/go.sum +++ b/go.sum @@ -254,71 +254,72 @@ github.com/aws/amazon-ec2-instance-selector/v2 v2.4.2-0.20230601180523-74e721cb8 github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0= github.com/aws/aws-sdk-go v1.37.0/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= github.com/aws/aws-sdk-go v1.43.31/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= -github.com/aws/aws-sdk-go v1.48.6 h1:hnL/TE3eRigirDLrdRE9AWE1ALZSVLAsC4wK8TGsMqk= -github.com/aws/aws-sdk-go v1.48.6/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= +github.com/aws/aws-sdk-go v1.49.2 h1:+4BEcm1nPCoDbVd+gg8cdxpa1qJfrvnddy12vpEVWjw= +github.com/aws/aws-sdk-go v1.49.2/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.16.2/go.mod h1:ytwTPBG6fXTZLxxeeCCWj2/EMYp/xDUgX+OET6TLNNU= github.com/aws/aws-sdk-go-v2 v1.16.15/go.mod h1:SwiyXi/1zTUZ6KIAmLK5V5ll8SiURNUYOqTerZPaF9k= -github.com/aws/aws-sdk-go-v2 v1.23.1 h1:qXaFsOOMA+HsZtX8WoCa+gJnbyW7qyFFBlPqvTSzbaI= -github.com/aws/aws-sdk-go-v2 v1.23.1/go.mod h1:i1XDttT4rnf6vxc9AuskLc6s7XBee8rlLilKlc03uAA= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1 h1:SdK4Ppk5IzLs64ZMvr6MrSficMtjY2oS0WOORXTlxwU= +github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk= +github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.1/go.mod h1:n8Bs1ElDD2wJ9kCRTczA83gYbBmjSwZp3umc6zF4EeM= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 h1:OCs21ST2LrepDfD3lwlQiOqIGp6JiEUqG84GzTDoyJs= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4/go.mod h1:usURWEKSNNAcAZuzRn/9ZYPT8aZQkR7xcCtunK/LkJo= github.com/aws/aws-sdk-go-v2/config v1.15.3/go.mod h1:9YL3v07Xc/ohTsxFXzan9ZpFpdTOFl4X65BAKYaz8jg= -github.com/aws/aws-sdk-go-v2/config v1.25.6 h1:p7b0sR6lHVNNOK/dE4xZgq2R+NNFRjtAXy8WNE6jbpo= -github.com/aws/aws-sdk-go-v2/config v1.25.6/go.mod h1:E/nt0ERX9ZX2RCcJWBax94jFn738UERvjSn4R3msEeQ= +github.com/aws/aws-sdk-go-v2/config v1.26.1 h1:z6DqMxclFGL3Zfo+4Q0rLnAZ6yVkzCRxhRMsiRQnD1o= +github.com/aws/aws-sdk-go-v2/config v1.26.1/go.mod h1:ZB+CuKHRbb5v5F0oJtGdhFTelmrxd4iWO1lf0rQwSAg= github.com/aws/aws-sdk-go-v2/credentials v1.11.2/go.mod h1:j8YsY9TXTm31k4eFhspiQicfXPLZ0gYXA50i4gxPE8g= -github.com/aws/aws-sdk-go-v2/credentials v1.16.5 h1:oJz7X2VzKl8Y9pX7Fa5sIy4+3OnknF+Ne0KYu7DCoQQ= -github.com/aws/aws-sdk-go-v2/credentials v1.16.5/go.mod h1:2HvVzcP9ih6XR66omXIsgWjtolkL0MlQVqPcK3nXK+E= +github.com/aws/aws-sdk-go-v2/credentials v1.16.12 h1:v/WgB8NxprNvr5inKIiVVrXPuuTegM+K8nncFkr1usU= +github.com/aws/aws-sdk-go-v2/credentials v1.16.12/go.mod h1:X21k0FjEJe+/pauud82HYiQbEr9jRKY3kXEIQ4hXeTQ= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.3/go.mod h1:uk1vhHHERfSVCUnqSqz8O48LBYDSC+k6brng09jcMOk= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.5 h1:KehRNiVzIfAcj6gw98zotVbb/K67taJE0fkfgM6vzqU= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.5/go.mod h1:VhnExhw6uXy9QzetvpXDolo1/hjhx4u9qukBGkuUwjs= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.3 h1:ir7iEq78s4txFGgwcLqD6q9IIPzTQNRJXulJd9h/zQo= github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.3/go.mod h1:0dHuD2HZZSiwfJSy1FO5bX1hQ1TxVV1QXXjpn3XUE44= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.9/go.mod h1:AnVH5pvai0pAF4lXRq0bmhbes1u9R8wTE+g+183bZNM= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.22/go.mod h1:/vNv5Al0bpiF8YdX2Ov6Xy05VTiXsql94yUqJMYaj0w= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.4 h1:LAm3Ycm9HJfbSCd5I+wqC2S9Ej7FPrgr5CQoOljJZcE= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.4/go.mod h1:xEhvbJcyUf/31yfGSQBe01fukXwXJ0gxDp7rLfymWE0= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.3/go.mod h1:ssOhaLpRlh88H3UmEcsBoVKq309quMvm3Ds8e9d4eJM= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.16/go.mod h1:62dsXI0BqTIGomDl8Hpm33dv0OntGaVblri3ZRParVQ= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.4 h1:4GV0kKZzUxiWxSVpn/9gwR0g21NF1Jsyduzo9rHgC/Q= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.4/go.mod h1:dYvTNAggxDZy6y1AF7YDwXsPuHFy/VNEpEI/2dWK9IU= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU= github.com/aws/aws-sdk-go-v2/internal/ini v1.3.10/go.mod h1:8DcYQcz0+ZJaSxANlHIsbbi6S+zMwjwdDqwW3r9AzaE= -github.com/aws/aws-sdk-go-v2/internal/ini v1.7.1 h1:uR9lXYjdPX0xY+NhvaJ4dD8rpSRz5VY81ccIIoNG+lw= -github.com/aws/aws-sdk-go-v2/internal/ini v1.7.1/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.35.3 h1:mDon+QEVnzmoNwf2AxLjfAVT1NoS3irdjof5PgOvDPo= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.35.3/go.mod h1:lqA7X+35oZ+zRUnjeYqoYsHECFFSbCBbACVaVmMVz/w= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.40.2 h1:QjzO8xDhUbc0psx1DV6lSwvrNnav+F0zkk2dhnKi4yQ= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.40.2/go.mod h1:swqr+Ayq2Mv+l32CXjtrYrdNqMu5d0aSKeM63ud7G8M= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.34.1 h1:jSktoWX1fKhlXlGJxTG+EZYQAQ4vlqlLVpG95O3MGHM= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.34.1/go.mod h1:fdOGahYloDvaLq9YhUpefHsAfJrkjsHk3c0YhAvvWwI= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.28.1 h1:i7bxghSeDvt+nxMKN+vB9pUdlenMWbKqdndm3ErLOGE= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.28.1/go.mod h1:NRP65i31tm0UhGwc9j6TGwk7dMs1ZDprZPIHfr+gHCU= -github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.30.4 h1:ewLNh1BfQMtrUGFcOIIdDzd3qkrQw1+C9312xEtog5o= -github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.30.4/go.mod h1:sxxp0zjx+yebgiDGl47XSPWCz+sg2gzghM+K8MwLGJU= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.137.2 h1:9bqRsa2YG+3fZXcCOh7UygOTBlp/EMjOn9QWkFSXNAY= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.137.2/go.mod h1:hrBzQzlQQRmiaeYRQPr0SdSx6fdqP+5YcGhb97LCt8M= -github.com/aws/aws-sdk-go-v2/service/eks v1.34.1 h1:lcpAUbLg8uZHGuZxOwm3TqSMt2LV/XTevPkGCu78PRk= -github.com/aws/aws-sdk-go-v2/service/eks v1.34.1/go.mod h1:DInudKNZjEy7SJ0KfRh4VxaqY04B52Lq2+QRuvObfNQ= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.20.4 h1:iNNttXS8/FD0h1XnrZj9X9e/F9Dx5bfQszHgowrWpVU= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.20.4/go.mod h1:7skbCmhG0kau6mIihttFdNRmXAM2tORs1Flm9oAnPl4= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.25.1 h1:Vxm9ZgTHgiKMhWxQYPE3UPEtkqrSUE3MNaf1c4YK3OU= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.25.1/go.mod h1:LA5Wi7UcSEu2/AAYRE7hgb2dcLhc10kziPXB78w7mpg= -github.com/aws/aws-sdk-go-v2/service/iam v1.27.4 h1:W7aZ6WYk/R3kGhBbD6tAVwzYav8k0JQCGhEE+kXKl+k= -github.com/aws/aws-sdk-go-v2/service/iam v1.27.4/go.mod h1:LklzfZoa7bL/NdhOzoaRtqSLGhu5j+GqE/9WoOQGFKY= +github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM= +github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.36.5 h1:kyNx3ieC65DxlJvkKYer8/PbP35YN2fn8T4jJYGQBtA= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.36.5/go.mod h1:ldeYLrGhWz2aMgCEL7He3+YbJAG5xn1K/fFFKRkyzd0= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.42.4 h1:nQkJLC3ytsYFW1nVzBwbOaJ2EZ8MEclsVcF94S1sNPg= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.42.4/go.mod h1:oPk8ZMctRUtGC13pOE83Zp0baZgJsmzuKm4IRR+zQOI= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.35.5 h1:6X70+Ss+gahJ+NGwB78k6SZ8954bOYyuYBzT1nPwTuk= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.35.5/go.mod h1:zrqdG1b+4AGoTwTMVFzvzY7ARB3GPo4gKRuK8WPEo8w= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.30.0 h1:CMZz/TJgt+GMKRxjuedxhMFs45GPhyst/a/7Q3DuAg4= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.30.0/go.mod h1:4Oeb7n2r/ApBIHphQkprve380p/RpPWBotumd44EDGg= +github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.31.5 h1:7NweDhxX/c0bhnLouJkmDpGThdmZAWEbrZeYVnjDvls= +github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider v1.31.5/go.mod h1:Rtaozi1JFmyQgaxIdXYdvXBsVmk8Yv0wd3krebIR8FA= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.141.0 h1:cP43vFYAQyREOp972C+6d4+dzpxo3HolNvWfeBvr2Yg= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.141.0/go.mod h1:qjhtI9zjpUHRc6khtrIM9fb48+ii6+UikL3/b+MKYn0= +github.com/aws/aws-sdk-go-v2/service/eks v1.35.5 h1:LEYyWSnfdSSysPr5JWUkNwOD0MvXKfE/BX6Frg/lr1A= +github.com/aws/aws-sdk-go-v2/service/eks v1.35.5/go.mod h1:L1uv3UgQlAkdM9v0gpec7nnfUiQkCnGMjBE7MJArfWQ= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.21.5 h1:q3slz7FaD3/kfslN6elBR4hx69VDuyaIClbNn9juWHE= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.21.5/go.mod h1:N37+67ROdmH7BgLyp1cwCjRpKism3cwkeDlOktRLXMQ= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.26.5 h1:AKlGBk57mRssGQmWqV3I/azLW1Sb7RnlYbJEqTlpKEY= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.26.5/go.mod h1:Tpt4kC8x1HfYuh2rG/6yXZrxjABETERrUl9IdA/IS98= +github.com/aws/aws-sdk-go-v2/service/iam v1.28.5 h1:Ts2eDDuMLrrmd0ARlg5zSoBQUvhdthgiNnPdiykTJs0= +github.com/aws/aws-sdk-go-v2/service/iam v1.28.5/go.mod h1:kKI0gdVsf+Ev9knh/3lBJbchtX5LLNH25lAzx3KDj3Q= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.1/go.mod h1:GeUru+8VzrTXV/83XyMJ80KpH8xO89VPoUileyNQ+tc= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.1 h1:rpkF4n0CyFcrJUG/rNNohoTmhtWlFTRI4BsZOh9PvLs= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.1/go.mod h1:l9ymW25HOqymeU2m1gbUQ3rUIsTwKs8gYHXkqDQUhiI= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.3 h1:I0dcwWitE752hVSMrsLCxqNQ+UdEp3nACx2bYNMQq+k= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.3/go.mod h1:Seb8KNmD6kVTjwRjVEgOT5hPin6sq+v4C2ycJQDwuH8= github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.3/go.mod h1:wlY6SVjuwvh3TVRpTqdy4I1JpBFLX4UGeKZdWntaocw= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.4 h1:rdovz3rEu0vZKbzoMYPTehp0E8veoE9AyfzqCr5Eeao= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.4/go.mod h1:aYCGNjyUCUelhofxlZyj63srdxWUSsBSGg5l6MCuXuE= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.3 h1:BKjwCJPnANbkwQ8vzSbaZDKawwagDubrH/z/c0X+kbQ= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.3/go.mod h1:Bm/v2IaN6rZ+Op7zX+bOUMdL4fsrYZiD0dsjLhNKwZc= github.com/aws/aws-sdk-go-v2/service/kms v1.16.3/go.mod h1:QuiHPBqlOFCi4LqdSskYYAWpQlx3PKmohy+rE2F+o5g= -github.com/aws/aws-sdk-go-v2/service/kms v1.26.4 h1:h7i9epxI6WCw4Mg0A2v6+zBgxlRYTuH/L+sBOMFKH3c= -github.com/aws/aws-sdk-go-v2/service/kms v1.26.4/go.mod h1:N3++/sLV97B8Zliz7KRqNcojOX7iMBZWKiuit5FKtH0= -github.com/aws/aws-sdk-go-v2/service/outposts v1.33.4 h1:SEQCwls39YYqYUbM23R8FUUm0lJ9urL7EGuDSHMeSn4= -github.com/aws/aws-sdk-go-v2/service/outposts v1.33.4/go.mod h1:/gRj71j9MfjKtN1hERMH6UNt/IqvDNaBanFvNr7+KDg= +github.com/aws/aws-sdk-go-v2/service/kms v1.27.5 h1:7lKTr8zJ2nVaVgyII+7hUayTi7xWedMuANiNVXiD2S8= +github.com/aws/aws-sdk-go-v2/service/kms v1.27.5/go.mod h1:D9FVDkZjkZnnFHymJ3fPVz0zOUlNSd0xcIIVmmrAac8= +github.com/aws/aws-sdk-go-v2/service/outposts v1.34.5 h1:6krzEFftGidnMSnk+MMgpD9pKPHH6JAZGe3HGofnh9A= +github.com/aws/aws-sdk-go-v2/service/outposts v1.34.5/go.mod h1:Ub7NkvolNh39y8vXU/ygjysmHyQ+5xVj75n3Zz6Tl8c= github.com/aws/aws-sdk-go-v2/service/pricing v1.17.0 h1:RQOMvPwte2H4ZqsiZmrla1crhBWDFnW8bZynkec5cGU= github.com/aws/aws-sdk-go-v2/service/pricing v1.17.0/go.mod h1:LJyh9figH3ZpSiVjR5umzbl6V3EpQdZR4Se1ayoUtfI= github.com/aws/aws-sdk-go-v2/service/s3 v1.26.3 h1:rMPtwA7zzkSQZhhz9U3/SoIDz/NZ7Q+iRn4EIO8rSyU= @@ -327,20 +328,20 @@ github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.15.4/go.mod h1:PJc8s+lxyU github.com/aws/aws-sdk-go-v2/service/sns v1.17.4/go.mod h1:kElt+uCcXxcqFyc+bQqZPFD9DME/eC6oHBXvFzQ9Bcw= github.com/aws/aws-sdk-go-v2/service/sqs v1.18.3/go.mod h1:skmQo0UPvsjsuYYSYMVmrPc1HWCbHUJyrCEp+ZaLzqM= github.com/aws/aws-sdk-go-v2/service/ssm v1.24.1/go.mod h1:NR/xoKjdbRJ+qx0pMR4mI+N/H1I1ynHwXnO6FowXJc0= -github.com/aws/aws-sdk-go-v2/service/ssm v1.43.2 h1:IZq7BDqMNK06lAuReVTGzPGFcC81yaZvjuuOnst8EEk= -github.com/aws/aws-sdk-go-v2/service/ssm v1.43.2/go.mod h1:Iw3+XCa7ARZWsPiV3Zozf5Hb3gD7pHDLKu9Xcc4iwDM= +github.com/aws/aws-sdk-go-v2/service/ssm v1.44.5 h1:5SI5O2tMp/7E/FqhYnaKdxbWjlCi2yujjNI/UO725iU= +github.com/aws/aws-sdk-go-v2/service/ssm v1.44.5/go.mod h1:uXndCJoDO9gpuK24rNWVCnrGNUydKFEAYAZ7UU9S0rQ= github.com/aws/aws-sdk-go-v2/service/sso v1.11.3/go.mod h1:7UQ/e69kU7LDPtY40OyoHYgRmgfGM4mgsLYtcObdveU= -github.com/aws/aws-sdk-go-v2/service/sso v1.17.4 h1:WSMiDIMaDGyIiXwruNITU0IJF0d0foXwjxpxRylamqQ= -github.com/aws/aws-sdk-go-v2/service/sso v1.17.4/go.mod h1:oA6VjNsLll2eVuUoF2D+CMyORgNzPEW/3PyUdq6WQjI= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.20.2 h1:GsrlsvTPBNxHvE3KBCwUMnR76MTO/6qnnO1ILSUOpTA= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.20.2/go.mod h1:hHL974p5auvXlZPIjJTblXJpbkfK4klBczlsEaMCGVY= +github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM= +github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38= github.com/aws/aws-sdk-go-v2/service/sts v1.16.3/go.mod h1:bfBj0iVmsUyUg4weDB4NxktD9rDGeKSVWnjTnwbx9b8= -github.com/aws/aws-sdk-go-v2/service/sts v1.25.5 h1:jwpmP8FnZPdpmJ8hkximoPQFGCUzfIekccwkxlfVfHQ= -github.com/aws/aws-sdk-go-v2/service/sts v1.25.5/go.mod h1:feTnm2Tk/pJxdX+eooEsxvlvTWBvDm6CasRZ+JOs2IY= +github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 h1:5UYvv8JUvllZsRnfrcMQ+hJ9jNICmcgKPAO1CER25Wg= +github.com/aws/aws-sdk-go-v2/service/sts v1.26.5/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU= github.com/aws/smithy-go v1.11.2/go.mod h1:3xHYmszWVx2c0kIwQeEVf9uSm4fYZt67FBJnwub1bgM= github.com/aws/smithy-go v1.13.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/aws/smithy-go v1.17.0 h1:wWJD7LX6PBV6etBUwO0zElG0nWN9rUhp0WdYeHSHAaI= -github.com/aws/smithy-go v1.17.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE= +github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM= +github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE= github.com/awslabs/goformation/v4 v4.15.5/go.mod h1:wB5lKZf1J0MYH1Lt4B9w3opqz0uIjP7MMCAcib3QkwA= github.com/awslabs/goformation/v4 v4.19.5 h1:Y+Tzh01tWg8gf//AgGKUamaja7Wx9NPiJf1FpZu4/iU= github.com/awslabs/goformation/v4 v4.19.5/go.mod h1:JoNpnVCBOUtEz9bFxc9sjy8uBUCLF5c4D1L7RhRTVM8= @@ -634,8 +635,8 @@ github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7 github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= +github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -834,8 +835,8 @@ github.com/google/pprof v0.0.0-20210506205249-923b5ab0fc1a/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20230926050212-f7f687d19a98 h1:pUa4ghanp6q4IJHwE9RwLgmVFfReJN+KbQ8ExNEUUoQ= -github.com/google/pprof v0.0.0-20230926050212-f7f687d19a98/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= +github.com/google/pprof v0.0.0-20231212022811-ec68065c825e h1:bwOy7hAFd0C91URzMIEBfr6BAz29yk7Qj0cy6S7DJlU= +github.com/google/pprof v0.0.0-20231212022811-ec68065c825e/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= @@ -1331,8 +1332,8 @@ github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vv github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= -github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4= -github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= +github.com/onsi/ginkgo/v2 v2.13.2 h1:Bi2gGVkfn6gQcjNjZJVO8Gf0FHzMPf2phUei9tejVMs= +github.com/onsi/ginkgo/v2 v2.13.2/go.mod h1:XStQ8QcGwLyF4HdfcZB8SFOS/MWCgDuXMSBe6zrvLgM= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= @@ -1772,8 +1773,8 @@ golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= -golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA= -golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1891,8 +1892,8 @@ golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= -golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1914,8 +1915,8 @@ golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.14.0 h1:P0Vrf/2538nmC0H+pEQ3MNFRRnVR7RlqyVw+bvm26z0= -golang.org/x/oauth2 v0.14.0/go.mod h1:lAtNWgaWfL4cm7j2OV8TxGi9Qb7ECORx8DktCY74OwM= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2042,8 +2043,8 @@ golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2052,8 +2053,8 @@ golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8= -golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2166,8 +2167,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= +golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/pkg/awsapi/autoscaling.go b/pkg/awsapi/autoscaling.go index 6ea31cf02c..35c07d5c56 100644 --- a/pkg/awsapi/autoscaling.go +++ b/pkg/awsapi/autoscaling.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/autoscaling" . "github.com/aws/aws-sdk-go-v2/service/autoscaling" ) // ASG provides an interface to the AWS ASG service. type ASG interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() autoscaling.Options // Attaches one or more EC2 instances to the specified Auto Scaling group. When // you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of // the group by the number of instances being attached. If the number of instances diff --git a/pkg/awsapi/cloudformation.go b/pkg/awsapi/cloudformation.go index 8dcc0944d2..75faf8e881 100644 --- a/pkg/awsapi/cloudformation.go +++ b/pkg/awsapi/cloudformation.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/cloudformation" . "github.com/aws/aws-sdk-go-v2/service/cloudformation" ) // CloudFormation provides an interface to the AWS CloudFormation service. type CloudFormation interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() cloudformation.Options // Activate trusted access with Organizations. With trusted access between // StackSets and Organizations activated, the management account has permissions to // create and manage StackSets for your organization. diff --git a/pkg/awsapi/cloudtrail.go b/pkg/awsapi/cloudtrail.go index 854b0d1c0e..d15d880c6d 100644 --- a/pkg/awsapi/cloudtrail.go +++ b/pkg/awsapi/cloudtrail.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/cloudtrail" . "github.com/aws/aws-sdk-go-v2/service/cloudtrail" ) // CloudTrail provides an interface to the AWS CloudTrail service. type CloudTrail interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() cloudtrail.Options // Adds one or more tags to a trail, event data store, or channel, up to a limit // of 50. Overwrites an existing tag's value when a new value is specified for an // existing tag key. Tag key names must be unique; you cannot have two keys with diff --git a/pkg/awsapi/cloudwatchlogs.go b/pkg/awsapi/cloudwatchlogs.go index b83623c27c..f5fd4c051b 100644 --- a/pkg/awsapi/cloudwatchlogs.go +++ b/pkg/awsapi/cloudwatchlogs.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs" . "github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs" ) // CloudWatchLogs provides an interface to the AWS CloudWatchLogs service. type CloudWatchLogs interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() cloudwatchlogs.Options // Associates the specified KMS key with either one log group in the account, or // with all stored CloudWatch Logs query insights results in the account. When you // use AssociateKmsKey , you specify either the logGroupName parameter or the @@ -67,7 +74,7 @@ type CloudWatchLogs interface { // PutDeliveryDestination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html) // . // - If you are delivering logs cross-account, you must use - // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html) + // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) // in the destination account to assign an IAM policy to the destination. This // policy allows delivery to that destination. // - Use CreateDelivery to create a delivery by pairing exactly one delivery @@ -254,9 +261,10 @@ type CloudWatchLogs interface { // it to queries of a specific log group or queries with a certain status. DescribeQueries(ctx context.Context, params *DescribeQueriesInput, optFns ...func(*Options)) (*DescribeQueriesOutput, error) // This operation returns a paginated list of your saved CloudWatch Logs Insights - // query definitions. You can use the queryDefinitionNamePrefix parameter to limit - // the results to only the query definitions that have names that start with a - // certain string. + // query definitions. You can retrieve query definitions from the current account + // or from a source account that is linked to the current account. You can use the + // queryDefinitionNamePrefix parameter to limit the results to only the query + // definitions that have names that start with a certain string. DescribeQueryDefinitions(ctx context.Context, params *DescribeQueryDefinitionsInput, optFns ...func(*Options)) (*DescribeQueryDefinitionsOutput, error) // Lists the resource policies in this account. DescribeResourcePolicies(ctx context.Context, params *DescribeResourcePoliciesInput, optFns ...func(*Options)) (*DescribeResourcePoliciesOutput, error) @@ -450,7 +458,7 @@ type CloudWatchLogs interface { // - Use PutDeliveryDestination to create a delivery destination, which is a // logical object that represents the actual delivery destination. // - If you are delivering logs cross-account, you must use - // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html) + // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) // in the destination account to assign an IAM policy to the destination. This // policy allows delivery to that destination. // - Use CreateDelivery to create a delivery by pairing exactly one delivery @@ -506,7 +514,7 @@ type CloudWatchLogs interface { // information, see PutDeliveryDestination (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestination.html) // . // - If you are delivering logs cross-account, you must use - // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationolicy.html) + // PutDeliveryDestinationPolicy (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html) // in the destination account to assign an IAM policy to the destination. This // policy allows delivery to that destination. // - Use CreateDelivery to create a delivery by pairing exactly one delivery @@ -641,6 +649,36 @@ type CloudWatchLogs interface { // filterName . To perform a PutSubscriptionFilter operation for any destination // except a Lambda function, you must also have the iam:PassRole permission. PutSubscriptionFilter(ctx context.Context, params *PutSubscriptionFilterInput, optFns ...func(*Options)) (*PutSubscriptionFilterOutput, error) + // Starts a Live Tail streaming session for one or more log groups. A Live Tail + // session returns a stream of log events that have been recently ingested in the + // log groups. For more information, see Use Live Tail to view logs in near real + // time (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatchLogs_LiveTail.html) + // . The response to this operation is a response stream, over which the server + // sends live log events and the client receives them. The following objects are + // sent over the stream: + // - A single LiveTailSessionStart (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionStart.html) + // object is sent at the start of the session. + // - Every second, a LiveTailSessionUpdate (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_LiveTailSessionUpdate.html) + // object is sent. Each of these objects contains an array of the actual log + // events. If no new log events were ingested in the past second, the + // LiveTailSessionUpdate object will contain an empty array. The array of log + // events contained in a LiveTailSessionUpdate can include as many as 500 log + // events. If the number of log events matching the request exceeds 500 per second, + // the log events are sampled down to 500 log events to be included in each + // LiveTailSessionUpdate object. If your client consumes the log events slower + // than the server produces them, CloudWatch Logs buffers up to 10 + // LiveTailSessionUpdate events or 5000 log events, after which it starts + // dropping the oldest events. + // - A SessionStreamingException (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_SessionStreamingException.html) + // object is returned if an unknown error occurs on the server side. + // - A SessionTimeoutException (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_SessionTimeoutException.html) + // object is returned when the session times out, after it has been kept open for + // three hours. + // + // You can end a session before it times out by closing the session stream or by + // closing the client that is receiving the stream. The session also ends if the + // established connection between the client and the server breaks. + StartLiveTail(ctx context.Context, params *StartLiveTailInput, optFns ...func(*Options)) (*StartLiveTailOutput, error) // Schedules a query of a log group using CloudWatch Logs Insights. You specify // the log group and time range to query and the query string to use. For more // information, see CloudWatch Logs Insights Query Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html) diff --git a/pkg/awsapi/eks.go b/pkg/awsapi/eks.go index 9d9bdf336d..53ae7dc78e 100644 --- a/pkg/awsapi/eks.go +++ b/pkg/awsapi/eks.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/eks" . "github.com/aws/aws-sdk-go-v2/service/eks" ) // EKS provides an interface to the AWS EKS service. type EKS interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() eks.Options // Associate encryption configuration to an existing cluster. You can use this API // to enable encryption on existing clusters which do not have encryption already // enabled. This allows you to implement a defense-in-depth security strategy diff --git a/pkg/awsapi/elasticloadbalancing.go b/pkg/awsapi/elasticloadbalancing.go index 27b9ad6b32..780c5001d5 100644 --- a/pkg/awsapi/elasticloadbalancing.go +++ b/pkg/awsapi/elasticloadbalancing.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing" . "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing" ) // ELB provides an interface to the AWS ELB service. type ELB interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() elasticloadbalancing.Options // Adds the specified tags to the specified load balancer. Each load balancer can // have a maximum of 10 tags. Each tag consists of a key and an optional value. If // a tag with the same key is already associated with the load balancer, AddTags diff --git a/pkg/awsapi/elasticloadbalancingv2.go b/pkg/awsapi/elasticloadbalancingv2.go index d43203de20..b62777f201 100644 --- a/pkg/awsapi/elasticloadbalancingv2.go +++ b/pkg/awsapi/elasticloadbalancingv2.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2" . "github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2" ) // ELBV2 provides an interface to the AWS ELBV2 service. type ELBV2 interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() elasticloadbalancingv2.Options // Adds the specified SSL server certificate to the certificate list for the // specified HTTPS or TLS listener. If the certificate in already in the // certificate list, the call is successful but the certificate is not added again. diff --git a/pkg/awsapi/iam.go b/pkg/awsapi/iam.go index c46c800952..04c46f024e 100644 --- a/pkg/awsapi/iam.go +++ b/pkg/awsapi/iam.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/iam" . "github.com/aws/aws-sdk-go-v2/service/iam" ) // IAM provides an interface to the AWS IAM service. type IAM interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() iam.Options // Adds a new client ID (also known as audience) to the list of client IDs already // registered for the specified IAM OpenID Connect (OIDC) provider resource. This // operation is idempotent; it does not fail or return an error if you add an diff --git a/pkg/awsapi/outposts.go b/pkg/awsapi/outposts.go index 258e820daf..362a270f52 100644 --- a/pkg/awsapi/outposts.go +++ b/pkg/awsapi/outposts.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/outposts" . "github.com/aws/aws-sdk-go-v2/service/outposts" ) // Outposts provides an interface to the AWS Outposts service. type Outposts interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() outposts.Options // Cancels the specified order for an Outpost. CancelOrder(ctx context.Context, params *CancelOrderInput, optFns ...func(*Options)) (*CancelOrderOutput, error) // Creates an order for an Outpost. diff --git a/pkg/awsapi/ssm.go b/pkg/awsapi/ssm.go index ed48153c4e..fe0b28c44f 100644 --- a/pkg/awsapi/ssm.go +++ b/pkg/awsapi/ssm.go @@ -5,11 +5,18 @@ package awsapi import ( "context" + "github.com/aws/aws-sdk-go-v2/service/ssm" . "github.com/aws/aws-sdk-go-v2/service/ssm" ) // SSM provides an interface to the AWS SSM service. type SSM interface { + // Options returns a copy of the client configuration. + // + // Callers SHOULD NOT perform mutations on any inner structures within client + // config. Config overrides should instead be made on a per-operation basis through + // functional options. + Options() ssm.Options // Adds or overwrites one or more tags for the specified resource. Tags are // metadata that you can assign to your automations, documents, managed nodes, // maintenance windows, Parameter Store parameters, and patch baselines. Tags diff --git a/pkg/ctl/utils/mocks/VPCConfigUpdater.go b/pkg/ctl/utils/mocks/VPCConfigUpdater.go index 89033c16ef..6c3d0aa326 100644 --- a/pkg/ctl/utils/mocks/VPCConfigUpdater.go +++ b/pkg/ctl/utils/mocks/VPCConfigUpdater.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks @@ -18,6 +18,10 @@ type VPCConfigUpdater struct { func (_m *VPCConfigUpdater) UpdateClusterConfig(ctx context.Context, input *eks.UpdateClusterConfigInput) error { ret := _m.Called(ctx, input) + if len(ret) == 0 { + panic("no return value specified for UpdateClusterConfig") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateClusterConfigInput) error); ok { r0 = rf(ctx, input) diff --git a/pkg/eks/mocks/ConfigProvider.go b/pkg/eks/mocks/ConfigProvider.go index 5e809b75b7..ea4d551cd2 100644 --- a/pkg/eks/mocks/ConfigProvider.go +++ b/pkg/eks/mocks/ConfigProvider.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks @@ -25,6 +25,10 @@ func (_m *ConfigProvider) ClientConfig(serviceName string, cfgs ...*aws.Config) _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ClientConfig") + } + var r0 client.Config if rf, ok := ret.Get(0).(func(string, ...*aws.Config) client.Config); ok { r0 = rf(serviceName, cfgs...) diff --git a/pkg/eks/mocks/KubeNodeGroup.go b/pkg/eks/mocks/KubeNodeGroup.go index 38f1266e8d..f7238b0460 100644 --- a/pkg/eks/mocks/KubeNodeGroup.go +++ b/pkg/eks/mocks/KubeNodeGroup.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocks @@ -16,6 +16,10 @@ type KubeNodeGroup struct { func (_m *KubeNodeGroup) GetAMIFamily() string { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for GetAMIFamily") + } + var r0 string if rf, ok := ret.Get(0).(func() string); ok { r0 = rf() @@ -30,6 +34,10 @@ func (_m *KubeNodeGroup) GetAMIFamily() string { func (_m *KubeNodeGroup) ListOptions() v1.ListOptions { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for ListOptions") + } + var r0 v1.ListOptions if rf, ok := ret.Get(0).(func() v1.ListOptions); ok { r0 = rf() @@ -44,6 +52,10 @@ func (_m *KubeNodeGroup) ListOptions() v1.ListOptions { func (_m *KubeNodeGroup) NameString() string { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for NameString") + } + var r0 string if rf, ok := ret.Get(0).(func() string); ok { r0 = rf() @@ -58,6 +70,10 @@ func (_m *KubeNodeGroup) NameString() string { func (_m *KubeNodeGroup) Size() int { ret := _m.Called() + if len(ret) == 0 { + panic("no return value specified for Size") + } + var r0 int if rf, ok := ret.Get(0).(func() int); ok { r0 = rf() diff --git a/pkg/eks/mocksv2/ASG.go b/pkg/eks/mocksv2/ASG.go index a349b2c35c..40cc4d62a0 100644 --- a/pkg/eks/mocksv2/ASG.go +++ b/pkg/eks/mocksv2/ASG.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -26,6 +26,10 @@ func (_m *ASG) AttachInstances(ctx context.Context, params *autoscaling.AttachIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachInstances") + } + var r0 *autoscaling.AttachInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachInstancesInput, ...func(*autoscaling.Options)) (*autoscaling.AttachInstancesOutput, error)); ok { @@ -59,6 +63,10 @@ func (_m *ASG) AttachLoadBalancerTargetGroups(ctx context.Context, params *autos _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachLoadBalancerTargetGroups") + } + var r0 *autoscaling.AttachLoadBalancerTargetGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancerTargetGroupsInput, ...func(*autoscaling.Options)) (*autoscaling.AttachLoadBalancerTargetGroupsOutput, error)); ok { @@ -92,6 +100,10 @@ func (_m *ASG) AttachLoadBalancers(ctx context.Context, params *autoscaling.Atta _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachLoadBalancers") + } + var r0 *autoscaling.AttachLoadBalancersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachLoadBalancersInput, ...func(*autoscaling.Options)) (*autoscaling.AttachLoadBalancersOutput, error)); ok { @@ -125,6 +137,10 @@ func (_m *ASG) AttachTrafficSources(ctx context.Context, params *autoscaling.Att _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachTrafficSources") + } + var r0 *autoscaling.AttachTrafficSourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.AttachTrafficSourcesInput, ...func(*autoscaling.Options)) (*autoscaling.AttachTrafficSourcesOutput, error)); ok { @@ -158,6 +174,10 @@ func (_m *ASG) BatchDeleteScheduledAction(ctx context.Context, params *autoscali _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for BatchDeleteScheduledAction") + } + var r0 *autoscaling.BatchDeleteScheduledActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchDeleteScheduledActionInput, ...func(*autoscaling.Options)) (*autoscaling.BatchDeleteScheduledActionOutput, error)); ok { @@ -191,6 +211,10 @@ func (_m *ASG) BatchPutScheduledUpdateGroupAction(ctx context.Context, params *a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for BatchPutScheduledUpdateGroupAction") + } + var r0 *autoscaling.BatchPutScheduledUpdateGroupActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.BatchPutScheduledUpdateGroupActionInput, ...func(*autoscaling.Options)) (*autoscaling.BatchPutScheduledUpdateGroupActionOutput, error)); ok { @@ -224,6 +248,10 @@ func (_m *ASG) CancelInstanceRefresh(ctx context.Context, params *autoscaling.Ca _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelInstanceRefresh") + } + var r0 *autoscaling.CancelInstanceRefreshOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CancelInstanceRefreshInput, ...func(*autoscaling.Options)) (*autoscaling.CancelInstanceRefreshOutput, error)); ok { @@ -257,6 +285,10 @@ func (_m *ASG) CompleteLifecycleAction(ctx context.Context, params *autoscaling. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CompleteLifecycleAction") + } + var r0 *autoscaling.CompleteLifecycleActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CompleteLifecycleActionInput, ...func(*autoscaling.Options)) (*autoscaling.CompleteLifecycleActionOutput, error)); ok { @@ -290,6 +322,10 @@ func (_m *ASG) CreateAutoScalingGroup(ctx context.Context, params *autoscaling.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAutoScalingGroup") + } + var r0 *autoscaling.CreateAutoScalingGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateAutoScalingGroupInput, ...func(*autoscaling.Options)) (*autoscaling.CreateAutoScalingGroupOutput, error)); ok { @@ -323,6 +359,10 @@ func (_m *ASG) CreateLaunchConfiguration(ctx context.Context, params *autoscalin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLaunchConfiguration") + } + var r0 *autoscaling.CreateLaunchConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateLaunchConfigurationInput, ...func(*autoscaling.Options)) (*autoscaling.CreateLaunchConfigurationOutput, error)); ok { @@ -356,6 +396,10 @@ func (_m *ASG) CreateOrUpdateTags(ctx context.Context, params *autoscaling.Creat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOrUpdateTags") + } + var r0 *autoscaling.CreateOrUpdateTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.CreateOrUpdateTagsInput, ...func(*autoscaling.Options)) (*autoscaling.CreateOrUpdateTagsOutput, error)); ok { @@ -389,6 +433,10 @@ func (_m *ASG) DeleteAutoScalingGroup(ctx context.Context, params *autoscaling.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAutoScalingGroup") + } + var r0 *autoscaling.DeleteAutoScalingGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteAutoScalingGroupInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteAutoScalingGroupOutput, error)); ok { @@ -422,6 +470,10 @@ func (_m *ASG) DeleteLaunchConfiguration(ctx context.Context, params *autoscalin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLaunchConfiguration") + } + var r0 *autoscaling.DeleteLaunchConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLaunchConfigurationInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteLaunchConfigurationOutput, error)); ok { @@ -455,6 +507,10 @@ func (_m *ASG) DeleteLifecycleHook(ctx context.Context, params *autoscaling.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLifecycleHook") + } + var r0 *autoscaling.DeleteLifecycleHookOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteLifecycleHookInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteLifecycleHookOutput, error)); ok { @@ -488,6 +544,10 @@ func (_m *ASG) DeleteNotificationConfiguration(ctx context.Context, params *auto _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNotificationConfiguration") + } + var r0 *autoscaling.DeleteNotificationConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteNotificationConfigurationInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteNotificationConfigurationOutput, error)); ok { @@ -521,6 +581,10 @@ func (_m *ASG) DeletePolicy(ctx context.Context, params *autoscaling.DeletePolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePolicy") + } + var r0 *autoscaling.DeletePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeletePolicyInput, ...func(*autoscaling.Options)) (*autoscaling.DeletePolicyOutput, error)); ok { @@ -554,6 +618,10 @@ func (_m *ASG) DeleteScheduledAction(ctx context.Context, params *autoscaling.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteScheduledAction") + } + var r0 *autoscaling.DeleteScheduledActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteScheduledActionInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteScheduledActionOutput, error)); ok { @@ -587,6 +655,10 @@ func (_m *ASG) DeleteTags(ctx context.Context, params *autoscaling.DeleteTagsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTags") + } + var r0 *autoscaling.DeleteTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteTagsInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteTagsOutput, error)); ok { @@ -620,6 +692,10 @@ func (_m *ASG) DeleteWarmPool(ctx context.Context, params *autoscaling.DeleteWar _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteWarmPool") + } + var r0 *autoscaling.DeleteWarmPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DeleteWarmPoolInput, ...func(*autoscaling.Options)) (*autoscaling.DeleteWarmPoolOutput, error)); ok { @@ -653,6 +729,10 @@ func (_m *ASG) DescribeAccountLimits(ctx context.Context, params *autoscaling.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountLimits") + } + var r0 *autoscaling.DescribeAccountLimitsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAccountLimitsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeAccountLimitsOutput, error)); ok { @@ -686,6 +766,10 @@ func (_m *ASG) DescribeAdjustmentTypes(ctx context.Context, params *autoscaling. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAdjustmentTypes") + } + var r0 *autoscaling.DescribeAdjustmentTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAdjustmentTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeAdjustmentTypesOutput, error)); ok { @@ -719,6 +803,10 @@ func (_m *ASG) DescribeAutoScalingGroups(ctx context.Context, params *autoscalin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAutoScalingGroups") + } + var r0 *autoscaling.DescribeAutoScalingGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingGroupsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error)); ok { @@ -752,6 +840,10 @@ func (_m *ASG) DescribeAutoScalingInstances(ctx context.Context, params *autosca _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAutoScalingInstances") + } + var r0 *autoscaling.DescribeAutoScalingInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingInstancesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingInstancesOutput, error)); ok { @@ -785,6 +877,10 @@ func (_m *ASG) DescribeAutoScalingNotificationTypes(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAutoScalingNotificationTypes") + } + var r0 *autoscaling.DescribeAutoScalingNotificationTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeAutoScalingNotificationTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingNotificationTypesOutput, error)); ok { @@ -818,6 +914,10 @@ func (_m *ASG) DescribeInstanceRefreshes(ctx context.Context, params *autoscalin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceRefreshes") + } + var r0 *autoscaling.DescribeInstanceRefreshesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeInstanceRefreshesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeInstanceRefreshesOutput, error)); ok { @@ -851,6 +951,10 @@ func (_m *ASG) DescribeLaunchConfigurations(ctx context.Context, params *autosca _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLaunchConfigurations") + } + var r0 *autoscaling.DescribeLaunchConfigurationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLaunchConfigurationsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeLaunchConfigurationsOutput, error)); ok { @@ -884,6 +988,10 @@ func (_m *ASG) DescribeLifecycleHookTypes(ctx context.Context, params *autoscali _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLifecycleHookTypes") + } + var r0 *autoscaling.DescribeLifecycleHookTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHookTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeLifecycleHookTypesOutput, error)); ok { @@ -917,6 +1025,10 @@ func (_m *ASG) DescribeLifecycleHooks(ctx context.Context, params *autoscaling.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLifecycleHooks") + } + var r0 *autoscaling.DescribeLifecycleHooksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLifecycleHooksInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeLifecycleHooksOutput, error)); ok { @@ -950,6 +1062,10 @@ func (_m *ASG) DescribeLoadBalancerTargetGroups(ctx context.Context, params *aut _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancerTargetGroups") + } + var r0 *autoscaling.DescribeLoadBalancerTargetGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancerTargetGroupsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeLoadBalancerTargetGroupsOutput, error)); ok { @@ -983,6 +1099,10 @@ func (_m *ASG) DescribeLoadBalancers(ctx context.Context, params *autoscaling.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancers") + } + var r0 *autoscaling.DescribeLoadBalancersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeLoadBalancersInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeLoadBalancersOutput, error)); ok { @@ -1016,6 +1136,10 @@ func (_m *ASG) DescribeMetricCollectionTypes(ctx context.Context, params *autosc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMetricCollectionTypes") + } + var r0 *autoscaling.DescribeMetricCollectionTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeMetricCollectionTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeMetricCollectionTypesOutput, error)); ok { @@ -1049,6 +1173,10 @@ func (_m *ASG) DescribeNotificationConfigurations(ctx context.Context, params *a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNotificationConfigurations") + } + var r0 *autoscaling.DescribeNotificationConfigurationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeNotificationConfigurationsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeNotificationConfigurationsOutput, error)); ok { @@ -1082,6 +1210,10 @@ func (_m *ASG) DescribePolicies(ctx context.Context, params *autoscaling.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePolicies") + } + var r0 *autoscaling.DescribePoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribePoliciesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribePoliciesOutput, error)); ok { @@ -1115,6 +1247,10 @@ func (_m *ASG) DescribeScalingActivities(ctx context.Context, params *autoscalin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeScalingActivities") + } + var r0 *autoscaling.DescribeScalingActivitiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingActivitiesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeScalingActivitiesOutput, error)); ok { @@ -1148,6 +1284,10 @@ func (_m *ASG) DescribeScalingProcessTypes(ctx context.Context, params *autoscal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeScalingProcessTypes") + } + var r0 *autoscaling.DescribeScalingProcessTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScalingProcessTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeScalingProcessTypesOutput, error)); ok { @@ -1181,6 +1321,10 @@ func (_m *ASG) DescribeScheduledActions(ctx context.Context, params *autoscaling _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeScheduledActions") + } + var r0 *autoscaling.DescribeScheduledActionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeScheduledActionsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeScheduledActionsOutput, error)); ok { @@ -1214,6 +1358,10 @@ func (_m *ASG) DescribeTags(ctx context.Context, params *autoscaling.DescribeTag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTags") + } + var r0 *autoscaling.DescribeTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTagsInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeTagsOutput, error)); ok { @@ -1247,6 +1395,10 @@ func (_m *ASG) DescribeTerminationPolicyTypes(ctx context.Context, params *autos _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTerminationPolicyTypes") + } + var r0 *autoscaling.DescribeTerminationPolicyTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTerminationPolicyTypesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeTerminationPolicyTypesOutput, error)); ok { @@ -1280,6 +1432,10 @@ func (_m *ASG) DescribeTrafficSources(ctx context.Context, params *autoscaling.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrafficSources") + } + var r0 *autoscaling.DescribeTrafficSourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeTrafficSourcesInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeTrafficSourcesOutput, error)); ok { @@ -1313,6 +1469,10 @@ func (_m *ASG) DescribeWarmPool(ctx context.Context, params *autoscaling.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeWarmPool") + } + var r0 *autoscaling.DescribeWarmPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DescribeWarmPoolInput, ...func(*autoscaling.Options)) (*autoscaling.DescribeWarmPoolOutput, error)); ok { @@ -1346,6 +1506,10 @@ func (_m *ASG) DetachInstances(ctx context.Context, params *autoscaling.DetachIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachInstances") + } + var r0 *autoscaling.DetachInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachInstancesInput, ...func(*autoscaling.Options)) (*autoscaling.DetachInstancesOutput, error)); ok { @@ -1379,6 +1543,10 @@ func (_m *ASG) DetachLoadBalancerTargetGroups(ctx context.Context, params *autos _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachLoadBalancerTargetGroups") + } + var r0 *autoscaling.DetachLoadBalancerTargetGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancerTargetGroupsInput, ...func(*autoscaling.Options)) (*autoscaling.DetachLoadBalancerTargetGroupsOutput, error)); ok { @@ -1412,6 +1580,10 @@ func (_m *ASG) DetachLoadBalancers(ctx context.Context, params *autoscaling.Deta _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachLoadBalancers") + } + var r0 *autoscaling.DetachLoadBalancersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachLoadBalancersInput, ...func(*autoscaling.Options)) (*autoscaling.DetachLoadBalancersOutput, error)); ok { @@ -1445,6 +1617,10 @@ func (_m *ASG) DetachTrafficSources(ctx context.Context, params *autoscaling.Det _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachTrafficSources") + } + var r0 *autoscaling.DetachTrafficSourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DetachTrafficSourcesInput, ...func(*autoscaling.Options)) (*autoscaling.DetachTrafficSourcesOutput, error)); ok { @@ -1478,6 +1654,10 @@ func (_m *ASG) DisableMetricsCollection(ctx context.Context, params *autoscaling _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableMetricsCollection") + } + var r0 *autoscaling.DisableMetricsCollectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.DisableMetricsCollectionInput, ...func(*autoscaling.Options)) (*autoscaling.DisableMetricsCollectionOutput, error)); ok { @@ -1511,6 +1691,10 @@ func (_m *ASG) EnableMetricsCollection(ctx context.Context, params *autoscaling. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableMetricsCollection") + } + var r0 *autoscaling.EnableMetricsCollectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnableMetricsCollectionInput, ...func(*autoscaling.Options)) (*autoscaling.EnableMetricsCollectionOutput, error)); ok { @@ -1544,6 +1728,10 @@ func (_m *ASG) EnterStandby(ctx context.Context, params *autoscaling.EnterStandb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnterStandby") + } + var r0 *autoscaling.EnterStandbyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.EnterStandbyInput, ...func(*autoscaling.Options)) (*autoscaling.EnterStandbyOutput, error)); ok { @@ -1577,6 +1765,10 @@ func (_m *ASG) ExecutePolicy(ctx context.Context, params *autoscaling.ExecutePol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecutePolicy") + } + var r0 *autoscaling.ExecutePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExecutePolicyInput, ...func(*autoscaling.Options)) (*autoscaling.ExecutePolicyOutput, error)); ok { @@ -1610,6 +1802,10 @@ func (_m *ASG) ExitStandby(ctx context.Context, params *autoscaling.ExitStandbyI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExitStandby") + } + var r0 *autoscaling.ExitStandbyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ExitStandbyInput, ...func(*autoscaling.Options)) (*autoscaling.ExitStandbyOutput, error)); ok { @@ -1643,6 +1839,10 @@ func (_m *ASG) GetPredictiveScalingForecast(ctx context.Context, params *autosca _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPredictiveScalingForecast") + } + var r0 *autoscaling.GetPredictiveScalingForecastOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.GetPredictiveScalingForecastInput, ...func(*autoscaling.Options)) (*autoscaling.GetPredictiveScalingForecastOutput, error)); ok { @@ -1665,6 +1865,24 @@ func (_m *ASG) GetPredictiveScalingForecast(ctx context.Context, params *autosca return r0, r1 } +// Options provides a mock function with given fields: +func (_m *ASG) Options() autoscaling.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 autoscaling.Options + if rf, ok := ret.Get(0).(func() autoscaling.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(autoscaling.Options) + } + + return r0 +} + // PutLifecycleHook provides a mock function with given fields: ctx, params, optFns func (_m *ASG) PutLifecycleHook(ctx context.Context, params *autoscaling.PutLifecycleHookInput, optFns ...func(*autoscaling.Options)) (*autoscaling.PutLifecycleHookOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1676,6 +1894,10 @@ func (_m *ASG) PutLifecycleHook(ctx context.Context, params *autoscaling.PutLife _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutLifecycleHook") + } + var r0 *autoscaling.PutLifecycleHookOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutLifecycleHookInput, ...func(*autoscaling.Options)) (*autoscaling.PutLifecycleHookOutput, error)); ok { @@ -1709,6 +1931,10 @@ func (_m *ASG) PutNotificationConfiguration(ctx context.Context, params *autosca _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutNotificationConfiguration") + } + var r0 *autoscaling.PutNotificationConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutNotificationConfigurationInput, ...func(*autoscaling.Options)) (*autoscaling.PutNotificationConfigurationOutput, error)); ok { @@ -1742,6 +1968,10 @@ func (_m *ASG) PutScalingPolicy(ctx context.Context, params *autoscaling.PutScal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutScalingPolicy") + } + var r0 *autoscaling.PutScalingPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScalingPolicyInput, ...func(*autoscaling.Options)) (*autoscaling.PutScalingPolicyOutput, error)); ok { @@ -1775,6 +2005,10 @@ func (_m *ASG) PutScheduledUpdateGroupAction(ctx context.Context, params *autosc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutScheduledUpdateGroupAction") + } + var r0 *autoscaling.PutScheduledUpdateGroupActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutScheduledUpdateGroupActionInput, ...func(*autoscaling.Options)) (*autoscaling.PutScheduledUpdateGroupActionOutput, error)); ok { @@ -1808,6 +2042,10 @@ func (_m *ASG) PutWarmPool(ctx context.Context, params *autoscaling.PutWarmPoolI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutWarmPool") + } + var r0 *autoscaling.PutWarmPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.PutWarmPoolInput, ...func(*autoscaling.Options)) (*autoscaling.PutWarmPoolOutput, error)); ok { @@ -1841,6 +2079,10 @@ func (_m *ASG) RecordLifecycleActionHeartbeat(ctx context.Context, params *autos _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RecordLifecycleActionHeartbeat") + } + var r0 *autoscaling.RecordLifecycleActionHeartbeatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.RecordLifecycleActionHeartbeatInput, ...func(*autoscaling.Options)) (*autoscaling.RecordLifecycleActionHeartbeatOutput, error)); ok { @@ -1874,6 +2116,10 @@ func (_m *ASG) ResumeProcesses(ctx context.Context, params *autoscaling.ResumePr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResumeProcesses") + } + var r0 *autoscaling.ResumeProcessesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.ResumeProcessesInput, ...func(*autoscaling.Options)) (*autoscaling.ResumeProcessesOutput, error)); ok { @@ -1907,6 +2153,10 @@ func (_m *ASG) RollbackInstanceRefresh(ctx context.Context, params *autoscaling. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RollbackInstanceRefresh") + } + var r0 *autoscaling.RollbackInstanceRefreshOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.RollbackInstanceRefreshInput, ...func(*autoscaling.Options)) (*autoscaling.RollbackInstanceRefreshOutput, error)); ok { @@ -1940,6 +2190,10 @@ func (_m *ASG) SetDesiredCapacity(ctx context.Context, params *autoscaling.SetDe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetDesiredCapacity") + } + var r0 *autoscaling.SetDesiredCapacityOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetDesiredCapacityInput, ...func(*autoscaling.Options)) (*autoscaling.SetDesiredCapacityOutput, error)); ok { @@ -1973,6 +2227,10 @@ func (_m *ASG) SetInstanceHealth(ctx context.Context, params *autoscaling.SetIns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetInstanceHealth") + } + var r0 *autoscaling.SetInstanceHealthOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceHealthInput, ...func(*autoscaling.Options)) (*autoscaling.SetInstanceHealthOutput, error)); ok { @@ -2006,6 +2264,10 @@ func (_m *ASG) SetInstanceProtection(ctx context.Context, params *autoscaling.Se _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetInstanceProtection") + } + var r0 *autoscaling.SetInstanceProtectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SetInstanceProtectionInput, ...func(*autoscaling.Options)) (*autoscaling.SetInstanceProtectionOutput, error)); ok { @@ -2039,6 +2301,10 @@ func (_m *ASG) StartInstanceRefresh(ctx context.Context, params *autoscaling.Sta _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartInstanceRefresh") + } + var r0 *autoscaling.StartInstanceRefreshOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.StartInstanceRefreshInput, ...func(*autoscaling.Options)) (*autoscaling.StartInstanceRefreshOutput, error)); ok { @@ -2072,6 +2338,10 @@ func (_m *ASG) SuspendProcesses(ctx context.Context, params *autoscaling.Suspend _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SuspendProcesses") + } + var r0 *autoscaling.SuspendProcessesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.SuspendProcessesInput, ...func(*autoscaling.Options)) (*autoscaling.SuspendProcessesOutput, error)); ok { @@ -2105,6 +2375,10 @@ func (_m *ASG) TerminateInstanceInAutoScalingGroup(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TerminateInstanceInAutoScalingGroup") + } + var r0 *autoscaling.TerminateInstanceInAutoScalingGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.TerminateInstanceInAutoScalingGroupInput, ...func(*autoscaling.Options)) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)); ok { @@ -2138,6 +2412,10 @@ func (_m *ASG) UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.U _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAutoScalingGroup") + } + var r0 *autoscaling.UpdateAutoScalingGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *autoscaling.UpdateAutoScalingGroupInput, ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error)); ok { diff --git a/pkg/eks/mocksv2/CloudFormation.go b/pkg/eks/mocksv2/CloudFormation.go index 2fedae3a33..29b20a2e9f 100644 --- a/pkg/eks/mocksv2/CloudFormation.go +++ b/pkg/eks/mocksv2/CloudFormation.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -26,6 +26,10 @@ func (_m *CloudFormation) ActivateOrganizationsAccess(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ActivateOrganizationsAccess") + } + var r0 *cloudformation.ActivateOrganizationsAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ActivateOrganizationsAccessInput, ...func(*cloudformation.Options)) (*cloudformation.ActivateOrganizationsAccessOutput, error)); ok { @@ -59,6 +63,10 @@ func (_m *CloudFormation) ActivateType(ctx context.Context, params *cloudformati _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ActivateType") + } + var r0 *cloudformation.ActivateTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ActivateTypeInput, ...func(*cloudformation.Options)) (*cloudformation.ActivateTypeOutput, error)); ok { @@ -92,6 +100,10 @@ func (_m *CloudFormation) BatchDescribeTypeConfigurations(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for BatchDescribeTypeConfigurations") + } + var r0 *cloudformation.BatchDescribeTypeConfigurationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.BatchDescribeTypeConfigurationsInput, ...func(*cloudformation.Options)) (*cloudformation.BatchDescribeTypeConfigurationsOutput, error)); ok { @@ -125,6 +137,10 @@ func (_m *CloudFormation) CancelUpdateStack(ctx context.Context, params *cloudfo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelUpdateStack") + } + var r0 *cloudformation.CancelUpdateStackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CancelUpdateStackInput, ...func(*cloudformation.Options)) (*cloudformation.CancelUpdateStackOutput, error)); ok { @@ -158,6 +174,10 @@ func (_m *CloudFormation) ContinueUpdateRollback(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ContinueUpdateRollback") + } + var r0 *cloudformation.ContinueUpdateRollbackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ContinueUpdateRollbackInput, ...func(*cloudformation.Options)) (*cloudformation.ContinueUpdateRollbackOutput, error)); ok { @@ -191,6 +211,10 @@ func (_m *CloudFormation) CreateChangeSet(ctx context.Context, params *cloudform _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateChangeSet") + } + var r0 *cloudformation.CreateChangeSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateChangeSetInput, ...func(*cloudformation.Options)) (*cloudformation.CreateChangeSetOutput, error)); ok { @@ -224,6 +248,10 @@ func (_m *CloudFormation) CreateStack(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateStack") + } + var r0 *cloudformation.CreateStackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInput, ...func(*cloudformation.Options)) (*cloudformation.CreateStackOutput, error)); ok { @@ -257,6 +285,10 @@ func (_m *CloudFormation) CreateStackInstances(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateStackInstances") + } + var r0 *cloudformation.CreateStackInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackInstancesInput, ...func(*cloudformation.Options)) (*cloudformation.CreateStackInstancesOutput, error)); ok { @@ -290,6 +322,10 @@ func (_m *CloudFormation) CreateStackSet(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateStackSet") + } + var r0 *cloudformation.CreateStackSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.CreateStackSetInput, ...func(*cloudformation.Options)) (*cloudformation.CreateStackSetOutput, error)); ok { @@ -323,6 +359,10 @@ func (_m *CloudFormation) DeactivateOrganizationsAccess(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeactivateOrganizationsAccess") + } + var r0 *cloudformation.DeactivateOrganizationsAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeactivateOrganizationsAccessInput, ...func(*cloudformation.Options)) (*cloudformation.DeactivateOrganizationsAccessOutput, error)); ok { @@ -356,6 +396,10 @@ func (_m *CloudFormation) DeactivateType(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeactivateType") + } + var r0 *cloudformation.DeactivateTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeactivateTypeInput, ...func(*cloudformation.Options)) (*cloudformation.DeactivateTypeOutput, error)); ok { @@ -389,6 +433,10 @@ func (_m *CloudFormation) DeleteChangeSet(ctx context.Context, params *cloudform _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteChangeSet") + } + var r0 *cloudformation.DeleteChangeSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteChangeSetInput, ...func(*cloudformation.Options)) (*cloudformation.DeleteChangeSetOutput, error)); ok { @@ -422,6 +470,10 @@ func (_m *CloudFormation) DeleteStack(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteStack") + } + var r0 *cloudformation.DeleteStackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInput, ...func(*cloudformation.Options)) (*cloudformation.DeleteStackOutput, error)); ok { @@ -455,6 +507,10 @@ func (_m *CloudFormation) DeleteStackInstances(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteStackInstances") + } + var r0 *cloudformation.DeleteStackInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackInstancesInput, ...func(*cloudformation.Options)) (*cloudformation.DeleteStackInstancesOutput, error)); ok { @@ -488,6 +544,10 @@ func (_m *CloudFormation) DeleteStackSet(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteStackSet") + } + var r0 *cloudformation.DeleteStackSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeleteStackSetInput, ...func(*cloudformation.Options)) (*cloudformation.DeleteStackSetOutput, error)); ok { @@ -521,6 +581,10 @@ func (_m *CloudFormation) DeregisterType(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterType") + } + var r0 *cloudformation.DeregisterTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DeregisterTypeInput, ...func(*cloudformation.Options)) (*cloudformation.DeregisterTypeOutput, error)); ok { @@ -554,6 +618,10 @@ func (_m *CloudFormation) DescribeAccountLimits(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountLimits") + } + var r0 *cloudformation.DescribeAccountLimitsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeAccountLimitsInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeAccountLimitsOutput, error)); ok { @@ -587,6 +655,10 @@ func (_m *CloudFormation) DescribeChangeSet(ctx context.Context, params *cloudfo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeChangeSet") + } + var r0 *cloudformation.DescribeChangeSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeChangeSetOutput, error)); ok { @@ -620,6 +692,10 @@ func (_m *CloudFormation) DescribeChangeSetHooks(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeChangeSetHooks") + } + var r0 *cloudformation.DescribeChangeSetHooksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeChangeSetHooksInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeChangeSetHooksOutput, error)); ok { @@ -653,6 +729,10 @@ func (_m *CloudFormation) DescribeOrganizationsAccess(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeOrganizationsAccess") + } + var r0 *cloudformation.DescribeOrganizationsAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeOrganizationsAccessInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeOrganizationsAccessOutput, error)); ok { @@ -686,6 +766,10 @@ func (_m *CloudFormation) DescribePublisher(ctx context.Context, params *cloudfo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePublisher") + } + var r0 *cloudformation.DescribePublisherOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribePublisherInput, ...func(*cloudformation.Options)) (*cloudformation.DescribePublisherOutput, error)); ok { @@ -719,6 +803,10 @@ func (_m *CloudFormation) DescribeStackDriftDetectionStatus(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackDriftDetectionStatus") + } + var r0 *cloudformation.DescribeStackDriftDetectionStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackDriftDetectionStatusInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackDriftDetectionStatusOutput, error)); ok { @@ -752,6 +840,10 @@ func (_m *CloudFormation) DescribeStackEvents(ctx context.Context, params *cloud _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackEvents") + } + var r0 *cloudformation.DescribeStackEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackEventsInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackEventsOutput, error)); ok { @@ -785,6 +877,10 @@ func (_m *CloudFormation) DescribeStackInstance(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackInstance") + } + var r0 *cloudformation.DescribeStackInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackInstanceInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackInstanceOutput, error)); ok { @@ -818,6 +914,10 @@ func (_m *CloudFormation) DescribeStackResource(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackResource") + } + var r0 *cloudformation.DescribeStackResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackResourceOutput, error)); ok { @@ -851,6 +951,10 @@ func (_m *CloudFormation) DescribeStackResourceDrifts(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackResourceDrifts") + } + var r0 *cloudformation.DescribeStackResourceDriftsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourceDriftsInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackResourceDriftsOutput, error)); ok { @@ -884,6 +988,10 @@ func (_m *CloudFormation) DescribeStackResources(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackResources") + } + var r0 *cloudformation.DescribeStackResourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackResourcesInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackResourcesOutput, error)); ok { @@ -917,6 +1025,10 @@ func (_m *CloudFormation) DescribeStackSet(ctx context.Context, params *cloudfor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackSet") + } + var r0 *cloudformation.DescribeStackSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackSetOutput, error)); ok { @@ -950,6 +1062,10 @@ func (_m *CloudFormation) DescribeStackSetOperation(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStackSetOperation") + } + var r0 *cloudformation.DescribeStackSetOperationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStackSetOperationInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStackSetOperationOutput, error)); ok { @@ -983,6 +1099,10 @@ func (_m *CloudFormation) DescribeStacks(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStacks") + } + var r0 *cloudformation.DescribeStacksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeStacksInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)); ok { @@ -1016,6 +1136,10 @@ func (_m *CloudFormation) DescribeType(ctx context.Context, params *cloudformati _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeType") + } + var r0 *cloudformation.DescribeTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeTypeOutput, error)); ok { @@ -1049,6 +1173,10 @@ func (_m *CloudFormation) DescribeTypeRegistration(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTypeRegistration") + } + var r0 *cloudformation.DescribeTypeRegistrationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DescribeTypeRegistrationInput, ...func(*cloudformation.Options)) (*cloudformation.DescribeTypeRegistrationOutput, error)); ok { @@ -1082,6 +1210,10 @@ func (_m *CloudFormation) DetectStackDrift(ctx context.Context, params *cloudfor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetectStackDrift") + } + var r0 *cloudformation.DetectStackDriftOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackDriftInput, ...func(*cloudformation.Options)) (*cloudformation.DetectStackDriftOutput, error)); ok { @@ -1115,6 +1247,10 @@ func (_m *CloudFormation) DetectStackResourceDrift(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetectStackResourceDrift") + } + var r0 *cloudformation.DetectStackResourceDriftOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackResourceDriftInput, ...func(*cloudformation.Options)) (*cloudformation.DetectStackResourceDriftOutput, error)); ok { @@ -1148,6 +1284,10 @@ func (_m *CloudFormation) DetectStackSetDrift(ctx context.Context, params *cloud _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetectStackSetDrift") + } + var r0 *cloudformation.DetectStackSetDriftOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.DetectStackSetDriftInput, ...func(*cloudformation.Options)) (*cloudformation.DetectStackSetDriftOutput, error)); ok { @@ -1181,6 +1321,10 @@ func (_m *CloudFormation) EstimateTemplateCost(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EstimateTemplateCost") + } + var r0 *cloudformation.EstimateTemplateCostOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.EstimateTemplateCostInput, ...func(*cloudformation.Options)) (*cloudformation.EstimateTemplateCostOutput, error)); ok { @@ -1214,6 +1358,10 @@ func (_m *CloudFormation) ExecuteChangeSet(ctx context.Context, params *cloudfor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExecuteChangeSet") + } + var r0 *cloudformation.ExecuteChangeSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ExecuteChangeSetInput, ...func(*cloudformation.Options)) (*cloudformation.ExecuteChangeSetOutput, error)); ok { @@ -1247,6 +1395,10 @@ func (_m *CloudFormation) GetStackPolicy(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetStackPolicy") + } + var r0 *cloudformation.GetStackPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetStackPolicyInput, ...func(*cloudformation.Options)) (*cloudformation.GetStackPolicyOutput, error)); ok { @@ -1280,6 +1432,10 @@ func (_m *CloudFormation) GetTemplate(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTemplate") + } + var r0 *cloudformation.GetTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateInput, ...func(*cloudformation.Options)) (*cloudformation.GetTemplateOutput, error)); ok { @@ -1313,6 +1469,10 @@ func (_m *CloudFormation) GetTemplateSummary(ctx context.Context, params *cloudf _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTemplateSummary") + } + var r0 *cloudformation.GetTemplateSummaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.GetTemplateSummaryInput, ...func(*cloudformation.Options)) (*cloudformation.GetTemplateSummaryOutput, error)); ok { @@ -1346,6 +1506,10 @@ func (_m *CloudFormation) ImportStacksToStackSet(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportStacksToStackSet") + } + var r0 *cloudformation.ImportStacksToStackSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ImportStacksToStackSetInput, ...func(*cloudformation.Options)) (*cloudformation.ImportStacksToStackSetOutput, error)); ok { @@ -1379,6 +1543,10 @@ func (_m *CloudFormation) ListChangeSets(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListChangeSets") + } + var r0 *cloudformation.ListChangeSetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListChangeSetsInput, ...func(*cloudformation.Options)) (*cloudformation.ListChangeSetsOutput, error)); ok { @@ -1412,6 +1580,10 @@ func (_m *CloudFormation) ListExports(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListExports") + } + var r0 *cloudformation.ListExportsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListExportsInput, ...func(*cloudformation.Options)) (*cloudformation.ListExportsOutput, error)); ok { @@ -1445,6 +1617,10 @@ func (_m *CloudFormation) ListImports(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImports") + } + var r0 *cloudformation.ListImportsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListImportsInput, ...func(*cloudformation.Options)) (*cloudformation.ListImportsOutput, error)); ok { @@ -1478,6 +1654,10 @@ func (_m *CloudFormation) ListStackInstanceResourceDrifts(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackInstanceResourceDrifts") + } + var r0 *cloudformation.ListStackInstanceResourceDriftsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackInstanceResourceDriftsInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackInstanceResourceDriftsOutput, error)); ok { @@ -1511,6 +1691,10 @@ func (_m *CloudFormation) ListStackInstances(ctx context.Context, params *cloudf _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackInstances") + } + var r0 *cloudformation.ListStackInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackInstancesInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackInstancesOutput, error)); ok { @@ -1544,6 +1728,10 @@ func (_m *CloudFormation) ListStackResources(ctx context.Context, params *cloudf _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackResources") + } + var r0 *cloudformation.ListStackResourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackResourcesInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackResourcesOutput, error)); ok { @@ -1577,6 +1765,10 @@ func (_m *CloudFormation) ListStackSetOperationResults(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackSetOperationResults") + } + var r0 *cloudformation.ListStackSetOperationResultsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationResultsInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackSetOperationResultsOutput, error)); ok { @@ -1610,6 +1802,10 @@ func (_m *CloudFormation) ListStackSetOperations(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackSetOperations") + } + var r0 *cloudformation.ListStackSetOperationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetOperationsInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackSetOperationsOutput, error)); ok { @@ -1643,6 +1839,10 @@ func (_m *CloudFormation) ListStackSets(ctx context.Context, params *cloudformat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStackSets") + } + var r0 *cloudformation.ListStackSetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStackSetsInput, ...func(*cloudformation.Options)) (*cloudformation.ListStackSetsOutput, error)); ok { @@ -1676,6 +1876,10 @@ func (_m *CloudFormation) ListStacks(ctx context.Context, params *cloudformation _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStacks") + } + var r0 *cloudformation.ListStacksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListStacksInput, ...func(*cloudformation.Options)) (*cloudformation.ListStacksOutput, error)); ok { @@ -1709,6 +1913,10 @@ func (_m *CloudFormation) ListTypeRegistrations(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTypeRegistrations") + } + var r0 *cloudformation.ListTypeRegistrationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeRegistrationsInput, ...func(*cloudformation.Options)) (*cloudformation.ListTypeRegistrationsOutput, error)); ok { @@ -1742,6 +1950,10 @@ func (_m *CloudFormation) ListTypeVersions(ctx context.Context, params *cloudfor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTypeVersions") + } + var r0 *cloudformation.ListTypeVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypeVersionsInput, ...func(*cloudformation.Options)) (*cloudformation.ListTypeVersionsOutput, error)); ok { @@ -1775,6 +1987,10 @@ func (_m *CloudFormation) ListTypes(ctx context.Context, params *cloudformation. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTypes") + } + var r0 *cloudformation.ListTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ListTypesInput, ...func(*cloudformation.Options)) (*cloudformation.ListTypesOutput, error)); ok { @@ -1797,6 +2013,24 @@ func (_m *CloudFormation) ListTypes(ctx context.Context, params *cloudformation. return r0, r1 } +// Options provides a mock function with given fields: +func (_m *CloudFormation) Options() cloudformation.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 cloudformation.Options + if rf, ok := ret.Get(0).(func() cloudformation.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(cloudformation.Options) + } + + return r0 +} + // PublishType provides a mock function with given fields: ctx, params, optFns func (_m *CloudFormation) PublishType(ctx context.Context, params *cloudformation.PublishTypeInput, optFns ...func(*cloudformation.Options)) (*cloudformation.PublishTypeOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1808,6 +2042,10 @@ func (_m *CloudFormation) PublishType(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PublishType") + } + var r0 *cloudformation.PublishTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.PublishTypeInput, ...func(*cloudformation.Options)) (*cloudformation.PublishTypeOutput, error)); ok { @@ -1841,6 +2079,10 @@ func (_m *CloudFormation) RecordHandlerProgress(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RecordHandlerProgress") + } + var r0 *cloudformation.RecordHandlerProgressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RecordHandlerProgressInput, ...func(*cloudformation.Options)) (*cloudformation.RecordHandlerProgressOutput, error)); ok { @@ -1874,6 +2116,10 @@ func (_m *CloudFormation) RegisterPublisher(ctx context.Context, params *cloudfo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterPublisher") + } + var r0 *cloudformation.RegisterPublisherOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterPublisherInput, ...func(*cloudformation.Options)) (*cloudformation.RegisterPublisherOutput, error)); ok { @@ -1907,6 +2153,10 @@ func (_m *CloudFormation) RegisterType(ctx context.Context, params *cloudformati _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterType") + } + var r0 *cloudformation.RegisterTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RegisterTypeInput, ...func(*cloudformation.Options)) (*cloudformation.RegisterTypeOutput, error)); ok { @@ -1940,6 +2190,10 @@ func (_m *CloudFormation) RollbackStack(ctx context.Context, params *cloudformat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RollbackStack") + } + var r0 *cloudformation.RollbackStackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.RollbackStackInput, ...func(*cloudformation.Options)) (*cloudformation.RollbackStackOutput, error)); ok { @@ -1973,6 +2227,10 @@ func (_m *CloudFormation) SetStackPolicy(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetStackPolicy") + } + var r0 *cloudformation.SetStackPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetStackPolicyInput, ...func(*cloudformation.Options)) (*cloudformation.SetStackPolicyOutput, error)); ok { @@ -2006,6 +2264,10 @@ func (_m *CloudFormation) SetTypeConfiguration(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetTypeConfiguration") + } + var r0 *cloudformation.SetTypeConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeConfigurationInput, ...func(*cloudformation.Options)) (*cloudformation.SetTypeConfigurationOutput, error)); ok { @@ -2039,6 +2301,10 @@ func (_m *CloudFormation) SetTypeDefaultVersion(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetTypeDefaultVersion") + } + var r0 *cloudformation.SetTypeDefaultVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SetTypeDefaultVersionInput, ...func(*cloudformation.Options)) (*cloudformation.SetTypeDefaultVersionOutput, error)); ok { @@ -2072,6 +2338,10 @@ func (_m *CloudFormation) SignalResource(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SignalResource") + } + var r0 *cloudformation.SignalResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.SignalResourceInput, ...func(*cloudformation.Options)) (*cloudformation.SignalResourceOutput, error)); ok { @@ -2105,6 +2375,10 @@ func (_m *CloudFormation) StopStackSetOperation(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopStackSetOperation") + } + var r0 *cloudformation.StopStackSetOperationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.StopStackSetOperationInput, ...func(*cloudformation.Options)) (*cloudformation.StopStackSetOperationOutput, error)); ok { @@ -2138,6 +2412,10 @@ func (_m *CloudFormation) TestType(ctx context.Context, params *cloudformation.T _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TestType") + } + var r0 *cloudformation.TestTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.TestTypeInput, ...func(*cloudformation.Options)) (*cloudformation.TestTypeOutput, error)); ok { @@ -2171,6 +2449,10 @@ func (_m *CloudFormation) UpdateStack(ctx context.Context, params *cloudformatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateStack") + } + var r0 *cloudformation.UpdateStackOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInput, ...func(*cloudformation.Options)) (*cloudformation.UpdateStackOutput, error)); ok { @@ -2204,6 +2486,10 @@ func (_m *CloudFormation) UpdateStackInstances(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateStackInstances") + } + var r0 *cloudformation.UpdateStackInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackInstancesInput, ...func(*cloudformation.Options)) (*cloudformation.UpdateStackInstancesOutput, error)); ok { @@ -2237,6 +2523,10 @@ func (_m *CloudFormation) UpdateStackSet(ctx context.Context, params *cloudforma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateStackSet") + } + var r0 *cloudformation.UpdateStackSetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateStackSetInput, ...func(*cloudformation.Options)) (*cloudformation.UpdateStackSetOutput, error)); ok { @@ -2270,6 +2560,10 @@ func (_m *CloudFormation) UpdateTerminationProtection(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateTerminationProtection") + } + var r0 *cloudformation.UpdateTerminationProtectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.UpdateTerminationProtectionInput, ...func(*cloudformation.Options)) (*cloudformation.UpdateTerminationProtectionOutput, error)); ok { @@ -2303,6 +2597,10 @@ func (_m *CloudFormation) ValidateTemplate(ctx context.Context, params *cloudfor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ValidateTemplate") + } + var r0 *cloudformation.ValidateTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudformation.ValidateTemplateInput, ...func(*cloudformation.Options)) (*cloudformation.ValidateTemplateOutput, error)); ok { diff --git a/pkg/eks/mocksv2/CloudTrail.go b/pkg/eks/mocksv2/CloudTrail.go index 31a3a665c1..d6c9524956 100644 --- a/pkg/eks/mocksv2/CloudTrail.go +++ b/pkg/eks/mocksv2/CloudTrail.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -26,6 +26,10 @@ func (_m *CloudTrail) AddTags(ctx context.Context, params *cloudtrail.AddTagsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTags") + } + var r0 *cloudtrail.AddTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.AddTagsInput, ...func(*cloudtrail.Options)) (*cloudtrail.AddTagsOutput, error)); ok { @@ -59,6 +63,10 @@ func (_m *CloudTrail) CancelQuery(ctx context.Context, params *cloudtrail.Cancel _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelQuery") + } + var r0 *cloudtrail.CancelQueryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CancelQueryInput, ...func(*cloudtrail.Options)) (*cloudtrail.CancelQueryOutput, error)); ok { @@ -92,6 +100,10 @@ func (_m *CloudTrail) CreateChannel(ctx context.Context, params *cloudtrail.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateChannel") + } + var r0 *cloudtrail.CreateChannelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateChannelInput, ...func(*cloudtrail.Options)) (*cloudtrail.CreateChannelOutput, error)); ok { @@ -125,6 +137,10 @@ func (_m *CloudTrail) CreateEventDataStore(ctx context.Context, params *cloudtra _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEventDataStore") + } + var r0 *cloudtrail.CreateEventDataStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateEventDataStoreInput, ...func(*cloudtrail.Options)) (*cloudtrail.CreateEventDataStoreOutput, error)); ok { @@ -158,6 +174,10 @@ func (_m *CloudTrail) CreateTrail(ctx context.Context, params *cloudtrail.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrail") + } + var r0 *cloudtrail.CreateTrailOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.CreateTrailInput, ...func(*cloudtrail.Options)) (*cloudtrail.CreateTrailOutput, error)); ok { @@ -191,6 +211,10 @@ func (_m *CloudTrail) DeleteChannel(ctx context.Context, params *cloudtrail.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteChannel") + } + var r0 *cloudtrail.DeleteChannelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteChannelInput, ...func(*cloudtrail.Options)) (*cloudtrail.DeleteChannelOutput, error)); ok { @@ -224,6 +248,10 @@ func (_m *CloudTrail) DeleteEventDataStore(ctx context.Context, params *cloudtra _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEventDataStore") + } + var r0 *cloudtrail.DeleteEventDataStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteEventDataStoreInput, ...func(*cloudtrail.Options)) (*cloudtrail.DeleteEventDataStoreOutput, error)); ok { @@ -257,6 +285,10 @@ func (_m *CloudTrail) DeleteResourcePolicy(ctx context.Context, params *cloudtra _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicy") + } + var r0 *cloudtrail.DeleteResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteResourcePolicyInput, ...func(*cloudtrail.Options)) (*cloudtrail.DeleteResourcePolicyOutput, error)); ok { @@ -290,6 +322,10 @@ func (_m *CloudTrail) DeleteTrail(ctx context.Context, params *cloudtrail.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrail") + } + var r0 *cloudtrail.DeleteTrailOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeleteTrailInput, ...func(*cloudtrail.Options)) (*cloudtrail.DeleteTrailOutput, error)); ok { @@ -323,6 +359,10 @@ func (_m *CloudTrail) DeregisterOrganizationDelegatedAdmin(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterOrganizationDelegatedAdmin") + } + var r0 *cloudtrail.DeregisterOrganizationDelegatedAdminOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DeregisterOrganizationDelegatedAdminInput, ...func(*cloudtrail.Options)) (*cloudtrail.DeregisterOrganizationDelegatedAdminOutput, error)); ok { @@ -356,6 +396,10 @@ func (_m *CloudTrail) DescribeQuery(ctx context.Context, params *cloudtrail.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeQuery") + } + var r0 *cloudtrail.DescribeQueryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeQueryInput, ...func(*cloudtrail.Options)) (*cloudtrail.DescribeQueryOutput, error)); ok { @@ -389,6 +433,10 @@ func (_m *CloudTrail) DescribeTrails(ctx context.Context, params *cloudtrail.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrails") + } + var r0 *cloudtrail.DescribeTrailsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DescribeTrailsInput, ...func(*cloudtrail.Options)) (*cloudtrail.DescribeTrailsOutput, error)); ok { @@ -422,6 +470,10 @@ func (_m *CloudTrail) DisableFederation(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableFederation") + } + var r0 *cloudtrail.DisableFederationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.DisableFederationInput, ...func(*cloudtrail.Options)) (*cloudtrail.DisableFederationOutput, error)); ok { @@ -455,6 +507,10 @@ func (_m *CloudTrail) EnableFederation(ctx context.Context, params *cloudtrail.E _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableFederation") + } + var r0 *cloudtrail.EnableFederationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.EnableFederationInput, ...func(*cloudtrail.Options)) (*cloudtrail.EnableFederationOutput, error)); ok { @@ -488,6 +544,10 @@ func (_m *CloudTrail) GetChannel(ctx context.Context, params *cloudtrail.GetChan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetChannel") + } + var r0 *cloudtrail.GetChannelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetChannelInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetChannelOutput, error)); ok { @@ -521,6 +581,10 @@ func (_m *CloudTrail) GetEventDataStore(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetEventDataStore") + } + var r0 *cloudtrail.GetEventDataStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventDataStoreInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetEventDataStoreOutput, error)); ok { @@ -554,6 +618,10 @@ func (_m *CloudTrail) GetEventSelectors(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetEventSelectors") + } + var r0 *cloudtrail.GetEventSelectorsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetEventSelectorsInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetEventSelectorsOutput, error)); ok { @@ -587,6 +655,10 @@ func (_m *CloudTrail) GetImport(ctx context.Context, params *cloudtrail.GetImpor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetImport") + } + var r0 *cloudtrail.GetImportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetImportInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetImportOutput, error)); ok { @@ -620,6 +692,10 @@ func (_m *CloudTrail) GetInsightSelectors(ctx context.Context, params *cloudtrai _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetInsightSelectors") + } + var r0 *cloudtrail.GetInsightSelectorsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetInsightSelectorsInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetInsightSelectorsOutput, error)); ok { @@ -653,6 +729,10 @@ func (_m *CloudTrail) GetQueryResults(ctx context.Context, params *cloudtrail.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetQueryResults") + } + var r0 *cloudtrail.GetQueryResultsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetQueryResultsInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetQueryResultsOutput, error)); ok { @@ -686,6 +766,10 @@ func (_m *CloudTrail) GetResourcePolicy(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetResourcePolicy") + } + var r0 *cloudtrail.GetResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetResourcePolicyInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetResourcePolicyOutput, error)); ok { @@ -719,6 +803,10 @@ func (_m *CloudTrail) GetTrail(ctx context.Context, params *cloudtrail.GetTrailI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTrail") + } + var r0 *cloudtrail.GetTrailOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetTrailOutput, error)); ok { @@ -752,6 +840,10 @@ func (_m *CloudTrail) GetTrailStatus(ctx context.Context, params *cloudtrail.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTrailStatus") + } + var r0 *cloudtrail.GetTrailStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.GetTrailStatusInput, ...func(*cloudtrail.Options)) (*cloudtrail.GetTrailStatusOutput, error)); ok { @@ -785,6 +877,10 @@ func (_m *CloudTrail) ListChannels(ctx context.Context, params *cloudtrail.ListC _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListChannels") + } + var r0 *cloudtrail.ListChannelsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListChannelsInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListChannelsOutput, error)); ok { @@ -818,6 +914,10 @@ func (_m *CloudTrail) ListEventDataStores(ctx context.Context, params *cloudtrai _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEventDataStores") + } + var r0 *cloudtrail.ListEventDataStoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListEventDataStoresInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListEventDataStoresOutput, error)); ok { @@ -851,6 +951,10 @@ func (_m *CloudTrail) ListImportFailures(ctx context.Context, params *cloudtrail _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImportFailures") + } + var r0 *cloudtrail.ListImportFailuresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportFailuresInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListImportFailuresOutput, error)); ok { @@ -884,6 +988,10 @@ func (_m *CloudTrail) ListImports(ctx context.Context, params *cloudtrail.ListIm _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImports") + } + var r0 *cloudtrail.ListImportsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListImportsInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListImportsOutput, error)); ok { @@ -917,6 +1025,10 @@ func (_m *CloudTrail) ListPublicKeys(ctx context.Context, params *cloudtrail.Lis _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPublicKeys") + } + var r0 *cloudtrail.ListPublicKeysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListPublicKeysInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListPublicKeysOutput, error)); ok { @@ -950,6 +1062,10 @@ func (_m *CloudTrail) ListQueries(ctx context.Context, params *cloudtrail.ListQu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListQueries") + } + var r0 *cloudtrail.ListQueriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListQueriesInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListQueriesOutput, error)); ok { @@ -983,6 +1099,10 @@ func (_m *CloudTrail) ListTags(ctx context.Context, params *cloudtrail.ListTagsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTags") + } + var r0 *cloudtrail.ListTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTagsInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListTagsOutput, error)); ok { @@ -1016,6 +1136,10 @@ func (_m *CloudTrail) ListTrails(ctx context.Context, params *cloudtrail.ListTra _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrails") + } + var r0 *cloudtrail.ListTrailsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.ListTrailsInput, ...func(*cloudtrail.Options)) (*cloudtrail.ListTrailsOutput, error)); ok { @@ -1049,6 +1173,10 @@ func (_m *CloudTrail) LookupEvents(ctx context.Context, params *cloudtrail.Looku _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for LookupEvents") + } + var r0 *cloudtrail.LookupEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.LookupEventsInput, ...func(*cloudtrail.Options)) (*cloudtrail.LookupEventsOutput, error)); ok { @@ -1071,6 +1199,24 @@ func (_m *CloudTrail) LookupEvents(ctx context.Context, params *cloudtrail.Looku return r0, r1 } +// Options provides a mock function with given fields: +func (_m *CloudTrail) Options() cloudtrail.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 cloudtrail.Options + if rf, ok := ret.Get(0).(func() cloudtrail.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(cloudtrail.Options) + } + + return r0 +} + // PutEventSelectors provides a mock function with given fields: ctx, params, optFns func (_m *CloudTrail) PutEventSelectors(ctx context.Context, params *cloudtrail.PutEventSelectorsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.PutEventSelectorsOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1082,6 +1228,10 @@ func (_m *CloudTrail) PutEventSelectors(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutEventSelectors") + } + var r0 *cloudtrail.PutEventSelectorsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutEventSelectorsInput, ...func(*cloudtrail.Options)) (*cloudtrail.PutEventSelectorsOutput, error)); ok { @@ -1115,6 +1265,10 @@ func (_m *CloudTrail) PutInsightSelectors(ctx context.Context, params *cloudtrai _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutInsightSelectors") + } + var r0 *cloudtrail.PutInsightSelectorsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutInsightSelectorsInput, ...func(*cloudtrail.Options)) (*cloudtrail.PutInsightSelectorsOutput, error)); ok { @@ -1148,6 +1302,10 @@ func (_m *CloudTrail) PutResourcePolicy(ctx context.Context, params *cloudtrail. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicy") + } + var r0 *cloudtrail.PutResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.PutResourcePolicyInput, ...func(*cloudtrail.Options)) (*cloudtrail.PutResourcePolicyOutput, error)); ok { @@ -1181,6 +1339,10 @@ func (_m *CloudTrail) RegisterOrganizationDelegatedAdmin(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterOrganizationDelegatedAdmin") + } + var r0 *cloudtrail.RegisterOrganizationDelegatedAdminOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RegisterOrganizationDelegatedAdminInput, ...func(*cloudtrail.Options)) (*cloudtrail.RegisterOrganizationDelegatedAdminOutput, error)); ok { @@ -1214,6 +1376,10 @@ func (_m *CloudTrail) RemoveTags(ctx context.Context, params *cloudtrail.RemoveT _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveTags") + } + var r0 *cloudtrail.RemoveTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RemoveTagsInput, ...func(*cloudtrail.Options)) (*cloudtrail.RemoveTagsOutput, error)); ok { @@ -1247,6 +1413,10 @@ func (_m *CloudTrail) RestoreEventDataStore(ctx context.Context, params *cloudtr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreEventDataStore") + } + var r0 *cloudtrail.RestoreEventDataStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.RestoreEventDataStoreInput, ...func(*cloudtrail.Options)) (*cloudtrail.RestoreEventDataStoreOutput, error)); ok { @@ -1280,6 +1450,10 @@ func (_m *CloudTrail) StartEventDataStoreIngestion(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartEventDataStoreIngestion") + } + var r0 *cloudtrail.StartEventDataStoreIngestionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartEventDataStoreIngestionInput, ...func(*cloudtrail.Options)) (*cloudtrail.StartEventDataStoreIngestionOutput, error)); ok { @@ -1313,6 +1487,10 @@ func (_m *CloudTrail) StartImport(ctx context.Context, params *cloudtrail.StartI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartImport") + } + var r0 *cloudtrail.StartImportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartImportInput, ...func(*cloudtrail.Options)) (*cloudtrail.StartImportOutput, error)); ok { @@ -1346,6 +1524,10 @@ func (_m *CloudTrail) StartLogging(ctx context.Context, params *cloudtrail.Start _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartLogging") + } + var r0 *cloudtrail.StartLoggingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartLoggingInput, ...func(*cloudtrail.Options)) (*cloudtrail.StartLoggingOutput, error)); ok { @@ -1379,6 +1561,10 @@ func (_m *CloudTrail) StartQuery(ctx context.Context, params *cloudtrail.StartQu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartQuery") + } + var r0 *cloudtrail.StartQueryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StartQueryInput, ...func(*cloudtrail.Options)) (*cloudtrail.StartQueryOutput, error)); ok { @@ -1412,6 +1598,10 @@ func (_m *CloudTrail) StopEventDataStoreIngestion(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopEventDataStoreIngestion") + } + var r0 *cloudtrail.StopEventDataStoreIngestionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopEventDataStoreIngestionInput, ...func(*cloudtrail.Options)) (*cloudtrail.StopEventDataStoreIngestionOutput, error)); ok { @@ -1445,6 +1635,10 @@ func (_m *CloudTrail) StopImport(ctx context.Context, params *cloudtrail.StopImp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopImport") + } + var r0 *cloudtrail.StopImportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopImportInput, ...func(*cloudtrail.Options)) (*cloudtrail.StopImportOutput, error)); ok { @@ -1478,6 +1672,10 @@ func (_m *CloudTrail) StopLogging(ctx context.Context, params *cloudtrail.StopLo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopLogging") + } + var r0 *cloudtrail.StopLoggingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.StopLoggingInput, ...func(*cloudtrail.Options)) (*cloudtrail.StopLoggingOutput, error)); ok { @@ -1511,6 +1709,10 @@ func (_m *CloudTrail) UpdateChannel(ctx context.Context, params *cloudtrail.Upda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateChannel") + } + var r0 *cloudtrail.UpdateChannelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateChannelInput, ...func(*cloudtrail.Options)) (*cloudtrail.UpdateChannelOutput, error)); ok { @@ -1544,6 +1746,10 @@ func (_m *CloudTrail) UpdateEventDataStore(ctx context.Context, params *cloudtra _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateEventDataStore") + } + var r0 *cloudtrail.UpdateEventDataStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateEventDataStoreInput, ...func(*cloudtrail.Options)) (*cloudtrail.UpdateEventDataStoreOutput, error)); ok { @@ -1577,6 +1783,10 @@ func (_m *CloudTrail) UpdateTrail(ctx context.Context, params *cloudtrail.Update _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateTrail") + } + var r0 *cloudtrail.UpdateTrailOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudtrail.UpdateTrailInput, ...func(*cloudtrail.Options)) (*cloudtrail.UpdateTrailOutput, error)); ok { diff --git a/pkg/eks/mocksv2/CloudWatchLogs.go b/pkg/eks/mocksv2/CloudWatchLogs.go index 0529e78369..1bea3a8f9e 100644 --- a/pkg/eks/mocksv2/CloudWatchLogs.go +++ b/pkg/eks/mocksv2/CloudWatchLogs.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -26,6 +26,10 @@ func (_m *CloudWatchLogs) AssociateKmsKey(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateKmsKey") + } + var r0 *cloudwatchlogs.AssociateKmsKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.AssociateKmsKeyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.AssociateKmsKeyOutput, error)); ok { @@ -59,6 +63,10 @@ func (_m *CloudWatchLogs) CancelExportTask(ctx context.Context, params *cloudwat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelExportTask") + } + var r0 *cloudwatchlogs.CancelExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CancelExportTaskInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CancelExportTaskOutput, error)); ok { @@ -92,6 +100,10 @@ func (_m *CloudWatchLogs) CreateDelivery(ctx context.Context, params *cloudwatch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDelivery") + } + var r0 *cloudwatchlogs.CreateDeliveryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateDeliveryInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CreateDeliveryOutput, error)); ok { @@ -125,6 +137,10 @@ func (_m *CloudWatchLogs) CreateExportTask(ctx context.Context, params *cloudwat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateExportTask") + } + var r0 *cloudwatchlogs.CreateExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CreateExportTaskOutput, error)); ok { @@ -158,6 +174,10 @@ func (_m *CloudWatchLogs) CreateLogAnomalyDetector(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLogAnomalyDetector") + } + var r0 *cloudwatchlogs.CreateLogAnomalyDetectorOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogAnomalyDetectorInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error)); ok { @@ -191,6 +211,10 @@ func (_m *CloudWatchLogs) CreateLogGroup(ctx context.Context, params *cloudwatch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLogGroup") + } + var r0 *cloudwatchlogs.CreateLogGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CreateLogGroupOutput, error)); ok { @@ -224,6 +248,10 @@ func (_m *CloudWatchLogs) CreateLogStream(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLogStream") + } + var r0 *cloudwatchlogs.CreateLogStreamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.CreateLogStreamOutput, error)); ok { @@ -257,6 +285,10 @@ func (_m *CloudWatchLogs) DeleteAccountPolicy(ctx context.Context, params *cloud _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAccountPolicy") + } + var r0 *cloudwatchlogs.DeleteAccountPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)); ok { @@ -290,6 +322,10 @@ func (_m *CloudWatchLogs) DeleteDataProtectionPolicy(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDataProtectionPolicy") + } + var r0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)); ok { @@ -323,6 +359,10 @@ func (_m *CloudWatchLogs) DeleteDelivery(ctx context.Context, params *cloudwatch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDelivery") + } + var r0 *cloudwatchlogs.DeleteDeliveryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDeliveryOutput, error)); ok { @@ -356,6 +396,10 @@ func (_m *CloudWatchLogs) DeleteDeliveryDestination(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestination") + } + var r0 *cloudwatchlogs.DeleteDeliveryDestinationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error)); ok { @@ -389,6 +433,10 @@ func (_m *CloudWatchLogs) DeleteDeliveryDestinationPolicy(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationPolicy") + } + var r0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error)); ok { @@ -422,6 +470,10 @@ func (_m *CloudWatchLogs) DeleteDeliverySource(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDeliverySource") + } + var r0 *cloudwatchlogs.DeleteDeliverySourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliverySourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDeliverySourceOutput, error)); ok { @@ -455,6 +507,10 @@ func (_m *CloudWatchLogs) DeleteDestination(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDestination") + } + var r0 *cloudwatchlogs.DeleteDestinationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteDestinationOutput, error)); ok { @@ -488,6 +544,10 @@ func (_m *CloudWatchLogs) DeleteLogAnomalyDetector(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLogAnomalyDetector") + } + var r0 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogAnomalyDetectorInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error)); ok { @@ -521,6 +581,10 @@ func (_m *CloudWatchLogs) DeleteLogGroup(ctx context.Context, params *cloudwatch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLogGroup") + } + var r0 *cloudwatchlogs.DeleteLogGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteLogGroupOutput, error)); ok { @@ -554,6 +618,10 @@ func (_m *CloudWatchLogs) DeleteLogStream(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLogStream") + } + var r0 *cloudwatchlogs.DeleteLogStreamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteLogStreamOutput, error)); ok { @@ -587,6 +655,10 @@ func (_m *CloudWatchLogs) DeleteMetricFilter(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteMetricFilter") + } + var r0 *cloudwatchlogs.DeleteMetricFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteMetricFilterOutput, error)); ok { @@ -620,6 +692,10 @@ func (_m *CloudWatchLogs) DeleteQueryDefinition(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteQueryDefinition") + } + var r0 *cloudwatchlogs.DeleteQueryDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)); ok { @@ -653,6 +729,10 @@ func (_m *CloudWatchLogs) DeleteResourcePolicy(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicy") + } + var r0 *cloudwatchlogs.DeleteResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)); ok { @@ -686,6 +766,10 @@ func (_m *CloudWatchLogs) DeleteRetentionPolicy(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRetentionPolicy") + } + var r0 *cloudwatchlogs.DeleteRetentionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)); ok { @@ -719,6 +803,10 @@ func (_m *CloudWatchLogs) DeleteSubscriptionFilter(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSubscriptionFilter") + } + var r0 *cloudwatchlogs.DeleteSubscriptionFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)); ok { @@ -752,6 +840,10 @@ func (_m *CloudWatchLogs) DescribeAccountPolicies(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountPolicies") + } + var r0 *cloudwatchlogs.DescribeAccountPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)); ok { @@ -785,6 +877,10 @@ func (_m *CloudWatchLogs) DescribeDeliveries(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveries") + } + var r0 *cloudwatchlogs.DescribeDeliveriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeDeliveriesOutput, error)); ok { @@ -818,6 +914,10 @@ func (_m *CloudWatchLogs) DescribeDeliveryDestinations(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinations") + } + var r0 *cloudwatchlogs.DescribeDeliveryDestinationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error)); ok { @@ -851,6 +951,10 @@ func (_m *CloudWatchLogs) DescribeDeliverySources(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySources") + } + var r0 *cloudwatchlogs.DescribeDeliverySourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error)); ok { @@ -884,6 +988,10 @@ func (_m *CloudWatchLogs) DescribeDestinations(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDestinations") + } + var r0 *cloudwatchlogs.DescribeDestinationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeDestinationsOutput, error)); ok { @@ -917,6 +1025,10 @@ func (_m *CloudWatchLogs) DescribeExportTasks(ctx context.Context, params *cloud _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeExportTasks") + } + var r0 *cloudwatchlogs.DescribeExportTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeExportTasksOutput, error)); ok { @@ -950,6 +1062,10 @@ func (_m *CloudWatchLogs) DescribeLogGroups(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroups") + } + var r0 *cloudwatchlogs.DescribeLogGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeLogGroupsOutput, error)); ok { @@ -983,6 +1099,10 @@ func (_m *CloudWatchLogs) DescribeLogStreams(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreams") + } + var r0 *cloudwatchlogs.DescribeLogStreamsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeLogStreamsOutput, error)); ok { @@ -1016,6 +1136,10 @@ func (_m *CloudWatchLogs) DescribeMetricFilters(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFilters") + } + var r0 *cloudwatchlogs.DescribeMetricFiltersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)); ok { @@ -1049,6 +1173,10 @@ func (_m *CloudWatchLogs) DescribeQueries(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeQueries") + } + var r0 *cloudwatchlogs.DescribeQueriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeQueriesOutput, error)); ok { @@ -1082,6 +1210,10 @@ func (_m *CloudWatchLogs) DescribeQueryDefinitions(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeQueryDefinitions") + } + var r0 *cloudwatchlogs.DescribeQueryDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)); ok { @@ -1115,6 +1247,10 @@ func (_m *CloudWatchLogs) DescribeResourcePolicies(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeResourcePolicies") + } + var r0 *cloudwatchlogs.DescribeResourcePoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)); ok { @@ -1148,6 +1284,10 @@ func (_m *CloudWatchLogs) DescribeSubscriptionFilters(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFilters") + } + var r0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)); ok { @@ -1181,6 +1321,10 @@ func (_m *CloudWatchLogs) DisassociateKmsKey(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateKmsKey") + } + var r0 *cloudwatchlogs.DisassociateKmsKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)); ok { @@ -1214,6 +1358,10 @@ func (_m *CloudWatchLogs) FilterLogEvents(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for FilterLogEvents") + } + var r0 *cloudwatchlogs.FilterLogEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.FilterLogEventsOutput, error)); ok { @@ -1247,6 +1395,10 @@ func (_m *CloudWatchLogs) GetDataProtectionPolicy(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDataProtectionPolicy") + } + var r0 *cloudwatchlogs.GetDataProtectionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)); ok { @@ -1280,6 +1432,10 @@ func (_m *CloudWatchLogs) GetDelivery(ctx context.Context, params *cloudwatchlog _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDelivery") + } + var r0 *cloudwatchlogs.GetDeliveryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetDeliveryOutput, error)); ok { @@ -1313,6 +1469,10 @@ func (_m *CloudWatchLogs) GetDeliveryDestination(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestination") + } + var r0 *cloudwatchlogs.GetDeliveryDestinationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetDeliveryDestinationOutput, error)); ok { @@ -1346,6 +1506,10 @@ func (_m *CloudWatchLogs) GetDeliveryDestinationPolicy(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationPolicy") + } + var r0 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error)); ok { @@ -1379,6 +1543,10 @@ func (_m *CloudWatchLogs) GetDeliverySource(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDeliverySource") + } + var r0 *cloudwatchlogs.GetDeliverySourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliverySourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetDeliverySourceOutput, error)); ok { @@ -1412,6 +1580,10 @@ func (_m *CloudWatchLogs) GetLogAnomalyDetector(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLogAnomalyDetector") + } + var r0 *cloudwatchlogs.GetLogAnomalyDetectorOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogAnomalyDetectorInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error)); ok { @@ -1445,6 +1617,10 @@ func (_m *CloudWatchLogs) GetLogEvents(ctx context.Context, params *cloudwatchlo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLogEvents") + } + var r0 *cloudwatchlogs.GetLogEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetLogEventsOutput, error)); ok { @@ -1478,6 +1654,10 @@ func (_m *CloudWatchLogs) GetLogGroupFields(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLogGroupFields") + } + var r0 *cloudwatchlogs.GetLogGroupFieldsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)); ok { @@ -1511,6 +1691,10 @@ func (_m *CloudWatchLogs) GetLogRecord(ctx context.Context, params *cloudwatchlo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLogRecord") + } + var r0 *cloudwatchlogs.GetLogRecordOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetLogRecordOutput, error)); ok { @@ -1544,6 +1728,10 @@ func (_m *CloudWatchLogs) GetQueryResults(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetQueryResults") + } + var r0 *cloudwatchlogs.GetQueryResultsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.GetQueryResultsOutput, error)); ok { @@ -1577,6 +1765,10 @@ func (_m *CloudWatchLogs) ListAnomalies(ctx context.Context, params *cloudwatchl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAnomalies") + } + var r0 *cloudwatchlogs.ListAnomaliesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListAnomaliesInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.ListAnomaliesOutput, error)); ok { @@ -1610,6 +1802,10 @@ func (_m *CloudWatchLogs) ListLogAnomalyDetectors(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectors") + } + var r0 *cloudwatchlogs.ListLogAnomalyDetectorsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error)); ok { @@ -1643,6 +1839,10 @@ func (_m *CloudWatchLogs) ListTagsForResource(ctx context.Context, params *cloud _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsForResource") + } + var r0 *cloudwatchlogs.ListTagsForResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.ListTagsForResourceOutput, error)); ok { @@ -1676,6 +1876,10 @@ func (_m *CloudWatchLogs) ListTagsLogGroup(ctx context.Context, params *cloudwat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsLogGroup") + } + var r0 *cloudwatchlogs.ListTagsLogGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.ListTagsLogGroupOutput, error)); ok { @@ -1698,6 +1902,24 @@ func (_m *CloudWatchLogs) ListTagsLogGroup(ctx context.Context, params *cloudwat return r0, r1 } +// Options provides a mock function with given fields: +func (_m *CloudWatchLogs) Options() cloudwatchlogs.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 cloudwatchlogs.Options + if rf, ok := ret.Get(0).(func() cloudwatchlogs.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(cloudwatchlogs.Options) + } + + return r0 +} + // PutAccountPolicy provides a mock function with given fields: ctx, params, optFns func (_m *CloudWatchLogs) PutAccountPolicy(ctx context.Context, params *cloudwatchlogs.PutAccountPolicyInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutAccountPolicyOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1709,6 +1931,10 @@ func (_m *CloudWatchLogs) PutAccountPolicy(ctx context.Context, params *cloudwat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutAccountPolicy") + } + var r0 *cloudwatchlogs.PutAccountPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutAccountPolicyOutput, error)); ok { @@ -1742,6 +1968,10 @@ func (_m *CloudWatchLogs) PutDataProtectionPolicy(ctx context.Context, params *c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDataProtectionPolicy") + } + var r0 *cloudwatchlogs.PutDataProtectionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)); ok { @@ -1775,6 +2005,10 @@ func (_m *CloudWatchLogs) PutDeliveryDestination(ctx context.Context, params *cl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestination") + } + var r0 *cloudwatchlogs.PutDeliveryDestinationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDeliveryDestinationOutput, error)); ok { @@ -1808,6 +2042,10 @@ func (_m *CloudWatchLogs) PutDeliveryDestinationPolicy(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationPolicy") + } + var r0 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error)); ok { @@ -1841,6 +2079,10 @@ func (_m *CloudWatchLogs) PutDeliverySource(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDeliverySource") + } + var r0 *cloudwatchlogs.PutDeliverySourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliverySourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDeliverySourceOutput, error)); ok { @@ -1874,6 +2116,10 @@ func (_m *CloudWatchLogs) PutDestination(ctx context.Context, params *cloudwatch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDestination") + } + var r0 *cloudwatchlogs.PutDestinationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDestinationOutput, error)); ok { @@ -1907,6 +2153,10 @@ func (_m *CloudWatchLogs) PutDestinationPolicy(ctx context.Context, params *clou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutDestinationPolicy") + } + var r0 *cloudwatchlogs.PutDestinationPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutDestinationPolicyOutput, error)); ok { @@ -1940,6 +2190,10 @@ func (_m *CloudWatchLogs) PutLogEvents(ctx context.Context, params *cloudwatchlo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutLogEvents") + } + var r0 *cloudwatchlogs.PutLogEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutLogEventsOutput, error)); ok { @@ -1973,6 +2227,10 @@ func (_m *CloudWatchLogs) PutMetricFilter(ctx context.Context, params *cloudwatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutMetricFilter") + } + var r0 *cloudwatchlogs.PutMetricFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutMetricFilterOutput, error)); ok { @@ -2006,6 +2264,10 @@ func (_m *CloudWatchLogs) PutQueryDefinition(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutQueryDefinition") + } + var r0 *cloudwatchlogs.PutQueryDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutQueryDefinitionOutput, error)); ok { @@ -2039,6 +2301,10 @@ func (_m *CloudWatchLogs) PutResourcePolicy(ctx context.Context, params *cloudwa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicy") + } + var r0 *cloudwatchlogs.PutResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutResourcePolicyOutput, error)); ok { @@ -2072,6 +2338,10 @@ func (_m *CloudWatchLogs) PutRetentionPolicy(ctx context.Context, params *cloudw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutRetentionPolicy") + } + var r0 *cloudwatchlogs.PutRetentionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutRetentionPolicyOutput, error)); ok { @@ -2105,6 +2375,10 @@ func (_m *CloudWatchLogs) PutSubscriptionFilter(ctx context.Context, params *clo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutSubscriptionFilter") + } + var r0 *cloudwatchlogs.PutSubscriptionFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)); ok { @@ -2127,6 +2401,43 @@ func (_m *CloudWatchLogs) PutSubscriptionFilter(ctx context.Context, params *clo return r0, r1 } +// StartLiveTail provides a mock function with given fields: ctx, params, optFns +func (_m *CloudWatchLogs) StartLiveTail(ctx context.Context, params *cloudwatchlogs.StartLiveTailInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.StartLiveTailOutput, error) { + _va := make([]interface{}, len(optFns)) + for _i := range optFns { + _va[_i] = optFns[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, params) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for StartLiveTail") + } + + var r0 *cloudwatchlogs.StartLiveTailOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.StartLiveTailOutput, error)); ok { + return rf(ctx, params, optFns...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...func(*cloudwatchlogs.Options)) *cloudwatchlogs.StartLiveTailOutput); ok { + r0 = rf(ctx, params, optFns...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.StartLiveTailOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...func(*cloudwatchlogs.Options)) error); ok { + r1 = rf(ctx, params, optFns...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // StartQuery provides a mock function with given fields: ctx, params, optFns func (_m *CloudWatchLogs) StartQuery(ctx context.Context, params *cloudwatchlogs.StartQueryInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.StartQueryOutput, error) { _va := make([]interface{}, len(optFns)) @@ -2138,6 +2449,10 @@ func (_m *CloudWatchLogs) StartQuery(ctx context.Context, params *cloudwatchlogs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartQuery") + } + var r0 *cloudwatchlogs.StartQueryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.StartQueryOutput, error)); ok { @@ -2171,6 +2486,10 @@ func (_m *CloudWatchLogs) StopQuery(ctx context.Context, params *cloudwatchlogs. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopQuery") + } + var r0 *cloudwatchlogs.StopQueryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.StopQueryOutput, error)); ok { @@ -2204,6 +2523,10 @@ func (_m *CloudWatchLogs) TagLogGroup(ctx context.Context, params *cloudwatchlog _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagLogGroup") + } + var r0 *cloudwatchlogs.TagLogGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.TagLogGroupOutput, error)); ok { @@ -2237,6 +2560,10 @@ func (_m *CloudWatchLogs) TagResource(ctx context.Context, params *cloudwatchlog _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagResource") + } + var r0 *cloudwatchlogs.TagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.TagResourceOutput, error)); ok { @@ -2270,6 +2597,10 @@ func (_m *CloudWatchLogs) TestMetricFilter(ctx context.Context, params *cloudwat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TestMetricFilter") + } + var r0 *cloudwatchlogs.TestMetricFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.TestMetricFilterOutput, error)); ok { @@ -2303,6 +2634,10 @@ func (_m *CloudWatchLogs) UntagLogGroup(ctx context.Context, params *cloudwatchl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagLogGroup") + } + var r0 *cloudwatchlogs.UntagLogGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.UntagLogGroupOutput, error)); ok { @@ -2336,6 +2671,10 @@ func (_m *CloudWatchLogs) UntagResource(ctx context.Context, params *cloudwatchl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagResource") + } + var r0 *cloudwatchlogs.UntagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.UntagResourceOutput, error)); ok { @@ -2369,6 +2708,10 @@ func (_m *CloudWatchLogs) UpdateAnomaly(ctx context.Context, params *cloudwatchl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAnomaly") + } + var r0 *cloudwatchlogs.UpdateAnomalyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateAnomalyInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.UpdateAnomalyOutput, error)); ok { @@ -2402,6 +2745,10 @@ func (_m *CloudWatchLogs) UpdateLogAnomalyDetector(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateLogAnomalyDetector") + } + var r0 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateLogAnomalyDetectorInput, ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error)); ok { diff --git a/pkg/eks/mocksv2/CredentialsProvider.go b/pkg/eks/mocksv2/CredentialsProvider.go index e90646c8a4..72459a468f 100644 --- a/pkg/eks/mocksv2/CredentialsProvider.go +++ b/pkg/eks/mocksv2/CredentialsProvider.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -19,6 +19,10 @@ type CredentialsProvider struct { func (_m *CredentialsProvider) Retrieve(ctx context.Context) (aws.Credentials, error) { ret := _m.Called(ctx) + if len(ret) == 0 { + panic("no return value specified for Retrieve") + } + var r0 aws.Credentials var r1 error if rf, ok := ret.Get(0).(func(context.Context) (aws.Credentials, error)); ok { diff --git a/pkg/eks/mocksv2/EC2.go b/pkg/eks/mocksv2/EC2.go index 2da8e309f6..4df7bcf520 100644 --- a/pkg/eks/mocksv2/EC2.go +++ b/pkg/eks/mocksv2/EC2.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *EC2) AcceptReservedInstancesExchangeQuote(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptReservedInstancesExchangeQuote") + } + var r0 *ec2.AcceptReservedInstancesExchangeQuoteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...func(*ec2.Options)) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *EC2) AcceptTransitGatewayMulticastDomainAssociations(ctx context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptTransitGatewayMulticastDomainAssociations") + } + var r0 *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayMulticastDomainAssociationsInput, ...func(*ec2.Options)) (*ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *EC2) AcceptTransitGatewayPeeringAttachment(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptTransitGatewayPeeringAttachment") + } + var r0 *ec2.AcceptTransitGatewayPeeringAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayPeeringAttachmentInput, ...func(*ec2.Options)) (*ec2.AcceptTransitGatewayPeeringAttachmentOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *EC2) AcceptTransitGatewayVpcAttachment(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptTransitGatewayVpcAttachment") + } + var r0 *ec2.AcceptTransitGatewayVpcAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptTransitGatewayVpcAttachmentInput, ...func(*ec2.Options)) (*ec2.AcceptTransitGatewayVpcAttachmentOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *EC2) AcceptVpcEndpointConnections(ctx context.Context, params *ec2.Acc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptVpcEndpointConnections") + } + var r0 *ec2.AcceptVpcEndpointConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcEndpointConnectionsInput, ...func(*ec2.Options)) (*ec2.AcceptVpcEndpointConnectionsOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *EC2) AcceptVpcPeeringConnection(ctx context.Context, params *ec2.Accep _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AcceptVpcPeeringConnection") + } + var r0 *ec2.AcceptVpcPeeringConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AcceptVpcPeeringConnectionInput, ...func(*ec2.Options)) (*ec2.AcceptVpcPeeringConnectionOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *EC2) AdvertiseByoipCidr(ctx context.Context, params *ec2.AdvertiseByoi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AdvertiseByoipCidr") + } + var r0 *ec2.AdvertiseByoipCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AdvertiseByoipCidrInput, ...func(*ec2.Options)) (*ec2.AdvertiseByoipCidrOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *EC2) AllocateAddress(ctx context.Context, params *ec2.AllocateAddressI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AllocateAddress") + } + var r0 *ec2.AllocateAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateAddressInput, ...func(*ec2.Options)) (*ec2.AllocateAddressOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *EC2) AllocateHosts(ctx context.Context, params *ec2.AllocateHostsInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AllocateHosts") + } + var r0 *ec2.AllocateHostsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateHostsInput, ...func(*ec2.Options)) (*ec2.AllocateHostsOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *EC2) AllocateIpamPoolCidr(ctx context.Context, params *ec2.AllocateIpa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AllocateIpamPoolCidr") + } + var r0 *ec2.AllocateIpamPoolCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AllocateIpamPoolCidrInput, ...func(*ec2.Options)) (*ec2.AllocateIpamPoolCidrOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *EC2) ApplySecurityGroupsToClientVpnTargetNetwork(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ApplySecurityGroupsToClientVpnTargetNetwork") + } + var r0 *ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ApplySecurityGroupsToClientVpnTargetNetworkInput, ...func(*ec2.Options)) (*ec2.ApplySecurityGroupsToClientVpnTargetNetworkOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *EC2) AssignIpv6Addresses(ctx context.Context, params *ec2.AssignIpv6Ad _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssignIpv6Addresses") + } + var r0 *ec2.AssignIpv6AddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignIpv6AddressesInput, ...func(*ec2.Options)) (*ec2.AssignIpv6AddressesOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *EC2) AssignPrivateIpAddresses(ctx context.Context, params *ec2.AssignP _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssignPrivateIpAddresses") + } + var r0 *ec2.AssignPrivateIpAddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssignPrivateIpAddressesInput, ...func(*ec2.Options)) (*ec2.AssignPrivateIpAddressesOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *EC2) AssociateAddress(ctx context.Context, params *ec2.AssociateAddres _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateAddress") + } + var r0 *ec2.AssociateAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateAddressInput, ...func(*ec2.Options)) (*ec2.AssociateAddressOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *EC2) AssociateClientVpnTargetNetwork(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateClientVpnTargetNetwork") + } + var r0 *ec2.AssociateClientVpnTargetNetworkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateClientVpnTargetNetworkInput, ...func(*ec2.Options)) (*ec2.AssociateClientVpnTargetNetworkOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *EC2) AssociateDhcpOptions(ctx context.Context, params *ec2.AssociateDh _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateDhcpOptions") + } + var r0 *ec2.AssociateDhcpOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateDhcpOptionsInput, ...func(*ec2.Options)) (*ec2.AssociateDhcpOptionsOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *EC2) AssociateEnclaveCertificateIamRole(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateEnclaveCertificateIamRole") + } + var r0 *ec2.AssociateEnclaveCertificateIamRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateEnclaveCertificateIamRoleInput, ...func(*ec2.Options)) (*ec2.AssociateEnclaveCertificateIamRoleOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *EC2) AssociateIamInstanceProfile(ctx context.Context, params *ec2.Asso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateIamInstanceProfile") + } + var r0 *ec2.AssociateIamInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateIamInstanceProfileInput, ...func(*ec2.Options)) (*ec2.AssociateIamInstanceProfileOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *EC2) AssociateInstanceEventWindow(ctx context.Context, params *ec2.Ass _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateInstanceEventWindow") + } + var r0 *ec2.AssociateInstanceEventWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateInstanceEventWindowInput, ...func(*ec2.Options)) (*ec2.AssociateInstanceEventWindowOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *EC2) AssociateRouteTable(ctx context.Context, params *ec2.AssociateRou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateRouteTable") + } + var r0 *ec2.AssociateRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateRouteTableInput, ...func(*ec2.Options)) (*ec2.AssociateRouteTableOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *EC2) AssociateSubnetCidrBlock(ctx context.Context, params *ec2.Associa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateSubnetCidrBlock") + } + var r0 *ec2.AssociateSubnetCidrBlockOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateSubnetCidrBlockInput, ...func(*ec2.Options)) (*ec2.AssociateSubnetCidrBlockOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *EC2) AssociateTransitGatewayMulticastDomain(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateTransitGatewayMulticastDomain") + } + var r0 *ec2.AssociateTransitGatewayMulticastDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayMulticastDomainInput, ...func(*ec2.Options)) (*ec2.AssociateTransitGatewayMulticastDomainOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *EC2) AssociateTransitGatewayRouteTable(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateTransitGatewayRouteTable") + } + var r0 *ec2.AssociateTransitGatewayRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTransitGatewayRouteTableInput, ...func(*ec2.Options)) (*ec2.AssociateTransitGatewayRouteTableOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *EC2) AssociateTrunkInterface(ctx context.Context, params *ec2.Associat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateTrunkInterface") + } + var r0 *ec2.AssociateTrunkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateTrunkInterfaceInput, ...func(*ec2.Options)) (*ec2.AssociateTrunkInterfaceOutput, error)); ok { @@ -817,6 +913,10 @@ func (_m *EC2) AssociateVpcCidrBlock(ctx context.Context, params *ec2.AssociateV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateVpcCidrBlock") + } + var r0 *ec2.AssociateVpcCidrBlockOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AssociateVpcCidrBlockInput, ...func(*ec2.Options)) (*ec2.AssociateVpcCidrBlockOutput, error)); ok { @@ -850,6 +950,10 @@ func (_m *EC2) AttachClassicLinkVpc(ctx context.Context, params *ec2.AttachClass _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachClassicLinkVpc") + } + var r0 *ec2.AttachClassicLinkVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachClassicLinkVpcInput, ...func(*ec2.Options)) (*ec2.AttachClassicLinkVpcOutput, error)); ok { @@ -883,6 +987,10 @@ func (_m *EC2) AttachInternetGateway(ctx context.Context, params *ec2.AttachInte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachInternetGateway") + } + var r0 *ec2.AttachInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachInternetGatewayInput, ...func(*ec2.Options)) (*ec2.AttachInternetGatewayOutput, error)); ok { @@ -916,6 +1024,10 @@ func (_m *EC2) AttachNetworkInterface(ctx context.Context, params *ec2.AttachNet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachNetworkInterface") + } + var r0 *ec2.AttachNetworkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachNetworkInterfaceInput, ...func(*ec2.Options)) (*ec2.AttachNetworkInterfaceOutput, error)); ok { @@ -949,6 +1061,10 @@ func (_m *EC2) AttachVolume(ctx context.Context, params *ec2.AttachVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachVolume") + } + var r0 *ec2.AttachVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVolumeInput, ...func(*ec2.Options)) (*ec2.AttachVolumeOutput, error)); ok { @@ -982,6 +1098,10 @@ func (_m *EC2) AttachVpnGateway(ctx context.Context, params *ec2.AttachVpnGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachVpnGateway") + } + var r0 *ec2.AttachVpnGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AttachVpnGatewayInput, ...func(*ec2.Options)) (*ec2.AttachVpnGatewayOutput, error)); ok { @@ -1015,6 +1135,10 @@ func (_m *EC2) AuthorizeClientVpnIngress(ctx context.Context, params *ec2.Author _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AuthorizeClientVpnIngress") + } + var r0 *ec2.AuthorizeClientVpnIngressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeClientVpnIngressInput, ...func(*ec2.Options)) (*ec2.AuthorizeClientVpnIngressOutput, error)); ok { @@ -1048,6 +1172,10 @@ func (_m *EC2) AuthorizeSecurityGroupEgress(ctx context.Context, params *ec2.Aut _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AuthorizeSecurityGroupEgress") + } + var r0 *ec2.AuthorizeSecurityGroupEgressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupEgressInput, ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupEgressOutput, error)); ok { @@ -1081,6 +1209,10 @@ func (_m *EC2) AuthorizeSecurityGroupIngress(ctx context.Context, params *ec2.Au _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AuthorizeSecurityGroupIngress") + } + var r0 *ec2.AuthorizeSecurityGroupIngressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.AuthorizeSecurityGroupIngressInput, ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)); ok { @@ -1114,6 +1246,10 @@ func (_m *EC2) BundleInstance(ctx context.Context, params *ec2.BundleInstanceInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for BundleInstance") + } + var r0 *ec2.BundleInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.BundleInstanceInput, ...func(*ec2.Options)) (*ec2.BundleInstanceOutput, error)); ok { @@ -1147,6 +1283,10 @@ func (_m *EC2) CancelBundleTask(ctx context.Context, params *ec2.CancelBundleTas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelBundleTask") + } + var r0 *ec2.CancelBundleTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelBundleTaskInput, ...func(*ec2.Options)) (*ec2.CancelBundleTaskOutput, error)); ok { @@ -1180,6 +1320,10 @@ func (_m *EC2) CancelCapacityReservation(ctx context.Context, params *ec2.Cancel _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelCapacityReservation") + } + var r0 *ec2.CancelCapacityReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationInput, ...func(*ec2.Options)) (*ec2.CancelCapacityReservationOutput, error)); ok { @@ -1213,6 +1357,10 @@ func (_m *EC2) CancelCapacityReservationFleets(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelCapacityReservationFleets") + } + var r0 *ec2.CancelCapacityReservationFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelCapacityReservationFleetsInput, ...func(*ec2.Options)) (*ec2.CancelCapacityReservationFleetsOutput, error)); ok { @@ -1246,6 +1394,10 @@ func (_m *EC2) CancelConversionTask(ctx context.Context, params *ec2.CancelConve _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelConversionTask") + } + var r0 *ec2.CancelConversionTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelConversionTaskInput, ...func(*ec2.Options)) (*ec2.CancelConversionTaskOutput, error)); ok { @@ -1279,6 +1431,10 @@ func (_m *EC2) CancelExportTask(ctx context.Context, params *ec2.CancelExportTas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelExportTask") + } + var r0 *ec2.CancelExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelExportTaskInput, ...func(*ec2.Options)) (*ec2.CancelExportTaskOutput, error)); ok { @@ -1312,6 +1468,10 @@ func (_m *EC2) CancelImportTask(ctx context.Context, params *ec2.CancelImportTas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelImportTask") + } + var r0 *ec2.CancelImportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelImportTaskInput, ...func(*ec2.Options)) (*ec2.CancelImportTaskOutput, error)); ok { @@ -1345,6 +1505,10 @@ func (_m *EC2) CancelReservedInstancesListing(ctx context.Context, params *ec2.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelReservedInstancesListing") + } + var r0 *ec2.CancelReservedInstancesListingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelReservedInstancesListingInput, ...func(*ec2.Options)) (*ec2.CancelReservedInstancesListingOutput, error)); ok { @@ -1378,6 +1542,10 @@ func (_m *EC2) CancelSpotFleetRequests(ctx context.Context, params *ec2.CancelSp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelSpotFleetRequests") + } + var r0 *ec2.CancelSpotFleetRequestsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotFleetRequestsInput, ...func(*ec2.Options)) (*ec2.CancelSpotFleetRequestsOutput, error)); ok { @@ -1411,6 +1579,10 @@ func (_m *EC2) CancelSpotInstanceRequests(ctx context.Context, params *ec2.Cance _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelSpotInstanceRequests") + } + var r0 *ec2.CancelSpotInstanceRequestsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CancelSpotInstanceRequestsInput, ...func(*ec2.Options)) (*ec2.CancelSpotInstanceRequestsOutput, error)); ok { @@ -1444,6 +1616,10 @@ func (_m *EC2) ConfirmProductInstance(ctx context.Context, params *ec2.ConfirmPr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ConfirmProductInstance") + } + var r0 *ec2.ConfirmProductInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ConfirmProductInstanceInput, ...func(*ec2.Options)) (*ec2.ConfirmProductInstanceOutput, error)); ok { @@ -1477,6 +1653,10 @@ func (_m *EC2) CopyFpgaImage(ctx context.Context, params *ec2.CopyFpgaImageInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CopyFpgaImage") + } + var r0 *ec2.CopyFpgaImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyFpgaImageInput, ...func(*ec2.Options)) (*ec2.CopyFpgaImageOutput, error)); ok { @@ -1510,6 +1690,10 @@ func (_m *EC2) CopyImage(ctx context.Context, params *ec2.CopyImageInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CopyImage") + } + var r0 *ec2.CopyImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopyImageInput, ...func(*ec2.Options)) (*ec2.CopyImageOutput, error)); ok { @@ -1543,6 +1727,10 @@ func (_m *EC2) CopySnapshot(ctx context.Context, params *ec2.CopySnapshotInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CopySnapshot") + } + var r0 *ec2.CopySnapshotOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CopySnapshotInput, ...func(*ec2.Options)) (*ec2.CopySnapshotOutput, error)); ok { @@ -1576,6 +1764,10 @@ func (_m *EC2) CreateCapacityReservation(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCapacityReservation") + } + var r0 *ec2.CreateCapacityReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationInput, ...func(*ec2.Options)) (*ec2.CreateCapacityReservationOutput, error)); ok { @@ -1609,6 +1801,10 @@ func (_m *EC2) CreateCapacityReservationFleet(ctx context.Context, params *ec2.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCapacityReservationFleet") + } + var r0 *ec2.CreateCapacityReservationFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCapacityReservationFleetInput, ...func(*ec2.Options)) (*ec2.CreateCapacityReservationFleetOutput, error)); ok { @@ -1642,6 +1838,10 @@ func (_m *EC2) CreateCarrierGateway(ctx context.Context, params *ec2.CreateCarri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCarrierGateway") + } + var r0 *ec2.CreateCarrierGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCarrierGatewayInput, ...func(*ec2.Options)) (*ec2.CreateCarrierGatewayOutput, error)); ok { @@ -1675,6 +1875,10 @@ func (_m *EC2) CreateClientVpnEndpoint(ctx context.Context, params *ec2.CreateCl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateClientVpnEndpoint") + } + var r0 *ec2.CreateClientVpnEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnEndpointInput, ...func(*ec2.Options)) (*ec2.CreateClientVpnEndpointOutput, error)); ok { @@ -1708,6 +1912,10 @@ func (_m *EC2) CreateClientVpnRoute(ctx context.Context, params *ec2.CreateClien _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateClientVpnRoute") + } + var r0 *ec2.CreateClientVpnRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateClientVpnRouteInput, ...func(*ec2.Options)) (*ec2.CreateClientVpnRouteOutput, error)); ok { @@ -1741,6 +1949,10 @@ func (_m *EC2) CreateCustomerGateway(ctx context.Context, params *ec2.CreateCust _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCustomerGateway") + } + var r0 *ec2.CreateCustomerGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateCustomerGatewayInput, ...func(*ec2.Options)) (*ec2.CreateCustomerGatewayOutput, error)); ok { @@ -1774,6 +1986,10 @@ func (_m *EC2) CreateDefaultSubnet(ctx context.Context, params *ec2.CreateDefaul _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDefaultSubnet") + } + var r0 *ec2.CreateDefaultSubnetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultSubnetInput, ...func(*ec2.Options)) (*ec2.CreateDefaultSubnetOutput, error)); ok { @@ -1807,6 +2023,10 @@ func (_m *EC2) CreateDefaultVpc(ctx context.Context, params *ec2.CreateDefaultVp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDefaultVpc") + } + var r0 *ec2.CreateDefaultVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDefaultVpcInput, ...func(*ec2.Options)) (*ec2.CreateDefaultVpcOutput, error)); ok { @@ -1840,6 +2060,10 @@ func (_m *EC2) CreateDhcpOptions(ctx context.Context, params *ec2.CreateDhcpOpti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDhcpOptions") + } + var r0 *ec2.CreateDhcpOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateDhcpOptionsInput, ...func(*ec2.Options)) (*ec2.CreateDhcpOptionsOutput, error)); ok { @@ -1873,6 +2097,10 @@ func (_m *EC2) CreateEgressOnlyInternetGateway(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEgressOnlyInternetGateway") + } + var r0 *ec2.CreateEgressOnlyInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateEgressOnlyInternetGatewayInput, ...func(*ec2.Options)) (*ec2.CreateEgressOnlyInternetGatewayOutput, error)); ok { @@ -1906,6 +2134,10 @@ func (_m *EC2) CreateFleet(ctx context.Context, params *ec2.CreateFleetInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFleet") + } + var r0 *ec2.CreateFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFleetInput, ...func(*ec2.Options)) (*ec2.CreateFleetOutput, error)); ok { @@ -1939,6 +2171,10 @@ func (_m *EC2) CreateFlowLogs(ctx context.Context, params *ec2.CreateFlowLogsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFlowLogs") + } + var r0 *ec2.CreateFlowLogsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFlowLogsInput, ...func(*ec2.Options)) (*ec2.CreateFlowLogsOutput, error)); ok { @@ -1972,6 +2208,10 @@ func (_m *EC2) CreateFpgaImage(ctx context.Context, params *ec2.CreateFpgaImageI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFpgaImage") + } + var r0 *ec2.CreateFpgaImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateFpgaImageInput, ...func(*ec2.Options)) (*ec2.CreateFpgaImageOutput, error)); ok { @@ -2005,6 +2245,10 @@ func (_m *EC2) CreateImage(ctx context.Context, params *ec2.CreateImageInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateImage") + } + var r0 *ec2.CreateImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateImageInput, ...func(*ec2.Options)) (*ec2.CreateImageOutput, error)); ok { @@ -2038,6 +2282,10 @@ func (_m *EC2) CreateInstanceEventWindow(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInstanceEventWindow") + } + var r0 *ec2.CreateInstanceEventWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceEventWindowInput, ...func(*ec2.Options)) (*ec2.CreateInstanceEventWindowOutput, error)); ok { @@ -2071,6 +2319,10 @@ func (_m *EC2) CreateInstanceExportTask(ctx context.Context, params *ec2.CreateI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInstanceExportTask") + } + var r0 *ec2.CreateInstanceExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInstanceExportTaskInput, ...func(*ec2.Options)) (*ec2.CreateInstanceExportTaskOutput, error)); ok { @@ -2104,6 +2356,10 @@ func (_m *EC2) CreateInternetGateway(ctx context.Context, params *ec2.CreateInte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInternetGateway") + } + var r0 *ec2.CreateInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateInternetGatewayInput, ...func(*ec2.Options)) (*ec2.CreateInternetGatewayOutput, error)); ok { @@ -2137,6 +2393,10 @@ func (_m *EC2) CreateIpam(ctx context.Context, params *ec2.CreateIpamInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateIpam") + } + var r0 *ec2.CreateIpamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamInput, ...func(*ec2.Options)) (*ec2.CreateIpamOutput, error)); ok { @@ -2170,6 +2430,10 @@ func (_m *EC2) CreateIpamPool(ctx context.Context, params *ec2.CreateIpamPoolInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateIpamPool") + } + var r0 *ec2.CreateIpamPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamPoolInput, ...func(*ec2.Options)) (*ec2.CreateIpamPoolOutput, error)); ok { @@ -2203,6 +2467,10 @@ func (_m *EC2) CreateIpamScope(ctx context.Context, params *ec2.CreateIpamScopeI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateIpamScope") + } + var r0 *ec2.CreateIpamScopeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateIpamScopeInput, ...func(*ec2.Options)) (*ec2.CreateIpamScopeOutput, error)); ok { @@ -2236,6 +2504,10 @@ func (_m *EC2) CreateKeyPair(ctx context.Context, params *ec2.CreateKeyPairInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateKeyPair") + } + var r0 *ec2.CreateKeyPairOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateKeyPairInput, ...func(*ec2.Options)) (*ec2.CreateKeyPairOutput, error)); ok { @@ -2269,6 +2541,10 @@ func (_m *EC2) CreateLaunchTemplate(ctx context.Context, params *ec2.CreateLaunc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLaunchTemplate") + } + var r0 *ec2.CreateLaunchTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateInput, ...func(*ec2.Options)) (*ec2.CreateLaunchTemplateOutput, error)); ok { @@ -2302,6 +2578,10 @@ func (_m *EC2) CreateLaunchTemplateVersion(ctx context.Context, params *ec2.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLaunchTemplateVersion") + } + var r0 *ec2.CreateLaunchTemplateVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLaunchTemplateVersionInput, ...func(*ec2.Options)) (*ec2.CreateLaunchTemplateVersionOutput, error)); ok { @@ -2335,6 +2615,10 @@ func (_m *EC2) CreateLocalGatewayRoute(ctx context.Context, params *ec2.CreateLo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLocalGatewayRoute") + } + var r0 *ec2.CreateLocalGatewayRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteInput, ...func(*ec2.Options)) (*ec2.CreateLocalGatewayRouteOutput, error)); ok { @@ -2368,6 +2652,10 @@ func (_m *EC2) CreateLocalGatewayRouteTableVpcAssociation(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLocalGatewayRouteTableVpcAssociation") + } + var r0 *ec2.CreateLocalGatewayRouteTableVpcAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateLocalGatewayRouteTableVpcAssociationInput, ...func(*ec2.Options)) (*ec2.CreateLocalGatewayRouteTableVpcAssociationOutput, error)); ok { @@ -2401,6 +2689,10 @@ func (_m *EC2) CreateManagedPrefixList(ctx context.Context, params *ec2.CreateMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateManagedPrefixList") + } + var r0 *ec2.CreateManagedPrefixListOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateManagedPrefixListInput, ...func(*ec2.Options)) (*ec2.CreateManagedPrefixListOutput, error)); ok { @@ -2434,6 +2726,10 @@ func (_m *EC2) CreateNatGateway(ctx context.Context, params *ec2.CreateNatGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNatGateway") + } + var r0 *ec2.CreateNatGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNatGatewayInput, ...func(*ec2.Options)) (*ec2.CreateNatGatewayOutput, error)); ok { @@ -2467,6 +2763,10 @@ func (_m *EC2) CreateNetworkAcl(ctx context.Context, params *ec2.CreateNetworkAc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkAcl") + } + var r0 *ec2.CreateNetworkAclOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclInput, ...func(*ec2.Options)) (*ec2.CreateNetworkAclOutput, error)); ok { @@ -2500,6 +2800,10 @@ func (_m *EC2) CreateNetworkAclEntry(ctx context.Context, params *ec2.CreateNetw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkAclEntry") + } + var r0 *ec2.CreateNetworkAclEntryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkAclEntryInput, ...func(*ec2.Options)) (*ec2.CreateNetworkAclEntryOutput, error)); ok { @@ -2533,6 +2837,10 @@ func (_m *EC2) CreateNetworkInsightsAccessScope(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkInsightsAccessScope") + } + var r0 *ec2.CreateNetworkInsightsAccessScopeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsAccessScopeInput, ...func(*ec2.Options)) (*ec2.CreateNetworkInsightsAccessScopeOutput, error)); ok { @@ -2566,6 +2874,10 @@ func (_m *EC2) CreateNetworkInsightsPath(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkInsightsPath") + } + var r0 *ec2.CreateNetworkInsightsPathOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInsightsPathInput, ...func(*ec2.Options)) (*ec2.CreateNetworkInsightsPathOutput, error)); ok { @@ -2599,6 +2911,10 @@ func (_m *EC2) CreateNetworkInterface(ctx context.Context, params *ec2.CreateNet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkInterface") + } + var r0 *ec2.CreateNetworkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfaceInput, ...func(*ec2.Options)) (*ec2.CreateNetworkInterfaceOutput, error)); ok { @@ -2632,6 +2948,10 @@ func (_m *EC2) CreateNetworkInterfacePermission(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNetworkInterfacePermission") + } + var r0 *ec2.CreateNetworkInterfacePermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateNetworkInterfacePermissionInput, ...func(*ec2.Options)) (*ec2.CreateNetworkInterfacePermissionOutput, error)); ok { @@ -2665,6 +2985,10 @@ func (_m *EC2) CreatePlacementGroup(ctx context.Context, params *ec2.CreatePlace _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePlacementGroup") + } + var r0 *ec2.CreatePlacementGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePlacementGroupInput, ...func(*ec2.Options)) (*ec2.CreatePlacementGroupOutput, error)); ok { @@ -2698,6 +3022,10 @@ func (_m *EC2) CreatePublicIpv4Pool(ctx context.Context, params *ec2.CreatePubli _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePublicIpv4Pool") + } + var r0 *ec2.CreatePublicIpv4PoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreatePublicIpv4PoolInput, ...func(*ec2.Options)) (*ec2.CreatePublicIpv4PoolOutput, error)); ok { @@ -2731,6 +3059,10 @@ func (_m *EC2) CreateReplaceRootVolumeTask(ctx context.Context, params *ec2.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateReplaceRootVolumeTask") + } + var r0 *ec2.CreateReplaceRootVolumeTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReplaceRootVolumeTaskInput, ...func(*ec2.Options)) (*ec2.CreateReplaceRootVolumeTaskOutput, error)); ok { @@ -2764,6 +3096,10 @@ func (_m *EC2) CreateReservedInstancesListing(ctx context.Context, params *ec2.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateReservedInstancesListing") + } + var r0 *ec2.CreateReservedInstancesListingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateReservedInstancesListingInput, ...func(*ec2.Options)) (*ec2.CreateReservedInstancesListingOutput, error)); ok { @@ -2797,6 +3133,10 @@ func (_m *EC2) CreateRestoreImageTask(ctx context.Context, params *ec2.CreateRes _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateRestoreImageTask") + } + var r0 *ec2.CreateRestoreImageTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRestoreImageTaskInput, ...func(*ec2.Options)) (*ec2.CreateRestoreImageTaskOutput, error)); ok { @@ -2830,6 +3170,10 @@ func (_m *EC2) CreateRoute(ctx context.Context, params *ec2.CreateRouteInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateRoute") + } + var r0 *ec2.CreateRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteInput, ...func(*ec2.Options)) (*ec2.CreateRouteOutput, error)); ok { @@ -2863,6 +3207,10 @@ func (_m *EC2) CreateRouteTable(ctx context.Context, params *ec2.CreateRouteTabl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateRouteTable") + } + var r0 *ec2.CreateRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateRouteTableInput, ...func(*ec2.Options)) (*ec2.CreateRouteTableOutput, error)); ok { @@ -2896,6 +3244,10 @@ func (_m *EC2) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecuri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSecurityGroup") + } + var r0 *ec2.CreateSecurityGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSecurityGroupInput, ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)); ok { @@ -2929,6 +3281,10 @@ func (_m *EC2) CreateSnapshot(ctx context.Context, params *ec2.CreateSnapshotInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSnapshot") + } + var r0 *ec2.CreateSnapshotOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotInput, ...func(*ec2.Options)) (*ec2.CreateSnapshotOutput, error)); ok { @@ -2962,6 +3318,10 @@ func (_m *EC2) CreateSnapshots(ctx context.Context, params *ec2.CreateSnapshotsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSnapshots") + } + var r0 *ec2.CreateSnapshotsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSnapshotsInput, ...func(*ec2.Options)) (*ec2.CreateSnapshotsOutput, error)); ok { @@ -2995,6 +3355,10 @@ func (_m *EC2) CreateSpotDatafeedSubscription(ctx context.Context, params *ec2.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSpotDatafeedSubscription") + } + var r0 *ec2.CreateSpotDatafeedSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSpotDatafeedSubscriptionInput, ...func(*ec2.Options)) (*ec2.CreateSpotDatafeedSubscriptionOutput, error)); ok { @@ -3028,6 +3392,10 @@ func (_m *EC2) CreateStoreImageTask(ctx context.Context, params *ec2.CreateStore _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateStoreImageTask") + } + var r0 *ec2.CreateStoreImageTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateStoreImageTaskInput, ...func(*ec2.Options)) (*ec2.CreateStoreImageTaskOutput, error)); ok { @@ -3061,6 +3429,10 @@ func (_m *EC2) CreateSubnet(ctx context.Context, params *ec2.CreateSubnetInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSubnet") + } + var r0 *ec2.CreateSubnetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetInput, ...func(*ec2.Options)) (*ec2.CreateSubnetOutput, error)); ok { @@ -3094,6 +3466,10 @@ func (_m *EC2) CreateSubnetCidrReservation(ctx context.Context, params *ec2.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSubnetCidrReservation") + } + var r0 *ec2.CreateSubnetCidrReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateSubnetCidrReservationInput, ...func(*ec2.Options)) (*ec2.CreateSubnetCidrReservationOutput, error)); ok { @@ -3127,6 +3503,10 @@ func (_m *EC2) CreateTags(ctx context.Context, params *ec2.CreateTagsInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTags") + } + var r0 *ec2.CreateTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTagsInput, ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)); ok { @@ -3160,6 +3540,10 @@ func (_m *EC2) CreateTrafficMirrorFilter(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrafficMirrorFilter") + } + var r0 *ec2.CreateTrafficMirrorFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterInput, ...func(*ec2.Options)) (*ec2.CreateTrafficMirrorFilterOutput, error)); ok { @@ -3193,6 +3577,10 @@ func (_m *EC2) CreateTrafficMirrorFilterRule(ctx context.Context, params *ec2.Cr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrafficMirrorFilterRule") + } + var r0 *ec2.CreateTrafficMirrorFilterRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorFilterRuleInput, ...func(*ec2.Options)) (*ec2.CreateTrafficMirrorFilterRuleOutput, error)); ok { @@ -3226,6 +3614,10 @@ func (_m *EC2) CreateTrafficMirrorSession(ctx context.Context, params *ec2.Creat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrafficMirrorSession") + } + var r0 *ec2.CreateTrafficMirrorSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorSessionInput, ...func(*ec2.Options)) (*ec2.CreateTrafficMirrorSessionOutput, error)); ok { @@ -3259,6 +3651,10 @@ func (_m *EC2) CreateTrafficMirrorTarget(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrafficMirrorTarget") + } + var r0 *ec2.CreateTrafficMirrorTargetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTrafficMirrorTargetInput, ...func(*ec2.Options)) (*ec2.CreateTrafficMirrorTargetOutput, error)); ok { @@ -3292,6 +3688,10 @@ func (_m *EC2) CreateTransitGateway(ctx context.Context, params *ec2.CreateTrans _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGateway") + } + var r0 *ec2.CreateTransitGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayOutput, error)); ok { @@ -3325,6 +3725,10 @@ func (_m *EC2) CreateTransitGatewayConnect(ctx context.Context, params *ec2.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayConnect") + } + var r0 *ec2.CreateTransitGatewayConnectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayConnectOutput, error)); ok { @@ -3358,6 +3762,10 @@ func (_m *EC2) CreateTransitGatewayConnectPeer(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayConnectPeer") + } + var r0 *ec2.CreateTransitGatewayConnectPeerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayConnectPeerInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayConnectPeerOutput, error)); ok { @@ -3391,6 +3799,10 @@ func (_m *EC2) CreateTransitGatewayMulticastDomain(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayMulticastDomain") + } + var r0 *ec2.CreateTransitGatewayMulticastDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayMulticastDomainInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayMulticastDomainOutput, error)); ok { @@ -3424,6 +3836,10 @@ func (_m *EC2) CreateTransitGatewayPeeringAttachment(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayPeeringAttachment") + } + var r0 *ec2.CreateTransitGatewayPeeringAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPeeringAttachmentInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayPeeringAttachmentOutput, error)); ok { @@ -3457,6 +3873,10 @@ func (_m *EC2) CreateTransitGatewayPrefixListReference(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayPrefixListReference") + } + var r0 *ec2.CreateTransitGatewayPrefixListReferenceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayPrefixListReferenceInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayPrefixListReferenceOutput, error)); ok { @@ -3490,6 +3910,10 @@ func (_m *EC2) CreateTransitGatewayRoute(ctx context.Context, params *ec2.Create _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayRoute") + } + var r0 *ec2.CreateTransitGatewayRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayRouteOutput, error)); ok { @@ -3523,6 +3947,10 @@ func (_m *EC2) CreateTransitGatewayRouteTable(ctx context.Context, params *ec2.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayRouteTable") + } + var r0 *ec2.CreateTransitGatewayRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayRouteTableInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayRouteTableOutput, error)); ok { @@ -3556,6 +3984,10 @@ func (_m *EC2) CreateTransitGatewayVpcAttachment(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransitGatewayVpcAttachment") + } + var r0 *ec2.CreateTransitGatewayVpcAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateTransitGatewayVpcAttachmentInput, ...func(*ec2.Options)) (*ec2.CreateTransitGatewayVpcAttachmentOutput, error)); ok { @@ -3589,6 +4021,10 @@ func (_m *EC2) CreateVolume(ctx context.Context, params *ec2.CreateVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVolume") + } + var r0 *ec2.CreateVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVolumeInput, ...func(*ec2.Options)) (*ec2.CreateVolumeOutput, error)); ok { @@ -3622,6 +4058,10 @@ func (_m *EC2) CreateVpc(ctx context.Context, params *ec2.CreateVpcInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpc") + } + var r0 *ec2.CreateVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcInput, ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)); ok { @@ -3655,6 +4095,10 @@ func (_m *EC2) CreateVpcEndpoint(ctx context.Context, params *ec2.CreateVpcEndpo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpcEndpoint") + } + var r0 *ec2.CreateVpcEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointInput, ...func(*ec2.Options)) (*ec2.CreateVpcEndpointOutput, error)); ok { @@ -3688,6 +4132,10 @@ func (_m *EC2) CreateVpcEndpointConnectionNotification(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpcEndpointConnectionNotification") + } + var r0 *ec2.CreateVpcEndpointConnectionNotificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointConnectionNotificationInput, ...func(*ec2.Options)) (*ec2.CreateVpcEndpointConnectionNotificationOutput, error)); ok { @@ -3721,6 +4169,10 @@ func (_m *EC2) CreateVpcEndpointServiceConfiguration(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpcEndpointServiceConfiguration") + } + var r0 *ec2.CreateVpcEndpointServiceConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcEndpointServiceConfigurationInput, ...func(*ec2.Options)) (*ec2.CreateVpcEndpointServiceConfigurationOutput, error)); ok { @@ -3754,6 +4206,10 @@ func (_m *EC2) CreateVpcPeeringConnection(ctx context.Context, params *ec2.Creat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpcPeeringConnection") + } + var r0 *ec2.CreateVpcPeeringConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpcPeeringConnectionInput, ...func(*ec2.Options)) (*ec2.CreateVpcPeeringConnectionOutput, error)); ok { @@ -3787,6 +4243,10 @@ func (_m *EC2) CreateVpnConnection(ctx context.Context, params *ec2.CreateVpnCon _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpnConnection") + } + var r0 *ec2.CreateVpnConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionInput, ...func(*ec2.Options)) (*ec2.CreateVpnConnectionOutput, error)); ok { @@ -3820,6 +4280,10 @@ func (_m *EC2) CreateVpnConnectionRoute(ctx context.Context, params *ec2.CreateV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpnConnectionRoute") + } + var r0 *ec2.CreateVpnConnectionRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnConnectionRouteInput, ...func(*ec2.Options)) (*ec2.CreateVpnConnectionRouteOutput, error)); ok { @@ -3853,6 +4317,10 @@ func (_m *EC2) CreateVpnGateway(ctx context.Context, params *ec2.CreateVpnGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVpnGateway") + } + var r0 *ec2.CreateVpnGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.CreateVpnGatewayInput, ...func(*ec2.Options)) (*ec2.CreateVpnGatewayOutput, error)); ok { @@ -3886,6 +4354,10 @@ func (_m *EC2) DeleteCarrierGateway(ctx context.Context, params *ec2.DeleteCarri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteCarrierGateway") + } + var r0 *ec2.DeleteCarrierGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCarrierGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteCarrierGatewayOutput, error)); ok { @@ -3919,6 +4391,10 @@ func (_m *EC2) DeleteClientVpnEndpoint(ctx context.Context, params *ec2.DeleteCl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteClientVpnEndpoint") + } + var r0 *ec2.DeleteClientVpnEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnEndpointInput, ...func(*ec2.Options)) (*ec2.DeleteClientVpnEndpointOutput, error)); ok { @@ -3952,6 +4428,10 @@ func (_m *EC2) DeleteClientVpnRoute(ctx context.Context, params *ec2.DeleteClien _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteClientVpnRoute") + } + var r0 *ec2.DeleteClientVpnRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteClientVpnRouteInput, ...func(*ec2.Options)) (*ec2.DeleteClientVpnRouteOutput, error)); ok { @@ -3985,6 +4465,10 @@ func (_m *EC2) DeleteCustomerGateway(ctx context.Context, params *ec2.DeleteCust _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteCustomerGateway") + } + var r0 *ec2.DeleteCustomerGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteCustomerGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteCustomerGatewayOutput, error)); ok { @@ -4018,6 +4502,10 @@ func (_m *EC2) DeleteDhcpOptions(ctx context.Context, params *ec2.DeleteDhcpOpti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDhcpOptions") + } + var r0 *ec2.DeleteDhcpOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteDhcpOptionsInput, ...func(*ec2.Options)) (*ec2.DeleteDhcpOptionsOutput, error)); ok { @@ -4051,6 +4539,10 @@ func (_m *EC2) DeleteEgressOnlyInternetGateway(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEgressOnlyInternetGateway") + } + var r0 *ec2.DeleteEgressOnlyInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteEgressOnlyInternetGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteEgressOnlyInternetGatewayOutput, error)); ok { @@ -4084,6 +4576,10 @@ func (_m *EC2) DeleteFleets(ctx context.Context, params *ec2.DeleteFleetsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFleets") + } + var r0 *ec2.DeleteFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFleetsInput, ...func(*ec2.Options)) (*ec2.DeleteFleetsOutput, error)); ok { @@ -4117,6 +4613,10 @@ func (_m *EC2) DeleteFlowLogs(ctx context.Context, params *ec2.DeleteFlowLogsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFlowLogs") + } + var r0 *ec2.DeleteFlowLogsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFlowLogsInput, ...func(*ec2.Options)) (*ec2.DeleteFlowLogsOutput, error)); ok { @@ -4150,6 +4650,10 @@ func (_m *EC2) DeleteFpgaImage(ctx context.Context, params *ec2.DeleteFpgaImageI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFpgaImage") + } + var r0 *ec2.DeleteFpgaImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteFpgaImageInput, ...func(*ec2.Options)) (*ec2.DeleteFpgaImageOutput, error)); ok { @@ -4183,6 +4687,10 @@ func (_m *EC2) DeleteInstanceEventWindow(ctx context.Context, params *ec2.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteInstanceEventWindow") + } + var r0 *ec2.DeleteInstanceEventWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInstanceEventWindowInput, ...func(*ec2.Options)) (*ec2.DeleteInstanceEventWindowOutput, error)); ok { @@ -4216,6 +4724,10 @@ func (_m *EC2) DeleteInternetGateway(ctx context.Context, params *ec2.DeleteInte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteInternetGateway") + } + var r0 *ec2.DeleteInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteInternetGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteInternetGatewayOutput, error)); ok { @@ -4249,6 +4761,10 @@ func (_m *EC2) DeleteIpam(ctx context.Context, params *ec2.DeleteIpamInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteIpam") + } + var r0 *ec2.DeleteIpamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamInput, ...func(*ec2.Options)) (*ec2.DeleteIpamOutput, error)); ok { @@ -4282,6 +4798,10 @@ func (_m *EC2) DeleteIpamPool(ctx context.Context, params *ec2.DeleteIpamPoolInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteIpamPool") + } + var r0 *ec2.DeleteIpamPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamPoolInput, ...func(*ec2.Options)) (*ec2.DeleteIpamPoolOutput, error)); ok { @@ -4315,6 +4835,10 @@ func (_m *EC2) DeleteIpamScope(ctx context.Context, params *ec2.DeleteIpamScopeI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteIpamScope") + } + var r0 *ec2.DeleteIpamScopeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteIpamScopeInput, ...func(*ec2.Options)) (*ec2.DeleteIpamScopeOutput, error)); ok { @@ -4348,6 +4872,10 @@ func (_m *EC2) DeleteKeyPair(ctx context.Context, params *ec2.DeleteKeyPairInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteKeyPair") + } + var r0 *ec2.DeleteKeyPairOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteKeyPairInput, ...func(*ec2.Options)) (*ec2.DeleteKeyPairOutput, error)); ok { @@ -4381,6 +4909,10 @@ func (_m *EC2) DeleteLaunchTemplate(ctx context.Context, params *ec2.DeleteLaunc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLaunchTemplate") + } + var r0 *ec2.DeleteLaunchTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateInput, ...func(*ec2.Options)) (*ec2.DeleteLaunchTemplateOutput, error)); ok { @@ -4414,6 +4946,10 @@ func (_m *EC2) DeleteLaunchTemplateVersions(ctx context.Context, params *ec2.Del _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLaunchTemplateVersions") + } + var r0 *ec2.DeleteLaunchTemplateVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLaunchTemplateVersionsInput, ...func(*ec2.Options)) (*ec2.DeleteLaunchTemplateVersionsOutput, error)); ok { @@ -4447,6 +4983,10 @@ func (_m *EC2) DeleteLocalGatewayRoute(ctx context.Context, params *ec2.DeleteLo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLocalGatewayRoute") + } + var r0 *ec2.DeleteLocalGatewayRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteInput, ...func(*ec2.Options)) (*ec2.DeleteLocalGatewayRouteOutput, error)); ok { @@ -4480,6 +5020,10 @@ func (_m *EC2) DeleteLocalGatewayRouteTableVpcAssociation(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLocalGatewayRouteTableVpcAssociation") + } + var r0 *ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteLocalGatewayRouteTableVpcAssociationInput, ...func(*ec2.Options)) (*ec2.DeleteLocalGatewayRouteTableVpcAssociationOutput, error)); ok { @@ -4513,6 +5057,10 @@ func (_m *EC2) DeleteManagedPrefixList(ctx context.Context, params *ec2.DeleteMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteManagedPrefixList") + } + var r0 *ec2.DeleteManagedPrefixListOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteManagedPrefixListInput, ...func(*ec2.Options)) (*ec2.DeleteManagedPrefixListOutput, error)); ok { @@ -4546,6 +5094,10 @@ func (_m *EC2) DeleteNatGateway(ctx context.Context, params *ec2.DeleteNatGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNatGateway") + } + var r0 *ec2.DeleteNatGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNatGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteNatGatewayOutput, error)); ok { @@ -4579,6 +5131,10 @@ func (_m *EC2) DeleteNetworkAcl(ctx context.Context, params *ec2.DeleteNetworkAc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkAcl") + } + var r0 *ec2.DeleteNetworkAclOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkAclOutput, error)); ok { @@ -4612,6 +5168,10 @@ func (_m *EC2) DeleteNetworkAclEntry(ctx context.Context, params *ec2.DeleteNetw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkAclEntry") + } + var r0 *ec2.DeleteNetworkAclEntryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkAclEntryInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkAclEntryOutput, error)); ok { @@ -4645,6 +5205,10 @@ func (_m *EC2) DeleteNetworkInsightsAccessScope(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInsightsAccessScope") + } + var r0 *ec2.DeleteNetworkInsightsAccessScopeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInsightsAccessScopeOutput, error)); ok { @@ -4678,6 +5242,10 @@ func (_m *EC2) DeleteNetworkInsightsAccessScopeAnalysis(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInsightsAccessScopeAnalysis") + } + var r0 *ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAccessScopeAnalysisInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInsightsAccessScopeAnalysisOutput, error)); ok { @@ -4711,6 +5279,10 @@ func (_m *EC2) DeleteNetworkInsightsAnalysis(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInsightsAnalysis") + } + var r0 *ec2.DeleteNetworkInsightsAnalysisOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInsightsAnalysisOutput, error)); ok { @@ -4744,6 +5316,10 @@ func (_m *EC2) DeleteNetworkInsightsPath(ctx context.Context, params *ec2.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInsightsPath") + } + var r0 *ec2.DeleteNetworkInsightsPathOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInsightsPathInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInsightsPathOutput, error)); ok { @@ -4777,6 +5353,10 @@ func (_m *EC2) DeleteNetworkInterface(ctx context.Context, params *ec2.DeleteNet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInterface") + } + var r0 *ec2.DeleteNetworkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfaceInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInterfaceOutput, error)); ok { @@ -4810,6 +5390,10 @@ func (_m *EC2) DeleteNetworkInterfacePermission(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNetworkInterfacePermission") + } + var r0 *ec2.DeleteNetworkInterfacePermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteNetworkInterfacePermissionInput, ...func(*ec2.Options)) (*ec2.DeleteNetworkInterfacePermissionOutput, error)); ok { @@ -4843,6 +5427,10 @@ func (_m *EC2) DeletePlacementGroup(ctx context.Context, params *ec2.DeletePlace _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePlacementGroup") + } + var r0 *ec2.DeletePlacementGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePlacementGroupInput, ...func(*ec2.Options)) (*ec2.DeletePlacementGroupOutput, error)); ok { @@ -4876,6 +5464,10 @@ func (_m *EC2) DeletePublicIpv4Pool(ctx context.Context, params *ec2.DeletePubli _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePublicIpv4Pool") + } + var r0 *ec2.DeletePublicIpv4PoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeletePublicIpv4PoolInput, ...func(*ec2.Options)) (*ec2.DeletePublicIpv4PoolOutput, error)); ok { @@ -4909,6 +5501,10 @@ func (_m *EC2) DeleteQueuedReservedInstances(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteQueuedReservedInstances") + } + var r0 *ec2.DeleteQueuedReservedInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteQueuedReservedInstancesInput, ...func(*ec2.Options)) (*ec2.DeleteQueuedReservedInstancesOutput, error)); ok { @@ -4942,6 +5538,10 @@ func (_m *EC2) DeleteRoute(ctx context.Context, params *ec2.DeleteRouteInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRoute") + } + var r0 *ec2.DeleteRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteInput, ...func(*ec2.Options)) (*ec2.DeleteRouteOutput, error)); ok { @@ -4975,6 +5575,10 @@ func (_m *EC2) DeleteRouteTable(ctx context.Context, params *ec2.DeleteRouteTabl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRouteTable") + } + var r0 *ec2.DeleteRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteRouteTableInput, ...func(*ec2.Options)) (*ec2.DeleteRouteTableOutput, error)); ok { @@ -5008,6 +5612,10 @@ func (_m *EC2) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecuri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSecurityGroup") + } + var r0 *ec2.DeleteSecurityGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSecurityGroupInput, ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)); ok { @@ -5041,6 +5649,10 @@ func (_m *EC2) DeleteSnapshot(ctx context.Context, params *ec2.DeleteSnapshotInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSnapshot") + } + var r0 *ec2.DeleteSnapshotOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSnapshotInput, ...func(*ec2.Options)) (*ec2.DeleteSnapshotOutput, error)); ok { @@ -5074,6 +5686,10 @@ func (_m *EC2) DeleteSpotDatafeedSubscription(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSpotDatafeedSubscription") + } + var r0 *ec2.DeleteSpotDatafeedSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSpotDatafeedSubscriptionInput, ...func(*ec2.Options)) (*ec2.DeleteSpotDatafeedSubscriptionOutput, error)); ok { @@ -5107,6 +5723,10 @@ func (_m *EC2) DeleteSubnet(ctx context.Context, params *ec2.DeleteSubnetInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSubnet") + } + var r0 *ec2.DeleteSubnetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetInput, ...func(*ec2.Options)) (*ec2.DeleteSubnetOutput, error)); ok { @@ -5140,6 +5760,10 @@ func (_m *EC2) DeleteSubnetCidrReservation(ctx context.Context, params *ec2.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSubnetCidrReservation") + } + var r0 *ec2.DeleteSubnetCidrReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteSubnetCidrReservationInput, ...func(*ec2.Options)) (*ec2.DeleteSubnetCidrReservationOutput, error)); ok { @@ -5173,6 +5797,10 @@ func (_m *EC2) DeleteTags(ctx context.Context, params *ec2.DeleteTagsInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTags") + } + var r0 *ec2.DeleteTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTagsInput, ...func(*ec2.Options)) (*ec2.DeleteTagsOutput, error)); ok { @@ -5206,6 +5834,10 @@ func (_m *EC2) DeleteTrafficMirrorFilter(ctx context.Context, params *ec2.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrafficMirrorFilter") + } + var r0 *ec2.DeleteTrafficMirrorFilterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterInput, ...func(*ec2.Options)) (*ec2.DeleteTrafficMirrorFilterOutput, error)); ok { @@ -5239,6 +5871,10 @@ func (_m *EC2) DeleteTrafficMirrorFilterRule(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrafficMirrorFilterRule") + } + var r0 *ec2.DeleteTrafficMirrorFilterRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorFilterRuleInput, ...func(*ec2.Options)) (*ec2.DeleteTrafficMirrorFilterRuleOutput, error)); ok { @@ -5272,6 +5908,10 @@ func (_m *EC2) DeleteTrafficMirrorSession(ctx context.Context, params *ec2.Delet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrafficMirrorSession") + } + var r0 *ec2.DeleteTrafficMirrorSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorSessionInput, ...func(*ec2.Options)) (*ec2.DeleteTrafficMirrorSessionOutput, error)); ok { @@ -5305,6 +5945,10 @@ func (_m *EC2) DeleteTrafficMirrorTarget(ctx context.Context, params *ec2.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrafficMirrorTarget") + } + var r0 *ec2.DeleteTrafficMirrorTargetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTrafficMirrorTargetInput, ...func(*ec2.Options)) (*ec2.DeleteTrafficMirrorTargetOutput, error)); ok { @@ -5338,6 +5982,10 @@ func (_m *EC2) DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTrans _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGateway") + } + var r0 *ec2.DeleteTransitGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayOutput, error)); ok { @@ -5371,6 +6019,10 @@ func (_m *EC2) DeleteTransitGatewayConnect(ctx context.Context, params *ec2.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayConnect") + } + var r0 *ec2.DeleteTransitGatewayConnectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayConnectOutput, error)); ok { @@ -5404,6 +6056,10 @@ func (_m *EC2) DeleteTransitGatewayConnectPeer(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayConnectPeer") + } + var r0 *ec2.DeleteTransitGatewayConnectPeerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayConnectPeerInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayConnectPeerOutput, error)); ok { @@ -5437,6 +6093,10 @@ func (_m *EC2) DeleteTransitGatewayMulticastDomain(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayMulticastDomain") + } + var r0 *ec2.DeleteTransitGatewayMulticastDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayMulticastDomainInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayMulticastDomainOutput, error)); ok { @@ -5470,6 +6130,10 @@ func (_m *EC2) DeleteTransitGatewayPeeringAttachment(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayPeeringAttachment") + } + var r0 *ec2.DeleteTransitGatewayPeeringAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPeeringAttachmentInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayPeeringAttachmentOutput, error)); ok { @@ -5503,6 +6167,10 @@ func (_m *EC2) DeleteTransitGatewayPrefixListReference(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayPrefixListReference") + } + var r0 *ec2.DeleteTransitGatewayPrefixListReferenceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayPrefixListReferenceInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayPrefixListReferenceOutput, error)); ok { @@ -5536,6 +6204,10 @@ func (_m *EC2) DeleteTransitGatewayRoute(ctx context.Context, params *ec2.Delete _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayRoute") + } + var r0 *ec2.DeleteTransitGatewayRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayRouteOutput, error)); ok { @@ -5569,6 +6241,10 @@ func (_m *EC2) DeleteTransitGatewayRouteTable(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayRouteTable") + } + var r0 *ec2.DeleteTransitGatewayRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayRouteTableInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayRouteTableOutput, error)); ok { @@ -5602,6 +6278,10 @@ func (_m *EC2) DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTransitGatewayVpcAttachment") + } + var r0 *ec2.DeleteTransitGatewayVpcAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteTransitGatewayVpcAttachmentInput, ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)); ok { @@ -5635,6 +6315,10 @@ func (_m *EC2) DeleteVolume(ctx context.Context, params *ec2.DeleteVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVolume") + } + var r0 *ec2.DeleteVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVolumeInput, ...func(*ec2.Options)) (*ec2.DeleteVolumeOutput, error)); ok { @@ -5668,6 +6352,10 @@ func (_m *EC2) DeleteVpc(ctx context.Context, params *ec2.DeleteVpcInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpc") + } + var r0 *ec2.DeleteVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcInput, ...func(*ec2.Options)) (*ec2.DeleteVpcOutput, error)); ok { @@ -5701,6 +6389,10 @@ func (_m *EC2) DeleteVpcEndpointConnectionNotifications(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpcEndpointConnectionNotifications") + } + var r0 *ec2.DeleteVpcEndpointConnectionNotificationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointConnectionNotificationsInput, ...func(*ec2.Options)) (*ec2.DeleteVpcEndpointConnectionNotificationsOutput, error)); ok { @@ -5734,6 +6426,10 @@ func (_m *EC2) DeleteVpcEndpointServiceConfigurations(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpcEndpointServiceConfigurations") + } + var r0 *ec2.DeleteVpcEndpointServiceConfigurationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointServiceConfigurationsInput, ...func(*ec2.Options)) (*ec2.DeleteVpcEndpointServiceConfigurationsOutput, error)); ok { @@ -5767,6 +6463,10 @@ func (_m *EC2) DeleteVpcEndpoints(ctx context.Context, params *ec2.DeleteVpcEndp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpcEndpoints") + } + var r0 *ec2.DeleteVpcEndpointsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcEndpointsInput, ...func(*ec2.Options)) (*ec2.DeleteVpcEndpointsOutput, error)); ok { @@ -5800,6 +6500,10 @@ func (_m *EC2) DeleteVpcPeeringConnection(ctx context.Context, params *ec2.Delet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpcPeeringConnection") + } + var r0 *ec2.DeleteVpcPeeringConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpcPeeringConnectionInput, ...func(*ec2.Options)) (*ec2.DeleteVpcPeeringConnectionOutput, error)); ok { @@ -5833,6 +6537,10 @@ func (_m *EC2) DeleteVpnConnection(ctx context.Context, params *ec2.DeleteVpnCon _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpnConnection") + } + var r0 *ec2.DeleteVpnConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionInput, ...func(*ec2.Options)) (*ec2.DeleteVpnConnectionOutput, error)); ok { @@ -5866,6 +6574,10 @@ func (_m *EC2) DeleteVpnConnectionRoute(ctx context.Context, params *ec2.DeleteV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpnConnectionRoute") + } + var r0 *ec2.DeleteVpnConnectionRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnConnectionRouteInput, ...func(*ec2.Options)) (*ec2.DeleteVpnConnectionRouteOutput, error)); ok { @@ -5899,6 +6611,10 @@ func (_m *EC2) DeleteVpnGateway(ctx context.Context, params *ec2.DeleteVpnGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVpnGateway") + } + var r0 *ec2.DeleteVpnGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeleteVpnGatewayInput, ...func(*ec2.Options)) (*ec2.DeleteVpnGatewayOutput, error)); ok { @@ -5932,6 +6648,10 @@ func (_m *EC2) DeprovisionByoipCidr(ctx context.Context, params *ec2.Deprovision _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeprovisionByoipCidr") + } + var r0 *ec2.DeprovisionByoipCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionByoipCidrInput, ...func(*ec2.Options)) (*ec2.DeprovisionByoipCidrOutput, error)); ok { @@ -5965,6 +6685,10 @@ func (_m *EC2) DeprovisionIpamPoolCidr(ctx context.Context, params *ec2.Deprovis _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeprovisionIpamPoolCidr") + } + var r0 *ec2.DeprovisionIpamPoolCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionIpamPoolCidrInput, ...func(*ec2.Options)) (*ec2.DeprovisionIpamPoolCidrOutput, error)); ok { @@ -5998,6 +6722,10 @@ func (_m *EC2) DeprovisionPublicIpv4PoolCidr(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeprovisionPublicIpv4PoolCidr") + } + var r0 *ec2.DeprovisionPublicIpv4PoolCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeprovisionPublicIpv4PoolCidrInput, ...func(*ec2.Options)) (*ec2.DeprovisionPublicIpv4PoolCidrOutput, error)); ok { @@ -6031,6 +6759,10 @@ func (_m *EC2) DeregisterImage(ctx context.Context, params *ec2.DeregisterImageI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterImage") + } + var r0 *ec2.DeregisterImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterImageInput, ...func(*ec2.Options)) (*ec2.DeregisterImageOutput, error)); ok { @@ -6064,6 +6796,10 @@ func (_m *EC2) DeregisterInstanceEventNotificationAttributes(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterInstanceEventNotificationAttributes") + } + var r0 *ec2.DeregisterInstanceEventNotificationAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterInstanceEventNotificationAttributesInput, ...func(*ec2.Options)) (*ec2.DeregisterInstanceEventNotificationAttributesOutput, error)); ok { @@ -6097,6 +6833,10 @@ func (_m *EC2) DeregisterTransitGatewayMulticastGroupMembers(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterTransitGatewayMulticastGroupMembers") + } + var r0 *ec2.DeregisterTransitGatewayMulticastGroupMembersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupMembersInput, ...func(*ec2.Options)) (*ec2.DeregisterTransitGatewayMulticastGroupMembersOutput, error)); ok { @@ -6130,6 +6870,10 @@ func (_m *EC2) DeregisterTransitGatewayMulticastGroupSources(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterTransitGatewayMulticastGroupSources") + } + var r0 *ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DeregisterTransitGatewayMulticastGroupSourcesInput, ...func(*ec2.Options)) (*ec2.DeregisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { @@ -6163,6 +6907,10 @@ func (_m *EC2) DescribeAccountAttributes(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountAttributes") + } + var r0 *ec2.DescribeAccountAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAccountAttributesInput, ...func(*ec2.Options)) (*ec2.DescribeAccountAttributesOutput, error)); ok { @@ -6196,6 +6944,10 @@ func (_m *EC2) DescribeAddresses(ctx context.Context, params *ec2.DescribeAddres _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAddresses") + } + var r0 *ec2.DescribeAddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesInput, ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)); ok { @@ -6229,6 +6981,10 @@ func (_m *EC2) DescribeAddressesAttribute(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAddressesAttribute") + } + var r0 *ec2.DescribeAddressesAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAddressesAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeAddressesAttributeOutput, error)); ok { @@ -6262,6 +7018,10 @@ func (_m *EC2) DescribeAggregateIdFormat(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAggregateIdFormat") + } + var r0 *ec2.DescribeAggregateIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAggregateIdFormatInput, ...func(*ec2.Options)) (*ec2.DescribeAggregateIdFormatOutput, error)); ok { @@ -6295,6 +7055,10 @@ func (_m *EC2) DescribeAvailabilityZones(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAvailabilityZones") + } + var r0 *ec2.DescribeAvailabilityZonesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeAvailabilityZonesInput, ...func(*ec2.Options)) (*ec2.DescribeAvailabilityZonesOutput, error)); ok { @@ -6328,6 +7092,10 @@ func (_m *EC2) DescribeBundleTasks(ctx context.Context, params *ec2.DescribeBund _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeBundleTasks") + } + var r0 *ec2.DescribeBundleTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeBundleTasksInput, ...func(*ec2.Options)) (*ec2.DescribeBundleTasksOutput, error)); ok { @@ -6361,6 +7129,10 @@ func (_m *EC2) DescribeByoipCidrs(ctx context.Context, params *ec2.DescribeByoip _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeByoipCidrs") + } + var r0 *ec2.DescribeByoipCidrsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeByoipCidrsInput, ...func(*ec2.Options)) (*ec2.DescribeByoipCidrsOutput, error)); ok { @@ -6394,6 +7166,10 @@ func (_m *EC2) DescribeCapacityReservationFleets(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCapacityReservationFleets") + } + var r0 *ec2.DescribeCapacityReservationFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationFleetsInput, ...func(*ec2.Options)) (*ec2.DescribeCapacityReservationFleetsOutput, error)); ok { @@ -6427,6 +7203,10 @@ func (_m *EC2) DescribeCapacityReservations(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCapacityReservations") + } + var r0 *ec2.DescribeCapacityReservationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCapacityReservationsInput, ...func(*ec2.Options)) (*ec2.DescribeCapacityReservationsOutput, error)); ok { @@ -6460,6 +7240,10 @@ func (_m *EC2) DescribeCarrierGateways(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCarrierGateways") + } + var r0 *ec2.DescribeCarrierGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCarrierGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeCarrierGatewaysOutput, error)); ok { @@ -6493,6 +7277,10 @@ func (_m *EC2) DescribeClassicLinkInstances(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClassicLinkInstances") + } + var r0 *ec2.DescribeClassicLinkInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClassicLinkInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeClassicLinkInstancesOutput, error)); ok { @@ -6526,6 +7314,10 @@ func (_m *EC2) DescribeClientVpnAuthorizationRules(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClientVpnAuthorizationRules") + } + var r0 *ec2.DescribeClientVpnAuthorizationRulesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnAuthorizationRulesInput, ...func(*ec2.Options)) (*ec2.DescribeClientVpnAuthorizationRulesOutput, error)); ok { @@ -6559,6 +7351,10 @@ func (_m *EC2) DescribeClientVpnConnections(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClientVpnConnections") + } + var r0 *ec2.DescribeClientVpnConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnConnectionsInput, ...func(*ec2.Options)) (*ec2.DescribeClientVpnConnectionsOutput, error)); ok { @@ -6592,6 +7388,10 @@ func (_m *EC2) DescribeClientVpnEndpoints(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClientVpnEndpoints") + } + var r0 *ec2.DescribeClientVpnEndpointsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnEndpointsInput, ...func(*ec2.Options)) (*ec2.DescribeClientVpnEndpointsOutput, error)); ok { @@ -6625,6 +7425,10 @@ func (_m *EC2) DescribeClientVpnRoutes(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClientVpnRoutes") + } + var r0 *ec2.DescribeClientVpnRoutesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnRoutesInput, ...func(*ec2.Options)) (*ec2.DescribeClientVpnRoutesOutput, error)); ok { @@ -6658,6 +7462,10 @@ func (_m *EC2) DescribeClientVpnTargetNetworks(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeClientVpnTargetNetworks") + } + var r0 *ec2.DescribeClientVpnTargetNetworksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeClientVpnTargetNetworksInput, ...func(*ec2.Options)) (*ec2.DescribeClientVpnTargetNetworksOutput, error)); ok { @@ -6691,6 +7499,10 @@ func (_m *EC2) DescribeCoipPools(ctx context.Context, params *ec2.DescribeCoipPo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCoipPools") + } + var r0 *ec2.DescribeCoipPoolsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCoipPoolsInput, ...func(*ec2.Options)) (*ec2.DescribeCoipPoolsOutput, error)); ok { @@ -6724,6 +7536,10 @@ func (_m *EC2) DescribeConversionTasks(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeConversionTasks") + } + var r0 *ec2.DescribeConversionTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeConversionTasksInput, ...func(*ec2.Options)) (*ec2.DescribeConversionTasksOutput, error)); ok { @@ -6757,6 +7573,10 @@ func (_m *EC2) DescribeCustomerGateways(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCustomerGateways") + } + var r0 *ec2.DescribeCustomerGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeCustomerGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeCustomerGatewaysOutput, error)); ok { @@ -6790,6 +7610,10 @@ func (_m *EC2) DescribeDhcpOptions(ctx context.Context, params *ec2.DescribeDhcp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDhcpOptions") + } + var r0 *ec2.DescribeDhcpOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeDhcpOptionsInput, ...func(*ec2.Options)) (*ec2.DescribeDhcpOptionsOutput, error)); ok { @@ -6823,6 +7647,10 @@ func (_m *EC2) DescribeEgressOnlyInternetGateways(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEgressOnlyInternetGateways") + } + var r0 *ec2.DescribeEgressOnlyInternetGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeEgressOnlyInternetGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeEgressOnlyInternetGatewaysOutput, error)); ok { @@ -6856,6 +7684,10 @@ func (_m *EC2) DescribeElasticGpus(ctx context.Context, params *ec2.DescribeElas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeElasticGpus") + } + var r0 *ec2.DescribeElasticGpusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeElasticGpusInput, ...func(*ec2.Options)) (*ec2.DescribeElasticGpusOutput, error)); ok { @@ -6889,6 +7721,10 @@ func (_m *EC2) DescribeExportImageTasks(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeExportImageTasks") + } + var r0 *ec2.DescribeExportImageTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportImageTasksInput, ...func(*ec2.Options)) (*ec2.DescribeExportImageTasksOutput, error)); ok { @@ -6922,6 +7758,10 @@ func (_m *EC2) DescribeExportTasks(ctx context.Context, params *ec2.DescribeExpo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeExportTasks") + } + var r0 *ec2.DescribeExportTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeExportTasksInput, ...func(*ec2.Options)) (*ec2.DescribeExportTasksOutput, error)); ok { @@ -6955,6 +7795,10 @@ func (_m *EC2) DescribeFastLaunchImages(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFastLaunchImages") + } + var r0 *ec2.DescribeFastLaunchImagesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastLaunchImagesInput, ...func(*ec2.Options)) (*ec2.DescribeFastLaunchImagesOutput, error)); ok { @@ -6988,6 +7832,10 @@ func (_m *EC2) DescribeFastSnapshotRestores(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFastSnapshotRestores") + } + var r0 *ec2.DescribeFastSnapshotRestoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFastSnapshotRestoresInput, ...func(*ec2.Options)) (*ec2.DescribeFastSnapshotRestoresOutput, error)); ok { @@ -7021,6 +7869,10 @@ func (_m *EC2) DescribeFleetHistory(ctx context.Context, params *ec2.DescribeFle _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFleetHistory") + } + var r0 *ec2.DescribeFleetHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetHistoryInput, ...func(*ec2.Options)) (*ec2.DescribeFleetHistoryOutput, error)); ok { @@ -7054,6 +7906,10 @@ func (_m *EC2) DescribeFleetInstances(ctx context.Context, params *ec2.DescribeF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFleetInstances") + } + var r0 *ec2.DescribeFleetInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeFleetInstancesOutput, error)); ok { @@ -7087,6 +7943,10 @@ func (_m *EC2) DescribeFleets(ctx context.Context, params *ec2.DescribeFleetsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFleets") + } + var r0 *ec2.DescribeFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFleetsInput, ...func(*ec2.Options)) (*ec2.DescribeFleetsOutput, error)); ok { @@ -7120,6 +7980,10 @@ func (_m *EC2) DescribeFlowLogs(ctx context.Context, params *ec2.DescribeFlowLog _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFlowLogs") + } + var r0 *ec2.DescribeFlowLogsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFlowLogsInput, ...func(*ec2.Options)) (*ec2.DescribeFlowLogsOutput, error)); ok { @@ -7153,6 +8017,10 @@ func (_m *EC2) DescribeFpgaImageAttribute(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFpgaImageAttribute") + } + var r0 *ec2.DescribeFpgaImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImageAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeFpgaImageAttributeOutput, error)); ok { @@ -7186,6 +8054,10 @@ func (_m *EC2) DescribeFpgaImages(ctx context.Context, params *ec2.DescribeFpgaI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFpgaImages") + } + var r0 *ec2.DescribeFpgaImagesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeFpgaImagesInput, ...func(*ec2.Options)) (*ec2.DescribeFpgaImagesOutput, error)); ok { @@ -7219,6 +8091,10 @@ func (_m *EC2) DescribeHostReservationOfferings(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHostReservationOfferings") + } + var r0 *ec2.DescribeHostReservationOfferingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationOfferingsInput, ...func(*ec2.Options)) (*ec2.DescribeHostReservationOfferingsOutput, error)); ok { @@ -7252,6 +8128,10 @@ func (_m *EC2) DescribeHostReservations(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHostReservations") + } + var r0 *ec2.DescribeHostReservationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostReservationsInput, ...func(*ec2.Options)) (*ec2.DescribeHostReservationsOutput, error)); ok { @@ -7285,6 +8165,10 @@ func (_m *EC2) DescribeHosts(ctx context.Context, params *ec2.DescribeHostsInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHosts") + } + var r0 *ec2.DescribeHostsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeHostsInput, ...func(*ec2.Options)) (*ec2.DescribeHostsOutput, error)); ok { @@ -7318,6 +8202,10 @@ func (_m *EC2) DescribeIamInstanceProfileAssociations(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIamInstanceProfileAssociations") + } + var r0 *ec2.DescribeIamInstanceProfileAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIamInstanceProfileAssociationsInput, ...func(*ec2.Options)) (*ec2.DescribeIamInstanceProfileAssociationsOutput, error)); ok { @@ -7351,6 +8239,10 @@ func (_m *EC2) DescribeIdFormat(ctx context.Context, params *ec2.DescribeIdForma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIdFormat") + } + var r0 *ec2.DescribeIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdFormatInput, ...func(*ec2.Options)) (*ec2.DescribeIdFormatOutput, error)); ok { @@ -7384,6 +8276,10 @@ func (_m *EC2) DescribeIdentityIdFormat(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIdentityIdFormat") + } + var r0 *ec2.DescribeIdentityIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIdentityIdFormatInput, ...func(*ec2.Options)) (*ec2.DescribeIdentityIdFormatOutput, error)); ok { @@ -7417,6 +8313,10 @@ func (_m *EC2) DescribeImageAttribute(ctx context.Context, params *ec2.DescribeI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImageAttribute") + } + var r0 *ec2.DescribeImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImageAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeImageAttributeOutput, error)); ok { @@ -7450,6 +8350,10 @@ func (_m *EC2) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImages") + } + var r0 *ec2.DescribeImagesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImagesInput, ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)); ok { @@ -7483,6 +8387,10 @@ func (_m *EC2) DescribeImportImageTasks(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImportImageTasks") + } + var r0 *ec2.DescribeImportImageTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportImageTasksInput, ...func(*ec2.Options)) (*ec2.DescribeImportImageTasksOutput, error)); ok { @@ -7516,6 +8424,10 @@ func (_m *EC2) DescribeImportSnapshotTasks(ctx context.Context, params *ec2.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImportSnapshotTasks") + } + var r0 *ec2.DescribeImportSnapshotTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeImportSnapshotTasksInput, ...func(*ec2.Options)) (*ec2.DescribeImportSnapshotTasksOutput, error)); ok { @@ -7549,6 +8461,10 @@ func (_m *EC2) DescribeInstanceAttribute(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceAttribute") + } + var r0 *ec2.DescribeInstanceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceAttributeOutput, error)); ok { @@ -7582,6 +8498,10 @@ func (_m *EC2) DescribeInstanceCreditSpecifications(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceCreditSpecifications") + } + var r0 *ec2.DescribeInstanceCreditSpecificationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceCreditSpecificationsInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceCreditSpecificationsOutput, error)); ok { @@ -7615,6 +8535,10 @@ func (_m *EC2) DescribeInstanceEventNotificationAttributes(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceEventNotificationAttributes") + } + var r0 *ec2.DescribeInstanceEventNotificationAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventNotificationAttributesInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceEventNotificationAttributesOutput, error)); ok { @@ -7648,6 +8572,10 @@ func (_m *EC2) DescribeInstanceEventWindows(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceEventWindows") + } + var r0 *ec2.DescribeInstanceEventWindowsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceEventWindowsInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceEventWindowsOutput, error)); ok { @@ -7681,6 +8609,10 @@ func (_m *EC2) DescribeInstanceStatus(ctx context.Context, params *ec2.DescribeI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceStatus") + } + var r0 *ec2.DescribeInstanceStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceStatusInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceStatusOutput, error)); ok { @@ -7714,6 +8646,10 @@ func (_m *EC2) DescribeInstanceTypeOfferings(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceTypeOfferings") + } + var r0 *ec2.DescribeInstanceTypeOfferingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypeOfferingsInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceTypeOfferingsOutput, error)); ok { @@ -7747,6 +8683,10 @@ func (_m *EC2) DescribeInstanceTypes(ctx context.Context, params *ec2.DescribeIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceTypes") + } + var r0 *ec2.DescribeInstanceTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstanceTypesInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceTypesOutput, error)); ok { @@ -7780,6 +8720,10 @@ func (_m *EC2) DescribeInstances(ctx context.Context, params *ec2.DescribeInstan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstances") + } + var r0 *ec2.DescribeInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)); ok { @@ -7813,6 +8757,10 @@ func (_m *EC2) DescribeInternetGateways(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInternetGateways") + } + var r0 *ec2.DescribeInternetGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeInternetGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeInternetGatewaysOutput, error)); ok { @@ -7846,6 +8794,10 @@ func (_m *EC2) DescribeIpamPools(ctx context.Context, params *ec2.DescribeIpamPo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIpamPools") + } + var r0 *ec2.DescribeIpamPoolsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamPoolsInput, ...func(*ec2.Options)) (*ec2.DescribeIpamPoolsOutput, error)); ok { @@ -7879,6 +8831,10 @@ func (_m *EC2) DescribeIpamScopes(ctx context.Context, params *ec2.DescribeIpamS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIpamScopes") + } + var r0 *ec2.DescribeIpamScopesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamScopesInput, ...func(*ec2.Options)) (*ec2.DescribeIpamScopesOutput, error)); ok { @@ -7912,6 +8868,10 @@ func (_m *EC2) DescribeIpams(ctx context.Context, params *ec2.DescribeIpamsInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIpams") + } + var r0 *ec2.DescribeIpamsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpamsInput, ...func(*ec2.Options)) (*ec2.DescribeIpamsOutput, error)); ok { @@ -7945,6 +8905,10 @@ func (_m *EC2) DescribeIpv6Pools(ctx context.Context, params *ec2.DescribeIpv6Po _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIpv6Pools") + } + var r0 *ec2.DescribeIpv6PoolsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeIpv6PoolsInput, ...func(*ec2.Options)) (*ec2.DescribeIpv6PoolsOutput, error)); ok { @@ -7978,6 +8942,10 @@ func (_m *EC2) DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPair _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeKeyPairs") + } + var r0 *ec2.DescribeKeyPairsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeKeyPairsInput, ...func(*ec2.Options)) (*ec2.DescribeKeyPairsOutput, error)); ok { @@ -8011,6 +8979,10 @@ func (_m *EC2) DescribeLaunchTemplateVersions(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLaunchTemplateVersions") + } + var r0 *ec2.DescribeLaunchTemplateVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplateVersionsInput, ...func(*ec2.Options)) (*ec2.DescribeLaunchTemplateVersionsOutput, error)); ok { @@ -8044,6 +9016,10 @@ func (_m *EC2) DescribeLaunchTemplates(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLaunchTemplates") + } + var r0 *ec2.DescribeLaunchTemplatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLaunchTemplatesInput, ...func(*ec2.Options)) (*ec2.DescribeLaunchTemplatesOutput, error)); ok { @@ -8077,6 +9053,10 @@ func (_m *EC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations(c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations") + } + var r0 *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, error)); ok { @@ -8110,6 +9090,10 @@ func (_m *EC2) DescribeLocalGatewayRouteTableVpcAssociations(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGatewayRouteTableVpcAssociations") + } + var r0 *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTableVpcAssociationsInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput, error)); ok { @@ -8143,6 +9127,10 @@ func (_m *EC2) DescribeLocalGatewayRouteTables(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGatewayRouteTables") + } + var r0 *ec2.DescribeLocalGatewayRouteTablesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayRouteTablesInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewayRouteTablesOutput, error)); ok { @@ -8176,6 +9164,10 @@ func (_m *EC2) DescribeLocalGatewayVirtualInterfaceGroups(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGatewayVirtualInterfaceGroups") + } + var r0 *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfaceGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput, error)); ok { @@ -8209,6 +9201,10 @@ func (_m *EC2) DescribeLocalGatewayVirtualInterfaces(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGatewayVirtualInterfaces") + } + var r0 *ec2.DescribeLocalGatewayVirtualInterfacesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewayVirtualInterfacesInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewayVirtualInterfacesOutput, error)); ok { @@ -8242,6 +9238,10 @@ func (_m *EC2) DescribeLocalGateways(ctx context.Context, params *ec2.DescribeLo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLocalGateways") + } + var r0 *ec2.DescribeLocalGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeLocalGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeLocalGatewaysOutput, error)); ok { @@ -8275,6 +9275,10 @@ func (_m *EC2) DescribeManagedPrefixLists(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeManagedPrefixLists") + } + var r0 *ec2.DescribeManagedPrefixListsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeManagedPrefixListsInput, ...func(*ec2.Options)) (*ec2.DescribeManagedPrefixListsOutput, error)); ok { @@ -8308,6 +9312,10 @@ func (_m *EC2) DescribeMovingAddresses(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMovingAddresses") + } + var r0 *ec2.DescribeMovingAddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeMovingAddressesInput, ...func(*ec2.Options)) (*ec2.DescribeMovingAddressesOutput, error)); ok { @@ -8341,6 +9349,10 @@ func (_m *EC2) DescribeNatGateways(ctx context.Context, params *ec2.DescribeNatG _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNatGateways") + } + var r0 *ec2.DescribeNatGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNatGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeNatGatewaysOutput, error)); ok { @@ -8374,6 +9386,10 @@ func (_m *EC2) DescribeNetworkAcls(ctx context.Context, params *ec2.DescribeNetw _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkAcls") + } + var r0 *ec2.DescribeNetworkAclsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkAclsInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkAclsOutput, error)); ok { @@ -8407,6 +9423,10 @@ func (_m *EC2) DescribeNetworkInsightsAccessScopeAnalyses(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInsightsAccessScopeAnalyses") + } + var r0 *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopeAnalysesInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, error)); ok { @@ -8440,6 +9460,10 @@ func (_m *EC2) DescribeNetworkInsightsAccessScopes(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInsightsAccessScopes") + } + var r0 *ec2.DescribeNetworkInsightsAccessScopesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAccessScopesInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInsightsAccessScopesOutput, error)); ok { @@ -8473,6 +9497,10 @@ func (_m *EC2) DescribeNetworkInsightsAnalyses(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInsightsAnalyses") + } + var r0 *ec2.DescribeNetworkInsightsAnalysesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsAnalysesInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInsightsAnalysesOutput, error)); ok { @@ -8506,6 +9534,10 @@ func (_m *EC2) DescribeNetworkInsightsPaths(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInsightsPaths") + } + var r0 *ec2.DescribeNetworkInsightsPathsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInsightsPathsInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInsightsPathsOutput, error)); ok { @@ -8539,6 +9571,10 @@ func (_m *EC2) DescribeNetworkInterfaceAttribute(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInterfaceAttribute") + } + var r0 *ec2.DescribeNetworkInterfaceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfaceAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfaceAttributeOutput, error)); ok { @@ -8572,6 +9608,10 @@ func (_m *EC2) DescribeNetworkInterfacePermissions(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInterfacePermissions") + } + var r0 *ec2.DescribeNetworkInterfacePermissionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacePermissionsInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfacePermissionsOutput, error)); ok { @@ -8605,6 +9645,10 @@ func (_m *EC2) DescribeNetworkInterfaces(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNetworkInterfaces") + } + var r0 *ec2.DescribeNetworkInterfacesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeNetworkInterfacesInput, ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfacesOutput, error)); ok { @@ -8638,6 +9682,10 @@ func (_m *EC2) DescribePlacementGroups(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePlacementGroups") + } + var r0 *ec2.DescribePlacementGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePlacementGroupsInput, ...func(*ec2.Options)) (*ec2.DescribePlacementGroupsOutput, error)); ok { @@ -8671,6 +9719,10 @@ func (_m *EC2) DescribePrefixLists(ctx context.Context, params *ec2.DescribePref _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePrefixLists") + } + var r0 *ec2.DescribePrefixListsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrefixListsInput, ...func(*ec2.Options)) (*ec2.DescribePrefixListsOutput, error)); ok { @@ -8704,6 +9756,10 @@ func (_m *EC2) DescribePrincipalIdFormat(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePrincipalIdFormat") + } + var r0 *ec2.DescribePrincipalIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePrincipalIdFormatInput, ...func(*ec2.Options)) (*ec2.DescribePrincipalIdFormatOutput, error)); ok { @@ -8737,6 +9793,10 @@ func (_m *EC2) DescribePublicIpv4Pools(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePublicIpv4Pools") + } + var r0 *ec2.DescribePublicIpv4PoolsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribePublicIpv4PoolsInput, ...func(*ec2.Options)) (*ec2.DescribePublicIpv4PoolsOutput, error)); ok { @@ -8770,6 +9830,10 @@ func (_m *EC2) DescribeRegions(ctx context.Context, params *ec2.DescribeRegionsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeRegions") + } + var r0 *ec2.DescribeRegionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRegionsInput, ...func(*ec2.Options)) (*ec2.DescribeRegionsOutput, error)); ok { @@ -8803,6 +9867,10 @@ func (_m *EC2) DescribeReplaceRootVolumeTasks(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeReplaceRootVolumeTasks") + } + var r0 *ec2.DescribeReplaceRootVolumeTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReplaceRootVolumeTasksInput, ...func(*ec2.Options)) (*ec2.DescribeReplaceRootVolumeTasksOutput, error)); ok { @@ -8836,6 +9904,10 @@ func (_m *EC2) DescribeReservedInstances(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeReservedInstances") + } + var r0 *ec2.DescribeReservedInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeReservedInstancesOutput, error)); ok { @@ -8869,6 +9941,10 @@ func (_m *EC2) DescribeReservedInstancesListings(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeReservedInstancesListings") + } + var r0 *ec2.DescribeReservedInstancesListingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesListingsInput, ...func(*ec2.Options)) (*ec2.DescribeReservedInstancesListingsOutput, error)); ok { @@ -8902,6 +9978,10 @@ func (_m *EC2) DescribeReservedInstancesModifications(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeReservedInstancesModifications") + } + var r0 *ec2.DescribeReservedInstancesModificationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesModificationsInput, ...func(*ec2.Options)) (*ec2.DescribeReservedInstancesModificationsOutput, error)); ok { @@ -8935,6 +10015,10 @@ func (_m *EC2) DescribeReservedInstancesOfferings(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeReservedInstancesOfferings") + } + var r0 *ec2.DescribeReservedInstancesOfferingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeReservedInstancesOfferingsInput, ...func(*ec2.Options)) (*ec2.DescribeReservedInstancesOfferingsOutput, error)); ok { @@ -8968,6 +10052,10 @@ func (_m *EC2) DescribeRouteTables(ctx context.Context, params *ec2.DescribeRout _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeRouteTables") + } + var r0 *ec2.DescribeRouteTablesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeRouteTablesInput, ...func(*ec2.Options)) (*ec2.DescribeRouteTablesOutput, error)); ok { @@ -9001,6 +10089,10 @@ func (_m *EC2) DescribeScheduledInstanceAvailability(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeScheduledInstanceAvailability") + } + var r0 *ec2.DescribeScheduledInstanceAvailabilityOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstanceAvailabilityInput, ...func(*ec2.Options)) (*ec2.DescribeScheduledInstanceAvailabilityOutput, error)); ok { @@ -9034,6 +10126,10 @@ func (_m *EC2) DescribeScheduledInstances(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeScheduledInstances") + } + var r0 *ec2.DescribeScheduledInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeScheduledInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeScheduledInstancesOutput, error)); ok { @@ -9067,6 +10163,10 @@ func (_m *EC2) DescribeSecurityGroupReferences(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSecurityGroupReferences") + } + var r0 *ec2.DescribeSecurityGroupReferencesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupReferencesInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupReferencesOutput, error)); ok { @@ -9100,6 +10200,10 @@ func (_m *EC2) DescribeSecurityGroupRules(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSecurityGroupRules") + } + var r0 *ec2.DescribeSecurityGroupRulesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupRulesInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupRulesOutput, error)); ok { @@ -9133,6 +10237,10 @@ func (_m *EC2) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSecurityGroups") + } + var r0 *ec2.DescribeSecurityGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)); ok { @@ -9166,6 +10274,10 @@ func (_m *EC2) DescribeSnapshotAttribute(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSnapshotAttribute") + } + var r0 *ec2.DescribeSnapshotAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeSnapshotAttributeOutput, error)); ok { @@ -9199,6 +10311,10 @@ func (_m *EC2) DescribeSnapshotTierStatus(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSnapshotTierStatus") + } + var r0 *ec2.DescribeSnapshotTierStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotTierStatusInput, ...func(*ec2.Options)) (*ec2.DescribeSnapshotTierStatusOutput, error)); ok { @@ -9232,6 +10348,10 @@ func (_m *EC2) DescribeSnapshots(ctx context.Context, params *ec2.DescribeSnapsh _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSnapshots") + } + var r0 *ec2.DescribeSnapshotsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSnapshotsInput, ...func(*ec2.Options)) (*ec2.DescribeSnapshotsOutput, error)); ok { @@ -9265,6 +10385,10 @@ func (_m *EC2) DescribeSpotDatafeedSubscription(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotDatafeedSubscription") + } + var r0 *ec2.DescribeSpotDatafeedSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotDatafeedSubscriptionInput, ...func(*ec2.Options)) (*ec2.DescribeSpotDatafeedSubscriptionOutput, error)); ok { @@ -9298,6 +10422,10 @@ func (_m *EC2) DescribeSpotFleetInstances(ctx context.Context, params *ec2.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotFleetInstances") + } + var r0 *ec2.DescribeSpotFleetInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeSpotFleetInstancesOutput, error)); ok { @@ -9331,6 +10459,10 @@ func (_m *EC2) DescribeSpotFleetRequestHistory(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotFleetRequestHistory") + } + var r0 *ec2.DescribeSpotFleetRequestHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestHistoryInput, ...func(*ec2.Options)) (*ec2.DescribeSpotFleetRequestHistoryOutput, error)); ok { @@ -9364,6 +10496,10 @@ func (_m *EC2) DescribeSpotFleetRequests(ctx context.Context, params *ec2.Descri _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotFleetRequests") + } + var r0 *ec2.DescribeSpotFleetRequestsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotFleetRequestsInput, ...func(*ec2.Options)) (*ec2.DescribeSpotFleetRequestsOutput, error)); ok { @@ -9397,6 +10533,10 @@ func (_m *EC2) DescribeSpotInstanceRequests(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotInstanceRequests") + } + var r0 *ec2.DescribeSpotInstanceRequestsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotInstanceRequestsInput, ...func(*ec2.Options)) (*ec2.DescribeSpotInstanceRequestsOutput, error)); ok { @@ -9430,6 +10570,10 @@ func (_m *EC2) DescribeSpotPriceHistory(ctx context.Context, params *ec2.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpotPriceHistory") + } + var r0 *ec2.DescribeSpotPriceHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSpotPriceHistoryInput, ...func(*ec2.Options)) (*ec2.DescribeSpotPriceHistoryOutput, error)); ok { @@ -9463,6 +10607,10 @@ func (_m *EC2) DescribeStaleSecurityGroups(ctx context.Context, params *ec2.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStaleSecurityGroups") + } + var r0 *ec2.DescribeStaleSecurityGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStaleSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeStaleSecurityGroupsOutput, error)); ok { @@ -9496,6 +10644,10 @@ func (_m *EC2) DescribeStoreImageTasks(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStoreImageTasks") + } + var r0 *ec2.DescribeStoreImageTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeStoreImageTasksInput, ...func(*ec2.Options)) (*ec2.DescribeStoreImageTasksOutput, error)); ok { @@ -9529,6 +10681,10 @@ func (_m *EC2) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSubnets") + } + var r0 *ec2.DescribeSubnetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)); ok { @@ -9562,6 +10718,10 @@ func (_m *EC2) DescribeTags(ctx context.Context, params *ec2.DescribeTagsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTags") + } + var r0 *ec2.DescribeTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTagsInput, ...func(*ec2.Options)) (*ec2.DescribeTagsOutput, error)); ok { @@ -9595,6 +10755,10 @@ func (_m *EC2) DescribeTrafficMirrorFilters(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrafficMirrorFilters") + } + var r0 *ec2.DescribeTrafficMirrorFiltersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorFiltersInput, ...func(*ec2.Options)) (*ec2.DescribeTrafficMirrorFiltersOutput, error)); ok { @@ -9628,6 +10792,10 @@ func (_m *EC2) DescribeTrafficMirrorSessions(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrafficMirrorSessions") + } + var r0 *ec2.DescribeTrafficMirrorSessionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorSessionsInput, ...func(*ec2.Options)) (*ec2.DescribeTrafficMirrorSessionsOutput, error)); ok { @@ -9661,6 +10829,10 @@ func (_m *EC2) DescribeTrafficMirrorTargets(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrafficMirrorTargets") + } + var r0 *ec2.DescribeTrafficMirrorTargetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrafficMirrorTargetsInput, ...func(*ec2.Options)) (*ec2.DescribeTrafficMirrorTargetsOutput, error)); ok { @@ -9694,6 +10866,10 @@ func (_m *EC2) DescribeTransitGatewayAttachments(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayAttachments") + } + var r0 *ec2.DescribeTransitGatewayAttachmentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayAttachmentsInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayAttachmentsOutput, error)); ok { @@ -9727,6 +10903,10 @@ func (_m *EC2) DescribeTransitGatewayConnectPeers(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayConnectPeers") + } + var r0 *ec2.DescribeTransitGatewayConnectPeersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectPeersInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayConnectPeersOutput, error)); ok { @@ -9760,6 +10940,10 @@ func (_m *EC2) DescribeTransitGatewayConnects(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayConnects") + } + var r0 *ec2.DescribeTransitGatewayConnectsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayConnectsInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayConnectsOutput, error)); ok { @@ -9793,6 +10977,10 @@ func (_m *EC2) DescribeTransitGatewayMulticastDomains(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayMulticastDomains") + } + var r0 *ec2.DescribeTransitGatewayMulticastDomainsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayMulticastDomainsInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayMulticastDomainsOutput, error)); ok { @@ -9826,6 +11014,10 @@ func (_m *EC2) DescribeTransitGatewayPeeringAttachments(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayPeeringAttachments") + } + var r0 *ec2.DescribeTransitGatewayPeeringAttachmentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayPeeringAttachmentsInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayPeeringAttachmentsOutput, error)); ok { @@ -9859,6 +11051,10 @@ func (_m *EC2) DescribeTransitGatewayRouteTables(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayRouteTables") + } + var r0 *ec2.DescribeTransitGatewayRouteTablesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayRouteTablesInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayRouteTablesOutput, error)); ok { @@ -9892,6 +11088,10 @@ func (_m *EC2) DescribeTransitGatewayVpcAttachments(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGatewayVpcAttachments") + } + var r0 *ec2.DescribeTransitGatewayVpcAttachmentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewayVpcAttachmentsInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)); ok { @@ -9925,6 +11125,10 @@ func (_m *EC2) DescribeTransitGateways(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransitGateways") + } + var r0 *ec2.DescribeTransitGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTransitGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeTransitGatewaysOutput, error)); ok { @@ -9958,6 +11162,10 @@ func (_m *EC2) DescribeTrunkInterfaceAssociations(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrunkInterfaceAssociations") + } + var r0 *ec2.DescribeTrunkInterfaceAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeTrunkInterfaceAssociationsInput, ...func(*ec2.Options)) (*ec2.DescribeTrunkInterfaceAssociationsOutput, error)); ok { @@ -9991,6 +11199,10 @@ func (_m *EC2) DescribeVolumeAttribute(ctx context.Context, params *ec2.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVolumeAttribute") + } + var r0 *ec2.DescribeVolumeAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeVolumeAttributeOutput, error)); ok { @@ -10024,6 +11236,10 @@ func (_m *EC2) DescribeVolumeStatus(ctx context.Context, params *ec2.DescribeVol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVolumeStatus") + } + var r0 *ec2.DescribeVolumeStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumeStatusInput, ...func(*ec2.Options)) (*ec2.DescribeVolumeStatusOutput, error)); ok { @@ -10057,6 +11273,10 @@ func (_m *EC2) DescribeVolumes(ctx context.Context, params *ec2.DescribeVolumesI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVolumes") + } + var r0 *ec2.DescribeVolumesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesInput, ...func(*ec2.Options)) (*ec2.DescribeVolumesOutput, error)); ok { @@ -10090,6 +11310,10 @@ func (_m *EC2) DescribeVolumesModifications(ctx context.Context, params *ec2.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVolumesModifications") + } + var r0 *ec2.DescribeVolumesModificationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVolumesModificationsInput, ...func(*ec2.Options)) (*ec2.DescribeVolumesModificationsOutput, error)); ok { @@ -10123,6 +11347,10 @@ func (_m *EC2) DescribeVpcAttribute(ctx context.Context, params *ec2.DescribeVpc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcAttribute") + } + var r0 *ec2.DescribeVpcAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcAttributeInput, ...func(*ec2.Options)) (*ec2.DescribeVpcAttributeOutput, error)); ok { @@ -10156,6 +11384,10 @@ func (_m *EC2) DescribeVpcClassicLink(ctx context.Context, params *ec2.DescribeV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcClassicLink") + } + var r0 *ec2.DescribeVpcClassicLinkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkInput, ...func(*ec2.Options)) (*ec2.DescribeVpcClassicLinkOutput, error)); ok { @@ -10189,6 +11421,10 @@ func (_m *EC2) DescribeVpcClassicLinkDnsSupport(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcClassicLinkDnsSupport") + } + var r0 *ec2.DescribeVpcClassicLinkDnsSupportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcClassicLinkDnsSupportInput, ...func(*ec2.Options)) (*ec2.DescribeVpcClassicLinkDnsSupportOutput, error)); ok { @@ -10222,6 +11458,10 @@ func (_m *EC2) DescribeVpcEndpointConnectionNotifications(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpointConnectionNotifications") + } + var r0 *ec2.DescribeVpcEndpointConnectionNotificationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionNotificationsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointConnectionNotificationsOutput, error)); ok { @@ -10255,6 +11495,10 @@ func (_m *EC2) DescribeVpcEndpointConnections(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpointConnections") + } + var r0 *ec2.DescribeVpcEndpointConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointConnectionsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointConnectionsOutput, error)); ok { @@ -10288,6 +11532,10 @@ func (_m *EC2) DescribeVpcEndpointServiceConfigurations(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpointServiceConfigurations") + } + var r0 *ec2.DescribeVpcEndpointServiceConfigurationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServiceConfigurationsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServiceConfigurationsOutput, error)); ok { @@ -10321,6 +11569,10 @@ func (_m *EC2) DescribeVpcEndpointServicePermissions(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpointServicePermissions") + } + var r0 *ec2.DescribeVpcEndpointServicePermissionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicePermissionsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServicePermissionsOutput, error)); ok { @@ -10354,6 +11606,10 @@ func (_m *EC2) DescribeVpcEndpointServices(ctx context.Context, params *ec2.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpointServices") + } + var r0 *ec2.DescribeVpcEndpointServicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointServicesInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServicesOutput, error)); ok { @@ -10387,6 +11643,10 @@ func (_m *EC2) DescribeVpcEndpoints(ctx context.Context, params *ec2.DescribeVpc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcEndpoints") + } + var r0 *ec2.DescribeVpcEndpointsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcEndpointsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointsOutput, error)); ok { @@ -10420,6 +11680,10 @@ func (_m *EC2) DescribeVpcPeeringConnections(ctx context.Context, params *ec2.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcPeeringConnections") + } + var r0 *ec2.DescribeVpcPeeringConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcPeeringConnectionsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcPeeringConnectionsOutput, error)); ok { @@ -10453,6 +11717,10 @@ func (_m *EC2) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpcs") + } + var r0 *ec2.DescribeVpcsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpcsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)); ok { @@ -10486,6 +11754,10 @@ func (_m *EC2) DescribeVpnConnections(ctx context.Context, params *ec2.DescribeV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpnConnections") + } + var r0 *ec2.DescribeVpnConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnConnectionsInput, ...func(*ec2.Options)) (*ec2.DescribeVpnConnectionsOutput, error)); ok { @@ -10519,6 +11791,10 @@ func (_m *EC2) DescribeVpnGateways(ctx context.Context, params *ec2.DescribeVpnG _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeVpnGateways") + } + var r0 *ec2.DescribeVpnGatewaysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DescribeVpnGatewaysInput, ...func(*ec2.Options)) (*ec2.DescribeVpnGatewaysOutput, error)); ok { @@ -10552,6 +11828,10 @@ func (_m *EC2) DetachClassicLinkVpc(ctx context.Context, params *ec2.DetachClass _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachClassicLinkVpc") + } + var r0 *ec2.DetachClassicLinkVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachClassicLinkVpcInput, ...func(*ec2.Options)) (*ec2.DetachClassicLinkVpcOutput, error)); ok { @@ -10585,6 +11865,10 @@ func (_m *EC2) DetachInternetGateway(ctx context.Context, params *ec2.DetachInte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachInternetGateway") + } + var r0 *ec2.DetachInternetGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachInternetGatewayInput, ...func(*ec2.Options)) (*ec2.DetachInternetGatewayOutput, error)); ok { @@ -10618,6 +11902,10 @@ func (_m *EC2) DetachNetworkInterface(ctx context.Context, params *ec2.DetachNet _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachNetworkInterface") + } + var r0 *ec2.DetachNetworkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachNetworkInterfaceInput, ...func(*ec2.Options)) (*ec2.DetachNetworkInterfaceOutput, error)); ok { @@ -10651,6 +11939,10 @@ func (_m *EC2) DetachVolume(ctx context.Context, params *ec2.DetachVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachVolume") + } + var r0 *ec2.DetachVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVolumeInput, ...func(*ec2.Options)) (*ec2.DetachVolumeOutput, error)); ok { @@ -10684,6 +11976,10 @@ func (_m *EC2) DetachVpnGateway(ctx context.Context, params *ec2.DetachVpnGatewa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachVpnGateway") + } + var r0 *ec2.DetachVpnGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DetachVpnGatewayInput, ...func(*ec2.Options)) (*ec2.DetachVpnGatewayOutput, error)); ok { @@ -10717,6 +12013,10 @@ func (_m *EC2) DisableEbsEncryptionByDefault(ctx context.Context, params *ec2.Di _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableEbsEncryptionByDefault") + } + var r0 *ec2.DisableEbsEncryptionByDefaultOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...func(*ec2.Options)) (*ec2.DisableEbsEncryptionByDefaultOutput, error)); ok { @@ -10750,6 +12050,10 @@ func (_m *EC2) DisableFastLaunch(ctx context.Context, params *ec2.DisableFastLau _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableFastLaunch") + } + var r0 *ec2.DisableFastLaunchOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastLaunchInput, ...func(*ec2.Options)) (*ec2.DisableFastLaunchOutput, error)); ok { @@ -10783,6 +12087,10 @@ func (_m *EC2) DisableFastSnapshotRestores(ctx context.Context, params *ec2.Disa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableFastSnapshotRestores") + } + var r0 *ec2.DisableFastSnapshotRestoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableFastSnapshotRestoresInput, ...func(*ec2.Options)) (*ec2.DisableFastSnapshotRestoresOutput, error)); ok { @@ -10816,6 +12124,10 @@ func (_m *EC2) DisableImageDeprecation(ctx context.Context, params *ec2.DisableI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableImageDeprecation") + } + var r0 *ec2.DisableImageDeprecationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableImageDeprecationInput, ...func(*ec2.Options)) (*ec2.DisableImageDeprecationOutput, error)); ok { @@ -10849,6 +12161,10 @@ func (_m *EC2) DisableIpamOrganizationAdminAccount(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableIpamOrganizationAdminAccount") + } + var r0 *ec2.DisableIpamOrganizationAdminAccountOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableIpamOrganizationAdminAccountInput, ...func(*ec2.Options)) (*ec2.DisableIpamOrganizationAdminAccountOutput, error)); ok { @@ -10882,6 +12198,10 @@ func (_m *EC2) DisableSerialConsoleAccess(ctx context.Context, params *ec2.Disab _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableSerialConsoleAccess") + } + var r0 *ec2.DisableSerialConsoleAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableSerialConsoleAccessInput, ...func(*ec2.Options)) (*ec2.DisableSerialConsoleAccessOutput, error)); ok { @@ -10915,6 +12235,10 @@ func (_m *EC2) DisableTransitGatewayRouteTablePropagation(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableTransitGatewayRouteTablePropagation") + } + var r0 *ec2.DisableTransitGatewayRouteTablePropagationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableTransitGatewayRouteTablePropagationInput, ...func(*ec2.Options)) (*ec2.DisableTransitGatewayRouteTablePropagationOutput, error)); ok { @@ -10948,6 +12272,10 @@ func (_m *EC2) DisableVgwRoutePropagation(ctx context.Context, params *ec2.Disab _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableVgwRoutePropagation") + } + var r0 *ec2.DisableVgwRoutePropagationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVgwRoutePropagationInput, ...func(*ec2.Options)) (*ec2.DisableVgwRoutePropagationOutput, error)); ok { @@ -10981,6 +12309,10 @@ func (_m *EC2) DisableVpcClassicLink(ctx context.Context, params *ec2.DisableVpc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableVpcClassicLink") + } + var r0 *ec2.DisableVpcClassicLinkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkInput, ...func(*ec2.Options)) (*ec2.DisableVpcClassicLinkOutput, error)); ok { @@ -11014,6 +12346,10 @@ func (_m *EC2) DisableVpcClassicLinkDnsSupport(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableVpcClassicLinkDnsSupport") + } + var r0 *ec2.DisableVpcClassicLinkDnsSupportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisableVpcClassicLinkDnsSupportInput, ...func(*ec2.Options)) (*ec2.DisableVpcClassicLinkDnsSupportOutput, error)); ok { @@ -11047,6 +12383,10 @@ func (_m *EC2) DisassociateAddress(ctx context.Context, params *ec2.Disassociate _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateAddress") + } + var r0 *ec2.DisassociateAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateAddressInput, ...func(*ec2.Options)) (*ec2.DisassociateAddressOutput, error)); ok { @@ -11080,6 +12420,10 @@ func (_m *EC2) DisassociateClientVpnTargetNetwork(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateClientVpnTargetNetwork") + } + var r0 *ec2.DisassociateClientVpnTargetNetworkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateClientVpnTargetNetworkInput, ...func(*ec2.Options)) (*ec2.DisassociateClientVpnTargetNetworkOutput, error)); ok { @@ -11113,6 +12457,10 @@ func (_m *EC2) DisassociateEnclaveCertificateIamRole(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateEnclaveCertificateIamRole") + } + var r0 *ec2.DisassociateEnclaveCertificateIamRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateEnclaveCertificateIamRoleInput, ...func(*ec2.Options)) (*ec2.DisassociateEnclaveCertificateIamRoleOutput, error)); ok { @@ -11146,6 +12494,10 @@ func (_m *EC2) DisassociateIamInstanceProfile(ctx context.Context, params *ec2.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateIamInstanceProfile") + } + var r0 *ec2.DisassociateIamInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateIamInstanceProfileInput, ...func(*ec2.Options)) (*ec2.DisassociateIamInstanceProfileOutput, error)); ok { @@ -11179,6 +12531,10 @@ func (_m *EC2) DisassociateInstanceEventWindow(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateInstanceEventWindow") + } + var r0 *ec2.DisassociateInstanceEventWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateInstanceEventWindowInput, ...func(*ec2.Options)) (*ec2.DisassociateInstanceEventWindowOutput, error)); ok { @@ -11212,6 +12568,10 @@ func (_m *EC2) DisassociateRouteTable(ctx context.Context, params *ec2.Disassoci _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateRouteTable") + } + var r0 *ec2.DisassociateRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateRouteTableInput, ...func(*ec2.Options)) (*ec2.DisassociateRouteTableOutput, error)); ok { @@ -11245,6 +12605,10 @@ func (_m *EC2) DisassociateSubnetCidrBlock(ctx context.Context, params *ec2.Disa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateSubnetCidrBlock") + } + var r0 *ec2.DisassociateSubnetCidrBlockOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateSubnetCidrBlockInput, ...func(*ec2.Options)) (*ec2.DisassociateSubnetCidrBlockOutput, error)); ok { @@ -11278,6 +12642,10 @@ func (_m *EC2) DisassociateTransitGatewayMulticastDomain(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateTransitGatewayMulticastDomain") + } + var r0 *ec2.DisassociateTransitGatewayMulticastDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayMulticastDomainInput, ...func(*ec2.Options)) (*ec2.DisassociateTransitGatewayMulticastDomainOutput, error)); ok { @@ -11311,6 +12679,10 @@ func (_m *EC2) DisassociateTransitGatewayRouteTable(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateTransitGatewayRouteTable") + } + var r0 *ec2.DisassociateTransitGatewayRouteTableOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTransitGatewayRouteTableInput, ...func(*ec2.Options)) (*ec2.DisassociateTransitGatewayRouteTableOutput, error)); ok { @@ -11344,6 +12716,10 @@ func (_m *EC2) DisassociateTrunkInterface(ctx context.Context, params *ec2.Disas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateTrunkInterface") + } + var r0 *ec2.DisassociateTrunkInterfaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateTrunkInterfaceInput, ...func(*ec2.Options)) (*ec2.DisassociateTrunkInterfaceOutput, error)); ok { @@ -11377,6 +12753,10 @@ func (_m *EC2) DisassociateVpcCidrBlock(ctx context.Context, params *ec2.Disasso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateVpcCidrBlock") + } + var r0 *ec2.DisassociateVpcCidrBlockOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.DisassociateVpcCidrBlockInput, ...func(*ec2.Options)) (*ec2.DisassociateVpcCidrBlockOutput, error)); ok { @@ -11410,6 +12790,10 @@ func (_m *EC2) EnableEbsEncryptionByDefault(ctx context.Context, params *ec2.Ena _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableEbsEncryptionByDefault") + } + var r0 *ec2.EnableEbsEncryptionByDefaultOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...func(*ec2.Options)) (*ec2.EnableEbsEncryptionByDefaultOutput, error)); ok { @@ -11443,6 +12827,10 @@ func (_m *EC2) EnableFastLaunch(ctx context.Context, params *ec2.EnableFastLaunc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableFastLaunch") + } + var r0 *ec2.EnableFastLaunchOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastLaunchInput, ...func(*ec2.Options)) (*ec2.EnableFastLaunchOutput, error)); ok { @@ -11476,6 +12864,10 @@ func (_m *EC2) EnableFastSnapshotRestores(ctx context.Context, params *ec2.Enabl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableFastSnapshotRestores") + } + var r0 *ec2.EnableFastSnapshotRestoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableFastSnapshotRestoresInput, ...func(*ec2.Options)) (*ec2.EnableFastSnapshotRestoresOutput, error)); ok { @@ -11509,6 +12901,10 @@ func (_m *EC2) EnableImageDeprecation(ctx context.Context, params *ec2.EnableIma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableImageDeprecation") + } + var r0 *ec2.EnableImageDeprecationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableImageDeprecationInput, ...func(*ec2.Options)) (*ec2.EnableImageDeprecationOutput, error)); ok { @@ -11542,6 +12938,10 @@ func (_m *EC2) EnableIpamOrganizationAdminAccount(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableIpamOrganizationAdminAccount") + } + var r0 *ec2.EnableIpamOrganizationAdminAccountOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableIpamOrganizationAdminAccountInput, ...func(*ec2.Options)) (*ec2.EnableIpamOrganizationAdminAccountOutput, error)); ok { @@ -11575,6 +12975,10 @@ func (_m *EC2) EnableSerialConsoleAccess(ctx context.Context, params *ec2.Enable _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableSerialConsoleAccess") + } + var r0 *ec2.EnableSerialConsoleAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableSerialConsoleAccessInput, ...func(*ec2.Options)) (*ec2.EnableSerialConsoleAccessOutput, error)); ok { @@ -11608,6 +13012,10 @@ func (_m *EC2) EnableTransitGatewayRouteTablePropagation(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableTransitGatewayRouteTablePropagation") + } + var r0 *ec2.EnableTransitGatewayRouteTablePropagationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableTransitGatewayRouteTablePropagationInput, ...func(*ec2.Options)) (*ec2.EnableTransitGatewayRouteTablePropagationOutput, error)); ok { @@ -11641,6 +13049,10 @@ func (_m *EC2) EnableVgwRoutePropagation(ctx context.Context, params *ec2.Enable _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableVgwRoutePropagation") + } + var r0 *ec2.EnableVgwRoutePropagationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVgwRoutePropagationInput, ...func(*ec2.Options)) (*ec2.EnableVgwRoutePropagationOutput, error)); ok { @@ -11674,6 +13086,10 @@ func (_m *EC2) EnableVolumeIO(ctx context.Context, params *ec2.EnableVolumeIOInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableVolumeIO") + } + var r0 *ec2.EnableVolumeIOOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVolumeIOInput, ...func(*ec2.Options)) (*ec2.EnableVolumeIOOutput, error)); ok { @@ -11707,6 +13123,10 @@ func (_m *EC2) EnableVpcClassicLink(ctx context.Context, params *ec2.EnableVpcCl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableVpcClassicLink") + } + var r0 *ec2.EnableVpcClassicLinkOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkInput, ...func(*ec2.Options)) (*ec2.EnableVpcClassicLinkOutput, error)); ok { @@ -11740,6 +13160,10 @@ func (_m *EC2) EnableVpcClassicLinkDnsSupport(ctx context.Context, params *ec2.E _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableVpcClassicLinkDnsSupport") + } + var r0 *ec2.EnableVpcClassicLinkDnsSupportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.EnableVpcClassicLinkDnsSupportInput, ...func(*ec2.Options)) (*ec2.EnableVpcClassicLinkDnsSupportOutput, error)); ok { @@ -11773,6 +13197,10 @@ func (_m *EC2) ExportClientVpnClientCertificateRevocationList(ctx context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExportClientVpnClientCertificateRevocationList") + } + var r0 *ec2.ExportClientVpnClientCertificateRevocationListOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientCertificateRevocationListInput, ...func(*ec2.Options)) (*ec2.ExportClientVpnClientCertificateRevocationListOutput, error)); ok { @@ -11806,6 +13234,10 @@ func (_m *EC2) ExportClientVpnClientConfiguration(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExportClientVpnClientConfiguration") + } + var r0 *ec2.ExportClientVpnClientConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportClientVpnClientConfigurationInput, ...func(*ec2.Options)) (*ec2.ExportClientVpnClientConfigurationOutput, error)); ok { @@ -11839,6 +13271,10 @@ func (_m *EC2) ExportImage(ctx context.Context, params *ec2.ExportImageInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExportImage") + } + var r0 *ec2.ExportImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportImageInput, ...func(*ec2.Options)) (*ec2.ExportImageOutput, error)); ok { @@ -11872,6 +13308,10 @@ func (_m *EC2) ExportTransitGatewayRoutes(ctx context.Context, params *ec2.Expor _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ExportTransitGatewayRoutes") + } + var r0 *ec2.ExportTransitGatewayRoutesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ExportTransitGatewayRoutesInput, ...func(*ec2.Options)) (*ec2.ExportTransitGatewayRoutesOutput, error)); ok { @@ -11905,6 +13345,10 @@ func (_m *EC2) GetAssociatedEnclaveCertificateIamRoles(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAssociatedEnclaveCertificateIamRoles") + } + var r0 *ec2.GetAssociatedEnclaveCertificateIamRolesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedEnclaveCertificateIamRolesInput, ...func(*ec2.Options)) (*ec2.GetAssociatedEnclaveCertificateIamRolesOutput, error)); ok { @@ -11938,6 +13382,10 @@ func (_m *EC2) GetAssociatedIpv6PoolCidrs(ctx context.Context, params *ec2.GetAs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAssociatedIpv6PoolCidrs") + } + var r0 *ec2.GetAssociatedIpv6PoolCidrsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetAssociatedIpv6PoolCidrsInput, ...func(*ec2.Options)) (*ec2.GetAssociatedIpv6PoolCidrsOutput, error)); ok { @@ -11971,6 +13419,10 @@ func (_m *EC2) GetCapacityReservationUsage(ctx context.Context, params *ec2.GetC _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCapacityReservationUsage") + } + var r0 *ec2.GetCapacityReservationUsageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCapacityReservationUsageInput, ...func(*ec2.Options)) (*ec2.GetCapacityReservationUsageOutput, error)); ok { @@ -12004,6 +13456,10 @@ func (_m *EC2) GetCoipPoolUsage(ctx context.Context, params *ec2.GetCoipPoolUsag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCoipPoolUsage") + } + var r0 *ec2.GetCoipPoolUsageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetCoipPoolUsageInput, ...func(*ec2.Options)) (*ec2.GetCoipPoolUsageOutput, error)); ok { @@ -12037,6 +13493,10 @@ func (_m *EC2) GetConsoleOutput(ctx context.Context, params *ec2.GetConsoleOutpu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetConsoleOutput") + } + var r0 *ec2.GetConsoleOutputOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleOutputInput, ...func(*ec2.Options)) (*ec2.GetConsoleOutputOutput, error)); ok { @@ -12070,6 +13530,10 @@ func (_m *EC2) GetConsoleScreenshot(ctx context.Context, params *ec2.GetConsoleS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetConsoleScreenshot") + } + var r0 *ec2.GetConsoleScreenshotOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetConsoleScreenshotInput, ...func(*ec2.Options)) (*ec2.GetConsoleScreenshotOutput, error)); ok { @@ -12103,6 +13567,10 @@ func (_m *EC2) GetDefaultCreditSpecification(ctx context.Context, params *ec2.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDefaultCreditSpecification") + } + var r0 *ec2.GetDefaultCreditSpecificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetDefaultCreditSpecificationInput, ...func(*ec2.Options)) (*ec2.GetDefaultCreditSpecificationOutput, error)); ok { @@ -12136,6 +13604,10 @@ func (_m *EC2) GetEbsDefaultKmsKeyId(ctx context.Context, params *ec2.GetEbsDefa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetEbsDefaultKmsKeyId") + } + var r0 *ec2.GetEbsDefaultKmsKeyIdOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsDefaultKmsKeyIdInput, ...func(*ec2.Options)) (*ec2.GetEbsDefaultKmsKeyIdOutput, error)); ok { @@ -12169,6 +13641,10 @@ func (_m *EC2) GetEbsEncryptionByDefault(ctx context.Context, params *ec2.GetEbs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetEbsEncryptionByDefault") + } + var r0 *ec2.GetEbsEncryptionByDefaultOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetEbsEncryptionByDefaultInput, ...func(*ec2.Options)) (*ec2.GetEbsEncryptionByDefaultOutput, error)); ok { @@ -12202,6 +13678,10 @@ func (_m *EC2) GetFlowLogsIntegrationTemplate(ctx context.Context, params *ec2.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFlowLogsIntegrationTemplate") + } + var r0 *ec2.GetFlowLogsIntegrationTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetFlowLogsIntegrationTemplateInput, ...func(*ec2.Options)) (*ec2.GetFlowLogsIntegrationTemplateOutput, error)); ok { @@ -12235,6 +13715,10 @@ func (_m *EC2) GetGroupsForCapacityReservation(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetGroupsForCapacityReservation") + } + var r0 *ec2.GetGroupsForCapacityReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetGroupsForCapacityReservationInput, ...func(*ec2.Options)) (*ec2.GetGroupsForCapacityReservationOutput, error)); ok { @@ -12268,6 +13752,10 @@ func (_m *EC2) GetHostReservationPurchasePreview(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetHostReservationPurchasePreview") + } + var r0 *ec2.GetHostReservationPurchasePreviewOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetHostReservationPurchasePreviewInput, ...func(*ec2.Options)) (*ec2.GetHostReservationPurchasePreviewOutput, error)); ok { @@ -12301,6 +13789,10 @@ func (_m *EC2) GetInstanceTypesFromInstanceRequirements(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetInstanceTypesFromInstanceRequirements") + } + var r0 *ec2.GetInstanceTypesFromInstanceRequirementsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, ...func(*ec2.Options)) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error)); ok { @@ -12334,6 +13826,10 @@ func (_m *EC2) GetIpamAddressHistory(ctx context.Context, params *ec2.GetIpamAdd _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetIpamAddressHistory") + } + var r0 *ec2.GetIpamAddressHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamAddressHistoryInput, ...func(*ec2.Options)) (*ec2.GetIpamAddressHistoryOutput, error)); ok { @@ -12367,6 +13863,10 @@ func (_m *EC2) GetIpamPoolAllocations(ctx context.Context, params *ec2.GetIpamPo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetIpamPoolAllocations") + } + var r0 *ec2.GetIpamPoolAllocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolAllocationsInput, ...func(*ec2.Options)) (*ec2.GetIpamPoolAllocationsOutput, error)); ok { @@ -12400,6 +13900,10 @@ func (_m *EC2) GetIpamPoolCidrs(ctx context.Context, params *ec2.GetIpamPoolCidr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetIpamPoolCidrs") + } + var r0 *ec2.GetIpamPoolCidrsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamPoolCidrsInput, ...func(*ec2.Options)) (*ec2.GetIpamPoolCidrsOutput, error)); ok { @@ -12433,6 +13937,10 @@ func (_m *EC2) GetIpamResourceCidrs(ctx context.Context, params *ec2.GetIpamReso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetIpamResourceCidrs") + } + var r0 *ec2.GetIpamResourceCidrsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetIpamResourceCidrsInput, ...func(*ec2.Options)) (*ec2.GetIpamResourceCidrsOutput, error)); ok { @@ -12466,6 +13974,10 @@ func (_m *EC2) GetLaunchTemplateData(ctx context.Context, params *ec2.GetLaunchT _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLaunchTemplateData") + } + var r0 *ec2.GetLaunchTemplateDataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetLaunchTemplateDataInput, ...func(*ec2.Options)) (*ec2.GetLaunchTemplateDataOutput, error)); ok { @@ -12499,6 +14011,10 @@ func (_m *EC2) GetManagedPrefixListAssociations(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetManagedPrefixListAssociations") + } + var r0 *ec2.GetManagedPrefixListAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListAssociationsInput, ...func(*ec2.Options)) (*ec2.GetManagedPrefixListAssociationsOutput, error)); ok { @@ -12532,6 +14048,10 @@ func (_m *EC2) GetManagedPrefixListEntries(ctx context.Context, params *ec2.GetM _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetManagedPrefixListEntries") + } + var r0 *ec2.GetManagedPrefixListEntriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetManagedPrefixListEntriesInput, ...func(*ec2.Options)) (*ec2.GetManagedPrefixListEntriesOutput, error)); ok { @@ -12565,6 +14085,10 @@ func (_m *EC2) GetNetworkInsightsAccessScopeAnalysisFindings(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetNetworkInsightsAccessScopeAnalysisFindings") + } + var r0 *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeAnalysisFindingsInput, ...func(*ec2.Options)) (*ec2.GetNetworkInsightsAccessScopeAnalysisFindingsOutput, error)); ok { @@ -12598,6 +14122,10 @@ func (_m *EC2) GetNetworkInsightsAccessScopeContent(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetNetworkInsightsAccessScopeContent") + } + var r0 *ec2.GetNetworkInsightsAccessScopeContentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetNetworkInsightsAccessScopeContentInput, ...func(*ec2.Options)) (*ec2.GetNetworkInsightsAccessScopeContentOutput, error)); ok { @@ -12631,6 +14159,10 @@ func (_m *EC2) GetPasswordData(ctx context.Context, params *ec2.GetPasswordDataI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPasswordData") + } + var r0 *ec2.GetPasswordDataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetPasswordDataInput, ...func(*ec2.Options)) (*ec2.GetPasswordDataOutput, error)); ok { @@ -12664,6 +14196,10 @@ func (_m *EC2) GetReservedInstancesExchangeQuote(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetReservedInstancesExchangeQuote") + } + var r0 *ec2.GetReservedInstancesExchangeQuoteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetReservedInstancesExchangeQuoteInput, ...func(*ec2.Options)) (*ec2.GetReservedInstancesExchangeQuoteOutput, error)); ok { @@ -12697,6 +14233,10 @@ func (_m *EC2) GetSerialConsoleAccessStatus(ctx context.Context, params *ec2.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSerialConsoleAccessStatus") + } + var r0 *ec2.GetSerialConsoleAccessStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSerialConsoleAccessStatusInput, ...func(*ec2.Options)) (*ec2.GetSerialConsoleAccessStatusOutput, error)); ok { @@ -12730,6 +14270,10 @@ func (_m *EC2) GetSpotPlacementScores(ctx context.Context, params *ec2.GetSpotPl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSpotPlacementScores") + } + var r0 *ec2.GetSpotPlacementScoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSpotPlacementScoresInput, ...func(*ec2.Options)) (*ec2.GetSpotPlacementScoresOutput, error)); ok { @@ -12763,6 +14307,10 @@ func (_m *EC2) GetSubnetCidrReservations(ctx context.Context, params *ec2.GetSub _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSubnetCidrReservations") + } + var r0 *ec2.GetSubnetCidrReservationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetSubnetCidrReservationsInput, ...func(*ec2.Options)) (*ec2.GetSubnetCidrReservationsOutput, error)); ok { @@ -12796,6 +14344,10 @@ func (_m *EC2) GetTransitGatewayAttachmentPropagations(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTransitGatewayAttachmentPropagations") + } + var r0 *ec2.GetTransitGatewayAttachmentPropagationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayAttachmentPropagationsInput, ...func(*ec2.Options)) (*ec2.GetTransitGatewayAttachmentPropagationsOutput, error)); ok { @@ -12829,6 +14381,10 @@ func (_m *EC2) GetTransitGatewayMulticastDomainAssociations(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTransitGatewayMulticastDomainAssociations") + } + var r0 *ec2.GetTransitGatewayMulticastDomainAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayMulticastDomainAssociationsInput, ...func(*ec2.Options)) (*ec2.GetTransitGatewayMulticastDomainAssociationsOutput, error)); ok { @@ -12862,6 +14418,10 @@ func (_m *EC2) GetTransitGatewayPrefixListReferences(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTransitGatewayPrefixListReferences") + } + var r0 *ec2.GetTransitGatewayPrefixListReferencesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayPrefixListReferencesInput, ...func(*ec2.Options)) (*ec2.GetTransitGatewayPrefixListReferencesOutput, error)); ok { @@ -12895,6 +14455,10 @@ func (_m *EC2) GetTransitGatewayRouteTableAssociations(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTransitGatewayRouteTableAssociations") + } + var r0 *ec2.GetTransitGatewayRouteTableAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTableAssociationsInput, ...func(*ec2.Options)) (*ec2.GetTransitGatewayRouteTableAssociationsOutput, error)); ok { @@ -12928,6 +14492,10 @@ func (_m *EC2) GetTransitGatewayRouteTablePropagations(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTransitGatewayRouteTablePropagations") + } + var r0 *ec2.GetTransitGatewayRouteTablePropagationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetTransitGatewayRouteTablePropagationsInput, ...func(*ec2.Options)) (*ec2.GetTransitGatewayRouteTablePropagationsOutput, error)); ok { @@ -12961,6 +14529,10 @@ func (_m *EC2) GetVpnConnectionDeviceSampleConfiguration(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetVpnConnectionDeviceSampleConfiguration") + } + var r0 *ec2.GetVpnConnectionDeviceSampleConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceSampleConfigurationInput, ...func(*ec2.Options)) (*ec2.GetVpnConnectionDeviceSampleConfigurationOutput, error)); ok { @@ -12994,6 +14566,10 @@ func (_m *EC2) GetVpnConnectionDeviceTypes(ctx context.Context, params *ec2.GetV _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetVpnConnectionDeviceTypes") + } + var r0 *ec2.GetVpnConnectionDeviceTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.GetVpnConnectionDeviceTypesInput, ...func(*ec2.Options)) (*ec2.GetVpnConnectionDeviceTypesOutput, error)); ok { @@ -13027,6 +14603,10 @@ func (_m *EC2) ImportClientVpnClientCertificateRevocationList(ctx context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportClientVpnClientCertificateRevocationList") + } + var r0 *ec2.ImportClientVpnClientCertificateRevocationListOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportClientVpnClientCertificateRevocationListInput, ...func(*ec2.Options)) (*ec2.ImportClientVpnClientCertificateRevocationListOutput, error)); ok { @@ -13060,6 +14640,10 @@ func (_m *EC2) ImportImage(ctx context.Context, params *ec2.ImportImageInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportImage") + } + var r0 *ec2.ImportImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportImageInput, ...func(*ec2.Options)) (*ec2.ImportImageOutput, error)); ok { @@ -13093,6 +14677,10 @@ func (_m *EC2) ImportInstance(ctx context.Context, params *ec2.ImportInstanceInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportInstance") + } + var r0 *ec2.ImportInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportInstanceInput, ...func(*ec2.Options)) (*ec2.ImportInstanceOutput, error)); ok { @@ -13126,6 +14714,10 @@ func (_m *EC2) ImportKeyPair(ctx context.Context, params *ec2.ImportKeyPairInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportKeyPair") + } + var r0 *ec2.ImportKeyPairOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportKeyPairInput, ...func(*ec2.Options)) (*ec2.ImportKeyPairOutput, error)); ok { @@ -13159,6 +14751,10 @@ func (_m *EC2) ImportSnapshot(ctx context.Context, params *ec2.ImportSnapshotInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportSnapshot") + } + var r0 *ec2.ImportSnapshotOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportSnapshotInput, ...func(*ec2.Options)) (*ec2.ImportSnapshotOutput, error)); ok { @@ -13192,6 +14788,10 @@ func (_m *EC2) ImportVolume(ctx context.Context, params *ec2.ImportVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportVolume") + } + var r0 *ec2.ImportVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ImportVolumeInput, ...func(*ec2.Options)) (*ec2.ImportVolumeOutput, error)); ok { @@ -13225,6 +14825,10 @@ func (_m *EC2) ListImagesInRecycleBin(ctx context.Context, params *ec2.ListImage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImagesInRecycleBin") + } + var r0 *ec2.ListImagesInRecycleBinOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListImagesInRecycleBinInput, ...func(*ec2.Options)) (*ec2.ListImagesInRecycleBinOutput, error)); ok { @@ -13258,6 +14862,10 @@ func (_m *EC2) ListSnapshotsInRecycleBin(ctx context.Context, params *ec2.ListSn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSnapshotsInRecycleBin") + } + var r0 *ec2.ListSnapshotsInRecycleBinOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ListSnapshotsInRecycleBinInput, ...func(*ec2.Options)) (*ec2.ListSnapshotsInRecycleBinOutput, error)); ok { @@ -13291,6 +14899,10 @@ func (_m *EC2) ModifyAddressAttribute(ctx context.Context, params *ec2.ModifyAdd _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyAddressAttribute") + } + var r0 *ec2.ModifyAddressAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAddressAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyAddressAttributeOutput, error)); ok { @@ -13324,6 +14936,10 @@ func (_m *EC2) ModifyAvailabilityZoneGroup(ctx context.Context, params *ec2.Modi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyAvailabilityZoneGroup") + } + var r0 *ec2.ModifyAvailabilityZoneGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyAvailabilityZoneGroupInput, ...func(*ec2.Options)) (*ec2.ModifyAvailabilityZoneGroupOutput, error)); ok { @@ -13357,6 +14973,10 @@ func (_m *EC2) ModifyCapacityReservation(ctx context.Context, params *ec2.Modify _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyCapacityReservation") + } + var r0 *ec2.ModifyCapacityReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationInput, ...func(*ec2.Options)) (*ec2.ModifyCapacityReservationOutput, error)); ok { @@ -13390,6 +15010,10 @@ func (_m *EC2) ModifyCapacityReservationFleet(ctx context.Context, params *ec2.M _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyCapacityReservationFleet") + } + var r0 *ec2.ModifyCapacityReservationFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyCapacityReservationFleetInput, ...func(*ec2.Options)) (*ec2.ModifyCapacityReservationFleetOutput, error)); ok { @@ -13423,6 +15047,10 @@ func (_m *EC2) ModifyClientVpnEndpoint(ctx context.Context, params *ec2.ModifyCl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyClientVpnEndpoint") + } + var r0 *ec2.ModifyClientVpnEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyClientVpnEndpointInput, ...func(*ec2.Options)) (*ec2.ModifyClientVpnEndpointOutput, error)); ok { @@ -13456,6 +15084,10 @@ func (_m *EC2) ModifyDefaultCreditSpecification(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyDefaultCreditSpecification") + } + var r0 *ec2.ModifyDefaultCreditSpecificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyDefaultCreditSpecificationInput, ...func(*ec2.Options)) (*ec2.ModifyDefaultCreditSpecificationOutput, error)); ok { @@ -13489,6 +15121,10 @@ func (_m *EC2) ModifyEbsDefaultKmsKeyId(ctx context.Context, params *ec2.ModifyE _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyEbsDefaultKmsKeyId") + } + var r0 *ec2.ModifyEbsDefaultKmsKeyIdOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyEbsDefaultKmsKeyIdInput, ...func(*ec2.Options)) (*ec2.ModifyEbsDefaultKmsKeyIdOutput, error)); ok { @@ -13522,6 +15158,10 @@ func (_m *EC2) ModifyFleet(ctx context.Context, params *ec2.ModifyFleetInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyFleet") + } + var r0 *ec2.ModifyFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFleetInput, ...func(*ec2.Options)) (*ec2.ModifyFleetOutput, error)); ok { @@ -13555,6 +15195,10 @@ func (_m *EC2) ModifyFpgaImageAttribute(ctx context.Context, params *ec2.ModifyF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyFpgaImageAttribute") + } + var r0 *ec2.ModifyFpgaImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyFpgaImageAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyFpgaImageAttributeOutput, error)); ok { @@ -13588,6 +15232,10 @@ func (_m *EC2) ModifyHosts(ctx context.Context, params *ec2.ModifyHostsInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyHosts") + } + var r0 *ec2.ModifyHostsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyHostsInput, ...func(*ec2.Options)) (*ec2.ModifyHostsOutput, error)); ok { @@ -13621,6 +15269,10 @@ func (_m *EC2) ModifyIdFormat(ctx context.Context, params *ec2.ModifyIdFormatInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIdFormat") + } + var r0 *ec2.ModifyIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdFormatInput, ...func(*ec2.Options)) (*ec2.ModifyIdFormatOutput, error)); ok { @@ -13654,6 +15306,10 @@ func (_m *EC2) ModifyIdentityIdFormat(ctx context.Context, params *ec2.ModifyIde _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIdentityIdFormat") + } + var r0 *ec2.ModifyIdentityIdFormatOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIdentityIdFormatInput, ...func(*ec2.Options)) (*ec2.ModifyIdentityIdFormatOutput, error)); ok { @@ -13687,6 +15343,10 @@ func (_m *EC2) ModifyImageAttribute(ctx context.Context, params *ec2.ModifyImage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyImageAttribute") + } + var r0 *ec2.ModifyImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyImageAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyImageAttributeOutput, error)); ok { @@ -13720,6 +15380,10 @@ func (_m *EC2) ModifyInstanceAttribute(ctx context.Context, params *ec2.ModifyIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceAttribute") + } + var r0 *ec2.ModifyInstanceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceAttributeOutput, error)); ok { @@ -13753,6 +15417,10 @@ func (_m *EC2) ModifyInstanceCapacityReservationAttributes(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceCapacityReservationAttributes") + } + var r0 *ec2.ModifyInstanceCapacityReservationAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCapacityReservationAttributesInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceCapacityReservationAttributesOutput, error)); ok { @@ -13786,6 +15454,10 @@ func (_m *EC2) ModifyInstanceCreditSpecification(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceCreditSpecification") + } + var r0 *ec2.ModifyInstanceCreditSpecificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceCreditSpecificationInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceCreditSpecificationOutput, error)); ok { @@ -13819,6 +15491,10 @@ func (_m *EC2) ModifyInstanceEventStartTime(ctx context.Context, params *ec2.Mod _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceEventStartTime") + } + var r0 *ec2.ModifyInstanceEventStartTimeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventStartTimeInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceEventStartTimeOutput, error)); ok { @@ -13852,6 +15528,10 @@ func (_m *EC2) ModifyInstanceEventWindow(ctx context.Context, params *ec2.Modify _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceEventWindow") + } + var r0 *ec2.ModifyInstanceEventWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceEventWindowInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceEventWindowOutput, error)); ok { @@ -13885,6 +15565,10 @@ func (_m *EC2) ModifyInstanceMaintenanceOptions(ctx context.Context, params *ec2 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceMaintenanceOptions") + } + var r0 *ec2.ModifyInstanceMaintenanceOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMaintenanceOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error)); ok { @@ -13918,6 +15602,10 @@ func (_m *EC2) ModifyInstanceMetadataOptions(ctx context.Context, params *ec2.Mo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstanceMetadataOptions") + } + var r0 *ec2.ModifyInstanceMetadataOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyInstanceMetadataOptionsOutput, error)); ok { @@ -13951,6 +15639,10 @@ func (_m *EC2) ModifyInstancePlacement(ctx context.Context, params *ec2.ModifyIn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyInstancePlacement") + } + var r0 *ec2.ModifyInstancePlacementOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyInstancePlacementInput, ...func(*ec2.Options)) (*ec2.ModifyInstancePlacementOutput, error)); ok { @@ -13984,6 +15676,10 @@ func (_m *EC2) ModifyIpam(ctx context.Context, params *ec2.ModifyIpamInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIpam") + } + var r0 *ec2.ModifyIpamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamInput, ...func(*ec2.Options)) (*ec2.ModifyIpamOutput, error)); ok { @@ -14017,6 +15713,10 @@ func (_m *EC2) ModifyIpamPool(ctx context.Context, params *ec2.ModifyIpamPoolInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIpamPool") + } + var r0 *ec2.ModifyIpamPoolOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamPoolInput, ...func(*ec2.Options)) (*ec2.ModifyIpamPoolOutput, error)); ok { @@ -14050,6 +15750,10 @@ func (_m *EC2) ModifyIpamResourceCidr(ctx context.Context, params *ec2.ModifyIpa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIpamResourceCidr") + } + var r0 *ec2.ModifyIpamResourceCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamResourceCidrInput, ...func(*ec2.Options)) (*ec2.ModifyIpamResourceCidrOutput, error)); ok { @@ -14083,6 +15787,10 @@ func (_m *EC2) ModifyIpamScope(ctx context.Context, params *ec2.ModifyIpamScopeI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyIpamScope") + } + var r0 *ec2.ModifyIpamScopeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyIpamScopeInput, ...func(*ec2.Options)) (*ec2.ModifyIpamScopeOutput, error)); ok { @@ -14116,6 +15824,10 @@ func (_m *EC2) ModifyLaunchTemplate(ctx context.Context, params *ec2.ModifyLaunc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyLaunchTemplate") + } + var r0 *ec2.ModifyLaunchTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyLaunchTemplateInput, ...func(*ec2.Options)) (*ec2.ModifyLaunchTemplateOutput, error)); ok { @@ -14149,6 +15861,10 @@ func (_m *EC2) ModifyManagedPrefixList(ctx context.Context, params *ec2.ModifyMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyManagedPrefixList") + } + var r0 *ec2.ModifyManagedPrefixListOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyManagedPrefixListInput, ...func(*ec2.Options)) (*ec2.ModifyManagedPrefixListOutput, error)); ok { @@ -14182,6 +15898,10 @@ func (_m *EC2) ModifyNetworkInterfaceAttribute(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyNetworkInterfaceAttribute") + } + var r0 *ec2.ModifyNetworkInterfaceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyNetworkInterfaceAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)); ok { @@ -14215,6 +15935,10 @@ func (_m *EC2) ModifyPrivateDnsNameOptions(ctx context.Context, params *ec2.Modi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyPrivateDnsNameOptions") + } + var r0 *ec2.ModifyPrivateDnsNameOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyPrivateDnsNameOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyPrivateDnsNameOptionsOutput, error)); ok { @@ -14248,6 +15972,10 @@ func (_m *EC2) ModifyReservedInstances(ctx context.Context, params *ec2.ModifyRe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyReservedInstances") + } + var r0 *ec2.ModifyReservedInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyReservedInstancesInput, ...func(*ec2.Options)) (*ec2.ModifyReservedInstancesOutput, error)); ok { @@ -14281,6 +16009,10 @@ func (_m *EC2) ModifySecurityGroupRules(ctx context.Context, params *ec2.ModifyS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifySecurityGroupRules") + } + var r0 *ec2.ModifySecurityGroupRulesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySecurityGroupRulesInput, ...func(*ec2.Options)) (*ec2.ModifySecurityGroupRulesOutput, error)); ok { @@ -14314,6 +16046,10 @@ func (_m *EC2) ModifySnapshotAttribute(ctx context.Context, params *ec2.ModifySn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifySnapshotAttribute") + } + var r0 *ec2.ModifySnapshotAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotAttributeInput, ...func(*ec2.Options)) (*ec2.ModifySnapshotAttributeOutput, error)); ok { @@ -14347,6 +16083,10 @@ func (_m *EC2) ModifySnapshotTier(ctx context.Context, params *ec2.ModifySnapsho _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifySnapshotTier") + } + var r0 *ec2.ModifySnapshotTierOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySnapshotTierInput, ...func(*ec2.Options)) (*ec2.ModifySnapshotTierOutput, error)); ok { @@ -14380,6 +16120,10 @@ func (_m *EC2) ModifySpotFleetRequest(ctx context.Context, params *ec2.ModifySpo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifySpotFleetRequest") + } + var r0 *ec2.ModifySpotFleetRequestOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySpotFleetRequestInput, ...func(*ec2.Options)) (*ec2.ModifySpotFleetRequestOutput, error)); ok { @@ -14413,6 +16157,10 @@ func (_m *EC2) ModifySubnetAttribute(ctx context.Context, params *ec2.ModifySubn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifySubnetAttribute") + } + var r0 *ec2.ModifySubnetAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifySubnetAttributeInput, ...func(*ec2.Options)) (*ec2.ModifySubnetAttributeOutput, error)); ok { @@ -14446,6 +16194,10 @@ func (_m *EC2) ModifyTrafficMirrorFilterNetworkServices(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTrafficMirrorFilterNetworkServices") + } + var r0 *ec2.ModifyTrafficMirrorFilterNetworkServicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterNetworkServicesInput, ...func(*ec2.Options)) (*ec2.ModifyTrafficMirrorFilterNetworkServicesOutput, error)); ok { @@ -14479,6 +16231,10 @@ func (_m *EC2) ModifyTrafficMirrorFilterRule(ctx context.Context, params *ec2.Mo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTrafficMirrorFilterRule") + } + var r0 *ec2.ModifyTrafficMirrorFilterRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorFilterRuleInput, ...func(*ec2.Options)) (*ec2.ModifyTrafficMirrorFilterRuleOutput, error)); ok { @@ -14512,6 +16268,10 @@ func (_m *EC2) ModifyTrafficMirrorSession(ctx context.Context, params *ec2.Modif _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTrafficMirrorSession") + } + var r0 *ec2.ModifyTrafficMirrorSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTrafficMirrorSessionInput, ...func(*ec2.Options)) (*ec2.ModifyTrafficMirrorSessionOutput, error)); ok { @@ -14545,6 +16305,10 @@ func (_m *EC2) ModifyTransitGateway(ctx context.Context, params *ec2.ModifyTrans _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTransitGateway") + } + var r0 *ec2.ModifyTransitGatewayOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayInput, ...func(*ec2.Options)) (*ec2.ModifyTransitGatewayOutput, error)); ok { @@ -14578,6 +16342,10 @@ func (_m *EC2) ModifyTransitGatewayPrefixListReference(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTransitGatewayPrefixListReference") + } + var r0 *ec2.ModifyTransitGatewayPrefixListReferenceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayPrefixListReferenceInput, ...func(*ec2.Options)) (*ec2.ModifyTransitGatewayPrefixListReferenceOutput, error)); ok { @@ -14611,6 +16379,10 @@ func (_m *EC2) ModifyTransitGatewayVpcAttachment(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTransitGatewayVpcAttachment") + } + var r0 *ec2.ModifyTransitGatewayVpcAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyTransitGatewayVpcAttachmentInput, ...func(*ec2.Options)) (*ec2.ModifyTransitGatewayVpcAttachmentOutput, error)); ok { @@ -14644,6 +16416,10 @@ func (_m *EC2) ModifyVolume(ctx context.Context, params *ec2.ModifyVolumeInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVolume") + } + var r0 *ec2.ModifyVolumeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeInput, ...func(*ec2.Options)) (*ec2.ModifyVolumeOutput, error)); ok { @@ -14677,6 +16453,10 @@ func (_m *EC2) ModifyVolumeAttribute(ctx context.Context, params *ec2.ModifyVolu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVolumeAttribute") + } + var r0 *ec2.ModifyVolumeAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVolumeAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyVolumeAttributeOutput, error)); ok { @@ -14710,6 +16490,10 @@ func (_m *EC2) ModifyVpcAttribute(ctx context.Context, params *ec2.ModifyVpcAttr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcAttribute") + } + var r0 *ec2.ModifyVpcAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcAttributeInput, ...func(*ec2.Options)) (*ec2.ModifyVpcAttributeOutput, error)); ok { @@ -14743,6 +16527,10 @@ func (_m *EC2) ModifyVpcEndpoint(ctx context.Context, params *ec2.ModifyVpcEndpo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcEndpoint") + } + var r0 *ec2.ModifyVpcEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointInput, ...func(*ec2.Options)) (*ec2.ModifyVpcEndpointOutput, error)); ok { @@ -14776,6 +16564,10 @@ func (_m *EC2) ModifyVpcEndpointConnectionNotification(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcEndpointConnectionNotification") + } + var r0 *ec2.ModifyVpcEndpointConnectionNotificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointConnectionNotificationInput, ...func(*ec2.Options)) (*ec2.ModifyVpcEndpointConnectionNotificationOutput, error)); ok { @@ -14809,6 +16601,10 @@ func (_m *EC2) ModifyVpcEndpointServiceConfiguration(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcEndpointServiceConfiguration") + } + var r0 *ec2.ModifyVpcEndpointServiceConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServiceConfigurationInput, ...func(*ec2.Options)) (*ec2.ModifyVpcEndpointServiceConfigurationOutput, error)); ok { @@ -14842,6 +16638,10 @@ func (_m *EC2) ModifyVpcEndpointServicePayerResponsibility(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcEndpointServicePayerResponsibility") + } + var r0 *ec2.ModifyVpcEndpointServicePayerResponsibilityOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePayerResponsibilityInput, ...func(*ec2.Options)) (*ec2.ModifyVpcEndpointServicePayerResponsibilityOutput, error)); ok { @@ -14875,6 +16675,10 @@ func (_m *EC2) ModifyVpcEndpointServicePermissions(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcEndpointServicePermissions") + } + var r0 *ec2.ModifyVpcEndpointServicePermissionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcEndpointServicePermissionsInput, ...func(*ec2.Options)) (*ec2.ModifyVpcEndpointServicePermissionsOutput, error)); ok { @@ -14908,6 +16712,10 @@ func (_m *EC2) ModifyVpcPeeringConnectionOptions(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcPeeringConnectionOptions") + } + var r0 *ec2.ModifyVpcPeeringConnectionOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcPeeringConnectionOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyVpcPeeringConnectionOptionsOutput, error)); ok { @@ -14941,6 +16749,10 @@ func (_m *EC2) ModifyVpcTenancy(ctx context.Context, params *ec2.ModifyVpcTenanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpcTenancy") + } + var r0 *ec2.ModifyVpcTenancyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpcTenancyInput, ...func(*ec2.Options)) (*ec2.ModifyVpcTenancyOutput, error)); ok { @@ -14974,6 +16786,10 @@ func (_m *EC2) ModifyVpnConnection(ctx context.Context, params *ec2.ModifyVpnCon _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpnConnection") + } + var r0 *ec2.ModifyVpnConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionInput, ...func(*ec2.Options)) (*ec2.ModifyVpnConnectionOutput, error)); ok { @@ -15007,6 +16823,10 @@ func (_m *EC2) ModifyVpnConnectionOptions(ctx context.Context, params *ec2.Modif _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpnConnectionOptions") + } + var r0 *ec2.ModifyVpnConnectionOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnConnectionOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyVpnConnectionOptionsOutput, error)); ok { @@ -15040,6 +16860,10 @@ func (_m *EC2) ModifyVpnTunnelCertificate(ctx context.Context, params *ec2.Modif _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpnTunnelCertificate") + } + var r0 *ec2.ModifyVpnTunnelCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelCertificateInput, ...func(*ec2.Options)) (*ec2.ModifyVpnTunnelCertificateOutput, error)); ok { @@ -15073,6 +16897,10 @@ func (_m *EC2) ModifyVpnTunnelOptions(ctx context.Context, params *ec2.ModifyVpn _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyVpnTunnelOptions") + } + var r0 *ec2.ModifyVpnTunnelOptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ModifyVpnTunnelOptionsInput, ...func(*ec2.Options)) (*ec2.ModifyVpnTunnelOptionsOutput, error)); ok { @@ -15106,6 +16934,10 @@ func (_m *EC2) MonitorInstances(ctx context.Context, params *ec2.MonitorInstance _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for MonitorInstances") + } + var r0 *ec2.MonitorInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.MonitorInstancesInput, ...func(*ec2.Options)) (*ec2.MonitorInstancesOutput, error)); ok { @@ -15139,6 +16971,10 @@ func (_m *EC2) MoveAddressToVpc(ctx context.Context, params *ec2.MoveAddressToVp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for MoveAddressToVpc") + } + var r0 *ec2.MoveAddressToVpcOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveAddressToVpcInput, ...func(*ec2.Options)) (*ec2.MoveAddressToVpcOutput, error)); ok { @@ -15172,6 +17008,10 @@ func (_m *EC2) MoveByoipCidrToIpam(ctx context.Context, params *ec2.MoveByoipCid _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for MoveByoipCidrToIpam") + } + var r0 *ec2.MoveByoipCidrToIpamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.MoveByoipCidrToIpamInput, ...func(*ec2.Options)) (*ec2.MoveByoipCidrToIpamOutput, error)); ok { @@ -15205,6 +17045,10 @@ func (_m *EC2) ProvisionByoipCidr(ctx context.Context, params *ec2.ProvisionByoi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ProvisionByoipCidr") + } + var r0 *ec2.ProvisionByoipCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionByoipCidrInput, ...func(*ec2.Options)) (*ec2.ProvisionByoipCidrOutput, error)); ok { @@ -15238,6 +17082,10 @@ func (_m *EC2) ProvisionIpamPoolCidr(ctx context.Context, params *ec2.ProvisionI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ProvisionIpamPoolCidr") + } + var r0 *ec2.ProvisionIpamPoolCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionIpamPoolCidrInput, ...func(*ec2.Options)) (*ec2.ProvisionIpamPoolCidrOutput, error)); ok { @@ -15271,6 +17119,10 @@ func (_m *EC2) ProvisionPublicIpv4PoolCidr(ctx context.Context, params *ec2.Prov _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ProvisionPublicIpv4PoolCidr") + } + var r0 *ec2.ProvisionPublicIpv4PoolCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ProvisionPublicIpv4PoolCidrInput, ...func(*ec2.Options)) (*ec2.ProvisionPublicIpv4PoolCidrOutput, error)); ok { @@ -15304,6 +17156,10 @@ func (_m *EC2) PurchaseHostReservation(ctx context.Context, params *ec2.Purchase _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PurchaseHostReservation") + } + var r0 *ec2.PurchaseHostReservationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseHostReservationInput, ...func(*ec2.Options)) (*ec2.PurchaseHostReservationOutput, error)); ok { @@ -15337,6 +17193,10 @@ func (_m *EC2) PurchaseReservedInstancesOffering(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PurchaseReservedInstancesOffering") + } + var r0 *ec2.PurchaseReservedInstancesOfferingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseReservedInstancesOfferingInput, ...func(*ec2.Options)) (*ec2.PurchaseReservedInstancesOfferingOutput, error)); ok { @@ -15370,6 +17230,10 @@ func (_m *EC2) PurchaseScheduledInstances(ctx context.Context, params *ec2.Purch _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PurchaseScheduledInstances") + } + var r0 *ec2.PurchaseScheduledInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.PurchaseScheduledInstancesInput, ...func(*ec2.Options)) (*ec2.PurchaseScheduledInstancesOutput, error)); ok { @@ -15403,6 +17267,10 @@ func (_m *EC2) RebootInstances(ctx context.Context, params *ec2.RebootInstancesI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RebootInstances") + } + var r0 *ec2.RebootInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RebootInstancesInput, ...func(*ec2.Options)) (*ec2.RebootInstancesOutput, error)); ok { @@ -15436,6 +17304,10 @@ func (_m *EC2) RegisterImage(ctx context.Context, params *ec2.RegisterImageInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterImage") + } + var r0 *ec2.RegisterImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterImageInput, ...func(*ec2.Options)) (*ec2.RegisterImageOutput, error)); ok { @@ -15469,6 +17341,10 @@ func (_m *EC2) RegisterInstanceEventNotificationAttributes(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterInstanceEventNotificationAttributes") + } + var r0 *ec2.RegisterInstanceEventNotificationAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterInstanceEventNotificationAttributesInput, ...func(*ec2.Options)) (*ec2.RegisterInstanceEventNotificationAttributesOutput, error)); ok { @@ -15502,6 +17378,10 @@ func (_m *EC2) RegisterTransitGatewayMulticastGroupMembers(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterTransitGatewayMulticastGroupMembers") + } + var r0 *ec2.RegisterTransitGatewayMulticastGroupMembersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupMembersInput, ...func(*ec2.Options)) (*ec2.RegisterTransitGatewayMulticastGroupMembersOutput, error)); ok { @@ -15535,6 +17415,10 @@ func (_m *EC2) RegisterTransitGatewayMulticastGroupSources(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterTransitGatewayMulticastGroupSources") + } + var r0 *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RegisterTransitGatewayMulticastGroupSourcesInput, ...func(*ec2.Options)) (*ec2.RegisterTransitGatewayMulticastGroupSourcesOutput, error)); ok { @@ -15568,6 +17452,10 @@ func (_m *EC2) RejectTransitGatewayMulticastDomainAssociations(ctx context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RejectTransitGatewayMulticastDomainAssociations") + } + var r0 *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayMulticastDomainAssociationsInput, ...func(*ec2.Options)) (*ec2.RejectTransitGatewayMulticastDomainAssociationsOutput, error)); ok { @@ -15601,6 +17489,10 @@ func (_m *EC2) RejectTransitGatewayPeeringAttachment(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RejectTransitGatewayPeeringAttachment") + } + var r0 *ec2.RejectTransitGatewayPeeringAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayPeeringAttachmentInput, ...func(*ec2.Options)) (*ec2.RejectTransitGatewayPeeringAttachmentOutput, error)); ok { @@ -15634,6 +17526,10 @@ func (_m *EC2) RejectTransitGatewayVpcAttachment(ctx context.Context, params *ec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RejectTransitGatewayVpcAttachment") + } + var r0 *ec2.RejectTransitGatewayVpcAttachmentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectTransitGatewayVpcAttachmentInput, ...func(*ec2.Options)) (*ec2.RejectTransitGatewayVpcAttachmentOutput, error)); ok { @@ -15667,6 +17563,10 @@ func (_m *EC2) RejectVpcEndpointConnections(ctx context.Context, params *ec2.Rej _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RejectVpcEndpointConnections") + } + var r0 *ec2.RejectVpcEndpointConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcEndpointConnectionsInput, ...func(*ec2.Options)) (*ec2.RejectVpcEndpointConnectionsOutput, error)); ok { @@ -15700,6 +17600,10 @@ func (_m *EC2) RejectVpcPeeringConnection(ctx context.Context, params *ec2.Rejec _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RejectVpcPeeringConnection") + } + var r0 *ec2.RejectVpcPeeringConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RejectVpcPeeringConnectionInput, ...func(*ec2.Options)) (*ec2.RejectVpcPeeringConnectionOutput, error)); ok { @@ -15733,6 +17637,10 @@ func (_m *EC2) ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReleaseAddress") + } + var r0 *ec2.ReleaseAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseAddressInput, ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)); ok { @@ -15766,6 +17674,10 @@ func (_m *EC2) ReleaseHosts(ctx context.Context, params *ec2.ReleaseHostsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReleaseHosts") + } + var r0 *ec2.ReleaseHostsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseHostsInput, ...func(*ec2.Options)) (*ec2.ReleaseHostsOutput, error)); ok { @@ -15799,6 +17711,10 @@ func (_m *EC2) ReleaseIpamPoolAllocation(ctx context.Context, params *ec2.Releas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReleaseIpamPoolAllocation") + } + var r0 *ec2.ReleaseIpamPoolAllocationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReleaseIpamPoolAllocationInput, ...func(*ec2.Options)) (*ec2.ReleaseIpamPoolAllocationOutput, error)); ok { @@ -15832,6 +17748,10 @@ func (_m *EC2) ReplaceIamInstanceProfileAssociation(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceIamInstanceProfileAssociation") + } + var r0 *ec2.ReplaceIamInstanceProfileAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceIamInstanceProfileAssociationInput, ...func(*ec2.Options)) (*ec2.ReplaceIamInstanceProfileAssociationOutput, error)); ok { @@ -15865,6 +17785,10 @@ func (_m *EC2) ReplaceNetworkAclAssociation(ctx context.Context, params *ec2.Rep _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceNetworkAclAssociation") + } + var r0 *ec2.ReplaceNetworkAclAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclAssociationInput, ...func(*ec2.Options)) (*ec2.ReplaceNetworkAclAssociationOutput, error)); ok { @@ -15898,6 +17822,10 @@ func (_m *EC2) ReplaceNetworkAclEntry(ctx context.Context, params *ec2.ReplaceNe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceNetworkAclEntry") + } + var r0 *ec2.ReplaceNetworkAclEntryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceNetworkAclEntryInput, ...func(*ec2.Options)) (*ec2.ReplaceNetworkAclEntryOutput, error)); ok { @@ -15931,6 +17859,10 @@ func (_m *EC2) ReplaceRoute(ctx context.Context, params *ec2.ReplaceRouteInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceRoute") + } + var r0 *ec2.ReplaceRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteInput, ...func(*ec2.Options)) (*ec2.ReplaceRouteOutput, error)); ok { @@ -15964,6 +17896,10 @@ func (_m *EC2) ReplaceRouteTableAssociation(ctx context.Context, params *ec2.Rep _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceRouteTableAssociation") + } + var r0 *ec2.ReplaceRouteTableAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceRouteTableAssociationInput, ...func(*ec2.Options)) (*ec2.ReplaceRouteTableAssociationOutput, error)); ok { @@ -15997,6 +17933,10 @@ func (_m *EC2) ReplaceTransitGatewayRoute(ctx context.Context, params *ec2.Repla _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReplaceTransitGatewayRoute") + } + var r0 *ec2.ReplaceTransitGatewayRouteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReplaceTransitGatewayRouteInput, ...func(*ec2.Options)) (*ec2.ReplaceTransitGatewayRouteOutput, error)); ok { @@ -16030,6 +17970,10 @@ func (_m *EC2) ReportInstanceStatus(ctx context.Context, params *ec2.ReportInsta _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ReportInstanceStatus") + } + var r0 *ec2.ReportInstanceStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ReportInstanceStatusInput, ...func(*ec2.Options)) (*ec2.ReportInstanceStatusOutput, error)); ok { @@ -16063,6 +18007,10 @@ func (_m *EC2) RequestSpotFleet(ctx context.Context, params *ec2.RequestSpotFlee _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RequestSpotFleet") + } + var r0 *ec2.RequestSpotFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotFleetInput, ...func(*ec2.Options)) (*ec2.RequestSpotFleetOutput, error)); ok { @@ -16096,6 +18044,10 @@ func (_m *EC2) RequestSpotInstances(ctx context.Context, params *ec2.RequestSpot _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RequestSpotInstances") + } + var r0 *ec2.RequestSpotInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RequestSpotInstancesInput, ...func(*ec2.Options)) (*ec2.RequestSpotInstancesOutput, error)); ok { @@ -16129,6 +18081,10 @@ func (_m *EC2) ResetAddressAttribute(ctx context.Context, params *ec2.ResetAddre _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetAddressAttribute") + } + var r0 *ec2.ResetAddressAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetAddressAttributeInput, ...func(*ec2.Options)) (*ec2.ResetAddressAttributeOutput, error)); ok { @@ -16162,6 +18118,10 @@ func (_m *EC2) ResetEbsDefaultKmsKeyId(ctx context.Context, params *ec2.ResetEbs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetEbsDefaultKmsKeyId") + } + var r0 *ec2.ResetEbsDefaultKmsKeyIdOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetEbsDefaultKmsKeyIdInput, ...func(*ec2.Options)) (*ec2.ResetEbsDefaultKmsKeyIdOutput, error)); ok { @@ -16195,6 +18155,10 @@ func (_m *EC2) ResetFpgaImageAttribute(ctx context.Context, params *ec2.ResetFpg _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetFpgaImageAttribute") + } + var r0 *ec2.ResetFpgaImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetFpgaImageAttributeInput, ...func(*ec2.Options)) (*ec2.ResetFpgaImageAttributeOutput, error)); ok { @@ -16228,6 +18192,10 @@ func (_m *EC2) ResetImageAttribute(ctx context.Context, params *ec2.ResetImageAt _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetImageAttribute") + } + var r0 *ec2.ResetImageAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetImageAttributeInput, ...func(*ec2.Options)) (*ec2.ResetImageAttributeOutput, error)); ok { @@ -16261,6 +18229,10 @@ func (_m *EC2) ResetInstanceAttribute(ctx context.Context, params *ec2.ResetInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetInstanceAttribute") + } + var r0 *ec2.ResetInstanceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetInstanceAttributeInput, ...func(*ec2.Options)) (*ec2.ResetInstanceAttributeOutput, error)); ok { @@ -16294,6 +18266,10 @@ func (_m *EC2) ResetNetworkInterfaceAttribute(ctx context.Context, params *ec2.R _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetNetworkInterfaceAttribute") + } + var r0 *ec2.ResetNetworkInterfaceAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetNetworkInterfaceAttributeInput, ...func(*ec2.Options)) (*ec2.ResetNetworkInterfaceAttributeOutput, error)); ok { @@ -16327,6 +18303,10 @@ func (_m *EC2) ResetSnapshotAttribute(ctx context.Context, params *ec2.ResetSnap _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetSnapshotAttribute") + } + var r0 *ec2.ResetSnapshotAttributeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.ResetSnapshotAttributeInput, ...func(*ec2.Options)) (*ec2.ResetSnapshotAttributeOutput, error)); ok { @@ -16360,6 +18340,10 @@ func (_m *EC2) RestoreAddressToClassic(ctx context.Context, params *ec2.RestoreA _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreAddressToClassic") + } + var r0 *ec2.RestoreAddressToClassicOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreAddressToClassicInput, ...func(*ec2.Options)) (*ec2.RestoreAddressToClassicOutput, error)); ok { @@ -16393,6 +18377,10 @@ func (_m *EC2) RestoreImageFromRecycleBin(ctx context.Context, params *ec2.Resto _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreImageFromRecycleBin") + } + var r0 *ec2.RestoreImageFromRecycleBinOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreImageFromRecycleBinInput, ...func(*ec2.Options)) (*ec2.RestoreImageFromRecycleBinOutput, error)); ok { @@ -16426,6 +18414,10 @@ func (_m *EC2) RestoreManagedPrefixListVersion(ctx context.Context, params *ec2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreManagedPrefixListVersion") + } + var r0 *ec2.RestoreManagedPrefixListVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreManagedPrefixListVersionInput, ...func(*ec2.Options)) (*ec2.RestoreManagedPrefixListVersionOutput, error)); ok { @@ -16459,6 +18451,10 @@ func (_m *EC2) RestoreSnapshotFromRecycleBin(ctx context.Context, params *ec2.Re _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreSnapshotFromRecycleBin") + } + var r0 *ec2.RestoreSnapshotFromRecycleBinOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotFromRecycleBinInput, ...func(*ec2.Options)) (*ec2.RestoreSnapshotFromRecycleBinOutput, error)); ok { @@ -16492,6 +18488,10 @@ func (_m *EC2) RestoreSnapshotTier(ctx context.Context, params *ec2.RestoreSnaps _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RestoreSnapshotTier") + } + var r0 *ec2.RestoreSnapshotTierOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RestoreSnapshotTierInput, ...func(*ec2.Options)) (*ec2.RestoreSnapshotTierOutput, error)); ok { @@ -16525,6 +18525,10 @@ func (_m *EC2) RevokeClientVpnIngress(ctx context.Context, params *ec2.RevokeCli _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RevokeClientVpnIngress") + } + var r0 *ec2.RevokeClientVpnIngressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeClientVpnIngressInput, ...func(*ec2.Options)) (*ec2.RevokeClientVpnIngressOutput, error)); ok { @@ -16558,6 +18562,10 @@ func (_m *EC2) RevokeSecurityGroupEgress(ctx context.Context, params *ec2.Revoke _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RevokeSecurityGroupEgress") + } + var r0 *ec2.RevokeSecurityGroupEgressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupEgressInput, ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupEgressOutput, error)); ok { @@ -16591,6 +18599,10 @@ func (_m *EC2) RevokeSecurityGroupIngress(ctx context.Context, params *ec2.Revok _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RevokeSecurityGroupIngress") + } + var r0 *ec2.RevokeSecurityGroupIngressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RevokeSecurityGroupIngressInput, ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)); ok { @@ -16624,6 +18636,10 @@ func (_m *EC2) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RunInstances") + } + var r0 *ec2.RunInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunInstancesInput, ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)); ok { @@ -16657,6 +18673,10 @@ func (_m *EC2) RunScheduledInstances(ctx context.Context, params *ec2.RunSchedul _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RunScheduledInstances") + } + var r0 *ec2.RunScheduledInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.RunScheduledInstancesInput, ...func(*ec2.Options)) (*ec2.RunScheduledInstancesOutput, error)); ok { @@ -16690,6 +18710,10 @@ func (_m *EC2) SearchLocalGatewayRoutes(ctx context.Context, params *ec2.SearchL _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SearchLocalGatewayRoutes") + } + var r0 *ec2.SearchLocalGatewayRoutesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchLocalGatewayRoutesInput, ...func(*ec2.Options)) (*ec2.SearchLocalGatewayRoutesOutput, error)); ok { @@ -16723,6 +18747,10 @@ func (_m *EC2) SearchTransitGatewayMulticastGroups(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SearchTransitGatewayMulticastGroups") + } + var r0 *ec2.SearchTransitGatewayMulticastGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayMulticastGroupsInput, ...func(*ec2.Options)) (*ec2.SearchTransitGatewayMulticastGroupsOutput, error)); ok { @@ -16756,6 +18784,10 @@ func (_m *EC2) SearchTransitGatewayRoutes(ctx context.Context, params *ec2.Searc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SearchTransitGatewayRoutes") + } + var r0 *ec2.SearchTransitGatewayRoutesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.SearchTransitGatewayRoutesInput, ...func(*ec2.Options)) (*ec2.SearchTransitGatewayRoutesOutput, error)); ok { @@ -16789,6 +18821,10 @@ func (_m *EC2) SendDiagnosticInterrupt(ctx context.Context, params *ec2.SendDiag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SendDiagnosticInterrupt") + } + var r0 *ec2.SendDiagnosticInterruptOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.SendDiagnosticInterruptInput, ...func(*ec2.Options)) (*ec2.SendDiagnosticInterruptOutput, error)); ok { @@ -16822,6 +18858,10 @@ func (_m *EC2) StartInstances(ctx context.Context, params *ec2.StartInstancesInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartInstances") + } + var r0 *ec2.StartInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartInstancesInput, ...func(*ec2.Options)) (*ec2.StartInstancesOutput, error)); ok { @@ -16855,6 +18895,10 @@ func (_m *EC2) StartNetworkInsightsAccessScopeAnalysis(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartNetworkInsightsAccessScopeAnalysis") + } + var r0 *ec2.StartNetworkInsightsAccessScopeAnalysisOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAccessScopeAnalysisInput, ...func(*ec2.Options)) (*ec2.StartNetworkInsightsAccessScopeAnalysisOutput, error)); ok { @@ -16888,6 +18932,10 @@ func (_m *EC2) StartNetworkInsightsAnalysis(ctx context.Context, params *ec2.Sta _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartNetworkInsightsAnalysis") + } + var r0 *ec2.StartNetworkInsightsAnalysisOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartNetworkInsightsAnalysisInput, ...func(*ec2.Options)) (*ec2.StartNetworkInsightsAnalysisOutput, error)); ok { @@ -16921,6 +18969,10 @@ func (_m *EC2) StartVpcEndpointServicePrivateDnsVerification(ctx context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartVpcEndpointServicePrivateDnsVerification") + } + var r0 *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.StartVpcEndpointServicePrivateDnsVerificationInput, ...func(*ec2.Options)) (*ec2.StartVpcEndpointServicePrivateDnsVerificationOutput, error)); ok { @@ -16954,6 +19006,10 @@ func (_m *EC2) StopInstances(ctx context.Context, params *ec2.StopInstancesInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopInstances") + } + var r0 *ec2.StopInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.StopInstancesInput, ...func(*ec2.Options)) (*ec2.StopInstancesOutput, error)); ok { @@ -16987,6 +19043,10 @@ func (_m *EC2) TerminateClientVpnConnections(ctx context.Context, params *ec2.Te _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TerminateClientVpnConnections") + } + var r0 *ec2.TerminateClientVpnConnectionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateClientVpnConnectionsInput, ...func(*ec2.Options)) (*ec2.TerminateClientVpnConnectionsOutput, error)); ok { @@ -17020,6 +19080,10 @@ func (_m *EC2) TerminateInstances(ctx context.Context, params *ec2.TerminateInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TerminateInstances") + } + var r0 *ec2.TerminateInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.TerminateInstancesInput, ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)); ok { @@ -17053,6 +19117,10 @@ func (_m *EC2) UnassignIpv6Addresses(ctx context.Context, params *ec2.UnassignIp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UnassignIpv6Addresses") + } + var r0 *ec2.UnassignIpv6AddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignIpv6AddressesInput, ...func(*ec2.Options)) (*ec2.UnassignIpv6AddressesOutput, error)); ok { @@ -17086,6 +19154,10 @@ func (_m *EC2) UnassignPrivateIpAddresses(ctx context.Context, params *ec2.Unass _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UnassignPrivateIpAddresses") + } + var r0 *ec2.UnassignPrivateIpAddressesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnassignPrivateIpAddressesInput, ...func(*ec2.Options)) (*ec2.UnassignPrivateIpAddressesOutput, error)); ok { @@ -17119,6 +19191,10 @@ func (_m *EC2) UnmonitorInstances(ctx context.Context, params *ec2.UnmonitorInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UnmonitorInstances") + } + var r0 *ec2.UnmonitorInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.UnmonitorInstancesInput, ...func(*ec2.Options)) (*ec2.UnmonitorInstancesOutput, error)); ok { @@ -17152,6 +19228,10 @@ func (_m *EC2) UpdateSecurityGroupRuleDescriptionsEgress(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSecurityGroupRuleDescriptionsEgress") + } + var r0 *ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsEgressInput, ...func(*ec2.Options)) (*ec2.UpdateSecurityGroupRuleDescriptionsEgressOutput, error)); ok { @@ -17185,6 +19265,10 @@ func (_m *EC2) UpdateSecurityGroupRuleDescriptionsIngress(ctx context.Context, p _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSecurityGroupRuleDescriptionsIngress") + } + var r0 *ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.UpdateSecurityGroupRuleDescriptionsIngressInput, ...func(*ec2.Options)) (*ec2.UpdateSecurityGroupRuleDescriptionsIngressOutput, error)); ok { @@ -17218,6 +19302,10 @@ func (_m *EC2) WithdrawByoipCidr(ctx context.Context, params *ec2.WithdrawByoipC _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WithdrawByoipCidr") + } + var r0 *ec2.WithdrawByoipCidrOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ec2.WithdrawByoipCidrInput, ...func(*ec2.Options)) (*ec2.WithdrawByoipCidrOutput, error)); ok { diff --git a/pkg/eks/mocksv2/EKS.go b/pkg/eks/mocksv2/EKS.go index 205269d53e..5cc981a4c4 100644 --- a/pkg/eks/mocksv2/EKS.go +++ b/pkg/eks/mocksv2/EKS.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *EKS) AssociateEncryptionConfig(ctx context.Context, params *eks.Associ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateEncryptionConfig") + } + var r0 *eks.AssociateEncryptionConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.AssociateEncryptionConfigInput, ...func(*eks.Options)) (*eks.AssociateEncryptionConfigOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *EKS) AssociateIdentityProviderConfig(ctx context.Context, params *eks. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateIdentityProviderConfig") + } + var r0 *eks.AssociateIdentityProviderConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.AssociateIdentityProviderConfigInput, ...func(*eks.Options)) (*eks.AssociateIdentityProviderConfigOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *EKS) CreateAddon(ctx context.Context, params *eks.CreateAddonInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAddon") + } + var r0 *eks.CreateAddonOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreateAddonInput, ...func(*eks.Options)) (*eks.CreateAddonOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *EKS) CreateCluster(ctx context.Context, params *eks.CreateClusterInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCluster") + } + var r0 *eks.CreateClusterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreateClusterInput, ...func(*eks.Options)) (*eks.CreateClusterOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *EKS) CreateEksAnywhereSubscription(ctx context.Context, params *eks.Cr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEksAnywhereSubscription") + } + var r0 *eks.CreateEksAnywhereSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreateEksAnywhereSubscriptionInput, ...func(*eks.Options)) (*eks.CreateEksAnywhereSubscriptionOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *EKS) CreateFargateProfile(ctx context.Context, params *eks.CreateFarga _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFargateProfile") + } + var r0 *eks.CreateFargateProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreateFargateProfileInput, ...func(*eks.Options)) (*eks.CreateFargateProfileOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *EKS) CreateNodegroup(ctx context.Context, params *eks.CreateNodegroupI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNodegroup") + } + var r0 *eks.CreateNodegroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreateNodegroupInput, ...func(*eks.Options)) (*eks.CreateNodegroupOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *EKS) CreatePodIdentityAssociation(ctx context.Context, params *eks.Cre _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePodIdentityAssociation") + } + var r0 *eks.CreatePodIdentityAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.CreatePodIdentityAssociationInput, ...func(*eks.Options)) (*eks.CreatePodIdentityAssociationOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *EKS) DeleteAddon(ctx context.Context, params *eks.DeleteAddonInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAddon") + } + var r0 *eks.DeleteAddonOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeleteAddonInput, ...func(*eks.Options)) (*eks.DeleteAddonOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *EKS) DeleteCluster(ctx context.Context, params *eks.DeleteClusterInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteCluster") + } + var r0 *eks.DeleteClusterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeleteClusterInput, ...func(*eks.Options)) (*eks.DeleteClusterOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *EKS) DeleteEksAnywhereSubscription(ctx context.Context, params *eks.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEksAnywhereSubscription") + } + var r0 *eks.DeleteEksAnywhereSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeleteEksAnywhereSubscriptionInput, ...func(*eks.Options)) (*eks.DeleteEksAnywhereSubscriptionOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *EKS) DeleteFargateProfile(ctx context.Context, params *eks.DeleteFarga _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFargateProfile") + } + var r0 *eks.DeleteFargateProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeleteFargateProfileInput, ...func(*eks.Options)) (*eks.DeleteFargateProfileOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *EKS) DeleteNodegroup(ctx context.Context, params *eks.DeleteNodegroupI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNodegroup") + } + var r0 *eks.DeleteNodegroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeleteNodegroupInput, ...func(*eks.Options)) (*eks.DeleteNodegroupOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *EKS) DeletePodIdentityAssociation(ctx context.Context, params *eks.Del _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePodIdentityAssociation") + } + var r0 *eks.DeletePodIdentityAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeletePodIdentityAssociationInput, ...func(*eks.Options)) (*eks.DeletePodIdentityAssociationOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *EKS) DeregisterCluster(ctx context.Context, params *eks.DeregisterClus _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterCluster") + } + var r0 *eks.DeregisterClusterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DeregisterClusterInput, ...func(*eks.Options)) (*eks.DeregisterClusterOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *EKS) DescribeAddon(ctx context.Context, params *eks.DescribeAddonInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAddon") + } + var r0 *eks.DescribeAddonOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeAddonInput, ...func(*eks.Options)) (*eks.DescribeAddonOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *EKS) DescribeAddonConfiguration(ctx context.Context, params *eks.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAddonConfiguration") + } + var r0 *eks.DescribeAddonConfigurationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeAddonConfigurationInput, ...func(*eks.Options)) (*eks.DescribeAddonConfigurationOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *EKS) DescribeAddonVersions(ctx context.Context, params *eks.DescribeAd _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAddonVersions") + } + var r0 *eks.DescribeAddonVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeAddonVersionsInput, ...func(*eks.Options)) (*eks.DescribeAddonVersionsOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *EKS) DescribeCluster(ctx context.Context, params *eks.DescribeClusterI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCluster") + } + var r0 *eks.DescribeClusterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeClusterInput, ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *EKS) DescribeEksAnywhereSubscription(ctx context.Context, params *eks. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEksAnywhereSubscription") + } + var r0 *eks.DescribeEksAnywhereSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeEksAnywhereSubscriptionInput, ...func(*eks.Options)) (*eks.DescribeEksAnywhereSubscriptionOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *EKS) DescribeFargateProfile(ctx context.Context, params *eks.DescribeF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFargateProfile") + } + var r0 *eks.DescribeFargateProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeFargateProfileInput, ...func(*eks.Options)) (*eks.DescribeFargateProfileOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *EKS) DescribeIdentityProviderConfig(ctx context.Context, params *eks.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeIdentityProviderConfig") + } + var r0 *eks.DescribeIdentityProviderConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeIdentityProviderConfigInput, ...func(*eks.Options)) (*eks.DescribeIdentityProviderConfigOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *EKS) DescribeNodegroup(ctx context.Context, params *eks.DescribeNodegr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNodegroup") + } + var r0 *eks.DescribeNodegroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeNodegroupInput, ...func(*eks.Options)) (*eks.DescribeNodegroupOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *EKS) DescribePodIdentityAssociation(ctx context.Context, params *eks.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePodIdentityAssociation") + } + var r0 *eks.DescribePodIdentityAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribePodIdentityAssociationInput, ...func(*eks.Options)) (*eks.DescribePodIdentityAssociationOutput, error)); ok { @@ -817,6 +913,10 @@ func (_m *EKS) DescribeUpdate(ctx context.Context, params *eks.DescribeUpdateInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeUpdate") + } + var r0 *eks.DescribeUpdateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DescribeUpdateInput, ...func(*eks.Options)) (*eks.DescribeUpdateOutput, error)); ok { @@ -850,6 +950,10 @@ func (_m *EKS) DisassociateIdentityProviderConfig(ctx context.Context, params *e _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateIdentityProviderConfig") + } + var r0 *eks.DisassociateIdentityProviderConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.DisassociateIdentityProviderConfigInput, ...func(*eks.Options)) (*eks.DisassociateIdentityProviderConfigOutput, error)); ok { @@ -883,6 +987,10 @@ func (_m *EKS) ListAddons(ctx context.Context, params *eks.ListAddonsInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAddons") + } + var r0 *eks.ListAddonsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListAddonsInput, ...func(*eks.Options)) (*eks.ListAddonsOutput, error)); ok { @@ -916,6 +1024,10 @@ func (_m *EKS) ListClusters(ctx context.Context, params *eks.ListClustersInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListClusters") + } + var r0 *eks.ListClustersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListClustersInput, ...func(*eks.Options)) (*eks.ListClustersOutput, error)); ok { @@ -949,6 +1061,10 @@ func (_m *EKS) ListEksAnywhereSubscriptions(ctx context.Context, params *eks.Lis _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEksAnywhereSubscriptions") + } + var r0 *eks.ListEksAnywhereSubscriptionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListEksAnywhereSubscriptionsInput, ...func(*eks.Options)) (*eks.ListEksAnywhereSubscriptionsOutput, error)); ok { @@ -982,6 +1098,10 @@ func (_m *EKS) ListFargateProfiles(ctx context.Context, params *eks.ListFargateP _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFargateProfiles") + } + var r0 *eks.ListFargateProfilesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListFargateProfilesInput, ...func(*eks.Options)) (*eks.ListFargateProfilesOutput, error)); ok { @@ -1015,6 +1135,10 @@ func (_m *EKS) ListIdentityProviderConfigs(ctx context.Context, params *eks.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListIdentityProviderConfigs") + } + var r0 *eks.ListIdentityProviderConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListIdentityProviderConfigsInput, ...func(*eks.Options)) (*eks.ListIdentityProviderConfigsOutput, error)); ok { @@ -1048,6 +1172,10 @@ func (_m *EKS) ListNodegroups(ctx context.Context, params *eks.ListNodegroupsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListNodegroups") + } + var r0 *eks.ListNodegroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListNodegroupsInput, ...func(*eks.Options)) (*eks.ListNodegroupsOutput, error)); ok { @@ -1081,6 +1209,10 @@ func (_m *EKS) ListPodIdentityAssociations(ctx context.Context, params *eks.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPodIdentityAssociations") + } + var r0 *eks.ListPodIdentityAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListPodIdentityAssociationsInput, ...func(*eks.Options)) (*eks.ListPodIdentityAssociationsOutput, error)); ok { @@ -1114,6 +1246,10 @@ func (_m *EKS) ListTagsForResource(ctx context.Context, params *eks.ListTagsForR _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsForResource") + } + var r0 *eks.ListTagsForResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListTagsForResourceInput, ...func(*eks.Options)) (*eks.ListTagsForResourceOutput, error)); ok { @@ -1147,6 +1283,10 @@ func (_m *EKS) ListUpdates(ctx context.Context, params *eks.ListUpdatesInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUpdates") + } + var r0 *eks.ListUpdatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.ListUpdatesInput, ...func(*eks.Options)) (*eks.ListUpdatesOutput, error)); ok { @@ -1169,6 +1309,24 @@ func (_m *EKS) ListUpdates(ctx context.Context, params *eks.ListUpdatesInput, op return r0, r1 } +// Options provides a mock function with given fields: +func (_m *EKS) Options() eks.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 eks.Options + if rf, ok := ret.Get(0).(func() eks.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(eks.Options) + } + + return r0 +} + // RegisterCluster provides a mock function with given fields: ctx, params, optFns func (_m *EKS) RegisterCluster(ctx context.Context, params *eks.RegisterClusterInput, optFns ...func(*eks.Options)) (*eks.RegisterClusterOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1180,6 +1338,10 @@ func (_m *EKS) RegisterCluster(ctx context.Context, params *eks.RegisterClusterI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterCluster") + } + var r0 *eks.RegisterClusterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.RegisterClusterInput, ...func(*eks.Options)) (*eks.RegisterClusterOutput, error)); ok { @@ -1213,6 +1375,10 @@ func (_m *EKS) TagResource(ctx context.Context, params *eks.TagResourceInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagResource") + } + var r0 *eks.TagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.TagResourceInput, ...func(*eks.Options)) (*eks.TagResourceOutput, error)); ok { @@ -1246,6 +1412,10 @@ func (_m *EKS) UntagResource(ctx context.Context, params *eks.UntagResourceInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagResource") + } + var r0 *eks.UntagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UntagResourceInput, ...func(*eks.Options)) (*eks.UntagResourceOutput, error)); ok { @@ -1279,6 +1449,10 @@ func (_m *EKS) UpdateAddon(ctx context.Context, params *eks.UpdateAddonInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAddon") + } + var r0 *eks.UpdateAddonOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateAddonInput, ...func(*eks.Options)) (*eks.UpdateAddonOutput, error)); ok { @@ -1312,6 +1486,10 @@ func (_m *EKS) UpdateClusterConfig(ctx context.Context, params *eks.UpdateCluste _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateClusterConfig") + } + var r0 *eks.UpdateClusterConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateClusterConfigInput, ...func(*eks.Options)) (*eks.UpdateClusterConfigOutput, error)); ok { @@ -1345,6 +1523,10 @@ func (_m *EKS) UpdateClusterVersion(ctx context.Context, params *eks.UpdateClust _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateClusterVersion") + } + var r0 *eks.UpdateClusterVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateClusterVersionInput, ...func(*eks.Options)) (*eks.UpdateClusterVersionOutput, error)); ok { @@ -1378,6 +1560,10 @@ func (_m *EKS) UpdateEksAnywhereSubscription(ctx context.Context, params *eks.Up _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateEksAnywhereSubscription") + } + var r0 *eks.UpdateEksAnywhereSubscriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateEksAnywhereSubscriptionInput, ...func(*eks.Options)) (*eks.UpdateEksAnywhereSubscriptionOutput, error)); ok { @@ -1411,6 +1597,10 @@ func (_m *EKS) UpdateNodegroupConfig(ctx context.Context, params *eks.UpdateNode _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateNodegroupConfig") + } + var r0 *eks.UpdateNodegroupConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateNodegroupConfigInput, ...func(*eks.Options)) (*eks.UpdateNodegroupConfigOutput, error)); ok { @@ -1444,6 +1634,10 @@ func (_m *EKS) UpdateNodegroupVersion(ctx context.Context, params *eks.UpdateNod _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateNodegroupVersion") + } + var r0 *eks.UpdateNodegroupVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdateNodegroupVersionInput, ...func(*eks.Options)) (*eks.UpdateNodegroupVersionOutput, error)); ok { @@ -1477,6 +1671,10 @@ func (_m *EKS) UpdatePodIdentityAssociation(ctx context.Context, params *eks.Upd _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdatePodIdentityAssociation") + } + var r0 *eks.UpdatePodIdentityAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *eks.UpdatePodIdentityAssociationInput, ...func(*eks.Options)) (*eks.UpdatePodIdentityAssociationOutput, error)); ok { diff --git a/pkg/eks/mocksv2/ELB.go b/pkg/eks/mocksv2/ELB.go index 83d8a2da97..d37bbf0151 100644 --- a/pkg/eks/mocksv2/ELB.go +++ b/pkg/eks/mocksv2/ELB.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *ELB) AddTags(ctx context.Context, params *elasticloadbalancing.AddTags _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTags") + } + var r0 *elasticloadbalancing.AddTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.AddTagsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.AddTagsOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *ELB) ApplySecurityGroupsToLoadBalancer(ctx context.Context, params *el _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ApplySecurityGroupsToLoadBalancer") + } + var r0 *elasticloadbalancing.ApplySecurityGroupsToLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.ApplySecurityGroupsToLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.ApplySecurityGroupsToLoadBalancerOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *ELB) AttachLoadBalancerToSubnets(ctx context.Context, params *elasticl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachLoadBalancerToSubnets") + } + var r0 *elasticloadbalancing.AttachLoadBalancerToSubnetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.AttachLoadBalancerToSubnetsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.AttachLoadBalancerToSubnetsOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *ELB) ConfigureHealthCheck(ctx context.Context, params *elasticloadbala _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ConfigureHealthCheck") + } + var r0 *elasticloadbalancing.ConfigureHealthCheckOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.ConfigureHealthCheckInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.ConfigureHealthCheckOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *ELB) CreateAppCookieStickinessPolicy(ctx context.Context, params *elas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAppCookieStickinessPolicy") + } + var r0 *elasticloadbalancing.CreateAppCookieStickinessPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.CreateAppCookieStickinessPolicyInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.CreateAppCookieStickinessPolicyOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *ELB) CreateLBCookieStickinessPolicy(ctx context.Context, params *elast _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLBCookieStickinessPolicy") + } + var r0 *elasticloadbalancing.CreateLBCookieStickinessPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.CreateLBCookieStickinessPolicyInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.CreateLBCookieStickinessPolicyOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *ELB) CreateLoadBalancer(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLoadBalancer") + } + var r0 *elasticloadbalancing.CreateLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.CreateLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.CreateLoadBalancerOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *ELB) CreateLoadBalancerListeners(ctx context.Context, params *elasticl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLoadBalancerListeners") + } + var r0 *elasticloadbalancing.CreateLoadBalancerListenersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.CreateLoadBalancerListenersInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.CreateLoadBalancerListenersOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *ELB) CreateLoadBalancerPolicy(ctx context.Context, params *elasticload _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLoadBalancerPolicy") + } + var r0 *elasticloadbalancing.CreateLoadBalancerPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.CreateLoadBalancerPolicyInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.CreateLoadBalancerPolicyOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *ELB) DeleteLoadBalancer(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLoadBalancer") + } + var r0 *elasticloadbalancing.DeleteLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DeleteLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DeleteLoadBalancerOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *ELB) DeleteLoadBalancerListeners(ctx context.Context, params *elasticl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLoadBalancerListeners") + } + var r0 *elasticloadbalancing.DeleteLoadBalancerListenersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DeleteLoadBalancerListenersInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DeleteLoadBalancerListenersOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *ELB) DeleteLoadBalancerPolicy(ctx context.Context, params *elasticload _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLoadBalancerPolicy") + } + var r0 *elasticloadbalancing.DeleteLoadBalancerPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DeleteLoadBalancerPolicyInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DeleteLoadBalancerPolicyOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *ELB) DeregisterInstancesFromLoadBalancer(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterInstancesFromLoadBalancer") + } + var r0 *elasticloadbalancing.DeregisterInstancesFromLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DeregisterInstancesFromLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DeregisterInstancesFromLoadBalancerOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *ELB) DescribeAccountLimits(ctx context.Context, params *elasticloadbal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountLimits") + } + var r0 *elasticloadbalancing.DescribeAccountLimitsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeAccountLimitsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeAccountLimitsOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *ELB) DescribeInstanceHealth(ctx context.Context, params *elasticloadba _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceHealth") + } + var r0 *elasticloadbalancing.DescribeInstanceHealthOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeInstanceHealthInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeInstanceHealthOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *ELB) DescribeLoadBalancerAttributes(ctx context.Context, params *elast _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancerAttributes") + } + var r0 *elasticloadbalancing.DescribeLoadBalancerAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeLoadBalancerAttributesInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancerAttributesOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *ELB) DescribeLoadBalancerPolicies(ctx context.Context, params *elastic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancerPolicies") + } + var r0 *elasticloadbalancing.DescribeLoadBalancerPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeLoadBalancerPoliciesInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancerPoliciesOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *ELB) DescribeLoadBalancerPolicyTypes(ctx context.Context, params *elas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancerPolicyTypes") + } + var r0 *elasticloadbalancing.DescribeLoadBalancerPolicyTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeLoadBalancerPolicyTypesInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancerPolicyTypesOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *ELB) DescribeLoadBalancers(ctx context.Context, params *elasticloadbal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancers") + } + var r0 *elasticloadbalancing.DescribeLoadBalancersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeLoadBalancersInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancersOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *ELB) DescribeTags(ctx context.Context, params *elasticloadbalancing.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTags") + } + var r0 *elasticloadbalancing.DescribeTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DescribeTagsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeTagsOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *ELB) DetachLoadBalancerFromSubnets(ctx context.Context, params *elasti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachLoadBalancerFromSubnets") + } + var r0 *elasticloadbalancing.DetachLoadBalancerFromSubnetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DetachLoadBalancerFromSubnetsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DetachLoadBalancerFromSubnetsOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *ELB) DisableAvailabilityZonesForLoadBalancer(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableAvailabilityZonesForLoadBalancer") + } + var r0 *elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DisableAvailabilityZonesForLoadBalancerOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *ELB) EnableAvailabilityZonesForLoadBalancer(ctx context.Context, param _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableAvailabilityZonesForLoadBalancer") + } + var r0 *elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.EnableAvailabilityZonesForLoadBalancerOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *ELB) ModifyLoadBalancerAttributes(ctx context.Context, params *elastic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyLoadBalancerAttributes") + } + var r0 *elasticloadbalancing.ModifyLoadBalancerAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.ModifyLoadBalancerAttributesInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.ModifyLoadBalancerAttributesOutput, error)); ok { @@ -806,6 +902,24 @@ func (_m *ELB) ModifyLoadBalancerAttributes(ctx context.Context, params *elastic return r0, r1 } +// Options provides a mock function with given fields: +func (_m *ELB) Options() elasticloadbalancing.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 elasticloadbalancing.Options + if rf, ok := ret.Get(0).(func() elasticloadbalancing.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(elasticloadbalancing.Options) + } + + return r0 +} + // RegisterInstancesWithLoadBalancer provides a mock function with given fields: ctx, params, optFns func (_m *ELB) RegisterInstancesWithLoadBalancer(ctx context.Context, params *elasticloadbalancing.RegisterInstancesWithLoadBalancerInput, optFns ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.RegisterInstancesWithLoadBalancerOutput, error) { _va := make([]interface{}, len(optFns)) @@ -817,6 +931,10 @@ func (_m *ELB) RegisterInstancesWithLoadBalancer(ctx context.Context, params *el _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterInstancesWithLoadBalancer") + } + var r0 *elasticloadbalancing.RegisterInstancesWithLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.RegisterInstancesWithLoadBalancerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.RegisterInstancesWithLoadBalancerOutput, error)); ok { @@ -850,6 +968,10 @@ func (_m *ELB) RemoveTags(ctx context.Context, params *elasticloadbalancing.Remo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveTags") + } + var r0 *elasticloadbalancing.RemoveTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.RemoveTagsInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.RemoveTagsOutput, error)); ok { @@ -883,6 +1005,10 @@ func (_m *ELB) SetLoadBalancerListenerSSLCertificate(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetLoadBalancerListenerSSLCertificate") + } + var r0 *elasticloadbalancing.SetLoadBalancerListenerSSLCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.SetLoadBalancerListenerSSLCertificateInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.SetLoadBalancerListenerSSLCertificateOutput, error)); ok { @@ -916,6 +1042,10 @@ func (_m *ELB) SetLoadBalancerPoliciesForBackendServer(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetLoadBalancerPoliciesForBackendServer") + } + var r0 *elasticloadbalancing.SetLoadBalancerPoliciesForBackendServerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.SetLoadBalancerPoliciesForBackendServerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.SetLoadBalancerPoliciesForBackendServerOutput, error)); ok { @@ -949,6 +1079,10 @@ func (_m *ELB) SetLoadBalancerPoliciesOfListener(ctx context.Context, params *el _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetLoadBalancerPoliciesOfListener") + } + var r0 *elasticloadbalancing.SetLoadBalancerPoliciesOfListenerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancing.SetLoadBalancerPoliciesOfListenerInput, ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.SetLoadBalancerPoliciesOfListenerOutput, error)); ok { diff --git a/pkg/eks/mocksv2/ELBV2.go b/pkg/eks/mocksv2/ELBV2.go index 3a42b26e64..41db6bf8d2 100644 --- a/pkg/eks/mocksv2/ELBV2.go +++ b/pkg/eks/mocksv2/ELBV2.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *ELBV2) AddListenerCertificates(ctx context.Context, params *elasticloa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddListenerCertificates") + } + var r0 *elasticloadbalancingv2.AddListenerCertificatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.AddListenerCertificatesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.AddListenerCertificatesOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *ELBV2) AddTags(ctx context.Context, params *elasticloadbalancingv2.Add _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTags") + } + var r0 *elasticloadbalancingv2.AddTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.AddTagsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.AddTagsOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *ELBV2) AddTrustStoreRevocations(ctx context.Context, params *elasticlo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTrustStoreRevocations") + } + var r0 *elasticloadbalancingv2.AddTrustStoreRevocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.AddTrustStoreRevocationsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.AddTrustStoreRevocationsOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *ELBV2) CreateListener(ctx context.Context, params *elasticloadbalancin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateListener") + } + var r0 *elasticloadbalancingv2.CreateListenerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.CreateListenerInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.CreateListenerOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *ELBV2) CreateLoadBalancer(ctx context.Context, params *elasticloadbala _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLoadBalancer") + } + var r0 *elasticloadbalancingv2.CreateLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.CreateLoadBalancerInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.CreateLoadBalancerOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *ELBV2) CreateRule(ctx context.Context, params *elasticloadbalancingv2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateRule") + } + var r0 *elasticloadbalancingv2.CreateRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.CreateRuleInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.CreateRuleOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *ELBV2) CreateTargetGroup(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTargetGroup") + } + var r0 *elasticloadbalancingv2.CreateTargetGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.CreateTargetGroupInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.CreateTargetGroupOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *ELBV2) CreateTrustStore(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrustStore") + } + var r0 *elasticloadbalancingv2.CreateTrustStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.CreateTrustStoreInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.CreateTrustStoreOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *ELBV2) DeleteListener(ctx context.Context, params *elasticloadbalancin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteListener") + } + var r0 *elasticloadbalancingv2.DeleteListenerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeleteListenerInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteListenerOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *ELBV2) DeleteLoadBalancer(ctx context.Context, params *elasticloadbala _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLoadBalancer") + } + var r0 *elasticloadbalancingv2.DeleteLoadBalancerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeleteLoadBalancerInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteLoadBalancerOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *ELBV2) DeleteRule(ctx context.Context, params *elasticloadbalancingv2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRule") + } + var r0 *elasticloadbalancingv2.DeleteRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeleteRuleInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteRuleOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *ELBV2) DeleteTargetGroup(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTargetGroup") + } + var r0 *elasticloadbalancingv2.DeleteTargetGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeleteTargetGroupInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteTargetGroupOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *ELBV2) DeleteTrustStore(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrustStore") + } + var r0 *elasticloadbalancingv2.DeleteTrustStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeleteTrustStoreInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteTrustStoreOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *ELBV2) DeregisterTargets(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterTargets") + } + var r0 *elasticloadbalancingv2.DeregisterTargetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DeregisterTargetsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeregisterTargetsOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *ELBV2) DescribeAccountLimits(ctx context.Context, params *elasticloadb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAccountLimits") + } + var r0 *elasticloadbalancingv2.DescribeAccountLimitsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeAccountLimitsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeAccountLimitsOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *ELBV2) DescribeListenerCertificates(ctx context.Context, params *elast _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeListenerCertificates") + } + var r0 *elasticloadbalancingv2.DescribeListenerCertificatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeListenerCertificatesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeListenerCertificatesOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *ELBV2) DescribeListeners(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeListeners") + } + var r0 *elasticloadbalancingv2.DescribeListenersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeListenersInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeListenersOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *ELBV2) DescribeLoadBalancerAttributes(ctx context.Context, params *ela _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancerAttributes") + } + var r0 *elasticloadbalancingv2.DescribeLoadBalancerAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeLoadBalancerAttributesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancerAttributesOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *ELBV2) DescribeLoadBalancers(ctx context.Context, params *elasticloadb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLoadBalancers") + } + var r0 *elasticloadbalancingv2.DescribeLoadBalancersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeLoadBalancersInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *ELBV2) DescribeRules(ctx context.Context, params *elasticloadbalancing _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeRules") + } + var r0 *elasticloadbalancingv2.DescribeRulesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeRulesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeRulesOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *ELBV2) DescribeSSLPolicies(ctx context.Context, params *elasticloadbal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSSLPolicies") + } + var r0 *elasticloadbalancingv2.DescribeSSLPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeSSLPoliciesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeSSLPoliciesOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *ELBV2) DescribeTags(ctx context.Context, params *elasticloadbalancingv _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTags") + } + var r0 *elasticloadbalancingv2.DescribeTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTagsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTagsOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *ELBV2) DescribeTargetGroupAttributes(ctx context.Context, params *elas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTargetGroupAttributes") + } + var r0 *elasticloadbalancingv2.DescribeTargetGroupAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTargetGroupAttributesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTargetGroupAttributesOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *ELBV2) DescribeTargetGroups(ctx context.Context, params *elasticloadba _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTargetGroups") + } + var r0 *elasticloadbalancingv2.DescribeTargetGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTargetGroupsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTargetGroupsOutput, error)); ok { @@ -817,6 +913,10 @@ func (_m *ELBV2) DescribeTargetHealth(ctx context.Context, params *elasticloadba _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTargetHealth") + } + var r0 *elasticloadbalancingv2.DescribeTargetHealthOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTargetHealthInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTargetHealthOutput, error)); ok { @@ -850,6 +950,10 @@ func (_m *ELBV2) DescribeTrustStoreAssociations(ctx context.Context, params *ela _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrustStoreAssociations") + } + var r0 *elasticloadbalancingv2.DescribeTrustStoreAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTrustStoreAssociationsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTrustStoreAssociationsOutput, error)); ok { @@ -883,6 +987,10 @@ func (_m *ELBV2) DescribeTrustStoreRevocations(ctx context.Context, params *elas _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrustStoreRevocations") + } + var r0 *elasticloadbalancingv2.DescribeTrustStoreRevocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTrustStoreRevocationsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTrustStoreRevocationsOutput, error)); ok { @@ -916,6 +1024,10 @@ func (_m *ELBV2) DescribeTrustStores(ctx context.Context, params *elasticloadbal _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrustStores") + } + var r0 *elasticloadbalancingv2.DescribeTrustStoresOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.DescribeTrustStoresInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTrustStoresOutput, error)); ok { @@ -949,6 +1061,10 @@ func (_m *ELBV2) GetTrustStoreCaCertificatesBundle(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTrustStoreCaCertificatesBundle") + } + var r0 *elasticloadbalancingv2.GetTrustStoreCaCertificatesBundleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.GetTrustStoreCaCertificatesBundleInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.GetTrustStoreCaCertificatesBundleOutput, error)); ok { @@ -982,6 +1098,10 @@ func (_m *ELBV2) GetTrustStoreRevocationContent(ctx context.Context, params *ela _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetTrustStoreRevocationContent") + } + var r0 *elasticloadbalancingv2.GetTrustStoreRevocationContentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.GetTrustStoreRevocationContentInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.GetTrustStoreRevocationContentOutput, error)); ok { @@ -1015,6 +1135,10 @@ func (_m *ELBV2) ModifyListener(ctx context.Context, params *elasticloadbalancin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyListener") + } + var r0 *elasticloadbalancingv2.ModifyListenerOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyListenerInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyListenerOutput, error)); ok { @@ -1048,6 +1172,10 @@ func (_m *ELBV2) ModifyLoadBalancerAttributes(ctx context.Context, params *elast _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyLoadBalancerAttributes") + } + var r0 *elasticloadbalancingv2.ModifyLoadBalancerAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyLoadBalancerAttributesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyLoadBalancerAttributesOutput, error)); ok { @@ -1081,6 +1209,10 @@ func (_m *ELBV2) ModifyRule(ctx context.Context, params *elasticloadbalancingv2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyRule") + } + var r0 *elasticloadbalancingv2.ModifyRuleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyRuleInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyRuleOutput, error)); ok { @@ -1114,6 +1246,10 @@ func (_m *ELBV2) ModifyTargetGroup(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTargetGroup") + } + var r0 *elasticloadbalancingv2.ModifyTargetGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyTargetGroupInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyTargetGroupOutput, error)); ok { @@ -1147,6 +1283,10 @@ func (_m *ELBV2) ModifyTargetGroupAttributes(ctx context.Context, params *elasti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTargetGroupAttributes") + } + var r0 *elasticloadbalancingv2.ModifyTargetGroupAttributesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyTargetGroupAttributesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyTargetGroupAttributesOutput, error)); ok { @@ -1180,6 +1320,10 @@ func (_m *ELBV2) ModifyTrustStore(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyTrustStore") + } + var r0 *elasticloadbalancingv2.ModifyTrustStoreOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.ModifyTrustStoreInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.ModifyTrustStoreOutput, error)); ok { @@ -1202,6 +1346,24 @@ func (_m *ELBV2) ModifyTrustStore(ctx context.Context, params *elasticloadbalanc return r0, r1 } +// Options provides a mock function with given fields: +func (_m *ELBV2) Options() elasticloadbalancingv2.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 elasticloadbalancingv2.Options + if rf, ok := ret.Get(0).(func() elasticloadbalancingv2.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(elasticloadbalancingv2.Options) + } + + return r0 +} + // RegisterTargets provides a mock function with given fields: ctx, params, optFns func (_m *ELBV2) RegisterTargets(ctx context.Context, params *elasticloadbalancingv2.RegisterTargetsInput, optFns ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.RegisterTargetsOutput, error) { _va := make([]interface{}, len(optFns)) @@ -1213,6 +1375,10 @@ func (_m *ELBV2) RegisterTargets(ctx context.Context, params *elasticloadbalanci _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterTargets") + } + var r0 *elasticloadbalancingv2.RegisterTargetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.RegisterTargetsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.RegisterTargetsOutput, error)); ok { @@ -1246,6 +1412,10 @@ func (_m *ELBV2) RemoveListenerCertificates(ctx context.Context, params *elastic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveListenerCertificates") + } + var r0 *elasticloadbalancingv2.RemoveListenerCertificatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.RemoveListenerCertificatesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.RemoveListenerCertificatesOutput, error)); ok { @@ -1279,6 +1449,10 @@ func (_m *ELBV2) RemoveTags(ctx context.Context, params *elasticloadbalancingv2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveTags") + } + var r0 *elasticloadbalancingv2.RemoveTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.RemoveTagsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.RemoveTagsOutput, error)); ok { @@ -1312,6 +1486,10 @@ func (_m *ELBV2) RemoveTrustStoreRevocations(ctx context.Context, params *elasti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveTrustStoreRevocations") + } + var r0 *elasticloadbalancingv2.RemoveTrustStoreRevocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.RemoveTrustStoreRevocationsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.RemoveTrustStoreRevocationsOutput, error)); ok { @@ -1345,6 +1523,10 @@ func (_m *ELBV2) SetIpAddressType(ctx context.Context, params *elasticloadbalanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetIpAddressType") + } + var r0 *elasticloadbalancingv2.SetIpAddressTypeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.SetIpAddressTypeInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetIpAddressTypeOutput, error)); ok { @@ -1378,6 +1560,10 @@ func (_m *ELBV2) SetRulePriorities(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetRulePriorities") + } + var r0 *elasticloadbalancingv2.SetRulePrioritiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.SetRulePrioritiesInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetRulePrioritiesOutput, error)); ok { @@ -1411,6 +1597,10 @@ func (_m *ELBV2) SetSecurityGroups(ctx context.Context, params *elasticloadbalan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetSecurityGroups") + } + var r0 *elasticloadbalancingv2.SetSecurityGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.SetSecurityGroupsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetSecurityGroupsOutput, error)); ok { @@ -1444,6 +1634,10 @@ func (_m *ELBV2) SetSubnets(ctx context.Context, params *elasticloadbalancingv2. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetSubnets") + } + var r0 *elasticloadbalancingv2.SetSubnetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *elasticloadbalancingv2.SetSubnetsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetSubnetsOutput, error)); ok { diff --git a/pkg/eks/mocksv2/IAM.go b/pkg/eks/mocksv2/IAM.go index d335605596..688b14d1b5 100644 --- a/pkg/eks/mocksv2/IAM.go +++ b/pkg/eks/mocksv2/IAM.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *IAM) AddClientIDToOpenIDConnectProvider(ctx context.Context, params *i _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddClientIDToOpenIDConnectProvider") + } + var r0 *iam.AddClientIDToOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AddClientIDToOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.AddClientIDToOpenIDConnectProviderOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *IAM) AddRoleToInstanceProfile(ctx context.Context, params *iam.AddRole _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddRoleToInstanceProfile") + } + var r0 *iam.AddRoleToInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AddRoleToInstanceProfileInput, ...func(*iam.Options)) (*iam.AddRoleToInstanceProfileOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *IAM) AddUserToGroup(ctx context.Context, params *iam.AddUserToGroupInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddUserToGroup") + } + var r0 *iam.AddUserToGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AddUserToGroupInput, ...func(*iam.Options)) (*iam.AddUserToGroupOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *IAM) AttachGroupPolicy(ctx context.Context, params *iam.AttachGroupPol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachGroupPolicy") + } + var r0 *iam.AttachGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachGroupPolicyInput, ...func(*iam.Options)) (*iam.AttachGroupPolicyOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *IAM) AttachRolePolicy(ctx context.Context, params *iam.AttachRolePolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachRolePolicy") + } + var r0 *iam.AttachRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachRolePolicyInput, ...func(*iam.Options)) (*iam.AttachRolePolicyOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *IAM) AttachUserPolicy(ctx context.Context, params *iam.AttachUserPolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AttachUserPolicy") + } + var r0 *iam.AttachUserPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.AttachUserPolicyInput, ...func(*iam.Options)) (*iam.AttachUserPolicyOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *IAM) ChangePassword(ctx context.Context, params *iam.ChangePasswordInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ChangePassword") + } + var r0 *iam.ChangePasswordOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ChangePasswordInput, ...func(*iam.Options)) (*iam.ChangePasswordOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *IAM) CreateAccessKey(ctx context.Context, params *iam.CreateAccessKeyI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAccessKey") + } + var r0 *iam.CreateAccessKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccessKeyInput, ...func(*iam.Options)) (*iam.CreateAccessKeyOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *IAM) CreateAccountAlias(ctx context.Context, params *iam.CreateAccount _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAccountAlias") + } + var r0 *iam.CreateAccountAliasOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateAccountAliasInput, ...func(*iam.Options)) (*iam.CreateAccountAliasOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *IAM) CreateGroup(ctx context.Context, params *iam.CreateGroupInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateGroup") + } + var r0 *iam.CreateGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateGroupInput, ...func(*iam.Options)) (*iam.CreateGroupOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *IAM) CreateInstanceProfile(ctx context.Context, params *iam.CreateInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInstanceProfile") + } + var r0 *iam.CreateInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateInstanceProfileInput, ...func(*iam.Options)) (*iam.CreateInstanceProfileOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *IAM) CreateLoginProfile(ctx context.Context, params *iam.CreateLoginPr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLoginProfile") + } + var r0 *iam.CreateLoginProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateLoginProfileInput, ...func(*iam.Options)) (*iam.CreateLoginProfileOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *IAM) CreateOpenIDConnectProvider(ctx context.Context, params *iam.Crea _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOpenIDConnectProvider") + } + var r0 *iam.CreateOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.CreateOpenIDConnectProviderOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *IAM) CreatePolicy(ctx context.Context, params *iam.CreatePolicyInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePolicy") + } + var r0 *iam.CreatePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyInput, ...func(*iam.Options)) (*iam.CreatePolicyOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *IAM) CreatePolicyVersion(ctx context.Context, params *iam.CreatePolicy _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePolicyVersion") + } + var r0 *iam.CreatePolicyVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreatePolicyVersionInput, ...func(*iam.Options)) (*iam.CreatePolicyVersionOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *IAM) CreateRole(ctx context.Context, params *iam.CreateRoleInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateRole") + } + var r0 *iam.CreateRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateRoleInput, ...func(*iam.Options)) (*iam.CreateRoleOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *IAM) CreateSAMLProvider(ctx context.Context, params *iam.CreateSAMLPro _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSAMLProvider") + } + var r0 *iam.CreateSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateSAMLProviderInput, ...func(*iam.Options)) (*iam.CreateSAMLProviderOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *IAM) CreateServiceLinkedRole(ctx context.Context, params *iam.CreateSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateServiceLinkedRole") + } + var r0 *iam.CreateServiceLinkedRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceLinkedRoleInput, ...func(*iam.Options)) (*iam.CreateServiceLinkedRoleOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *IAM) CreateServiceSpecificCredential(ctx context.Context, params *iam. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateServiceSpecificCredential") + } + var r0 *iam.CreateServiceSpecificCredentialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateServiceSpecificCredentialInput, ...func(*iam.Options)) (*iam.CreateServiceSpecificCredentialOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *IAM) CreateUser(ctx context.Context, params *iam.CreateUserInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateUser") + } + var r0 *iam.CreateUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateUserInput, ...func(*iam.Options)) (*iam.CreateUserOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *IAM) CreateVirtualMFADevice(ctx context.Context, params *iam.CreateVir _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateVirtualMFADevice") + } + var r0 *iam.CreateVirtualMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.CreateVirtualMFADeviceInput, ...func(*iam.Options)) (*iam.CreateVirtualMFADeviceOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *IAM) DeactivateMFADevice(ctx context.Context, params *iam.DeactivateMF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeactivateMFADevice") + } + var r0 *iam.DeactivateMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeactivateMFADeviceInput, ...func(*iam.Options)) (*iam.DeactivateMFADeviceOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *IAM) DeleteAccessKey(ctx context.Context, params *iam.DeleteAccessKeyI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAccessKey") + } + var r0 *iam.DeleteAccessKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccessKeyInput, ...func(*iam.Options)) (*iam.DeleteAccessKeyOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *IAM) DeleteAccountAlias(ctx context.Context, params *iam.DeleteAccount _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAccountAlias") + } + var r0 *iam.DeleteAccountAliasOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountAliasInput, ...func(*iam.Options)) (*iam.DeleteAccountAliasOutput, error)); ok { @@ -817,6 +913,10 @@ func (_m *IAM) DeleteAccountPasswordPolicy(ctx context.Context, params *iam.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAccountPasswordPolicy") + } + var r0 *iam.DeleteAccountPasswordPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteAccountPasswordPolicyInput, ...func(*iam.Options)) (*iam.DeleteAccountPasswordPolicyOutput, error)); ok { @@ -850,6 +950,10 @@ func (_m *IAM) DeleteGroup(ctx context.Context, params *iam.DeleteGroupInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteGroup") + } + var r0 *iam.DeleteGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupInput, ...func(*iam.Options)) (*iam.DeleteGroupOutput, error)); ok { @@ -883,6 +987,10 @@ func (_m *IAM) DeleteGroupPolicy(ctx context.Context, params *iam.DeleteGroupPol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteGroupPolicy") + } + var r0 *iam.DeleteGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteGroupPolicyInput, ...func(*iam.Options)) (*iam.DeleteGroupPolicyOutput, error)); ok { @@ -916,6 +1024,10 @@ func (_m *IAM) DeleteInstanceProfile(ctx context.Context, params *iam.DeleteInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteInstanceProfile") + } + var r0 *iam.DeleteInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteInstanceProfileInput, ...func(*iam.Options)) (*iam.DeleteInstanceProfileOutput, error)); ok { @@ -949,6 +1061,10 @@ func (_m *IAM) DeleteLoginProfile(ctx context.Context, params *iam.DeleteLoginPr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLoginProfile") + } + var r0 *iam.DeleteLoginProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteLoginProfileInput, ...func(*iam.Options)) (*iam.DeleteLoginProfileOutput, error)); ok { @@ -982,6 +1098,10 @@ func (_m *IAM) DeleteOpenIDConnectProvider(ctx context.Context, params *iam.Dele _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteOpenIDConnectProvider") + } + var r0 *iam.DeleteOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.DeleteOpenIDConnectProviderOutput, error)); ok { @@ -1015,6 +1135,10 @@ func (_m *IAM) DeletePolicy(ctx context.Context, params *iam.DeletePolicyInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePolicy") + } + var r0 *iam.DeletePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyInput, ...func(*iam.Options)) (*iam.DeletePolicyOutput, error)); ok { @@ -1048,6 +1172,10 @@ func (_m *IAM) DeletePolicyVersion(ctx context.Context, params *iam.DeletePolicy _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePolicyVersion") + } + var r0 *iam.DeletePolicyVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeletePolicyVersionInput, ...func(*iam.Options)) (*iam.DeletePolicyVersionOutput, error)); ok { @@ -1081,6 +1209,10 @@ func (_m *IAM) DeleteRole(ctx context.Context, params *iam.DeleteRoleInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRole") + } + var r0 *iam.DeleteRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRoleInput, ...func(*iam.Options)) (*iam.DeleteRoleOutput, error)); ok { @@ -1114,6 +1246,10 @@ func (_m *IAM) DeleteRolePermissionsBoundary(ctx context.Context, params *iam.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRolePermissionsBoundary") + } + var r0 *iam.DeleteRolePermissionsBoundaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePermissionsBoundaryInput, ...func(*iam.Options)) (*iam.DeleteRolePermissionsBoundaryOutput, error)); ok { @@ -1147,6 +1283,10 @@ func (_m *IAM) DeleteRolePolicy(ctx context.Context, params *iam.DeleteRolePolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteRolePolicy") + } + var r0 *iam.DeleteRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteRolePolicyInput, ...func(*iam.Options)) (*iam.DeleteRolePolicyOutput, error)); ok { @@ -1180,6 +1320,10 @@ func (_m *IAM) DeleteSAMLProvider(ctx context.Context, params *iam.DeleteSAMLPro _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSAMLProvider") + } + var r0 *iam.DeleteSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSAMLProviderInput, ...func(*iam.Options)) (*iam.DeleteSAMLProviderOutput, error)); ok { @@ -1213,6 +1357,10 @@ func (_m *IAM) DeleteSSHPublicKey(ctx context.Context, params *iam.DeleteSSHPubl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSSHPublicKey") + } + var r0 *iam.DeleteSSHPublicKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSSHPublicKeyInput, ...func(*iam.Options)) (*iam.DeleteSSHPublicKeyOutput, error)); ok { @@ -1246,6 +1394,10 @@ func (_m *IAM) DeleteServerCertificate(ctx context.Context, params *iam.DeleteSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteServerCertificate") + } + var r0 *iam.DeleteServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServerCertificateInput, ...func(*iam.Options)) (*iam.DeleteServerCertificateOutput, error)); ok { @@ -1279,6 +1431,10 @@ func (_m *IAM) DeleteServiceLinkedRole(ctx context.Context, params *iam.DeleteSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteServiceLinkedRole") + } + var r0 *iam.DeleteServiceLinkedRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceLinkedRoleInput, ...func(*iam.Options)) (*iam.DeleteServiceLinkedRoleOutput, error)); ok { @@ -1312,6 +1468,10 @@ func (_m *IAM) DeleteServiceSpecificCredential(ctx context.Context, params *iam. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteServiceSpecificCredential") + } + var r0 *iam.DeleteServiceSpecificCredentialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteServiceSpecificCredentialInput, ...func(*iam.Options)) (*iam.DeleteServiceSpecificCredentialOutput, error)); ok { @@ -1345,6 +1505,10 @@ func (_m *IAM) DeleteSigningCertificate(ctx context.Context, params *iam.DeleteS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSigningCertificate") + } + var r0 *iam.DeleteSigningCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteSigningCertificateInput, ...func(*iam.Options)) (*iam.DeleteSigningCertificateOutput, error)); ok { @@ -1378,6 +1542,10 @@ func (_m *IAM) DeleteUser(ctx context.Context, params *iam.DeleteUserInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteUser") + } + var r0 *iam.DeleteUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserInput, ...func(*iam.Options)) (*iam.DeleteUserOutput, error)); ok { @@ -1411,6 +1579,10 @@ func (_m *IAM) DeleteUserPermissionsBoundary(ctx context.Context, params *iam.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteUserPermissionsBoundary") + } + var r0 *iam.DeleteUserPermissionsBoundaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPermissionsBoundaryInput, ...func(*iam.Options)) (*iam.DeleteUserPermissionsBoundaryOutput, error)); ok { @@ -1444,6 +1616,10 @@ func (_m *IAM) DeleteUserPolicy(ctx context.Context, params *iam.DeleteUserPolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteUserPolicy") + } + var r0 *iam.DeleteUserPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteUserPolicyInput, ...func(*iam.Options)) (*iam.DeleteUserPolicyOutput, error)); ok { @@ -1477,6 +1653,10 @@ func (_m *IAM) DeleteVirtualMFADevice(ctx context.Context, params *iam.DeleteVir _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteVirtualMFADevice") + } + var r0 *iam.DeleteVirtualMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DeleteVirtualMFADeviceInput, ...func(*iam.Options)) (*iam.DeleteVirtualMFADeviceOutput, error)); ok { @@ -1510,6 +1690,10 @@ func (_m *IAM) DetachGroupPolicy(ctx context.Context, params *iam.DetachGroupPol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachGroupPolicy") + } + var r0 *iam.DetachGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachGroupPolicyInput, ...func(*iam.Options)) (*iam.DetachGroupPolicyOutput, error)); ok { @@ -1543,6 +1727,10 @@ func (_m *IAM) DetachRolePolicy(ctx context.Context, params *iam.DetachRolePolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachRolePolicy") + } + var r0 *iam.DetachRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachRolePolicyInput, ...func(*iam.Options)) (*iam.DetachRolePolicyOutput, error)); ok { @@ -1576,6 +1764,10 @@ func (_m *IAM) DetachUserPolicy(ctx context.Context, params *iam.DetachUserPolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DetachUserPolicy") + } + var r0 *iam.DetachUserPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.DetachUserPolicyInput, ...func(*iam.Options)) (*iam.DetachUserPolicyOutput, error)); ok { @@ -1609,6 +1801,10 @@ func (_m *IAM) EnableMFADevice(ctx context.Context, params *iam.EnableMFADeviceI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableMFADevice") + } + var r0 *iam.EnableMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.EnableMFADeviceInput, ...func(*iam.Options)) (*iam.EnableMFADeviceOutput, error)); ok { @@ -1642,6 +1838,10 @@ func (_m *IAM) GenerateCredentialReport(ctx context.Context, params *iam.Generat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GenerateCredentialReport") + } + var r0 *iam.GenerateCredentialReportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateCredentialReportInput, ...func(*iam.Options)) (*iam.GenerateCredentialReportOutput, error)); ok { @@ -1675,6 +1875,10 @@ func (_m *IAM) GenerateOrganizationsAccessReport(ctx context.Context, params *ia _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GenerateOrganizationsAccessReport") + } + var r0 *iam.GenerateOrganizationsAccessReportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateOrganizationsAccessReportInput, ...func(*iam.Options)) (*iam.GenerateOrganizationsAccessReportOutput, error)); ok { @@ -1708,6 +1912,10 @@ func (_m *IAM) GenerateServiceLastAccessedDetails(ctx context.Context, params *i _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GenerateServiceLastAccessedDetails") + } + var r0 *iam.GenerateServiceLastAccessedDetailsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GenerateServiceLastAccessedDetailsInput, ...func(*iam.Options)) (*iam.GenerateServiceLastAccessedDetailsOutput, error)); ok { @@ -1741,6 +1949,10 @@ func (_m *IAM) GetAccessKeyLastUsed(ctx context.Context, params *iam.GetAccessKe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAccessKeyLastUsed") + } + var r0 *iam.GetAccessKeyLastUsedOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccessKeyLastUsedInput, ...func(*iam.Options)) (*iam.GetAccessKeyLastUsedOutput, error)); ok { @@ -1774,6 +1986,10 @@ func (_m *IAM) GetAccountAuthorizationDetails(ctx context.Context, params *iam.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAccountAuthorizationDetails") + } + var r0 *iam.GetAccountAuthorizationDetailsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountAuthorizationDetailsInput, ...func(*iam.Options)) (*iam.GetAccountAuthorizationDetailsOutput, error)); ok { @@ -1807,6 +2023,10 @@ func (_m *IAM) GetAccountPasswordPolicy(ctx context.Context, params *iam.GetAcco _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAccountPasswordPolicy") + } + var r0 *iam.GetAccountPasswordPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountPasswordPolicyInput, ...func(*iam.Options)) (*iam.GetAccountPasswordPolicyOutput, error)); ok { @@ -1840,6 +2060,10 @@ func (_m *IAM) GetAccountSummary(ctx context.Context, params *iam.GetAccountSumm _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAccountSummary") + } + var r0 *iam.GetAccountSummaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetAccountSummaryInput, ...func(*iam.Options)) (*iam.GetAccountSummaryOutput, error)); ok { @@ -1873,6 +2097,10 @@ func (_m *IAM) GetContextKeysForCustomPolicy(ctx context.Context, params *iam.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetContextKeysForCustomPolicy") + } + var r0 *iam.GetContextKeysForCustomPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForCustomPolicyInput, ...func(*iam.Options)) (*iam.GetContextKeysForCustomPolicyOutput, error)); ok { @@ -1906,6 +2134,10 @@ func (_m *IAM) GetContextKeysForPrincipalPolicy(ctx context.Context, params *iam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetContextKeysForPrincipalPolicy") + } + var r0 *iam.GetContextKeysForPrincipalPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetContextKeysForPrincipalPolicyInput, ...func(*iam.Options)) (*iam.GetContextKeysForPrincipalPolicyOutput, error)); ok { @@ -1939,6 +2171,10 @@ func (_m *IAM) GetCredentialReport(ctx context.Context, params *iam.GetCredentia _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCredentialReport") + } + var r0 *iam.GetCredentialReportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetCredentialReportInput, ...func(*iam.Options)) (*iam.GetCredentialReportOutput, error)); ok { @@ -1972,6 +2208,10 @@ func (_m *IAM) GetGroup(ctx context.Context, params *iam.GetGroupInput, optFns . _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetGroup") + } + var r0 *iam.GetGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupInput, ...func(*iam.Options)) (*iam.GetGroupOutput, error)); ok { @@ -2005,6 +2245,10 @@ func (_m *IAM) GetGroupPolicy(ctx context.Context, params *iam.GetGroupPolicyInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetGroupPolicy") + } + var r0 *iam.GetGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetGroupPolicyInput, ...func(*iam.Options)) (*iam.GetGroupPolicyOutput, error)); ok { @@ -2038,6 +2282,10 @@ func (_m *IAM) GetInstanceProfile(ctx context.Context, params *iam.GetInstancePr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetInstanceProfile") + } + var r0 *iam.GetInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetInstanceProfileInput, ...func(*iam.Options)) (*iam.GetInstanceProfileOutput, error)); ok { @@ -2071,6 +2319,10 @@ func (_m *IAM) GetLoginProfile(ctx context.Context, params *iam.GetLoginProfileI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLoginProfile") + } + var r0 *iam.GetLoginProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetLoginProfileInput, ...func(*iam.Options)) (*iam.GetLoginProfileOutput, error)); ok { @@ -2104,6 +2356,10 @@ func (_m *IAM) GetMFADevice(ctx context.Context, params *iam.GetMFADeviceInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMFADevice") + } + var r0 *iam.GetMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetMFADeviceInput, ...func(*iam.Options)) (*iam.GetMFADeviceOutput, error)); ok { @@ -2137,6 +2393,10 @@ func (_m *IAM) GetOpenIDConnectProvider(ctx context.Context, params *iam.GetOpen _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOpenIDConnectProvider") + } + var r0 *iam.GetOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.GetOpenIDConnectProviderOutput, error)); ok { @@ -2170,6 +2430,10 @@ func (_m *IAM) GetOrganizationsAccessReport(ctx context.Context, params *iam.Get _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOrganizationsAccessReport") + } + var r0 *iam.GetOrganizationsAccessReportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetOrganizationsAccessReportInput, ...func(*iam.Options)) (*iam.GetOrganizationsAccessReportOutput, error)); ok { @@ -2203,6 +2467,10 @@ func (_m *IAM) GetPolicy(ctx context.Context, params *iam.GetPolicyInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPolicy") + } + var r0 *iam.GetPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyInput, ...func(*iam.Options)) (*iam.GetPolicyOutput, error)); ok { @@ -2236,6 +2504,10 @@ func (_m *IAM) GetPolicyVersion(ctx context.Context, params *iam.GetPolicyVersio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPolicyVersion") + } + var r0 *iam.GetPolicyVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetPolicyVersionInput, ...func(*iam.Options)) (*iam.GetPolicyVersionOutput, error)); ok { @@ -2269,6 +2541,10 @@ func (_m *IAM) GetRole(ctx context.Context, params *iam.GetRoleInput, optFns ... _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetRole") + } + var r0 *iam.GetRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRoleInput, ...func(*iam.Options)) (*iam.GetRoleOutput, error)); ok { @@ -2302,6 +2578,10 @@ func (_m *IAM) GetRolePolicy(ctx context.Context, params *iam.GetRolePolicyInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetRolePolicy") + } + var r0 *iam.GetRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetRolePolicyInput, ...func(*iam.Options)) (*iam.GetRolePolicyOutput, error)); ok { @@ -2335,6 +2615,10 @@ func (_m *IAM) GetSAMLProvider(ctx context.Context, params *iam.GetSAMLProviderI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSAMLProvider") + } + var r0 *iam.GetSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSAMLProviderInput, ...func(*iam.Options)) (*iam.GetSAMLProviderOutput, error)); ok { @@ -2368,6 +2652,10 @@ func (_m *IAM) GetSSHPublicKey(ctx context.Context, params *iam.GetSSHPublicKeyI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSSHPublicKey") + } + var r0 *iam.GetSSHPublicKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetSSHPublicKeyInput, ...func(*iam.Options)) (*iam.GetSSHPublicKeyOutput, error)); ok { @@ -2401,6 +2689,10 @@ func (_m *IAM) GetServerCertificate(ctx context.Context, params *iam.GetServerCe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetServerCertificate") + } + var r0 *iam.GetServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServerCertificateInput, ...func(*iam.Options)) (*iam.GetServerCertificateOutput, error)); ok { @@ -2434,6 +2726,10 @@ func (_m *IAM) GetServiceLastAccessedDetails(ctx context.Context, params *iam.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetServiceLastAccessedDetails") + } + var r0 *iam.GetServiceLastAccessedDetailsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsInput, ...func(*iam.Options)) (*iam.GetServiceLastAccessedDetailsOutput, error)); ok { @@ -2467,6 +2763,10 @@ func (_m *IAM) GetServiceLastAccessedDetailsWithEntities(ctx context.Context, pa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetServiceLastAccessedDetailsWithEntities") + } + var r0 *iam.GetServiceLastAccessedDetailsWithEntitiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLastAccessedDetailsWithEntitiesInput, ...func(*iam.Options)) (*iam.GetServiceLastAccessedDetailsWithEntitiesOutput, error)); ok { @@ -2500,6 +2800,10 @@ func (_m *IAM) GetServiceLinkedRoleDeletionStatus(ctx context.Context, params *i _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetServiceLinkedRoleDeletionStatus") + } + var r0 *iam.GetServiceLinkedRoleDeletionStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetServiceLinkedRoleDeletionStatusInput, ...func(*iam.Options)) (*iam.GetServiceLinkedRoleDeletionStatusOutput, error)); ok { @@ -2533,6 +2837,10 @@ func (_m *IAM) GetUser(ctx context.Context, params *iam.GetUserInput, optFns ... _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetUser") + } + var r0 *iam.GetUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserInput, ...func(*iam.Options)) (*iam.GetUserOutput, error)); ok { @@ -2566,6 +2874,10 @@ func (_m *IAM) GetUserPolicy(ctx context.Context, params *iam.GetUserPolicyInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetUserPolicy") + } + var r0 *iam.GetUserPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.GetUserPolicyInput, ...func(*iam.Options)) (*iam.GetUserPolicyOutput, error)); ok { @@ -2599,6 +2911,10 @@ func (_m *IAM) ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAccessKeys") + } + var r0 *iam.ListAccessKeysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccessKeysInput, ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)); ok { @@ -2632,6 +2948,10 @@ func (_m *IAM) ListAccountAliases(ctx context.Context, params *iam.ListAccountAl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAccountAliases") + } + var r0 *iam.ListAccountAliasesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAccountAliasesInput, ...func(*iam.Options)) (*iam.ListAccountAliasesOutput, error)); ok { @@ -2665,6 +2985,10 @@ func (_m *IAM) ListAttachedGroupPolicies(ctx context.Context, params *iam.ListAt _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAttachedGroupPolicies") + } + var r0 *iam.ListAttachedGroupPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedGroupPoliciesInput, ...func(*iam.Options)) (*iam.ListAttachedGroupPoliciesOutput, error)); ok { @@ -2698,6 +3022,10 @@ func (_m *IAM) ListAttachedRolePolicies(ctx context.Context, params *iam.ListAtt _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAttachedRolePolicies") + } + var r0 *iam.ListAttachedRolePoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedRolePoliciesInput, ...func(*iam.Options)) (*iam.ListAttachedRolePoliciesOutput, error)); ok { @@ -2731,6 +3059,10 @@ func (_m *IAM) ListAttachedUserPolicies(ctx context.Context, params *iam.ListAtt _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAttachedUserPolicies") + } + var r0 *iam.ListAttachedUserPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListAttachedUserPoliciesInput, ...func(*iam.Options)) (*iam.ListAttachedUserPoliciesOutput, error)); ok { @@ -2764,6 +3096,10 @@ func (_m *IAM) ListEntitiesForPolicy(ctx context.Context, params *iam.ListEntiti _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEntitiesForPolicy") + } + var r0 *iam.ListEntitiesForPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListEntitiesForPolicyInput, ...func(*iam.Options)) (*iam.ListEntitiesForPolicyOutput, error)); ok { @@ -2797,6 +3133,10 @@ func (_m *IAM) ListGroupPolicies(ctx context.Context, params *iam.ListGroupPolic _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListGroupPolicies") + } + var r0 *iam.ListGroupPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupPoliciesInput, ...func(*iam.Options)) (*iam.ListGroupPoliciesOutput, error)); ok { @@ -2830,6 +3170,10 @@ func (_m *IAM) ListGroups(ctx context.Context, params *iam.ListGroupsInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListGroups") + } + var r0 *iam.ListGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsInput, ...func(*iam.Options)) (*iam.ListGroupsOutput, error)); ok { @@ -2863,6 +3207,10 @@ func (_m *IAM) ListGroupsForUser(ctx context.Context, params *iam.ListGroupsForU _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListGroupsForUser") + } + var r0 *iam.ListGroupsForUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListGroupsForUserInput, ...func(*iam.Options)) (*iam.ListGroupsForUserOutput, error)); ok { @@ -2896,6 +3244,10 @@ func (_m *IAM) ListInstanceProfileTags(ctx context.Context, params *iam.ListInst _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInstanceProfileTags") + } + var r0 *iam.ListInstanceProfileTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfileTagsInput, ...func(*iam.Options)) (*iam.ListInstanceProfileTagsOutput, error)); ok { @@ -2929,6 +3281,10 @@ func (_m *IAM) ListInstanceProfiles(ctx context.Context, params *iam.ListInstanc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInstanceProfiles") + } + var r0 *iam.ListInstanceProfilesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesInput, ...func(*iam.Options)) (*iam.ListInstanceProfilesOutput, error)); ok { @@ -2962,6 +3318,10 @@ func (_m *IAM) ListInstanceProfilesForRole(ctx context.Context, params *iam.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInstanceProfilesForRole") + } + var r0 *iam.ListInstanceProfilesForRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListInstanceProfilesForRoleInput, ...func(*iam.Options)) (*iam.ListInstanceProfilesForRoleOutput, error)); ok { @@ -2995,6 +3355,10 @@ func (_m *IAM) ListMFADeviceTags(ctx context.Context, params *iam.ListMFADeviceT _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMFADeviceTags") + } + var r0 *iam.ListMFADeviceTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADeviceTagsInput, ...func(*iam.Options)) (*iam.ListMFADeviceTagsOutput, error)); ok { @@ -3028,6 +3392,10 @@ func (_m *IAM) ListMFADevices(ctx context.Context, params *iam.ListMFADevicesInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMFADevices") + } + var r0 *iam.ListMFADevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListMFADevicesInput, ...func(*iam.Options)) (*iam.ListMFADevicesOutput, error)); ok { @@ -3061,6 +3429,10 @@ func (_m *IAM) ListOpenIDConnectProviderTags(ctx context.Context, params *iam.Li _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOpenIDConnectProviderTags") + } + var r0 *iam.ListOpenIDConnectProviderTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProviderTagsInput, ...func(*iam.Options)) (*iam.ListOpenIDConnectProviderTagsOutput, error)); ok { @@ -3094,6 +3466,10 @@ func (_m *IAM) ListOpenIDConnectProviders(ctx context.Context, params *iam.ListO _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOpenIDConnectProviders") + } + var r0 *iam.ListOpenIDConnectProvidersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListOpenIDConnectProvidersInput, ...func(*iam.Options)) (*iam.ListOpenIDConnectProvidersOutput, error)); ok { @@ -3127,6 +3503,10 @@ func (_m *IAM) ListPolicies(ctx context.Context, params *iam.ListPoliciesInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPolicies") + } + var r0 *iam.ListPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesInput, ...func(*iam.Options)) (*iam.ListPoliciesOutput, error)); ok { @@ -3160,6 +3540,10 @@ func (_m *IAM) ListPoliciesGrantingServiceAccess(ctx context.Context, params *ia _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPoliciesGrantingServiceAccess") + } + var r0 *iam.ListPoliciesGrantingServiceAccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPoliciesGrantingServiceAccessInput, ...func(*iam.Options)) (*iam.ListPoliciesGrantingServiceAccessOutput, error)); ok { @@ -3193,6 +3577,10 @@ func (_m *IAM) ListPolicyTags(ctx context.Context, params *iam.ListPolicyTagsInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPolicyTags") + } + var r0 *iam.ListPolicyTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyTagsInput, ...func(*iam.Options)) (*iam.ListPolicyTagsOutput, error)); ok { @@ -3226,6 +3614,10 @@ func (_m *IAM) ListPolicyVersions(ctx context.Context, params *iam.ListPolicyVer _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPolicyVersions") + } + var r0 *iam.ListPolicyVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListPolicyVersionsInput, ...func(*iam.Options)) (*iam.ListPolicyVersionsOutput, error)); ok { @@ -3259,6 +3651,10 @@ func (_m *IAM) ListRolePolicies(ctx context.Context, params *iam.ListRolePolicie _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListRolePolicies") + } + var r0 *iam.ListRolePoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolePoliciesInput, ...func(*iam.Options)) (*iam.ListRolePoliciesOutput, error)); ok { @@ -3292,6 +3688,10 @@ func (_m *IAM) ListRoleTags(ctx context.Context, params *iam.ListRoleTagsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListRoleTags") + } + var r0 *iam.ListRoleTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRoleTagsInput, ...func(*iam.Options)) (*iam.ListRoleTagsOutput, error)); ok { @@ -3325,6 +3725,10 @@ func (_m *IAM) ListRoles(ctx context.Context, params *iam.ListRolesInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListRoles") + } + var r0 *iam.ListRolesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListRolesInput, ...func(*iam.Options)) (*iam.ListRolesOutput, error)); ok { @@ -3358,6 +3762,10 @@ func (_m *IAM) ListSAMLProviderTags(ctx context.Context, params *iam.ListSAMLPro _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSAMLProviderTags") + } + var r0 *iam.ListSAMLProviderTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProviderTagsInput, ...func(*iam.Options)) (*iam.ListSAMLProviderTagsOutput, error)); ok { @@ -3391,6 +3799,10 @@ func (_m *IAM) ListSAMLProviders(ctx context.Context, params *iam.ListSAMLProvid _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSAMLProviders") + } + var r0 *iam.ListSAMLProvidersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSAMLProvidersInput, ...func(*iam.Options)) (*iam.ListSAMLProvidersOutput, error)); ok { @@ -3424,6 +3836,10 @@ func (_m *IAM) ListSSHPublicKeys(ctx context.Context, params *iam.ListSSHPublicK _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSSHPublicKeys") + } + var r0 *iam.ListSSHPublicKeysOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSSHPublicKeysInput, ...func(*iam.Options)) (*iam.ListSSHPublicKeysOutput, error)); ok { @@ -3457,6 +3873,10 @@ func (_m *IAM) ListServerCertificateTags(ctx context.Context, params *iam.ListSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListServerCertificateTags") + } + var r0 *iam.ListServerCertificateTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificateTagsInput, ...func(*iam.Options)) (*iam.ListServerCertificateTagsOutput, error)); ok { @@ -3490,6 +3910,10 @@ func (_m *IAM) ListServerCertificates(ctx context.Context, params *iam.ListServe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListServerCertificates") + } + var r0 *iam.ListServerCertificatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServerCertificatesInput, ...func(*iam.Options)) (*iam.ListServerCertificatesOutput, error)); ok { @@ -3523,6 +3947,10 @@ func (_m *IAM) ListServiceSpecificCredentials(ctx context.Context, params *iam.L _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListServiceSpecificCredentials") + } + var r0 *iam.ListServiceSpecificCredentialsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListServiceSpecificCredentialsInput, ...func(*iam.Options)) (*iam.ListServiceSpecificCredentialsOutput, error)); ok { @@ -3556,6 +3984,10 @@ func (_m *IAM) ListSigningCertificates(ctx context.Context, params *iam.ListSign _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSigningCertificates") + } + var r0 *iam.ListSigningCertificatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListSigningCertificatesInput, ...func(*iam.Options)) (*iam.ListSigningCertificatesOutput, error)); ok { @@ -3589,6 +4021,10 @@ func (_m *IAM) ListUserPolicies(ctx context.Context, params *iam.ListUserPolicie _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUserPolicies") + } + var r0 *iam.ListUserPoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserPoliciesInput, ...func(*iam.Options)) (*iam.ListUserPoliciesOutput, error)); ok { @@ -3622,6 +4058,10 @@ func (_m *IAM) ListUserTags(ctx context.Context, params *iam.ListUserTagsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUserTags") + } + var r0 *iam.ListUserTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUserTagsInput, ...func(*iam.Options)) (*iam.ListUserTagsOutput, error)); ok { @@ -3655,6 +4095,10 @@ func (_m *IAM) ListUsers(ctx context.Context, params *iam.ListUsersInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUsers") + } + var r0 *iam.ListUsersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListUsersInput, ...func(*iam.Options)) (*iam.ListUsersOutput, error)); ok { @@ -3688,6 +4132,10 @@ func (_m *IAM) ListVirtualMFADevices(ctx context.Context, params *iam.ListVirtua _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListVirtualMFADevices") + } + var r0 *iam.ListVirtualMFADevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ListVirtualMFADevicesInput, ...func(*iam.Options)) (*iam.ListVirtualMFADevicesOutput, error)); ok { @@ -3710,6 +4158,24 @@ func (_m *IAM) ListVirtualMFADevices(ctx context.Context, params *iam.ListVirtua return r0, r1 } +// Options provides a mock function with given fields: +func (_m *IAM) Options() iam.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 iam.Options + if rf, ok := ret.Get(0).(func() iam.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(iam.Options) + } + + return r0 +} + // PutGroupPolicy provides a mock function with given fields: ctx, params, optFns func (_m *IAM) PutGroupPolicy(ctx context.Context, params *iam.PutGroupPolicyInput, optFns ...func(*iam.Options)) (*iam.PutGroupPolicyOutput, error) { _va := make([]interface{}, len(optFns)) @@ -3721,6 +4187,10 @@ func (_m *IAM) PutGroupPolicy(ctx context.Context, params *iam.PutGroupPolicyInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutGroupPolicy") + } + var r0 *iam.PutGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.PutGroupPolicyInput, ...func(*iam.Options)) (*iam.PutGroupPolicyOutput, error)); ok { @@ -3754,6 +4224,10 @@ func (_m *IAM) PutRolePermissionsBoundary(ctx context.Context, params *iam.PutRo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutRolePermissionsBoundary") + } + var r0 *iam.PutRolePermissionsBoundaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePermissionsBoundaryInput, ...func(*iam.Options)) (*iam.PutRolePermissionsBoundaryOutput, error)); ok { @@ -3787,6 +4261,10 @@ func (_m *IAM) PutRolePolicy(ctx context.Context, params *iam.PutRolePolicyInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutRolePolicy") + } + var r0 *iam.PutRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.PutRolePolicyInput, ...func(*iam.Options)) (*iam.PutRolePolicyOutput, error)); ok { @@ -3820,6 +4298,10 @@ func (_m *IAM) PutUserPermissionsBoundary(ctx context.Context, params *iam.PutUs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutUserPermissionsBoundary") + } + var r0 *iam.PutUserPermissionsBoundaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPermissionsBoundaryInput, ...func(*iam.Options)) (*iam.PutUserPermissionsBoundaryOutput, error)); ok { @@ -3853,6 +4335,10 @@ func (_m *IAM) PutUserPolicy(ctx context.Context, params *iam.PutUserPolicyInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutUserPolicy") + } + var r0 *iam.PutUserPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.PutUserPolicyInput, ...func(*iam.Options)) (*iam.PutUserPolicyOutput, error)); ok { @@ -3886,6 +4372,10 @@ func (_m *IAM) RemoveClientIDFromOpenIDConnectProvider(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveClientIDFromOpenIDConnectProvider") + } + var r0 *iam.RemoveClientIDFromOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveClientIDFromOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.RemoveClientIDFromOpenIDConnectProviderOutput, error)); ok { @@ -3919,6 +4409,10 @@ func (_m *IAM) RemoveRoleFromInstanceProfile(ctx context.Context, params *iam.Re _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveRoleFromInstanceProfile") + } + var r0 *iam.RemoveRoleFromInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveRoleFromInstanceProfileInput, ...func(*iam.Options)) (*iam.RemoveRoleFromInstanceProfileOutput, error)); ok { @@ -3952,6 +4446,10 @@ func (_m *IAM) RemoveUserFromGroup(ctx context.Context, params *iam.RemoveUserFr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveUserFromGroup") + } + var r0 *iam.RemoveUserFromGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.RemoveUserFromGroupInput, ...func(*iam.Options)) (*iam.RemoveUserFromGroupOutput, error)); ok { @@ -3985,6 +4483,10 @@ func (_m *IAM) ResetServiceSpecificCredential(ctx context.Context, params *iam.R _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetServiceSpecificCredential") + } + var r0 *iam.ResetServiceSpecificCredentialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ResetServiceSpecificCredentialInput, ...func(*iam.Options)) (*iam.ResetServiceSpecificCredentialOutput, error)); ok { @@ -4018,6 +4520,10 @@ func (_m *IAM) ResyncMFADevice(ctx context.Context, params *iam.ResyncMFADeviceI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResyncMFADevice") + } + var r0 *iam.ResyncMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.ResyncMFADeviceInput, ...func(*iam.Options)) (*iam.ResyncMFADeviceOutput, error)); ok { @@ -4051,6 +4557,10 @@ func (_m *IAM) SetDefaultPolicyVersion(ctx context.Context, params *iam.SetDefau _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetDefaultPolicyVersion") + } + var r0 *iam.SetDefaultPolicyVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.SetDefaultPolicyVersionInput, ...func(*iam.Options)) (*iam.SetDefaultPolicyVersionOutput, error)); ok { @@ -4084,6 +4594,10 @@ func (_m *IAM) SetSecurityTokenServicePreferences(ctx context.Context, params *i _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SetSecurityTokenServicePreferences") + } + var r0 *iam.SetSecurityTokenServicePreferencesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.SetSecurityTokenServicePreferencesInput, ...func(*iam.Options)) (*iam.SetSecurityTokenServicePreferencesOutput, error)); ok { @@ -4117,6 +4631,10 @@ func (_m *IAM) SimulateCustomPolicy(ctx context.Context, params *iam.SimulateCus _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SimulateCustomPolicy") + } + var r0 *iam.SimulateCustomPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulateCustomPolicyInput, ...func(*iam.Options)) (*iam.SimulateCustomPolicyOutput, error)); ok { @@ -4150,6 +4668,10 @@ func (_m *IAM) SimulatePrincipalPolicy(ctx context.Context, params *iam.Simulate _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SimulatePrincipalPolicy") + } + var r0 *iam.SimulatePrincipalPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.SimulatePrincipalPolicyInput, ...func(*iam.Options)) (*iam.SimulatePrincipalPolicyOutput, error)); ok { @@ -4183,6 +4705,10 @@ func (_m *IAM) TagInstanceProfile(ctx context.Context, params *iam.TagInstancePr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagInstanceProfile") + } + var r0 *iam.TagInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagInstanceProfileInput, ...func(*iam.Options)) (*iam.TagInstanceProfileOutput, error)); ok { @@ -4216,6 +4742,10 @@ func (_m *IAM) TagMFADevice(ctx context.Context, params *iam.TagMFADeviceInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagMFADevice") + } + var r0 *iam.TagMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagMFADeviceInput, ...func(*iam.Options)) (*iam.TagMFADeviceOutput, error)); ok { @@ -4249,6 +4779,10 @@ func (_m *IAM) TagOpenIDConnectProvider(ctx context.Context, params *iam.TagOpen _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagOpenIDConnectProvider") + } + var r0 *iam.TagOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.TagOpenIDConnectProviderOutput, error)); ok { @@ -4282,6 +4816,10 @@ func (_m *IAM) TagPolicy(ctx context.Context, params *iam.TagPolicyInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagPolicy") + } + var r0 *iam.TagPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagPolicyInput, ...func(*iam.Options)) (*iam.TagPolicyOutput, error)); ok { @@ -4315,6 +4853,10 @@ func (_m *IAM) TagRole(ctx context.Context, params *iam.TagRoleInput, optFns ... _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagRole") + } + var r0 *iam.TagRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagRoleInput, ...func(*iam.Options)) (*iam.TagRoleOutput, error)); ok { @@ -4348,6 +4890,10 @@ func (_m *IAM) TagSAMLProvider(ctx context.Context, params *iam.TagSAMLProviderI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagSAMLProvider") + } + var r0 *iam.TagSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagSAMLProviderInput, ...func(*iam.Options)) (*iam.TagSAMLProviderOutput, error)); ok { @@ -4381,6 +4927,10 @@ func (_m *IAM) TagServerCertificate(ctx context.Context, params *iam.TagServerCe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagServerCertificate") + } + var r0 *iam.TagServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagServerCertificateInput, ...func(*iam.Options)) (*iam.TagServerCertificateOutput, error)); ok { @@ -4414,6 +4964,10 @@ func (_m *IAM) TagUser(ctx context.Context, params *iam.TagUserInput, optFns ... _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagUser") + } + var r0 *iam.TagUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.TagUserInput, ...func(*iam.Options)) (*iam.TagUserOutput, error)); ok { @@ -4447,6 +5001,10 @@ func (_m *IAM) UntagInstanceProfile(ctx context.Context, params *iam.UntagInstan _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagInstanceProfile") + } + var r0 *iam.UntagInstanceProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagInstanceProfileInput, ...func(*iam.Options)) (*iam.UntagInstanceProfileOutput, error)); ok { @@ -4480,6 +5038,10 @@ func (_m *IAM) UntagMFADevice(ctx context.Context, params *iam.UntagMFADeviceInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagMFADevice") + } + var r0 *iam.UntagMFADeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagMFADeviceInput, ...func(*iam.Options)) (*iam.UntagMFADeviceOutput, error)); ok { @@ -4513,6 +5075,10 @@ func (_m *IAM) UntagOpenIDConnectProvider(ctx context.Context, params *iam.Untag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagOpenIDConnectProvider") + } + var r0 *iam.UntagOpenIDConnectProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagOpenIDConnectProviderInput, ...func(*iam.Options)) (*iam.UntagOpenIDConnectProviderOutput, error)); ok { @@ -4546,6 +5112,10 @@ func (_m *IAM) UntagPolicy(ctx context.Context, params *iam.UntagPolicyInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagPolicy") + } + var r0 *iam.UntagPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagPolicyInput, ...func(*iam.Options)) (*iam.UntagPolicyOutput, error)); ok { @@ -4579,6 +5149,10 @@ func (_m *IAM) UntagRole(ctx context.Context, params *iam.UntagRoleInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagRole") + } + var r0 *iam.UntagRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagRoleInput, ...func(*iam.Options)) (*iam.UntagRoleOutput, error)); ok { @@ -4612,6 +5186,10 @@ func (_m *IAM) UntagSAMLProvider(ctx context.Context, params *iam.UntagSAMLProvi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagSAMLProvider") + } + var r0 *iam.UntagSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagSAMLProviderInput, ...func(*iam.Options)) (*iam.UntagSAMLProviderOutput, error)); ok { @@ -4645,6 +5223,10 @@ func (_m *IAM) UntagServerCertificate(ctx context.Context, params *iam.UntagServ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagServerCertificate") + } + var r0 *iam.UntagServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagServerCertificateInput, ...func(*iam.Options)) (*iam.UntagServerCertificateOutput, error)); ok { @@ -4678,6 +5260,10 @@ func (_m *IAM) UntagUser(ctx context.Context, params *iam.UntagUserInput, optFns _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagUser") + } + var r0 *iam.UntagUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UntagUserInput, ...func(*iam.Options)) (*iam.UntagUserOutput, error)); ok { @@ -4711,6 +5297,10 @@ func (_m *IAM) UpdateAccessKey(ctx context.Context, params *iam.UpdateAccessKeyI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAccessKey") + } + var r0 *iam.UpdateAccessKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccessKeyInput, ...func(*iam.Options)) (*iam.UpdateAccessKeyOutput, error)); ok { @@ -4744,6 +5334,10 @@ func (_m *IAM) UpdateAccountPasswordPolicy(ctx context.Context, params *iam.Upda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAccountPasswordPolicy") + } + var r0 *iam.UpdateAccountPasswordPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAccountPasswordPolicyInput, ...func(*iam.Options)) (*iam.UpdateAccountPasswordPolicyOutput, error)); ok { @@ -4777,6 +5371,10 @@ func (_m *IAM) UpdateAssumeRolePolicy(ctx context.Context, params *iam.UpdateAss _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAssumeRolePolicy") + } + var r0 *iam.UpdateAssumeRolePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateAssumeRolePolicyInput, ...func(*iam.Options)) (*iam.UpdateAssumeRolePolicyOutput, error)); ok { @@ -4810,6 +5408,10 @@ func (_m *IAM) UpdateGroup(ctx context.Context, params *iam.UpdateGroupInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateGroup") + } + var r0 *iam.UpdateGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateGroupInput, ...func(*iam.Options)) (*iam.UpdateGroupOutput, error)); ok { @@ -4843,6 +5445,10 @@ func (_m *IAM) UpdateLoginProfile(ctx context.Context, params *iam.UpdateLoginPr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateLoginProfile") + } + var r0 *iam.UpdateLoginProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateLoginProfileInput, ...func(*iam.Options)) (*iam.UpdateLoginProfileOutput, error)); ok { @@ -4876,6 +5482,10 @@ func (_m *IAM) UpdateOpenIDConnectProviderThumbprint(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateOpenIDConnectProviderThumbprint") + } + var r0 *iam.UpdateOpenIDConnectProviderThumbprintOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateOpenIDConnectProviderThumbprintInput, ...func(*iam.Options)) (*iam.UpdateOpenIDConnectProviderThumbprintOutput, error)); ok { @@ -4909,6 +5519,10 @@ func (_m *IAM) UpdateRole(ctx context.Context, params *iam.UpdateRoleInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateRole") + } + var r0 *iam.UpdateRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleInput, ...func(*iam.Options)) (*iam.UpdateRoleOutput, error)); ok { @@ -4942,6 +5556,10 @@ func (_m *IAM) UpdateRoleDescription(ctx context.Context, params *iam.UpdateRole _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateRoleDescription") + } + var r0 *iam.UpdateRoleDescriptionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateRoleDescriptionInput, ...func(*iam.Options)) (*iam.UpdateRoleDescriptionOutput, error)); ok { @@ -4975,6 +5593,10 @@ func (_m *IAM) UpdateSAMLProvider(ctx context.Context, params *iam.UpdateSAMLPro _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSAMLProvider") + } + var r0 *iam.UpdateSAMLProviderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSAMLProviderInput, ...func(*iam.Options)) (*iam.UpdateSAMLProviderOutput, error)); ok { @@ -5008,6 +5630,10 @@ func (_m *IAM) UpdateSSHPublicKey(ctx context.Context, params *iam.UpdateSSHPubl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSSHPublicKey") + } + var r0 *iam.UpdateSSHPublicKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSSHPublicKeyInput, ...func(*iam.Options)) (*iam.UpdateSSHPublicKeyOutput, error)); ok { @@ -5041,6 +5667,10 @@ func (_m *IAM) UpdateServerCertificate(ctx context.Context, params *iam.UpdateSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateServerCertificate") + } + var r0 *iam.UpdateServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServerCertificateInput, ...func(*iam.Options)) (*iam.UpdateServerCertificateOutput, error)); ok { @@ -5074,6 +5704,10 @@ func (_m *IAM) UpdateServiceSpecificCredential(ctx context.Context, params *iam. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateServiceSpecificCredential") + } + var r0 *iam.UpdateServiceSpecificCredentialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateServiceSpecificCredentialInput, ...func(*iam.Options)) (*iam.UpdateServiceSpecificCredentialOutput, error)); ok { @@ -5107,6 +5741,10 @@ func (_m *IAM) UpdateSigningCertificate(ctx context.Context, params *iam.UpdateS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSigningCertificate") + } + var r0 *iam.UpdateSigningCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateSigningCertificateInput, ...func(*iam.Options)) (*iam.UpdateSigningCertificateOutput, error)); ok { @@ -5140,6 +5778,10 @@ func (_m *IAM) UpdateUser(ctx context.Context, params *iam.UpdateUserInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateUser") + } + var r0 *iam.UpdateUserOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UpdateUserInput, ...func(*iam.Options)) (*iam.UpdateUserOutput, error)); ok { @@ -5173,6 +5815,10 @@ func (_m *IAM) UploadSSHPublicKey(ctx context.Context, params *iam.UploadSSHPubl _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UploadSSHPublicKey") + } + var r0 *iam.UploadSSHPublicKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSSHPublicKeyInput, ...func(*iam.Options)) (*iam.UploadSSHPublicKeyOutput, error)); ok { @@ -5206,6 +5852,10 @@ func (_m *IAM) UploadServerCertificate(ctx context.Context, params *iam.UploadSe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UploadServerCertificate") + } + var r0 *iam.UploadServerCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadServerCertificateInput, ...func(*iam.Options)) (*iam.UploadServerCertificateOutput, error)); ok { @@ -5239,6 +5889,10 @@ func (_m *IAM) UploadSigningCertificate(ctx context.Context, params *iam.UploadS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UploadSigningCertificate") + } + var r0 *iam.UploadSigningCertificateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *iam.UploadSigningCertificateInput, ...func(*iam.Options)) (*iam.UploadSigningCertificateOutput, error)); ok { diff --git a/pkg/eks/mocksv2/Outposts.go b/pkg/eks/mocksv2/Outposts.go index 76c2509631..94a9fbe7d1 100644 --- a/pkg/eks/mocksv2/Outposts.go +++ b/pkg/eks/mocksv2/Outposts.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *Outposts) CancelOrder(ctx context.Context, params *outposts.CancelOrde _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelOrder") + } + var r0 *outposts.CancelOrderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.CancelOrderInput, ...func(*outposts.Options)) (*outposts.CancelOrderOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *Outposts) CreateOrder(ctx context.Context, params *outposts.CreateOrde _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOrder") + } + var r0 *outposts.CreateOrderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.CreateOrderInput, ...func(*outposts.Options)) (*outposts.CreateOrderOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *Outposts) CreateOutpost(ctx context.Context, params *outposts.CreateOu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOutpost") + } + var r0 *outposts.CreateOutpostOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.CreateOutpostInput, ...func(*outposts.Options)) (*outposts.CreateOutpostOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *Outposts) CreateSite(ctx context.Context, params *outposts.CreateSiteI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSite") + } + var r0 *outposts.CreateSiteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.CreateSiteInput, ...func(*outposts.Options)) (*outposts.CreateSiteOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *Outposts) DeleteOutpost(ctx context.Context, params *outposts.DeleteOu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteOutpost") + } + var r0 *outposts.DeleteOutpostOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.DeleteOutpostInput, ...func(*outposts.Options)) (*outposts.DeleteOutpostOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *Outposts) DeleteSite(ctx context.Context, params *outposts.DeleteSiteI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSite") + } + var r0 *outposts.DeleteSiteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.DeleteSiteInput, ...func(*outposts.Options)) (*outposts.DeleteSiteOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *Outposts) GetCatalogItem(ctx context.Context, params *outposts.GetCata _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCatalogItem") + } + var r0 *outposts.GetCatalogItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetCatalogItemInput, ...func(*outposts.Options)) (*outposts.GetCatalogItemOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *Outposts) GetConnection(ctx context.Context, params *outposts.GetConne _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetConnection") + } + var r0 *outposts.GetConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetConnectionInput, ...func(*outposts.Options)) (*outposts.GetConnectionOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *Outposts) GetOrder(ctx context.Context, params *outposts.GetOrderInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOrder") + } + var r0 *outposts.GetOrderOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetOrderInput, ...func(*outposts.Options)) (*outposts.GetOrderOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *Outposts) GetOutpost(ctx context.Context, params *outposts.GetOutpostI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOutpost") + } + var r0 *outposts.GetOutpostOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetOutpostInput, ...func(*outposts.Options)) (*outposts.GetOutpostOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *Outposts) GetOutpostInstanceTypes(ctx context.Context, params *outpost _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOutpostInstanceTypes") + } + var r0 *outposts.GetOutpostInstanceTypesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetOutpostInstanceTypesInput, ...func(*outposts.Options)) (*outposts.GetOutpostInstanceTypesOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *Outposts) GetSite(ctx context.Context, params *outposts.GetSiteInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSite") + } + var r0 *outposts.GetSiteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetSiteInput, ...func(*outposts.Options)) (*outposts.GetSiteOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *Outposts) GetSiteAddress(ctx context.Context, params *outposts.GetSite _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSiteAddress") + } + var r0 *outposts.GetSiteAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.GetSiteAddressInput, ...func(*outposts.Options)) (*outposts.GetSiteAddressOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *Outposts) ListAssets(ctx context.Context, params *outposts.ListAssetsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAssets") + } + var r0 *outposts.ListAssetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListAssetsInput, ...func(*outposts.Options)) (*outposts.ListAssetsOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *Outposts) ListCatalogItems(ctx context.Context, params *outposts.ListC _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCatalogItems") + } + var r0 *outposts.ListCatalogItemsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListCatalogItemsInput, ...func(*outposts.Options)) (*outposts.ListCatalogItemsOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *Outposts) ListOrders(ctx context.Context, params *outposts.ListOrdersI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOrders") + } + var r0 *outposts.ListOrdersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListOrdersInput, ...func(*outposts.Options)) (*outposts.ListOrdersOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *Outposts) ListOutposts(ctx context.Context, params *outposts.ListOutpo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOutposts") + } + var r0 *outposts.ListOutpostsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListOutpostsInput, ...func(*outposts.Options)) (*outposts.ListOutpostsOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *Outposts) ListSites(ctx context.Context, params *outposts.ListSitesInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSites") + } + var r0 *outposts.ListSitesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListSitesInput, ...func(*outposts.Options)) (*outposts.ListSitesOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *Outposts) ListTagsForResource(ctx context.Context, params *outposts.Li _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsForResource") + } + var r0 *outposts.ListTagsForResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.ListTagsForResourceInput, ...func(*outposts.Options)) (*outposts.ListTagsForResourceOutput, error)); ok { @@ -641,6 +717,24 @@ func (_m *Outposts) ListTagsForResource(ctx context.Context, params *outposts.Li return r0, r1 } +// Options provides a mock function with given fields: +func (_m *Outposts) Options() outposts.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 outposts.Options + if rf, ok := ret.Get(0).(func() outposts.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(outposts.Options) + } + + return r0 +} + // StartConnection provides a mock function with given fields: ctx, params, optFns func (_m *Outposts) StartConnection(ctx context.Context, params *outposts.StartConnectionInput, optFns ...func(*outposts.Options)) (*outposts.StartConnectionOutput, error) { _va := make([]interface{}, len(optFns)) @@ -652,6 +746,10 @@ func (_m *Outposts) StartConnection(ctx context.Context, params *outposts.StartC _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartConnection") + } + var r0 *outposts.StartConnectionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.StartConnectionInput, ...func(*outposts.Options)) (*outposts.StartConnectionOutput, error)); ok { @@ -685,6 +783,10 @@ func (_m *Outposts) TagResource(ctx context.Context, params *outposts.TagResourc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagResource") + } + var r0 *outposts.TagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.TagResourceInput, ...func(*outposts.Options)) (*outposts.TagResourceOutput, error)); ok { @@ -718,6 +820,10 @@ func (_m *Outposts) UntagResource(ctx context.Context, params *outposts.UntagRes _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagResource") + } + var r0 *outposts.UntagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.UntagResourceInput, ...func(*outposts.Options)) (*outposts.UntagResourceOutput, error)); ok { @@ -751,6 +857,10 @@ func (_m *Outposts) UpdateOutpost(ctx context.Context, params *outposts.UpdateOu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateOutpost") + } + var r0 *outposts.UpdateOutpostOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.UpdateOutpostInput, ...func(*outposts.Options)) (*outposts.UpdateOutpostOutput, error)); ok { @@ -784,6 +894,10 @@ func (_m *Outposts) UpdateSite(ctx context.Context, params *outposts.UpdateSiteI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSite") + } + var r0 *outposts.UpdateSiteOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.UpdateSiteInput, ...func(*outposts.Options)) (*outposts.UpdateSiteOutput, error)); ok { @@ -817,6 +931,10 @@ func (_m *Outposts) UpdateSiteAddress(ctx context.Context, params *outposts.Upda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSiteAddress") + } + var r0 *outposts.UpdateSiteAddressOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.UpdateSiteAddressInput, ...func(*outposts.Options)) (*outposts.UpdateSiteAddressOutput, error)); ok { @@ -850,6 +968,10 @@ func (_m *Outposts) UpdateSiteRackPhysicalProperties(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSiteRackPhysicalProperties") + } + var r0 *outposts.UpdateSiteRackPhysicalPropertiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *outposts.UpdateSiteRackPhysicalPropertiesInput, ...func(*outposts.Options)) (*outposts.UpdateSiteRackPhysicalPropertiesOutput, error)); ok { diff --git a/pkg/eks/mocksv2/SSM.go b/pkg/eks/mocksv2/SSM.go index e77966001c..6bd9b48f09 100644 --- a/pkg/eks/mocksv2/SSM.go +++ b/pkg/eks/mocksv2/SSM.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -25,6 +25,10 @@ func (_m *SSM) AddTagsToResource(ctx context.Context, params *ssm.AddTagsToResou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTagsToResource") + } + var r0 *ssm.AddTagsToResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.AddTagsToResourceInput, ...func(*ssm.Options)) (*ssm.AddTagsToResourceOutput, error)); ok { @@ -58,6 +62,10 @@ func (_m *SSM) AssociateOpsItemRelatedItem(ctx context.Context, params *ssm.Asso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateOpsItemRelatedItem") + } + var r0 *ssm.AssociateOpsItemRelatedItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.AssociateOpsItemRelatedItemInput, ...func(*ssm.Options)) (*ssm.AssociateOpsItemRelatedItemOutput, error)); ok { @@ -91,6 +99,10 @@ func (_m *SSM) CancelCommand(ctx context.Context, params *ssm.CancelCommandInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelCommand") + } + var r0 *ssm.CancelCommandOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CancelCommandInput, ...func(*ssm.Options)) (*ssm.CancelCommandOutput, error)); ok { @@ -124,6 +136,10 @@ func (_m *SSM) CancelMaintenanceWindowExecution(ctx context.Context, params *ssm _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelMaintenanceWindowExecution") + } + var r0 *ssm.CancelMaintenanceWindowExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CancelMaintenanceWindowExecutionInput, ...func(*ssm.Options)) (*ssm.CancelMaintenanceWindowExecutionOutput, error)); ok { @@ -157,6 +173,10 @@ func (_m *SSM) CreateActivation(ctx context.Context, params *ssm.CreateActivatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateActivation") + } + var r0 *ssm.CreateActivationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateActivationInput, ...func(*ssm.Options)) (*ssm.CreateActivationOutput, error)); ok { @@ -190,6 +210,10 @@ func (_m *SSM) CreateAssociation(ctx context.Context, params *ssm.CreateAssociat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAssociation") + } + var r0 *ssm.CreateAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateAssociationInput, ...func(*ssm.Options)) (*ssm.CreateAssociationOutput, error)); ok { @@ -223,6 +247,10 @@ func (_m *SSM) CreateAssociationBatch(ctx context.Context, params *ssm.CreateAss _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAssociationBatch") + } + var r0 *ssm.CreateAssociationBatchOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateAssociationBatchInput, ...func(*ssm.Options)) (*ssm.CreateAssociationBatchOutput, error)); ok { @@ -256,6 +284,10 @@ func (_m *SSM) CreateDocument(ctx context.Context, params *ssm.CreateDocumentInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDocument") + } + var r0 *ssm.CreateDocumentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateDocumentInput, ...func(*ssm.Options)) (*ssm.CreateDocumentOutput, error)); ok { @@ -289,6 +321,10 @@ func (_m *SSM) CreateMaintenanceWindow(ctx context.Context, params *ssm.CreateMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateMaintenanceWindow") + } + var r0 *ssm.CreateMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.CreateMaintenanceWindowOutput, error)); ok { @@ -322,6 +358,10 @@ func (_m *SSM) CreateOpsItem(ctx context.Context, params *ssm.CreateOpsItemInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOpsItem") + } + var r0 *ssm.CreateOpsItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateOpsItemInput, ...func(*ssm.Options)) (*ssm.CreateOpsItemOutput, error)); ok { @@ -355,6 +395,10 @@ func (_m *SSM) CreateOpsMetadata(ctx context.Context, params *ssm.CreateOpsMetad _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateOpsMetadata") + } + var r0 *ssm.CreateOpsMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateOpsMetadataInput, ...func(*ssm.Options)) (*ssm.CreateOpsMetadataOutput, error)); ok { @@ -388,6 +432,10 @@ func (_m *SSM) CreatePatchBaseline(ctx context.Context, params *ssm.CreatePatchB _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePatchBaseline") + } + var r0 *ssm.CreatePatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreatePatchBaselineInput, ...func(*ssm.Options)) (*ssm.CreatePatchBaselineOutput, error)); ok { @@ -421,6 +469,10 @@ func (_m *SSM) CreateResourceDataSync(ctx context.Context, params *ssm.CreateRes _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateResourceDataSync") + } + var r0 *ssm.CreateResourceDataSyncOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.CreateResourceDataSyncInput, ...func(*ssm.Options)) (*ssm.CreateResourceDataSyncOutput, error)); ok { @@ -454,6 +506,10 @@ func (_m *SSM) DeleteActivation(ctx context.Context, params *ssm.DeleteActivatio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteActivation") + } + var r0 *ssm.DeleteActivationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteActivationInput, ...func(*ssm.Options)) (*ssm.DeleteActivationOutput, error)); ok { @@ -487,6 +543,10 @@ func (_m *SSM) DeleteAssociation(ctx context.Context, params *ssm.DeleteAssociat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAssociation") + } + var r0 *ssm.DeleteAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteAssociationInput, ...func(*ssm.Options)) (*ssm.DeleteAssociationOutput, error)); ok { @@ -520,6 +580,10 @@ func (_m *SSM) DeleteDocument(ctx context.Context, params *ssm.DeleteDocumentInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDocument") + } + var r0 *ssm.DeleteDocumentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteDocumentInput, ...func(*ssm.Options)) (*ssm.DeleteDocumentOutput, error)); ok { @@ -553,6 +617,10 @@ func (_m *SSM) DeleteInventory(ctx context.Context, params *ssm.DeleteInventoryI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteInventory") + } + var r0 *ssm.DeleteInventoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteInventoryInput, ...func(*ssm.Options)) (*ssm.DeleteInventoryOutput, error)); ok { @@ -586,6 +654,10 @@ func (_m *SSM) DeleteMaintenanceWindow(ctx context.Context, params *ssm.DeleteMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteMaintenanceWindow") + } + var r0 *ssm.DeleteMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.DeleteMaintenanceWindowOutput, error)); ok { @@ -619,6 +691,10 @@ func (_m *SSM) DeleteOpsItem(ctx context.Context, params *ssm.DeleteOpsItemInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteOpsItem") + } + var r0 *ssm.DeleteOpsItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteOpsItemInput, ...func(*ssm.Options)) (*ssm.DeleteOpsItemOutput, error)); ok { @@ -652,6 +728,10 @@ func (_m *SSM) DeleteOpsMetadata(ctx context.Context, params *ssm.DeleteOpsMetad _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteOpsMetadata") + } + var r0 *ssm.DeleteOpsMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteOpsMetadataInput, ...func(*ssm.Options)) (*ssm.DeleteOpsMetadataOutput, error)); ok { @@ -685,6 +765,10 @@ func (_m *SSM) DeleteParameter(ctx context.Context, params *ssm.DeleteParameterI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteParameter") + } + var r0 *ssm.DeleteParameterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteParameterInput, ...func(*ssm.Options)) (*ssm.DeleteParameterOutput, error)); ok { @@ -718,6 +802,10 @@ func (_m *SSM) DeleteParameters(ctx context.Context, params *ssm.DeleteParameter _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteParameters") + } + var r0 *ssm.DeleteParametersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteParametersInput, ...func(*ssm.Options)) (*ssm.DeleteParametersOutput, error)); ok { @@ -751,6 +839,10 @@ func (_m *SSM) DeletePatchBaseline(ctx context.Context, params *ssm.DeletePatchB _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePatchBaseline") + } + var r0 *ssm.DeletePatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeletePatchBaselineInput, ...func(*ssm.Options)) (*ssm.DeletePatchBaselineOutput, error)); ok { @@ -784,6 +876,10 @@ func (_m *SSM) DeleteResourceDataSync(ctx context.Context, params *ssm.DeleteRes _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteResourceDataSync") + } + var r0 *ssm.DeleteResourceDataSyncOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteResourceDataSyncInput, ...func(*ssm.Options)) (*ssm.DeleteResourceDataSyncOutput, error)); ok { @@ -817,6 +913,10 @@ func (_m *SSM) DeleteResourcePolicy(ctx context.Context, params *ssm.DeleteResou _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicy") + } + var r0 *ssm.DeleteResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeleteResourcePolicyInput, ...func(*ssm.Options)) (*ssm.DeleteResourcePolicyOutput, error)); ok { @@ -850,6 +950,10 @@ func (_m *SSM) DeregisterManagedInstance(ctx context.Context, params *ssm.Deregi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterManagedInstance") + } + var r0 *ssm.DeregisterManagedInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeregisterManagedInstanceInput, ...func(*ssm.Options)) (*ssm.DeregisterManagedInstanceOutput, error)); ok { @@ -883,6 +987,10 @@ func (_m *SSM) DeregisterPatchBaselineForPatchGroup(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterPatchBaselineForPatchGroup") + } + var r0 *ssm.DeregisterPatchBaselineForPatchGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeregisterPatchBaselineForPatchGroupInput, ...func(*ssm.Options)) (*ssm.DeregisterPatchBaselineForPatchGroupOutput, error)); ok { @@ -916,6 +1024,10 @@ func (_m *SSM) DeregisterTargetFromMaintenanceWindow(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterTargetFromMaintenanceWindow") + } + var r0 *ssm.DeregisterTargetFromMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeregisterTargetFromMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.DeregisterTargetFromMaintenanceWindowOutput, error)); ok { @@ -949,6 +1061,10 @@ func (_m *SSM) DeregisterTaskFromMaintenanceWindow(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterTaskFromMaintenanceWindow") + } + var r0 *ssm.DeregisterTaskFromMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DeregisterTaskFromMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.DeregisterTaskFromMaintenanceWindowOutput, error)); ok { @@ -982,6 +1098,10 @@ func (_m *SSM) DescribeActivations(ctx context.Context, params *ssm.DescribeActi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeActivations") + } + var r0 *ssm.DescribeActivationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeActivationsInput, ...func(*ssm.Options)) (*ssm.DescribeActivationsOutput, error)); ok { @@ -1015,6 +1135,10 @@ func (_m *SSM) DescribeAssociation(ctx context.Context, params *ssm.DescribeAsso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAssociation") + } + var r0 *ssm.DescribeAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAssociationInput, ...func(*ssm.Options)) (*ssm.DescribeAssociationOutput, error)); ok { @@ -1048,6 +1172,10 @@ func (_m *SSM) DescribeAssociationExecutionTargets(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAssociationExecutionTargets") + } + var r0 *ssm.DescribeAssociationExecutionTargetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAssociationExecutionTargetsInput, ...func(*ssm.Options)) (*ssm.DescribeAssociationExecutionTargetsOutput, error)); ok { @@ -1081,6 +1209,10 @@ func (_m *SSM) DescribeAssociationExecutions(ctx context.Context, params *ssm.De _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAssociationExecutions") + } + var r0 *ssm.DescribeAssociationExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAssociationExecutionsInput, ...func(*ssm.Options)) (*ssm.DescribeAssociationExecutionsOutput, error)); ok { @@ -1114,6 +1246,10 @@ func (_m *SSM) DescribeAutomationExecutions(ctx context.Context, params *ssm.Des _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAutomationExecutions") + } + var r0 *ssm.DescribeAutomationExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAutomationExecutionsInput, ...func(*ssm.Options)) (*ssm.DescribeAutomationExecutionsOutput, error)); ok { @@ -1147,6 +1283,10 @@ func (_m *SSM) DescribeAutomationStepExecutions(ctx context.Context, params *ssm _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAutomationStepExecutions") + } + var r0 *ssm.DescribeAutomationStepExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAutomationStepExecutionsInput, ...func(*ssm.Options)) (*ssm.DescribeAutomationStepExecutionsOutput, error)); ok { @@ -1180,6 +1320,10 @@ func (_m *SSM) DescribeAvailablePatches(ctx context.Context, params *ssm.Describ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAvailablePatches") + } + var r0 *ssm.DescribeAvailablePatchesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeAvailablePatchesInput, ...func(*ssm.Options)) (*ssm.DescribeAvailablePatchesOutput, error)); ok { @@ -1213,6 +1357,10 @@ func (_m *SSM) DescribeDocument(ctx context.Context, params *ssm.DescribeDocumen _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDocument") + } + var r0 *ssm.DescribeDocumentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeDocumentInput, ...func(*ssm.Options)) (*ssm.DescribeDocumentOutput, error)); ok { @@ -1246,6 +1394,10 @@ func (_m *SSM) DescribeDocumentPermission(ctx context.Context, params *ssm.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDocumentPermission") + } + var r0 *ssm.DescribeDocumentPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeDocumentPermissionInput, ...func(*ssm.Options)) (*ssm.DescribeDocumentPermissionOutput, error)); ok { @@ -1279,6 +1431,10 @@ func (_m *SSM) DescribeEffectiveInstanceAssociations(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEffectiveInstanceAssociations") + } + var r0 *ssm.DescribeEffectiveInstanceAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeEffectiveInstanceAssociationsInput, ...func(*ssm.Options)) (*ssm.DescribeEffectiveInstanceAssociationsOutput, error)); ok { @@ -1312,6 +1468,10 @@ func (_m *SSM) DescribeEffectivePatchesForPatchBaseline(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEffectivePatchesForPatchBaseline") + } + var r0 *ssm.DescribeEffectivePatchesForPatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeEffectivePatchesForPatchBaselineInput, ...func(*ssm.Options)) (*ssm.DescribeEffectivePatchesForPatchBaselineOutput, error)); ok { @@ -1345,6 +1505,10 @@ func (_m *SSM) DescribeInstanceAssociationsStatus(ctx context.Context, params *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceAssociationsStatus") + } + var r0 *ssm.DescribeInstanceAssociationsStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInstanceAssociationsStatusInput, ...func(*ssm.Options)) (*ssm.DescribeInstanceAssociationsStatusOutput, error)); ok { @@ -1378,6 +1542,10 @@ func (_m *SSM) DescribeInstanceInformation(ctx context.Context, params *ssm.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstanceInformation") + } + var r0 *ssm.DescribeInstanceInformationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInstanceInformationInput, ...func(*ssm.Options)) (*ssm.DescribeInstanceInformationOutput, error)); ok { @@ -1411,6 +1579,10 @@ func (_m *SSM) DescribeInstancePatchStates(ctx context.Context, params *ssm.Desc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstancePatchStates") + } + var r0 *ssm.DescribeInstancePatchStatesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInstancePatchStatesInput, ...func(*ssm.Options)) (*ssm.DescribeInstancePatchStatesOutput, error)); ok { @@ -1444,6 +1616,10 @@ func (_m *SSM) DescribeInstancePatchStatesForPatchGroup(ctx context.Context, par _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstancePatchStatesForPatchGroup") + } + var r0 *ssm.DescribeInstancePatchStatesForPatchGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInstancePatchStatesForPatchGroupInput, ...func(*ssm.Options)) (*ssm.DescribeInstancePatchStatesForPatchGroupOutput, error)); ok { @@ -1477,6 +1653,10 @@ func (_m *SSM) DescribeInstancePatches(ctx context.Context, params *ssm.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInstancePatches") + } + var r0 *ssm.DescribeInstancePatchesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInstancePatchesInput, ...func(*ssm.Options)) (*ssm.DescribeInstancePatchesOutput, error)); ok { @@ -1510,6 +1690,10 @@ func (_m *SSM) DescribeInventoryDeletions(ctx context.Context, params *ssm.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInventoryDeletions") + } + var r0 *ssm.DescribeInventoryDeletionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeInventoryDeletionsInput, ...func(*ssm.Options)) (*ssm.DescribeInventoryDeletionsOutput, error)); ok { @@ -1543,6 +1727,10 @@ func (_m *SSM) DescribeMaintenanceWindowExecutionTaskInvocations(ctx context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowExecutionTaskInvocations") + } + var r0 *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error)); ok { @@ -1576,6 +1764,10 @@ func (_m *SSM) DescribeMaintenanceWindowExecutionTasks(ctx context.Context, para _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowExecutionTasks") + } + var r0 *ssm.DescribeMaintenanceWindowExecutionTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowExecutionTasksInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowExecutionTasksOutput, error)); ok { @@ -1609,6 +1801,10 @@ func (_m *SSM) DescribeMaintenanceWindowExecutions(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowExecutions") + } + var r0 *ssm.DescribeMaintenanceWindowExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowExecutionsInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowExecutionsOutput, error)); ok { @@ -1642,6 +1838,10 @@ func (_m *SSM) DescribeMaintenanceWindowSchedule(ctx context.Context, params *ss _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowSchedule") + } + var r0 *ssm.DescribeMaintenanceWindowScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowScheduleInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowScheduleOutput, error)); ok { @@ -1675,6 +1875,10 @@ func (_m *SSM) DescribeMaintenanceWindowTargets(ctx context.Context, params *ssm _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowTargets") + } + var r0 *ssm.DescribeMaintenanceWindowTargetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowTargetsInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowTargetsOutput, error)); ok { @@ -1708,6 +1912,10 @@ func (_m *SSM) DescribeMaintenanceWindowTasks(ctx context.Context, params *ssm.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowTasks") + } + var r0 *ssm.DescribeMaintenanceWindowTasksOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowTasksInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowTasksOutput, error)); ok { @@ -1741,6 +1949,10 @@ func (_m *SSM) DescribeMaintenanceWindows(ctx context.Context, params *ssm.Descr _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindows") + } + var r0 *ssm.DescribeMaintenanceWindowsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowsInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowsOutput, error)); ok { @@ -1774,6 +1986,10 @@ func (_m *SSM) DescribeMaintenanceWindowsForTarget(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMaintenanceWindowsForTarget") + } + var r0 *ssm.DescribeMaintenanceWindowsForTargetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeMaintenanceWindowsForTargetInput, ...func(*ssm.Options)) (*ssm.DescribeMaintenanceWindowsForTargetOutput, error)); ok { @@ -1807,6 +2023,10 @@ func (_m *SSM) DescribeOpsItems(ctx context.Context, params *ssm.DescribeOpsItem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeOpsItems") + } + var r0 *ssm.DescribeOpsItemsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeOpsItemsInput, ...func(*ssm.Options)) (*ssm.DescribeOpsItemsOutput, error)); ok { @@ -1840,6 +2060,10 @@ func (_m *SSM) DescribeParameters(ctx context.Context, params *ssm.DescribeParam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeParameters") + } + var r0 *ssm.DescribeParametersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeParametersInput, ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)); ok { @@ -1873,6 +2097,10 @@ func (_m *SSM) DescribePatchBaselines(ctx context.Context, params *ssm.DescribeP _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePatchBaselines") + } + var r0 *ssm.DescribePatchBaselinesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribePatchBaselinesInput, ...func(*ssm.Options)) (*ssm.DescribePatchBaselinesOutput, error)); ok { @@ -1906,6 +2134,10 @@ func (_m *SSM) DescribePatchGroupState(ctx context.Context, params *ssm.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePatchGroupState") + } + var r0 *ssm.DescribePatchGroupStateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribePatchGroupStateInput, ...func(*ssm.Options)) (*ssm.DescribePatchGroupStateOutput, error)); ok { @@ -1939,6 +2171,10 @@ func (_m *SSM) DescribePatchGroups(ctx context.Context, params *ssm.DescribePatc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePatchGroups") + } + var r0 *ssm.DescribePatchGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribePatchGroupsInput, ...func(*ssm.Options)) (*ssm.DescribePatchGroupsOutput, error)); ok { @@ -1972,6 +2208,10 @@ func (_m *SSM) DescribePatchProperties(ctx context.Context, params *ssm.Describe _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePatchProperties") + } + var r0 *ssm.DescribePatchPropertiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribePatchPropertiesInput, ...func(*ssm.Options)) (*ssm.DescribePatchPropertiesOutput, error)); ok { @@ -2005,6 +2245,10 @@ func (_m *SSM) DescribeSessions(ctx context.Context, params *ssm.DescribeSession _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSessions") + } + var r0 *ssm.DescribeSessionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeSessionsInput, ...func(*ssm.Options)) (*ssm.DescribeSessionsOutput, error)); ok { @@ -2038,6 +2282,10 @@ func (_m *SSM) DisassociateOpsItemRelatedItem(ctx context.Context, params *ssm.D _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateOpsItemRelatedItem") + } + var r0 *ssm.DisassociateOpsItemRelatedItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.DisassociateOpsItemRelatedItemInput, ...func(*ssm.Options)) (*ssm.DisassociateOpsItemRelatedItemOutput, error)); ok { @@ -2071,6 +2319,10 @@ func (_m *SSM) GetAutomationExecution(ctx context.Context, params *ssm.GetAutoma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAutomationExecution") + } + var r0 *ssm.GetAutomationExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetAutomationExecutionInput, ...func(*ssm.Options)) (*ssm.GetAutomationExecutionOutput, error)); ok { @@ -2104,6 +2356,10 @@ func (_m *SSM) GetCalendarState(ctx context.Context, params *ssm.GetCalendarStat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCalendarState") + } + var r0 *ssm.GetCalendarStateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetCalendarStateInput, ...func(*ssm.Options)) (*ssm.GetCalendarStateOutput, error)); ok { @@ -2137,6 +2393,10 @@ func (_m *SSM) GetCommandInvocation(ctx context.Context, params *ssm.GetCommandI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCommandInvocation") + } + var r0 *ssm.GetCommandInvocationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetCommandInvocationInput, ...func(*ssm.Options)) (*ssm.GetCommandInvocationOutput, error)); ok { @@ -2170,6 +2430,10 @@ func (_m *SSM) GetConnectionStatus(ctx context.Context, params *ssm.GetConnectio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetConnectionStatus") + } + var r0 *ssm.GetConnectionStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetConnectionStatusInput, ...func(*ssm.Options)) (*ssm.GetConnectionStatusOutput, error)); ok { @@ -2203,6 +2467,10 @@ func (_m *SSM) GetDefaultPatchBaseline(ctx context.Context, params *ssm.GetDefau _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDefaultPatchBaseline") + } + var r0 *ssm.GetDefaultPatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetDefaultPatchBaselineInput, ...func(*ssm.Options)) (*ssm.GetDefaultPatchBaselineOutput, error)); ok { @@ -2236,6 +2504,10 @@ func (_m *SSM) GetDeployablePatchSnapshotForInstance(ctx context.Context, params _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDeployablePatchSnapshotForInstance") + } + var r0 *ssm.GetDeployablePatchSnapshotForInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetDeployablePatchSnapshotForInstanceInput, ...func(*ssm.Options)) (*ssm.GetDeployablePatchSnapshotForInstanceOutput, error)); ok { @@ -2269,6 +2541,10 @@ func (_m *SSM) GetDocument(ctx context.Context, params *ssm.GetDocumentInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDocument") + } + var r0 *ssm.GetDocumentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetDocumentInput, ...func(*ssm.Options)) (*ssm.GetDocumentOutput, error)); ok { @@ -2302,6 +2578,10 @@ func (_m *SSM) GetInventory(ctx context.Context, params *ssm.GetInventoryInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetInventory") + } + var r0 *ssm.GetInventoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetInventoryInput, ...func(*ssm.Options)) (*ssm.GetInventoryOutput, error)); ok { @@ -2335,6 +2615,10 @@ func (_m *SSM) GetInventorySchema(ctx context.Context, params *ssm.GetInventoryS _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetInventorySchema") + } + var r0 *ssm.GetInventorySchemaOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetInventorySchemaInput, ...func(*ssm.Options)) (*ssm.GetInventorySchemaOutput, error)); ok { @@ -2368,6 +2652,10 @@ func (_m *SSM) GetMaintenanceWindow(ctx context.Context, params *ssm.GetMaintena _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMaintenanceWindow") + } + var r0 *ssm.GetMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.GetMaintenanceWindowOutput, error)); ok { @@ -2401,6 +2689,10 @@ func (_m *SSM) GetMaintenanceWindowExecution(ctx context.Context, params *ssm.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMaintenanceWindowExecution") + } + var r0 *ssm.GetMaintenanceWindowExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetMaintenanceWindowExecutionInput, ...func(*ssm.Options)) (*ssm.GetMaintenanceWindowExecutionOutput, error)); ok { @@ -2434,6 +2726,10 @@ func (_m *SSM) GetMaintenanceWindowExecutionTask(ctx context.Context, params *ss _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMaintenanceWindowExecutionTask") + } + var r0 *ssm.GetMaintenanceWindowExecutionTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetMaintenanceWindowExecutionTaskInput, ...func(*ssm.Options)) (*ssm.GetMaintenanceWindowExecutionTaskOutput, error)); ok { @@ -2467,6 +2763,10 @@ func (_m *SSM) GetMaintenanceWindowExecutionTaskInvocation(ctx context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMaintenanceWindowExecutionTaskInvocation") + } + var r0 *ssm.GetMaintenanceWindowExecutionTaskInvocationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetMaintenanceWindowExecutionTaskInvocationInput, ...func(*ssm.Options)) (*ssm.GetMaintenanceWindowExecutionTaskInvocationOutput, error)); ok { @@ -2500,6 +2800,10 @@ func (_m *SSM) GetMaintenanceWindowTask(ctx context.Context, params *ssm.GetMain _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetMaintenanceWindowTask") + } + var r0 *ssm.GetMaintenanceWindowTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetMaintenanceWindowTaskInput, ...func(*ssm.Options)) (*ssm.GetMaintenanceWindowTaskOutput, error)); ok { @@ -2533,6 +2837,10 @@ func (_m *SSM) GetOpsItem(ctx context.Context, params *ssm.GetOpsItemInput, optF _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOpsItem") + } + var r0 *ssm.GetOpsItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetOpsItemInput, ...func(*ssm.Options)) (*ssm.GetOpsItemOutput, error)); ok { @@ -2566,6 +2874,10 @@ func (_m *SSM) GetOpsMetadata(ctx context.Context, params *ssm.GetOpsMetadataInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOpsMetadata") + } + var r0 *ssm.GetOpsMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetOpsMetadataInput, ...func(*ssm.Options)) (*ssm.GetOpsMetadataOutput, error)); ok { @@ -2599,6 +2911,10 @@ func (_m *SSM) GetOpsSummary(ctx context.Context, params *ssm.GetOpsSummaryInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetOpsSummary") + } + var r0 *ssm.GetOpsSummaryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetOpsSummaryInput, ...func(*ssm.Options)) (*ssm.GetOpsSummaryOutput, error)); ok { @@ -2632,6 +2948,10 @@ func (_m *SSM) GetParameter(ctx context.Context, params *ssm.GetParameterInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetParameter") + } + var r0 *ssm.GetParameterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)); ok { @@ -2665,6 +2985,10 @@ func (_m *SSM) GetParameterHistory(ctx context.Context, params *ssm.GetParameter _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetParameterHistory") + } + var r0 *ssm.GetParameterHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetParameterHistoryInput, ...func(*ssm.Options)) (*ssm.GetParameterHistoryOutput, error)); ok { @@ -2698,6 +3022,10 @@ func (_m *SSM) GetParameters(ctx context.Context, params *ssm.GetParametersInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetParameters") + } + var r0 *ssm.GetParametersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetParametersInput, ...func(*ssm.Options)) (*ssm.GetParametersOutput, error)); ok { @@ -2731,6 +3059,10 @@ func (_m *SSM) GetParametersByPath(ctx context.Context, params *ssm.GetParameter _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetParametersByPath") + } + var r0 *ssm.GetParametersByPathOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetParametersByPathInput, ...func(*ssm.Options)) (*ssm.GetParametersByPathOutput, error)); ok { @@ -2764,6 +3096,10 @@ func (_m *SSM) GetPatchBaseline(ctx context.Context, params *ssm.GetPatchBaselin _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPatchBaseline") + } + var r0 *ssm.GetPatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetPatchBaselineInput, ...func(*ssm.Options)) (*ssm.GetPatchBaselineOutput, error)); ok { @@ -2797,6 +3133,10 @@ func (_m *SSM) GetPatchBaselineForPatchGroup(ctx context.Context, params *ssm.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPatchBaselineForPatchGroup") + } + var r0 *ssm.GetPatchBaselineForPatchGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetPatchBaselineForPatchGroupInput, ...func(*ssm.Options)) (*ssm.GetPatchBaselineForPatchGroupOutput, error)); ok { @@ -2830,6 +3170,10 @@ func (_m *SSM) GetResourcePolicies(ctx context.Context, params *ssm.GetResourceP _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetResourcePolicies") + } + var r0 *ssm.GetResourcePoliciesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetResourcePoliciesInput, ...func(*ssm.Options)) (*ssm.GetResourcePoliciesOutput, error)); ok { @@ -2863,6 +3207,10 @@ func (_m *SSM) GetServiceSetting(ctx context.Context, params *ssm.GetServiceSett _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetServiceSetting") + } + var r0 *ssm.GetServiceSettingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.GetServiceSettingInput, ...func(*ssm.Options)) (*ssm.GetServiceSettingOutput, error)); ok { @@ -2896,6 +3244,10 @@ func (_m *SSM) LabelParameterVersion(ctx context.Context, params *ssm.LabelParam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for LabelParameterVersion") + } + var r0 *ssm.LabelParameterVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.LabelParameterVersionInput, ...func(*ssm.Options)) (*ssm.LabelParameterVersionOutput, error)); ok { @@ -2929,6 +3281,10 @@ func (_m *SSM) ListAssociationVersions(ctx context.Context, params *ssm.ListAsso _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAssociationVersions") + } + var r0 *ssm.ListAssociationVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListAssociationVersionsInput, ...func(*ssm.Options)) (*ssm.ListAssociationVersionsOutput, error)); ok { @@ -2962,6 +3318,10 @@ func (_m *SSM) ListAssociations(ctx context.Context, params *ssm.ListAssociation _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAssociations") + } + var r0 *ssm.ListAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListAssociationsInput, ...func(*ssm.Options)) (*ssm.ListAssociationsOutput, error)); ok { @@ -2995,6 +3355,10 @@ func (_m *SSM) ListCommandInvocations(ctx context.Context, params *ssm.ListComma _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCommandInvocations") + } + var r0 *ssm.ListCommandInvocationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListCommandInvocationsInput, ...func(*ssm.Options)) (*ssm.ListCommandInvocationsOutput, error)); ok { @@ -3028,6 +3392,10 @@ func (_m *SSM) ListCommands(ctx context.Context, params *ssm.ListCommandsInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCommands") + } + var r0 *ssm.ListCommandsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListCommandsInput, ...func(*ssm.Options)) (*ssm.ListCommandsOutput, error)); ok { @@ -3061,6 +3429,10 @@ func (_m *SSM) ListComplianceItems(ctx context.Context, params *ssm.ListComplian _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListComplianceItems") + } + var r0 *ssm.ListComplianceItemsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListComplianceItemsInput, ...func(*ssm.Options)) (*ssm.ListComplianceItemsOutput, error)); ok { @@ -3094,6 +3466,10 @@ func (_m *SSM) ListComplianceSummaries(ctx context.Context, params *ssm.ListComp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListComplianceSummaries") + } + var r0 *ssm.ListComplianceSummariesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListComplianceSummariesInput, ...func(*ssm.Options)) (*ssm.ListComplianceSummariesOutput, error)); ok { @@ -3127,6 +3503,10 @@ func (_m *SSM) ListDocumentMetadataHistory(ctx context.Context, params *ssm.List _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDocumentMetadataHistory") + } + var r0 *ssm.ListDocumentMetadataHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListDocumentMetadataHistoryInput, ...func(*ssm.Options)) (*ssm.ListDocumentMetadataHistoryOutput, error)); ok { @@ -3160,6 +3540,10 @@ func (_m *SSM) ListDocumentVersions(ctx context.Context, params *ssm.ListDocumen _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDocumentVersions") + } + var r0 *ssm.ListDocumentVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListDocumentVersionsInput, ...func(*ssm.Options)) (*ssm.ListDocumentVersionsOutput, error)); ok { @@ -3193,6 +3577,10 @@ func (_m *SSM) ListDocuments(ctx context.Context, params *ssm.ListDocumentsInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDocuments") + } + var r0 *ssm.ListDocumentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListDocumentsInput, ...func(*ssm.Options)) (*ssm.ListDocumentsOutput, error)); ok { @@ -3226,6 +3614,10 @@ func (_m *SSM) ListInventoryEntries(ctx context.Context, params *ssm.ListInvento _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInventoryEntries") + } + var r0 *ssm.ListInventoryEntriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListInventoryEntriesInput, ...func(*ssm.Options)) (*ssm.ListInventoryEntriesOutput, error)); ok { @@ -3259,6 +3651,10 @@ func (_m *SSM) ListOpsItemEvents(ctx context.Context, params *ssm.ListOpsItemEve _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOpsItemEvents") + } + var r0 *ssm.ListOpsItemEventsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListOpsItemEventsInput, ...func(*ssm.Options)) (*ssm.ListOpsItemEventsOutput, error)); ok { @@ -3292,6 +3688,10 @@ func (_m *SSM) ListOpsItemRelatedItems(ctx context.Context, params *ssm.ListOpsI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOpsItemRelatedItems") + } + var r0 *ssm.ListOpsItemRelatedItemsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListOpsItemRelatedItemsInput, ...func(*ssm.Options)) (*ssm.ListOpsItemRelatedItemsOutput, error)); ok { @@ -3325,6 +3725,10 @@ func (_m *SSM) ListOpsMetadata(ctx context.Context, params *ssm.ListOpsMetadataI _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListOpsMetadata") + } + var r0 *ssm.ListOpsMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListOpsMetadataInput, ...func(*ssm.Options)) (*ssm.ListOpsMetadataOutput, error)); ok { @@ -3358,6 +3762,10 @@ func (_m *SSM) ListResourceComplianceSummaries(ctx context.Context, params *ssm. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListResourceComplianceSummaries") + } + var r0 *ssm.ListResourceComplianceSummariesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListResourceComplianceSummariesInput, ...func(*ssm.Options)) (*ssm.ListResourceComplianceSummariesOutput, error)); ok { @@ -3391,6 +3799,10 @@ func (_m *SSM) ListResourceDataSync(ctx context.Context, params *ssm.ListResourc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListResourceDataSync") + } + var r0 *ssm.ListResourceDataSyncOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListResourceDataSyncInput, ...func(*ssm.Options)) (*ssm.ListResourceDataSyncOutput, error)); ok { @@ -3424,6 +3836,10 @@ func (_m *SSM) ListTagsForResource(ctx context.Context, params *ssm.ListTagsForR _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsForResource") + } + var r0 *ssm.ListTagsForResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ListTagsForResourceInput, ...func(*ssm.Options)) (*ssm.ListTagsForResourceOutput, error)); ok { @@ -3457,6 +3873,10 @@ func (_m *SSM) ModifyDocumentPermission(ctx context.Context, params *ssm.ModifyD _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ModifyDocumentPermission") + } + var r0 *ssm.ModifyDocumentPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ModifyDocumentPermissionInput, ...func(*ssm.Options)) (*ssm.ModifyDocumentPermissionOutput, error)); ok { @@ -3479,6 +3899,24 @@ func (_m *SSM) ModifyDocumentPermission(ctx context.Context, params *ssm.ModifyD return r0, r1 } +// Options provides a mock function with given fields: +func (_m *SSM) Options() ssm.Options { + ret := _m.Called() + + if len(ret) == 0 { + panic("no return value specified for Options") + } + + var r0 ssm.Options + if rf, ok := ret.Get(0).(func() ssm.Options); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(ssm.Options) + } + + return r0 +} + // PutComplianceItems provides a mock function with given fields: ctx, params, optFns func (_m *SSM) PutComplianceItems(ctx context.Context, params *ssm.PutComplianceItemsInput, optFns ...func(*ssm.Options)) (*ssm.PutComplianceItemsOutput, error) { _va := make([]interface{}, len(optFns)) @@ -3490,6 +3928,10 @@ func (_m *SSM) PutComplianceItems(ctx context.Context, params *ssm.PutCompliance _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutComplianceItems") + } + var r0 *ssm.PutComplianceItemsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.PutComplianceItemsInput, ...func(*ssm.Options)) (*ssm.PutComplianceItemsOutput, error)); ok { @@ -3523,6 +3965,10 @@ func (_m *SSM) PutInventory(ctx context.Context, params *ssm.PutInventoryInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutInventory") + } + var r0 *ssm.PutInventoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.PutInventoryInput, ...func(*ssm.Options)) (*ssm.PutInventoryOutput, error)); ok { @@ -3556,6 +4002,10 @@ func (_m *SSM) PutParameter(ctx context.Context, params *ssm.PutParameterInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutParameter") + } + var r0 *ssm.PutParameterOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.PutParameterInput, ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)); ok { @@ -3589,6 +4039,10 @@ func (_m *SSM) PutResourcePolicy(ctx context.Context, params *ssm.PutResourcePol _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicy") + } + var r0 *ssm.PutResourcePolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.PutResourcePolicyInput, ...func(*ssm.Options)) (*ssm.PutResourcePolicyOutput, error)); ok { @@ -3622,6 +4076,10 @@ func (_m *SSM) RegisterDefaultPatchBaseline(ctx context.Context, params *ssm.Reg _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterDefaultPatchBaseline") + } + var r0 *ssm.RegisterDefaultPatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.RegisterDefaultPatchBaselineInput, ...func(*ssm.Options)) (*ssm.RegisterDefaultPatchBaselineOutput, error)); ok { @@ -3655,6 +4113,10 @@ func (_m *SSM) RegisterPatchBaselineForPatchGroup(ctx context.Context, params *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterPatchBaselineForPatchGroup") + } + var r0 *ssm.RegisterPatchBaselineForPatchGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.RegisterPatchBaselineForPatchGroupInput, ...func(*ssm.Options)) (*ssm.RegisterPatchBaselineForPatchGroupOutput, error)); ok { @@ -3688,6 +4150,10 @@ func (_m *SSM) RegisterTargetWithMaintenanceWindow(ctx context.Context, params * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterTargetWithMaintenanceWindow") + } + var r0 *ssm.RegisterTargetWithMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.RegisterTargetWithMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.RegisterTargetWithMaintenanceWindowOutput, error)); ok { @@ -3721,6 +4187,10 @@ func (_m *SSM) RegisterTaskWithMaintenanceWindow(ctx context.Context, params *ss _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterTaskWithMaintenanceWindow") + } + var r0 *ssm.RegisterTaskWithMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.RegisterTaskWithMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.RegisterTaskWithMaintenanceWindowOutput, error)); ok { @@ -3754,6 +4224,10 @@ func (_m *SSM) RemoveTagsFromResource(ctx context.Context, params *ssm.RemoveTag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveTagsFromResource") + } + var r0 *ssm.RemoveTagsFromResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.RemoveTagsFromResourceInput, ...func(*ssm.Options)) (*ssm.RemoveTagsFromResourceOutput, error)); ok { @@ -3787,6 +4261,10 @@ func (_m *SSM) ResetServiceSetting(ctx context.Context, params *ssm.ResetService _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResetServiceSetting") + } + var r0 *ssm.ResetServiceSettingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ResetServiceSettingInput, ...func(*ssm.Options)) (*ssm.ResetServiceSettingOutput, error)); ok { @@ -3820,6 +4298,10 @@ func (_m *SSM) ResumeSession(ctx context.Context, params *ssm.ResumeSessionInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ResumeSession") + } + var r0 *ssm.ResumeSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.ResumeSessionInput, ...func(*ssm.Options)) (*ssm.ResumeSessionOutput, error)); ok { @@ -3853,6 +4335,10 @@ func (_m *SSM) SendAutomationSignal(ctx context.Context, params *ssm.SendAutomat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SendAutomationSignal") + } + var r0 *ssm.SendAutomationSignalOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.SendAutomationSignalInput, ...func(*ssm.Options)) (*ssm.SendAutomationSignalOutput, error)); ok { @@ -3886,6 +4372,10 @@ func (_m *SSM) SendCommand(ctx context.Context, params *ssm.SendCommandInput, op _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SendCommand") + } + var r0 *ssm.SendCommandOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.SendCommandInput, ...func(*ssm.Options)) (*ssm.SendCommandOutput, error)); ok { @@ -3919,6 +4409,10 @@ func (_m *SSM) StartAssociationsOnce(ctx context.Context, params *ssm.StartAssoc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartAssociationsOnce") + } + var r0 *ssm.StartAssociationsOnceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.StartAssociationsOnceInput, ...func(*ssm.Options)) (*ssm.StartAssociationsOnceOutput, error)); ok { @@ -3952,6 +4446,10 @@ func (_m *SSM) StartAutomationExecution(ctx context.Context, params *ssm.StartAu _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartAutomationExecution") + } + var r0 *ssm.StartAutomationExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.StartAutomationExecutionInput, ...func(*ssm.Options)) (*ssm.StartAutomationExecutionOutput, error)); ok { @@ -3985,6 +4483,10 @@ func (_m *SSM) StartChangeRequestExecution(ctx context.Context, params *ssm.Star _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartChangeRequestExecution") + } + var r0 *ssm.StartChangeRequestExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.StartChangeRequestExecutionInput, ...func(*ssm.Options)) (*ssm.StartChangeRequestExecutionOutput, error)); ok { @@ -4018,6 +4520,10 @@ func (_m *SSM) StartSession(ctx context.Context, params *ssm.StartSessionInput, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartSession") + } + var r0 *ssm.StartSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.StartSessionInput, ...func(*ssm.Options)) (*ssm.StartSessionOutput, error)); ok { @@ -4051,6 +4557,10 @@ func (_m *SSM) StopAutomationExecution(ctx context.Context, params *ssm.StopAuto _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopAutomationExecution") + } + var r0 *ssm.StopAutomationExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.StopAutomationExecutionInput, ...func(*ssm.Options)) (*ssm.StopAutomationExecutionOutput, error)); ok { @@ -4084,6 +4594,10 @@ func (_m *SSM) TerminateSession(ctx context.Context, params *ssm.TerminateSessio _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TerminateSession") + } + var r0 *ssm.TerminateSessionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.TerminateSessionInput, ...func(*ssm.Options)) (*ssm.TerminateSessionOutput, error)); ok { @@ -4117,6 +4631,10 @@ func (_m *SSM) UnlabelParameterVersion(ctx context.Context, params *ssm.UnlabelP _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UnlabelParameterVersion") + } + var r0 *ssm.UnlabelParameterVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UnlabelParameterVersionInput, ...func(*ssm.Options)) (*ssm.UnlabelParameterVersionOutput, error)); ok { @@ -4150,6 +4668,10 @@ func (_m *SSM) UpdateAssociation(ctx context.Context, params *ssm.UpdateAssociat _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAssociation") + } + var r0 *ssm.UpdateAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateAssociationInput, ...func(*ssm.Options)) (*ssm.UpdateAssociationOutput, error)); ok { @@ -4183,6 +4705,10 @@ func (_m *SSM) UpdateAssociationStatus(ctx context.Context, params *ssm.UpdateAs _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAssociationStatus") + } + var r0 *ssm.UpdateAssociationStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateAssociationStatusInput, ...func(*ssm.Options)) (*ssm.UpdateAssociationStatusOutput, error)); ok { @@ -4216,6 +4742,10 @@ func (_m *SSM) UpdateDocument(ctx context.Context, params *ssm.UpdateDocumentInp _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDocument") + } + var r0 *ssm.UpdateDocumentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateDocumentInput, ...func(*ssm.Options)) (*ssm.UpdateDocumentOutput, error)); ok { @@ -4249,6 +4779,10 @@ func (_m *SSM) UpdateDocumentDefaultVersion(ctx context.Context, params *ssm.Upd _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDocumentDefaultVersion") + } + var r0 *ssm.UpdateDocumentDefaultVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateDocumentDefaultVersionInput, ...func(*ssm.Options)) (*ssm.UpdateDocumentDefaultVersionOutput, error)); ok { @@ -4282,6 +4816,10 @@ func (_m *SSM) UpdateDocumentMetadata(ctx context.Context, params *ssm.UpdateDoc _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDocumentMetadata") + } + var r0 *ssm.UpdateDocumentMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateDocumentMetadataInput, ...func(*ssm.Options)) (*ssm.UpdateDocumentMetadataOutput, error)); ok { @@ -4315,6 +4853,10 @@ func (_m *SSM) UpdateMaintenanceWindow(ctx context.Context, params *ssm.UpdateMa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateMaintenanceWindow") + } + var r0 *ssm.UpdateMaintenanceWindowOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateMaintenanceWindowInput, ...func(*ssm.Options)) (*ssm.UpdateMaintenanceWindowOutput, error)); ok { @@ -4348,6 +4890,10 @@ func (_m *SSM) UpdateMaintenanceWindowTarget(ctx context.Context, params *ssm.Up _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateMaintenanceWindowTarget") + } + var r0 *ssm.UpdateMaintenanceWindowTargetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateMaintenanceWindowTargetInput, ...func(*ssm.Options)) (*ssm.UpdateMaintenanceWindowTargetOutput, error)); ok { @@ -4381,6 +4927,10 @@ func (_m *SSM) UpdateMaintenanceWindowTask(ctx context.Context, params *ssm.Upda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateMaintenanceWindowTask") + } + var r0 *ssm.UpdateMaintenanceWindowTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateMaintenanceWindowTaskInput, ...func(*ssm.Options)) (*ssm.UpdateMaintenanceWindowTaskOutput, error)); ok { @@ -4414,6 +4964,10 @@ func (_m *SSM) UpdateManagedInstanceRole(ctx context.Context, params *ssm.Update _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateManagedInstanceRole") + } + var r0 *ssm.UpdateManagedInstanceRoleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateManagedInstanceRoleInput, ...func(*ssm.Options)) (*ssm.UpdateManagedInstanceRoleOutput, error)); ok { @@ -4447,6 +5001,10 @@ func (_m *SSM) UpdateOpsItem(ctx context.Context, params *ssm.UpdateOpsItemInput _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateOpsItem") + } + var r0 *ssm.UpdateOpsItemOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateOpsItemInput, ...func(*ssm.Options)) (*ssm.UpdateOpsItemOutput, error)); ok { @@ -4480,6 +5038,10 @@ func (_m *SSM) UpdateOpsMetadata(ctx context.Context, params *ssm.UpdateOpsMetad _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateOpsMetadata") + } + var r0 *ssm.UpdateOpsMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateOpsMetadataInput, ...func(*ssm.Options)) (*ssm.UpdateOpsMetadataOutput, error)); ok { @@ -4513,6 +5075,10 @@ func (_m *SSM) UpdatePatchBaseline(ctx context.Context, params *ssm.UpdatePatchB _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdatePatchBaseline") + } + var r0 *ssm.UpdatePatchBaselineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdatePatchBaselineInput, ...func(*ssm.Options)) (*ssm.UpdatePatchBaselineOutput, error)); ok { @@ -4546,6 +5112,10 @@ func (_m *SSM) UpdateResourceDataSync(ctx context.Context, params *ssm.UpdateRes _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateResourceDataSync") + } + var r0 *ssm.UpdateResourceDataSyncOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateResourceDataSyncInput, ...func(*ssm.Options)) (*ssm.UpdateResourceDataSyncOutput, error)); ok { @@ -4579,6 +5149,10 @@ func (_m *SSM) UpdateServiceSetting(ctx context.Context, params *ssm.UpdateServi _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateServiceSetting") + } + var r0 *ssm.UpdateServiceSettingOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *ssm.UpdateServiceSettingInput, ...func(*ssm.Options)) (*ssm.UpdateServiceSettingOutput, error)); ok { diff --git a/pkg/eks/mocksv2/STS.go b/pkg/eks/mocksv2/STS.go index 98f66be61c..775d1df9bd 100644 --- a/pkg/eks/mocksv2/STS.go +++ b/pkg/eks/mocksv2/STS.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.2. DO NOT EDIT. +// Code generated by mockery v2.38.0. DO NOT EDIT. package mocksv2 @@ -14,171 +14,6 @@ type STS struct { mock.Mock } -// AssumeRole provides a mock function with given fields: ctx, params, optFns -func (_m *STS) AssumeRole(ctx context.Context, params *sts.AssumeRoleInput, optFns ...func(*sts.Options)) (*sts.AssumeRoleOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.AssumeRoleOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleInput, ...func(*sts.Options)) (*sts.AssumeRoleOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleInput, ...func(*sts.Options)) *sts.AssumeRoleOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.AssumeRoleOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.AssumeRoleInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// AssumeRoleWithSAML provides a mock function with given fields: ctx, params, optFns -func (_m *STS) AssumeRoleWithSAML(ctx context.Context, params *sts.AssumeRoleWithSAMLInput, optFns ...func(*sts.Options)) (*sts.AssumeRoleWithSAMLOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.AssumeRoleWithSAMLOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleWithSAMLInput, ...func(*sts.Options)) (*sts.AssumeRoleWithSAMLOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleWithSAMLInput, ...func(*sts.Options)) *sts.AssumeRoleWithSAMLOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.AssumeRoleWithSAMLOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.AssumeRoleWithSAMLInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// AssumeRoleWithWebIdentity provides a mock function with given fields: ctx, params, optFns -func (_m *STS) AssumeRoleWithWebIdentity(ctx context.Context, params *sts.AssumeRoleWithWebIdentityInput, optFns ...func(*sts.Options)) (*sts.AssumeRoleWithWebIdentityOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.AssumeRoleWithWebIdentityOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleWithWebIdentityInput, ...func(*sts.Options)) (*sts.AssumeRoleWithWebIdentityOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.AssumeRoleWithWebIdentityInput, ...func(*sts.Options)) *sts.AssumeRoleWithWebIdentityOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.AssumeRoleWithWebIdentityOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.AssumeRoleWithWebIdentityInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// DecodeAuthorizationMessage provides a mock function with given fields: ctx, params, optFns -func (_m *STS) DecodeAuthorizationMessage(ctx context.Context, params *sts.DecodeAuthorizationMessageInput, optFns ...func(*sts.Options)) (*sts.DecodeAuthorizationMessageOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.DecodeAuthorizationMessageOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.DecodeAuthorizationMessageInput, ...func(*sts.Options)) (*sts.DecodeAuthorizationMessageOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.DecodeAuthorizationMessageInput, ...func(*sts.Options)) *sts.DecodeAuthorizationMessageOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.DecodeAuthorizationMessageOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.DecodeAuthorizationMessageInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// GetAccessKeyInfo provides a mock function with given fields: ctx, params, optFns -func (_m *STS) GetAccessKeyInfo(ctx context.Context, params *sts.GetAccessKeyInfoInput, optFns ...func(*sts.Options)) (*sts.GetAccessKeyInfoOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.GetAccessKeyInfoOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetAccessKeyInfoInput, ...func(*sts.Options)) (*sts.GetAccessKeyInfoOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetAccessKeyInfoInput, ...func(*sts.Options)) *sts.GetAccessKeyInfoOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.GetAccessKeyInfoOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.GetAccessKeyInfoInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - // GetCallerIdentity provides a mock function with given fields: ctx, params, optFns func (_m *STS) GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdentityInput, optFns ...func(*sts.Options)) (*sts.GetCallerIdentityOutput, error) { _va := make([]interface{}, len(optFns)) @@ -190,6 +25,10 @@ func (_m *STS) GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdent _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCallerIdentity") + } + var r0 *sts.GetCallerIdentityOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sts.GetCallerIdentityInput, ...func(*sts.Options)) (*sts.GetCallerIdentityOutput, error)); ok { @@ -212,72 +51,6 @@ func (_m *STS) GetCallerIdentity(ctx context.Context, params *sts.GetCallerIdent return r0, r1 } -// GetFederationToken provides a mock function with given fields: ctx, params, optFns -func (_m *STS) GetFederationToken(ctx context.Context, params *sts.GetFederationTokenInput, optFns ...func(*sts.Options)) (*sts.GetFederationTokenOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.GetFederationTokenOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetFederationTokenInput, ...func(*sts.Options)) (*sts.GetFederationTokenOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetFederationTokenInput, ...func(*sts.Options)) *sts.GetFederationTokenOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.GetFederationTokenOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.GetFederationTokenInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// GetSessionToken provides a mock function with given fields: ctx, params, optFns -func (_m *STS) GetSessionToken(ctx context.Context, params *sts.GetSessionTokenInput, optFns ...func(*sts.Options)) (*sts.GetSessionTokenOutput, error) { - _va := make([]interface{}, len(optFns)) - for _i := range optFns { - _va[_i] = optFns[_i] - } - var _ca []interface{} - _ca = append(_ca, ctx, params) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - - var r0 *sts.GetSessionTokenOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetSessionTokenInput, ...func(*sts.Options)) (*sts.GetSessionTokenOutput, error)); ok { - return rf(ctx, params, optFns...) - } - if rf, ok := ret.Get(0).(func(context.Context, *sts.GetSessionTokenInput, ...func(*sts.Options)) *sts.GetSessionTokenOutput); ok { - r0 = rf(ctx, params, optFns...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*sts.GetSessionTokenOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *sts.GetSessionTokenInput, ...func(*sts.Options)) error); ok { - r1 = rf(ctx, params, optFns...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - // NewSTS creates a new instance of STS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. // The first argument is typically a *testing.T value. func NewSTS(t interface { From 5552af2291f50b62f3369d6e5525bc06fd48c488 Mon Sep 17 00:00:00 2001 From: cpu1 Date: Thu, 14 Dec 2023 15:49:37 +0530 Subject: [PATCH 2/2] Update build image --- .github/workflows/release-candidate.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/update-generated.yaml | 2 +- Dockerfile | 2 +- build/docker/build_image_manifest | 4 ++-- build/docker/image_tag | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-candidate.yaml b/.github/workflows/release-candidate.yaml index 7df230f5d5..db9f7f8a4d 100644 --- a/.github/workflows/release-candidate.yaml +++ b/.github/workflows/release-candidate.yaml @@ -7,7 +7,7 @@ jobs: rc: name: Trigger release candidate build runs-on: ubuntu-latest - container: public.ecr.aws/eksctl/eksctl-build:122f96a51af49d1b322bbc7e6ce28858fb176ab7 + container: public.ecr.aws/eksctl/eksctl-build:c1ae010fa4b927d123afc6fdd7df07203aa40dd8 steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 271f0dd586..fc386a5f8a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,7 @@ jobs: rc: name: Trigger release build runs-on: ubuntu-latest - container: public.ecr.aws/eksctl/eksctl-build:122f96a51af49d1b322bbc7e6ce28858fb176ab7 + container: public.ecr.aws/eksctl/eksctl-build:c1ae010fa4b927d123afc6fdd7df07203aa40dd8 steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1 diff --git a/.github/workflows/update-generated.yaml b/.github/workflows/update-generated.yaml index b4d179f1b6..37bd932431 100644 --- a/.github/workflows/update-generated.yaml +++ b/.github/workflows/update-generated.yaml @@ -18,7 +18,7 @@ jobs: resource: ["coredns", "aws-node"] name: Update ${{ matrix.resource }} and open PR runs-on: ubuntu-latest - container: public.ecr.aws/eksctl/eksctl-build:122f96a51af49d1b322bbc7e6ce28858fb176ab7 + container: public.ecr.aws/eksctl/eksctl-build:c1ae010fa4b927d123afc6fdd7df07203aa40dd8 env: GOPRIVATE: "" steps: diff --git a/Dockerfile b/Dockerfile index 6824af0086..85d6978809 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_IMAGE=public.ecr.aws/eksctl/eksctl-build:122f96a51af49d1b322bbc7e6ce28858fb176ab7 +ARG BUILD_IMAGE=public.ecr.aws/eksctl/eksctl-build:c1ae010fa4b927d123afc6fdd7df07203aa40dd8 FROM $BUILD_IMAGE as build WORKDIR /src diff --git a/build/docker/build_image_manifest b/build/docker/build_image_manifest index 122f96a51a..c1ae010fa4 100644 --- a/build/docker/build_image_manifest +++ b/build/docker/build_image_manifest @@ -3,10 +3,10 @@ "github.com/cloudflare/cfssl v1.6.4" "github.com/golangci/golangci-lint v1.55.2" "github.com/goreleaser/goreleaser v1.11.5" -"github.com/onsi/ginkgo/v2 v2.13.0" +"github.com/onsi/ginkgo/v2 v2.13.2" "github.com/vektra/mockery/v2 v2.38.0" "github.com/github-release/github-release v0.10.0" -"golang.org/x/tools v0.14.0" +"golang.org/x/tools v0.16.1" "k8s.io/code-generator v0.25.11" "k8s.io/code-generator v0.25.11" "k8s.io/code-generator v0.25.11" diff --git a/build/docker/image_tag b/build/docker/image_tag index 8fd0b0f2d2..35bd178b0d 100644 --- a/build/docker/image_tag +++ b/build/docker/image_tag @@ -1 +1 @@ -122f96a51af49d1b322bbc7e6ce28858fb176ab7 +c1ae010fa4b927d123afc6fdd7df07203aa40dd8