From 00000007540438352d9068c5974d9fdd34ac3b02 Mon Sep 17 00:00:00 2001 From: Martins Irbe Date: Mon, 1 Jan 2024 20:38:33 +0000 Subject: [PATCH] Bump deps, migrate to uber mockgen + use github actions --- .circleci/config.yml | 58 -- .github/workflows/codecov.yml | 20 + .github/workflows/go-lint.yaml | 23 + .github/workflows/go-tests.yaml | 25 + LICENCE.md | 2 +- Makefile | 2 +- README.md | 1 - cmd/go-sms/main.go | 3 +- go.mod | 20 +- go.sum | 46 +- pkg/sms/mocks/sns.go | 1373 ++++++++++++++++++++++--------- pkg/sms/sender_test.go | 8 +- 12 files changed, 1066 insertions(+), 515 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/codecov.yml create mode 100644 .github/workflows/go-lint.yaml create mode 100644 .github/workflows/go-tests.yaml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 9468ce3..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,58 +0,0 @@ -version: 2.1 -orbs: - codecov: codecov/codecov@1.0.4 -jobs: - build: - docker: - - image: circleci/golang:1 - environment: - GO111MODULE: "on" - working_directory: /go/src/github.com/martinsirbe/go-sms - steps: - - checkout - - run: - name: Download project dependencies. - command: go mod download - - run: - name: Run golangci-lint. - command: | - GO111MODULE=on go get -v github.com/golangci/golangci-lint/cmd/golangci-lint - golangci-lint run -v - - run: - name: Run tests. - command: make tests - - codecov/upload: - file: coverage.txt - - setup_remote_docker: - version: 18.09.3 - - run: - name: Build a docker image. - command: | - docker build \ - -t martinsirbe/go-sms:$(git rev-parse --short $CIRCLE_SHA1) \ - -t martinsirbe/go-sms:latest \ - -f Dockerfile . - - run: - name: Push the docker image to docker hub. - command: | - echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin - docker push martinsirbe/go-sms:$(git rev-parse --short $CIRCLE_SHA1) - docker push martinsirbe/go-sms:latest -workflows: - version: 2 - commit: - jobs: - - build: - filters: - branches: - only: master - periodic-build: - triggers: - - schedule: - cron: "0 0 * * 0" - filters: - branches: - only: - - master - jobs: - - build diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 00000000..50c1d00 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,20 @@ +name: Codecov +on: [push, pull_request] +jobs: + build: + name: Check Test Coverage + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.21 + - name: Test & Coverage + run: go test ./... -coverprofile=coverage.txt + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + file: ./coverage.txt + flags: unittests + name: codecov-umbrella diff --git a/.github/workflows/go-lint.yaml b/.github/workflows/go-lint.yaml new file mode 100644 index 00000000..71d941d --- /dev/null +++ b/.github/workflows/go-lint.yaml @@ -0,0 +1,23 @@ +name: Linter + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Lint Go code + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.21' + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.55 diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml new file mode 100644 index 00000000..8131dbf --- /dev/null +++ b/.github/workflows/go-tests.yaml @@ -0,0 +1,25 @@ +name: Tests + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Run Go tests + runs-on: ubuntu-latest + steps: + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.21' + - name: Check out code + uses: actions/checkout@v4 + - name: Get dependencies + run: go mod download + - name: Run tests + run: go test ./... diff --git a/LICENCE.md b/LICENCE.md index 6403f25..b0ff0c9 100644 --- a/LICENCE.md +++ b/LICENCE.md @@ -1,4 +1,4 @@ -Copyright (c) 2019 Martins Irbe +Copyright (c) 2024 Martins Irbe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/Makefile b/Makefile index 8999d55..a247460 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PROJECT_NAME := go-sms -GOLANGCI_LINT_VER := v1.24 +GOLANGCI_LINT_VER := v1.55 .PHONY: go-gen go-gen: diff --git a/README.md b/README.md index c771ab3..2b9c2f7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ A simple app for sending Short Message Service (SMS) text messages using AWS Sim [![Go Report Card](https://goreportcard.com/badge/github.com/martinsirbe/go-sms)](https://goreportcard.com/report/github.com/martinsirbe/go-sms) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmartinsirbe%2Fgo-sms.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fmartinsirbe%2Fgo-sms?ref=badge_shield) [![codecov](https://codecov.io/gh/martinsirbe/go-sms/branch/master/graph/badge.svg)](https://codecov.io/gh/martinsirbe/go-sms) -[![CircleCI](https://circleci.com/gh/martinsirbe/go-sms/tree/master.svg?style=svg)](https://circleci.com/gh/martinsirbe/go-sms/tree/master) ## Build diff --git a/cmd/go-sms/main.go b/cmd/go-sms/main.go index 48b5941..e7ed6aa 100644 --- a/cmd/go-sms/main.go +++ b/cmd/go-sms/main.go @@ -1,7 +1,6 @@ package main import ( - "io/ioutil" "os" cli "github.com/jawher/mow.cli" @@ -42,7 +41,7 @@ func main() { }) app.Action = func() { - configFile, err := ioutil.ReadFile(*configPath) + configFile, err := os.ReadFile(*configPath) if err != nil { log.WithError(err).Fatal("failed to load go-sms config.yaml") } diff --git a/go.mod b/go.mod index 9577c89..97a15ae 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,21 @@ module github.com/martinsirbe/go-sms -go 1.15 +go 1.21 require ( - github.com/aws/aws-sdk-go v1.36.2 - github.com/golang/mock v1.4.4 + github.com/aws/aws-sdk-go v1.49.13 github.com/jawher/mow.cli v1.2.0 github.com/pkg/errors v0.9.1 - github.com/sirupsen/logrus v1.7.0 - github.com/stretchr/testify v1.6.1 - golang.org/x/sys v0.0.0-20201202213521-69691e467435 // indirect + github.com/sirupsen/logrus v1.9.3 + github.com/stretchr/testify v1.8.4 + go.uber.org/mock v0.4.0 + gopkg.in/yaml.v3 v3.0.1 +) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + golang.org/x/sys v0.15.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 ) diff --git a/go.sum b/go.sum index 024c98e..26da014 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,8 @@ -github.com/aws/aws-sdk-go v1.36.2 h1:UAeFPct+jHqWM+tgiqDrC9/sfbWj6wkcvpsJ+zdcsvA= -github.com/aws/aws-sdk-go v1.36.2/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.49.13 h1:f4mGztsgnx2dR9r8FQYa9YW/RsKb+N7bgef4UGrOW1Y= +github.com/aws/aws-sdk-go v1.49.13/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/golang/mock v1.4.4 h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/jawher/mow.cli v1.2.0 h1:e6ViPPy+82A/NFF/cfbq3Lr6q4JHKT9tyHwTCcUQgQw= github.com/jawher/mow.cli v1.2.0/go.mod h1:y+pcA3jBAdo/GIZx/0rFjw/K2bVEODP9rfZOfaiq8Ko= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= @@ -15,43 +13,27 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b h1:uwuIcX0g4Yl1NC5XAz37xsr2lTtcqevgzYNVt49waME= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201202213521-69691e467435 h1:25AvDqqB9PrNqj1FLf2/70I4W0L19qqoaFq3gjNwbKk= -golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU= +go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/pkg/sms/mocks/sns.go b/pkg/sms/mocks/sns.go index 4e37b50..95a94bb 100644 --- a/pkg/sms/mocks/sns.go +++ b/pkg/sms/mocks/sns.go @@ -1,41 +1,47 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/aws/aws-sdk-go/service/sns/snsiface (interfaces: SNSAPI) +// +// Generated by this command: +// +// mockgen -package=mocks -destination=mocks/sns.go github.com/aws/aws-sdk-go/service/sns/snsiface SNSAPI +// // Package mocks is a generated GoMock package. package mocks import ( context "context" + reflect "reflect" + request "github.com/aws/aws-sdk-go/aws/request" sns "github.com/aws/aws-sdk-go/service/sns" - gomock "github.com/golang/mock/gomock" - reflect "reflect" + gomock "go.uber.org/mock/gomock" ) -// MockSNSAPI is a mock of SNSAPI interface +// MockSNSAPI is a mock of SNSAPI interface. type MockSNSAPI struct { ctrl *gomock.Controller recorder *MockSNSAPIMockRecorder } -// MockSNSAPIMockRecorder is the mock recorder for MockSNSAPI +// MockSNSAPIMockRecorder is the mock recorder for MockSNSAPI. type MockSNSAPIMockRecorder struct { mock *MockSNSAPI } -// NewMockSNSAPI creates a new mock instance +// NewMockSNSAPI creates a new mock instance. func NewMockSNSAPI(ctrl *gomock.Controller) *MockSNSAPI { mock := &MockSNSAPI{ctrl: ctrl} mock.recorder = &MockSNSAPIMockRecorder{mock} return mock } -// EXPECT returns an object that allows the caller to indicate expected use +// EXPECT returns an object that allows the caller to indicate expected use. func (m *MockSNSAPI) EXPECT() *MockSNSAPIMockRecorder { return m.recorder } -// AddPermission mocks base method +// AddPermission mocks base method. func (m *MockSNSAPI) AddPermission(arg0 *sns.AddPermissionInput) (*sns.AddPermissionOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AddPermission", arg0) @@ -44,13 +50,13 @@ func (m *MockSNSAPI) AddPermission(arg0 *sns.AddPermissionInput) (*sns.AddPermis return ret0, ret1 } -// AddPermission indicates an expected call of AddPermission -func (mr *MockSNSAPIMockRecorder) AddPermission(arg0 interface{}) *gomock.Call { +// AddPermission indicates an expected call of AddPermission. +func (mr *MockSNSAPIMockRecorder) AddPermission(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPermission", reflect.TypeOf((*MockSNSAPI)(nil).AddPermission), arg0) } -// AddPermissionRequest mocks base method +// AddPermissionRequest mocks base method. func (m *MockSNSAPI) AddPermissionRequest(arg0 *sns.AddPermissionInput) (*request.Request, *sns.AddPermissionOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "AddPermissionRequest", arg0) @@ -59,16 +65,16 @@ func (m *MockSNSAPI) AddPermissionRequest(arg0 *sns.AddPermissionInput) (*reques return ret0, ret1 } -// AddPermissionRequest indicates an expected call of AddPermissionRequest -func (mr *MockSNSAPIMockRecorder) AddPermissionRequest(arg0 interface{}) *gomock.Call { +// AddPermissionRequest indicates an expected call of AddPermissionRequest. +func (mr *MockSNSAPIMockRecorder) AddPermissionRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPermissionRequest", reflect.TypeOf((*MockSNSAPI)(nil).AddPermissionRequest), arg0) } -// AddPermissionWithContext mocks base method +// AddPermissionWithContext mocks base method. func (m *MockSNSAPI) AddPermissionWithContext(arg0 context.Context, arg1 *sns.AddPermissionInput, arg2 ...request.Option) (*sns.AddPermissionOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -78,14 +84,14 @@ func (m *MockSNSAPI) AddPermissionWithContext(arg0 context.Context, arg1 *sns.Ad return ret0, ret1 } -// AddPermissionWithContext indicates an expected call of AddPermissionWithContext -func (mr *MockSNSAPIMockRecorder) AddPermissionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// AddPermissionWithContext indicates an expected call of AddPermissionWithContext. +func (mr *MockSNSAPIMockRecorder) AddPermissionWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPermissionWithContext", reflect.TypeOf((*MockSNSAPI)(nil).AddPermissionWithContext), varargs...) } -// CheckIfPhoneNumberIsOptedOut mocks base method +// CheckIfPhoneNumberIsOptedOut mocks base method. func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOut(arg0 *sns.CheckIfPhoneNumberIsOptedOutInput) (*sns.CheckIfPhoneNumberIsOptedOutOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CheckIfPhoneNumberIsOptedOut", arg0) @@ -94,13 +100,13 @@ func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOut(arg0 *sns.CheckIfPhoneNumberIs return ret0, ret1 } -// CheckIfPhoneNumberIsOptedOut indicates an expected call of CheckIfPhoneNumberIsOptedOut -func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOut(arg0 interface{}) *gomock.Call { +// CheckIfPhoneNumberIsOptedOut indicates an expected call of CheckIfPhoneNumberIsOptedOut. +func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOut(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckIfPhoneNumberIsOptedOut", reflect.TypeOf((*MockSNSAPI)(nil).CheckIfPhoneNumberIsOptedOut), arg0) } -// CheckIfPhoneNumberIsOptedOutRequest mocks base method +// CheckIfPhoneNumberIsOptedOutRequest mocks base method. func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOutRequest(arg0 *sns.CheckIfPhoneNumberIsOptedOutInput) (*request.Request, *sns.CheckIfPhoneNumberIsOptedOutOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CheckIfPhoneNumberIsOptedOutRequest", arg0) @@ -109,16 +115,16 @@ func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOutRequest(arg0 *sns.CheckIfPhoneN return ret0, ret1 } -// CheckIfPhoneNumberIsOptedOutRequest indicates an expected call of CheckIfPhoneNumberIsOptedOutRequest -func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOutRequest(arg0 interface{}) *gomock.Call { +// CheckIfPhoneNumberIsOptedOutRequest indicates an expected call of CheckIfPhoneNumberIsOptedOutRequest. +func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOutRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckIfPhoneNumberIsOptedOutRequest", reflect.TypeOf((*MockSNSAPI)(nil).CheckIfPhoneNumberIsOptedOutRequest), arg0) } -// CheckIfPhoneNumberIsOptedOutWithContext mocks base method +// CheckIfPhoneNumberIsOptedOutWithContext mocks base method. func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOutWithContext(arg0 context.Context, arg1 *sns.CheckIfPhoneNumberIsOptedOutInput, arg2 ...request.Option) (*sns.CheckIfPhoneNumberIsOptedOutOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -128,14 +134,14 @@ func (m *MockSNSAPI) CheckIfPhoneNumberIsOptedOutWithContext(arg0 context.Contex return ret0, ret1 } -// CheckIfPhoneNumberIsOptedOutWithContext indicates an expected call of CheckIfPhoneNumberIsOptedOutWithContext -func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOutWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// CheckIfPhoneNumberIsOptedOutWithContext indicates an expected call of CheckIfPhoneNumberIsOptedOutWithContext. +func (mr *MockSNSAPIMockRecorder) CheckIfPhoneNumberIsOptedOutWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckIfPhoneNumberIsOptedOutWithContext", reflect.TypeOf((*MockSNSAPI)(nil).CheckIfPhoneNumberIsOptedOutWithContext), varargs...) } -// ConfirmSubscription mocks base method +// ConfirmSubscription mocks base method. func (m *MockSNSAPI) ConfirmSubscription(arg0 *sns.ConfirmSubscriptionInput) (*sns.ConfirmSubscriptionOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ConfirmSubscription", arg0) @@ -144,13 +150,13 @@ func (m *MockSNSAPI) ConfirmSubscription(arg0 *sns.ConfirmSubscriptionInput) (*s return ret0, ret1 } -// ConfirmSubscription indicates an expected call of ConfirmSubscription -func (mr *MockSNSAPIMockRecorder) ConfirmSubscription(arg0 interface{}) *gomock.Call { +// ConfirmSubscription indicates an expected call of ConfirmSubscription. +func (mr *MockSNSAPIMockRecorder) ConfirmSubscription(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfirmSubscription", reflect.TypeOf((*MockSNSAPI)(nil).ConfirmSubscription), arg0) } -// ConfirmSubscriptionRequest mocks base method +// ConfirmSubscriptionRequest mocks base method. func (m *MockSNSAPI) ConfirmSubscriptionRequest(arg0 *sns.ConfirmSubscriptionInput) (*request.Request, *sns.ConfirmSubscriptionOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ConfirmSubscriptionRequest", arg0) @@ -159,16 +165,16 @@ func (m *MockSNSAPI) ConfirmSubscriptionRequest(arg0 *sns.ConfirmSubscriptionInp return ret0, ret1 } -// ConfirmSubscriptionRequest indicates an expected call of ConfirmSubscriptionRequest -func (mr *MockSNSAPIMockRecorder) ConfirmSubscriptionRequest(arg0 interface{}) *gomock.Call { +// ConfirmSubscriptionRequest indicates an expected call of ConfirmSubscriptionRequest. +func (mr *MockSNSAPIMockRecorder) ConfirmSubscriptionRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfirmSubscriptionRequest", reflect.TypeOf((*MockSNSAPI)(nil).ConfirmSubscriptionRequest), arg0) } -// ConfirmSubscriptionWithContext mocks base method +// ConfirmSubscriptionWithContext mocks base method. func (m *MockSNSAPI) ConfirmSubscriptionWithContext(arg0 context.Context, arg1 *sns.ConfirmSubscriptionInput, arg2 ...request.Option) (*sns.ConfirmSubscriptionOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -178,14 +184,14 @@ func (m *MockSNSAPI) ConfirmSubscriptionWithContext(arg0 context.Context, arg1 * return ret0, ret1 } -// ConfirmSubscriptionWithContext indicates an expected call of ConfirmSubscriptionWithContext -func (mr *MockSNSAPIMockRecorder) ConfirmSubscriptionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ConfirmSubscriptionWithContext indicates an expected call of ConfirmSubscriptionWithContext. +func (mr *MockSNSAPIMockRecorder) ConfirmSubscriptionWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfirmSubscriptionWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ConfirmSubscriptionWithContext), varargs...) } -// CreatePlatformApplication mocks base method +// CreatePlatformApplication mocks base method. func (m *MockSNSAPI) CreatePlatformApplication(arg0 *sns.CreatePlatformApplicationInput) (*sns.CreatePlatformApplicationOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreatePlatformApplication", arg0) @@ -194,13 +200,13 @@ func (m *MockSNSAPI) CreatePlatformApplication(arg0 *sns.CreatePlatformApplicati return ret0, ret1 } -// CreatePlatformApplication indicates an expected call of CreatePlatformApplication -func (mr *MockSNSAPIMockRecorder) CreatePlatformApplication(arg0 interface{}) *gomock.Call { +// CreatePlatformApplication indicates an expected call of CreatePlatformApplication. +func (mr *MockSNSAPIMockRecorder) CreatePlatformApplication(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformApplication", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformApplication), arg0) } -// CreatePlatformApplicationRequest mocks base method +// CreatePlatformApplicationRequest mocks base method. func (m *MockSNSAPI) CreatePlatformApplicationRequest(arg0 *sns.CreatePlatformApplicationInput) (*request.Request, *sns.CreatePlatformApplicationOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreatePlatformApplicationRequest", arg0) @@ -209,16 +215,16 @@ func (m *MockSNSAPI) CreatePlatformApplicationRequest(arg0 *sns.CreatePlatformAp return ret0, ret1 } -// CreatePlatformApplicationRequest indicates an expected call of CreatePlatformApplicationRequest -func (mr *MockSNSAPIMockRecorder) CreatePlatformApplicationRequest(arg0 interface{}) *gomock.Call { +// CreatePlatformApplicationRequest indicates an expected call of CreatePlatformApplicationRequest. +func (mr *MockSNSAPIMockRecorder) CreatePlatformApplicationRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformApplicationRequest", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformApplicationRequest), arg0) } -// CreatePlatformApplicationWithContext mocks base method +// CreatePlatformApplicationWithContext mocks base method. func (m *MockSNSAPI) CreatePlatformApplicationWithContext(arg0 context.Context, arg1 *sns.CreatePlatformApplicationInput, arg2 ...request.Option) (*sns.CreatePlatformApplicationOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -228,14 +234,14 @@ func (m *MockSNSAPI) CreatePlatformApplicationWithContext(arg0 context.Context, return ret0, ret1 } -// CreatePlatformApplicationWithContext indicates an expected call of CreatePlatformApplicationWithContext -func (mr *MockSNSAPIMockRecorder) CreatePlatformApplicationWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// CreatePlatformApplicationWithContext indicates an expected call of CreatePlatformApplicationWithContext. +func (mr *MockSNSAPIMockRecorder) CreatePlatformApplicationWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformApplicationWithContext", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformApplicationWithContext), varargs...) } -// CreatePlatformEndpoint mocks base method +// CreatePlatformEndpoint mocks base method. func (m *MockSNSAPI) CreatePlatformEndpoint(arg0 *sns.CreatePlatformEndpointInput) (*sns.CreatePlatformEndpointOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreatePlatformEndpoint", arg0) @@ -244,13 +250,13 @@ func (m *MockSNSAPI) CreatePlatformEndpoint(arg0 *sns.CreatePlatformEndpointInpu return ret0, ret1 } -// CreatePlatformEndpoint indicates an expected call of CreatePlatformEndpoint -func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpoint(arg0 interface{}) *gomock.Call { +// CreatePlatformEndpoint indicates an expected call of CreatePlatformEndpoint. +func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpoint(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformEndpoint", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformEndpoint), arg0) } -// CreatePlatformEndpointRequest mocks base method +// CreatePlatformEndpointRequest mocks base method. func (m *MockSNSAPI) CreatePlatformEndpointRequest(arg0 *sns.CreatePlatformEndpointInput) (*request.Request, *sns.CreatePlatformEndpointOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreatePlatformEndpointRequest", arg0) @@ -259,16 +265,16 @@ func (m *MockSNSAPI) CreatePlatformEndpointRequest(arg0 *sns.CreatePlatformEndpo return ret0, ret1 } -// CreatePlatformEndpointRequest indicates an expected call of CreatePlatformEndpointRequest -func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpointRequest(arg0 interface{}) *gomock.Call { +// CreatePlatformEndpointRequest indicates an expected call of CreatePlatformEndpointRequest. +func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpointRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformEndpointRequest", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformEndpointRequest), arg0) } -// CreatePlatformEndpointWithContext mocks base method +// CreatePlatformEndpointWithContext mocks base method. func (m *MockSNSAPI) CreatePlatformEndpointWithContext(arg0 context.Context, arg1 *sns.CreatePlatformEndpointInput, arg2 ...request.Option) (*sns.CreatePlatformEndpointOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -278,14 +284,64 @@ func (m *MockSNSAPI) CreatePlatformEndpointWithContext(arg0 context.Context, arg return ret0, ret1 } -// CreatePlatformEndpointWithContext indicates an expected call of CreatePlatformEndpointWithContext -func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// CreatePlatformEndpointWithContext indicates an expected call of CreatePlatformEndpointWithContext. +func (mr *MockSNSAPIMockRecorder) CreatePlatformEndpointWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePlatformEndpointWithContext", reflect.TypeOf((*MockSNSAPI)(nil).CreatePlatformEndpointWithContext), varargs...) } -// CreateTopic mocks base method +// CreateSMSSandboxPhoneNumber mocks base method. +func (m *MockSNSAPI) CreateSMSSandboxPhoneNumber(arg0 *sns.CreateSMSSandboxPhoneNumberInput) (*sns.CreateSMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateSMSSandboxPhoneNumber", arg0) + ret0, _ := ret[0].(*sns.CreateSMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateSMSSandboxPhoneNumber indicates an expected call of CreateSMSSandboxPhoneNumber. +func (mr *MockSNSAPIMockRecorder) CreateSMSSandboxPhoneNumber(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSMSSandboxPhoneNumber", reflect.TypeOf((*MockSNSAPI)(nil).CreateSMSSandboxPhoneNumber), arg0) +} + +// CreateSMSSandboxPhoneNumberRequest mocks base method. +func (m *MockSNSAPI) CreateSMSSandboxPhoneNumberRequest(arg0 *sns.CreateSMSSandboxPhoneNumberInput) (*request.Request, *sns.CreateSMSSandboxPhoneNumberOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CreateSMSSandboxPhoneNumberRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.CreateSMSSandboxPhoneNumberOutput) + return ret0, ret1 +} + +// CreateSMSSandboxPhoneNumberRequest indicates an expected call of CreateSMSSandboxPhoneNumberRequest. +func (mr *MockSNSAPIMockRecorder) CreateSMSSandboxPhoneNumberRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSMSSandboxPhoneNumberRequest", reflect.TypeOf((*MockSNSAPI)(nil).CreateSMSSandboxPhoneNumberRequest), arg0) +} + +// CreateSMSSandboxPhoneNumberWithContext mocks base method. +func (m *MockSNSAPI) CreateSMSSandboxPhoneNumberWithContext(arg0 context.Context, arg1 *sns.CreateSMSSandboxPhoneNumberInput, arg2 ...request.Option) (*sns.CreateSMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "CreateSMSSandboxPhoneNumberWithContext", varargs...) + ret0, _ := ret[0].(*sns.CreateSMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// CreateSMSSandboxPhoneNumberWithContext indicates an expected call of CreateSMSSandboxPhoneNumberWithContext. +func (mr *MockSNSAPIMockRecorder) CreateSMSSandboxPhoneNumberWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSMSSandboxPhoneNumberWithContext", reflect.TypeOf((*MockSNSAPI)(nil).CreateSMSSandboxPhoneNumberWithContext), varargs...) +} + +// CreateTopic mocks base method. func (m *MockSNSAPI) CreateTopic(arg0 *sns.CreateTopicInput) (*sns.CreateTopicOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateTopic", arg0) @@ -294,13 +350,13 @@ func (m *MockSNSAPI) CreateTopic(arg0 *sns.CreateTopicInput) (*sns.CreateTopicOu return ret0, ret1 } -// CreateTopic indicates an expected call of CreateTopic -func (mr *MockSNSAPIMockRecorder) CreateTopic(arg0 interface{}) *gomock.Call { +// CreateTopic indicates an expected call of CreateTopic. +func (mr *MockSNSAPIMockRecorder) CreateTopic(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTopic", reflect.TypeOf((*MockSNSAPI)(nil).CreateTopic), arg0) } -// CreateTopicRequest mocks base method +// CreateTopicRequest mocks base method. func (m *MockSNSAPI) CreateTopicRequest(arg0 *sns.CreateTopicInput) (*request.Request, *sns.CreateTopicOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateTopicRequest", arg0) @@ -309,16 +365,16 @@ func (m *MockSNSAPI) CreateTopicRequest(arg0 *sns.CreateTopicInput) (*request.Re return ret0, ret1 } -// CreateTopicRequest indicates an expected call of CreateTopicRequest -func (mr *MockSNSAPIMockRecorder) CreateTopicRequest(arg0 interface{}) *gomock.Call { +// CreateTopicRequest indicates an expected call of CreateTopicRequest. +func (mr *MockSNSAPIMockRecorder) CreateTopicRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTopicRequest", reflect.TypeOf((*MockSNSAPI)(nil).CreateTopicRequest), arg0) } -// CreateTopicWithContext mocks base method +// CreateTopicWithContext mocks base method. func (m *MockSNSAPI) CreateTopicWithContext(arg0 context.Context, arg1 *sns.CreateTopicInput, arg2 ...request.Option) (*sns.CreateTopicOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -328,14 +384,14 @@ func (m *MockSNSAPI) CreateTopicWithContext(arg0 context.Context, arg1 *sns.Crea return ret0, ret1 } -// CreateTopicWithContext indicates an expected call of CreateTopicWithContext -func (mr *MockSNSAPIMockRecorder) CreateTopicWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// CreateTopicWithContext indicates an expected call of CreateTopicWithContext. +func (mr *MockSNSAPIMockRecorder) CreateTopicWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateTopicWithContext", reflect.TypeOf((*MockSNSAPI)(nil).CreateTopicWithContext), varargs...) } -// DeleteEndpoint mocks base method +// DeleteEndpoint mocks base method. func (m *MockSNSAPI) DeleteEndpoint(arg0 *sns.DeleteEndpointInput) (*sns.DeleteEndpointOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteEndpoint", arg0) @@ -344,13 +400,13 @@ func (m *MockSNSAPI) DeleteEndpoint(arg0 *sns.DeleteEndpointInput) (*sns.DeleteE return ret0, ret1 } -// DeleteEndpoint indicates an expected call of DeleteEndpoint -func (mr *MockSNSAPIMockRecorder) DeleteEndpoint(arg0 interface{}) *gomock.Call { +// DeleteEndpoint indicates an expected call of DeleteEndpoint. +func (mr *MockSNSAPIMockRecorder) DeleteEndpoint(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEndpoint", reflect.TypeOf((*MockSNSAPI)(nil).DeleteEndpoint), arg0) } -// DeleteEndpointRequest mocks base method +// DeleteEndpointRequest mocks base method. func (m *MockSNSAPI) DeleteEndpointRequest(arg0 *sns.DeleteEndpointInput) (*request.Request, *sns.DeleteEndpointOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteEndpointRequest", arg0) @@ -359,16 +415,16 @@ func (m *MockSNSAPI) DeleteEndpointRequest(arg0 *sns.DeleteEndpointInput) (*requ return ret0, ret1 } -// DeleteEndpointRequest indicates an expected call of DeleteEndpointRequest -func (mr *MockSNSAPIMockRecorder) DeleteEndpointRequest(arg0 interface{}) *gomock.Call { +// DeleteEndpointRequest indicates an expected call of DeleteEndpointRequest. +func (mr *MockSNSAPIMockRecorder) DeleteEndpointRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEndpointRequest", reflect.TypeOf((*MockSNSAPI)(nil).DeleteEndpointRequest), arg0) } -// DeleteEndpointWithContext mocks base method +// DeleteEndpointWithContext mocks base method. func (m *MockSNSAPI) DeleteEndpointWithContext(arg0 context.Context, arg1 *sns.DeleteEndpointInput, arg2 ...request.Option) (*sns.DeleteEndpointOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -378,14 +434,14 @@ func (m *MockSNSAPI) DeleteEndpointWithContext(arg0 context.Context, arg1 *sns.D return ret0, ret1 } -// DeleteEndpointWithContext indicates an expected call of DeleteEndpointWithContext -func (mr *MockSNSAPIMockRecorder) DeleteEndpointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// DeleteEndpointWithContext indicates an expected call of DeleteEndpointWithContext. +func (mr *MockSNSAPIMockRecorder) DeleteEndpointWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEndpointWithContext", reflect.TypeOf((*MockSNSAPI)(nil).DeleteEndpointWithContext), varargs...) } -// DeletePlatformApplication mocks base method +// DeletePlatformApplication mocks base method. func (m *MockSNSAPI) DeletePlatformApplication(arg0 *sns.DeletePlatformApplicationInput) (*sns.DeletePlatformApplicationOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeletePlatformApplication", arg0) @@ -394,13 +450,13 @@ func (m *MockSNSAPI) DeletePlatformApplication(arg0 *sns.DeletePlatformApplicati return ret0, ret1 } -// DeletePlatformApplication indicates an expected call of DeletePlatformApplication -func (mr *MockSNSAPIMockRecorder) DeletePlatformApplication(arg0 interface{}) *gomock.Call { +// DeletePlatformApplication indicates an expected call of DeletePlatformApplication. +func (mr *MockSNSAPIMockRecorder) DeletePlatformApplication(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePlatformApplication", reflect.TypeOf((*MockSNSAPI)(nil).DeletePlatformApplication), arg0) } -// DeletePlatformApplicationRequest mocks base method +// DeletePlatformApplicationRequest mocks base method. func (m *MockSNSAPI) DeletePlatformApplicationRequest(arg0 *sns.DeletePlatformApplicationInput) (*request.Request, *sns.DeletePlatformApplicationOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeletePlatformApplicationRequest", arg0) @@ -409,16 +465,16 @@ func (m *MockSNSAPI) DeletePlatformApplicationRequest(arg0 *sns.DeletePlatformAp return ret0, ret1 } -// DeletePlatformApplicationRequest indicates an expected call of DeletePlatformApplicationRequest -func (mr *MockSNSAPIMockRecorder) DeletePlatformApplicationRequest(arg0 interface{}) *gomock.Call { +// DeletePlatformApplicationRequest indicates an expected call of DeletePlatformApplicationRequest. +func (mr *MockSNSAPIMockRecorder) DeletePlatformApplicationRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePlatformApplicationRequest", reflect.TypeOf((*MockSNSAPI)(nil).DeletePlatformApplicationRequest), arg0) } -// DeletePlatformApplicationWithContext mocks base method +// DeletePlatformApplicationWithContext mocks base method. func (m *MockSNSAPI) DeletePlatformApplicationWithContext(arg0 context.Context, arg1 *sns.DeletePlatformApplicationInput, arg2 ...request.Option) (*sns.DeletePlatformApplicationOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -428,14 +484,64 @@ func (m *MockSNSAPI) DeletePlatformApplicationWithContext(arg0 context.Context, return ret0, ret1 } -// DeletePlatformApplicationWithContext indicates an expected call of DeletePlatformApplicationWithContext -func (mr *MockSNSAPIMockRecorder) DeletePlatformApplicationWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// DeletePlatformApplicationWithContext indicates an expected call of DeletePlatformApplicationWithContext. +func (mr *MockSNSAPIMockRecorder) DeletePlatformApplicationWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePlatformApplicationWithContext", reflect.TypeOf((*MockSNSAPI)(nil).DeletePlatformApplicationWithContext), varargs...) } -// DeleteTopic mocks base method +// DeleteSMSSandboxPhoneNumber mocks base method. +func (m *MockSNSAPI) DeleteSMSSandboxPhoneNumber(arg0 *sns.DeleteSMSSandboxPhoneNumberInput) (*sns.DeleteSMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteSMSSandboxPhoneNumber", arg0) + ret0, _ := ret[0].(*sns.DeleteSMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteSMSSandboxPhoneNumber indicates an expected call of DeleteSMSSandboxPhoneNumber. +func (mr *MockSNSAPIMockRecorder) DeleteSMSSandboxPhoneNumber(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSMSSandboxPhoneNumber", reflect.TypeOf((*MockSNSAPI)(nil).DeleteSMSSandboxPhoneNumber), arg0) +} + +// DeleteSMSSandboxPhoneNumberRequest mocks base method. +func (m *MockSNSAPI) DeleteSMSSandboxPhoneNumberRequest(arg0 *sns.DeleteSMSSandboxPhoneNumberInput) (*request.Request, *sns.DeleteSMSSandboxPhoneNumberOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DeleteSMSSandboxPhoneNumberRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.DeleteSMSSandboxPhoneNumberOutput) + return ret0, ret1 +} + +// DeleteSMSSandboxPhoneNumberRequest indicates an expected call of DeleteSMSSandboxPhoneNumberRequest. +func (mr *MockSNSAPIMockRecorder) DeleteSMSSandboxPhoneNumberRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSMSSandboxPhoneNumberRequest", reflect.TypeOf((*MockSNSAPI)(nil).DeleteSMSSandboxPhoneNumberRequest), arg0) +} + +// DeleteSMSSandboxPhoneNumberWithContext mocks base method. +func (m *MockSNSAPI) DeleteSMSSandboxPhoneNumberWithContext(arg0 context.Context, arg1 *sns.DeleteSMSSandboxPhoneNumberInput, arg2 ...request.Option) (*sns.DeleteSMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "DeleteSMSSandboxPhoneNumberWithContext", varargs...) + ret0, _ := ret[0].(*sns.DeleteSMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DeleteSMSSandboxPhoneNumberWithContext indicates an expected call of DeleteSMSSandboxPhoneNumberWithContext. +func (mr *MockSNSAPIMockRecorder) DeleteSMSSandboxPhoneNumberWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSMSSandboxPhoneNumberWithContext", reflect.TypeOf((*MockSNSAPI)(nil).DeleteSMSSandboxPhoneNumberWithContext), varargs...) +} + +// DeleteTopic mocks base method. func (m *MockSNSAPI) DeleteTopic(arg0 *sns.DeleteTopicInput) (*sns.DeleteTopicOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteTopic", arg0) @@ -444,13 +550,13 @@ func (m *MockSNSAPI) DeleteTopic(arg0 *sns.DeleteTopicInput) (*sns.DeleteTopicOu return ret0, ret1 } -// DeleteTopic indicates an expected call of DeleteTopic -func (mr *MockSNSAPIMockRecorder) DeleteTopic(arg0 interface{}) *gomock.Call { +// DeleteTopic indicates an expected call of DeleteTopic. +func (mr *MockSNSAPIMockRecorder) DeleteTopic(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTopic", reflect.TypeOf((*MockSNSAPI)(nil).DeleteTopic), arg0) } -// DeleteTopicRequest mocks base method +// DeleteTopicRequest mocks base method. func (m *MockSNSAPI) DeleteTopicRequest(arg0 *sns.DeleteTopicInput) (*request.Request, *sns.DeleteTopicOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteTopicRequest", arg0) @@ -459,16 +565,16 @@ func (m *MockSNSAPI) DeleteTopicRequest(arg0 *sns.DeleteTopicInput) (*request.Re return ret0, ret1 } -// DeleteTopicRequest indicates an expected call of DeleteTopicRequest -func (mr *MockSNSAPIMockRecorder) DeleteTopicRequest(arg0 interface{}) *gomock.Call { +// DeleteTopicRequest indicates an expected call of DeleteTopicRequest. +func (mr *MockSNSAPIMockRecorder) DeleteTopicRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTopicRequest", reflect.TypeOf((*MockSNSAPI)(nil).DeleteTopicRequest), arg0) } -// DeleteTopicWithContext mocks base method +// DeleteTopicWithContext mocks base method. func (m *MockSNSAPI) DeleteTopicWithContext(arg0 context.Context, arg1 *sns.DeleteTopicInput, arg2 ...request.Option) (*sns.DeleteTopicOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -478,14 +584,64 @@ func (m *MockSNSAPI) DeleteTopicWithContext(arg0 context.Context, arg1 *sns.Dele return ret0, ret1 } -// DeleteTopicWithContext indicates an expected call of DeleteTopicWithContext -func (mr *MockSNSAPIMockRecorder) DeleteTopicWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// DeleteTopicWithContext indicates an expected call of DeleteTopicWithContext. +func (mr *MockSNSAPIMockRecorder) DeleteTopicWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTopicWithContext", reflect.TypeOf((*MockSNSAPI)(nil).DeleteTopicWithContext), varargs...) } -// GetEndpointAttributes mocks base method +// GetDataProtectionPolicy mocks base method. +func (m *MockSNSAPI) GetDataProtectionPolicy(arg0 *sns.GetDataProtectionPolicyInput) (*sns.GetDataProtectionPolicyOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetDataProtectionPolicy", arg0) + ret0, _ := ret[0].(*sns.GetDataProtectionPolicyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetDataProtectionPolicy indicates an expected call of GetDataProtectionPolicy. +func (mr *MockSNSAPIMockRecorder) GetDataProtectionPolicy(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDataProtectionPolicy", reflect.TypeOf((*MockSNSAPI)(nil).GetDataProtectionPolicy), arg0) +} + +// GetDataProtectionPolicyRequest mocks base method. +func (m *MockSNSAPI) GetDataProtectionPolicyRequest(arg0 *sns.GetDataProtectionPolicyInput) (*request.Request, *sns.GetDataProtectionPolicyOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetDataProtectionPolicyRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.GetDataProtectionPolicyOutput) + return ret0, ret1 +} + +// GetDataProtectionPolicyRequest indicates an expected call of GetDataProtectionPolicyRequest. +func (mr *MockSNSAPIMockRecorder) GetDataProtectionPolicyRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDataProtectionPolicyRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetDataProtectionPolicyRequest), arg0) +} + +// GetDataProtectionPolicyWithContext mocks base method. +func (m *MockSNSAPI) GetDataProtectionPolicyWithContext(arg0 context.Context, arg1 *sns.GetDataProtectionPolicyInput, arg2 ...request.Option) (*sns.GetDataProtectionPolicyOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetDataProtectionPolicyWithContext", varargs...) + ret0, _ := ret[0].(*sns.GetDataProtectionPolicyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetDataProtectionPolicyWithContext indicates an expected call of GetDataProtectionPolicyWithContext. +func (mr *MockSNSAPIMockRecorder) GetDataProtectionPolicyWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDataProtectionPolicyWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetDataProtectionPolicyWithContext), varargs...) +} + +// GetEndpointAttributes mocks base method. func (m *MockSNSAPI) GetEndpointAttributes(arg0 *sns.GetEndpointAttributesInput) (*sns.GetEndpointAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEndpointAttributes", arg0) @@ -494,13 +650,13 @@ func (m *MockSNSAPI) GetEndpointAttributes(arg0 *sns.GetEndpointAttributesInput) return ret0, ret1 } -// GetEndpointAttributes indicates an expected call of GetEndpointAttributes -func (mr *MockSNSAPIMockRecorder) GetEndpointAttributes(arg0 interface{}) *gomock.Call { +// GetEndpointAttributes indicates an expected call of GetEndpointAttributes. +func (mr *MockSNSAPIMockRecorder) GetEndpointAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEndpointAttributes", reflect.TypeOf((*MockSNSAPI)(nil).GetEndpointAttributes), arg0) } -// GetEndpointAttributesRequest mocks base method +// GetEndpointAttributesRequest mocks base method. func (m *MockSNSAPI) GetEndpointAttributesRequest(arg0 *sns.GetEndpointAttributesInput) (*request.Request, *sns.GetEndpointAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEndpointAttributesRequest", arg0) @@ -509,16 +665,16 @@ func (m *MockSNSAPI) GetEndpointAttributesRequest(arg0 *sns.GetEndpointAttribute return ret0, ret1 } -// GetEndpointAttributesRequest indicates an expected call of GetEndpointAttributesRequest -func (mr *MockSNSAPIMockRecorder) GetEndpointAttributesRequest(arg0 interface{}) *gomock.Call { +// GetEndpointAttributesRequest indicates an expected call of GetEndpointAttributesRequest. +func (mr *MockSNSAPIMockRecorder) GetEndpointAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEndpointAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetEndpointAttributesRequest), arg0) } -// GetEndpointAttributesWithContext mocks base method +// GetEndpointAttributesWithContext mocks base method. func (m *MockSNSAPI) GetEndpointAttributesWithContext(arg0 context.Context, arg1 *sns.GetEndpointAttributesInput, arg2 ...request.Option) (*sns.GetEndpointAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -528,14 +684,14 @@ func (m *MockSNSAPI) GetEndpointAttributesWithContext(arg0 context.Context, arg1 return ret0, ret1 } -// GetEndpointAttributesWithContext indicates an expected call of GetEndpointAttributesWithContext -func (mr *MockSNSAPIMockRecorder) GetEndpointAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// GetEndpointAttributesWithContext indicates an expected call of GetEndpointAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) GetEndpointAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEndpointAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetEndpointAttributesWithContext), varargs...) } -// GetPlatformApplicationAttributes mocks base method +// GetPlatformApplicationAttributes mocks base method. func (m *MockSNSAPI) GetPlatformApplicationAttributes(arg0 *sns.GetPlatformApplicationAttributesInput) (*sns.GetPlatformApplicationAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetPlatformApplicationAttributes", arg0) @@ -544,13 +700,13 @@ func (m *MockSNSAPI) GetPlatformApplicationAttributes(arg0 *sns.GetPlatformAppli return ret0, ret1 } -// GetPlatformApplicationAttributes indicates an expected call of GetPlatformApplicationAttributes -func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributes(arg0 interface{}) *gomock.Call { +// GetPlatformApplicationAttributes indicates an expected call of GetPlatformApplicationAttributes. +func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPlatformApplicationAttributes", reflect.TypeOf((*MockSNSAPI)(nil).GetPlatformApplicationAttributes), arg0) } -// GetPlatformApplicationAttributesRequest mocks base method +// GetPlatformApplicationAttributesRequest mocks base method. func (m *MockSNSAPI) GetPlatformApplicationAttributesRequest(arg0 *sns.GetPlatformApplicationAttributesInput) (*request.Request, *sns.GetPlatformApplicationAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetPlatformApplicationAttributesRequest", arg0) @@ -559,16 +715,16 @@ func (m *MockSNSAPI) GetPlatformApplicationAttributesRequest(arg0 *sns.GetPlatfo return ret0, ret1 } -// GetPlatformApplicationAttributesRequest indicates an expected call of GetPlatformApplicationAttributesRequest -func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributesRequest(arg0 interface{}) *gomock.Call { +// GetPlatformApplicationAttributesRequest indicates an expected call of GetPlatformApplicationAttributesRequest. +func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPlatformApplicationAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetPlatformApplicationAttributesRequest), arg0) } -// GetPlatformApplicationAttributesWithContext mocks base method +// GetPlatformApplicationAttributesWithContext mocks base method. func (m *MockSNSAPI) GetPlatformApplicationAttributesWithContext(arg0 context.Context, arg1 *sns.GetPlatformApplicationAttributesInput, arg2 ...request.Option) (*sns.GetPlatformApplicationAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -578,14 +734,14 @@ func (m *MockSNSAPI) GetPlatformApplicationAttributesWithContext(arg0 context.Co return ret0, ret1 } -// GetPlatformApplicationAttributesWithContext indicates an expected call of GetPlatformApplicationAttributesWithContext -func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// GetPlatformApplicationAttributesWithContext indicates an expected call of GetPlatformApplicationAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) GetPlatformApplicationAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPlatformApplicationAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetPlatformApplicationAttributesWithContext), varargs...) } -// GetSMSAttributes mocks base method +// GetSMSAttributes mocks base method. func (m *MockSNSAPI) GetSMSAttributes(arg0 *sns.GetSMSAttributesInput) (*sns.GetSMSAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSMSAttributes", arg0) @@ -594,13 +750,13 @@ func (m *MockSNSAPI) GetSMSAttributes(arg0 *sns.GetSMSAttributesInput) (*sns.Get return ret0, ret1 } -// GetSMSAttributes indicates an expected call of GetSMSAttributes -func (mr *MockSNSAPIMockRecorder) GetSMSAttributes(arg0 interface{}) *gomock.Call { +// GetSMSAttributes indicates an expected call of GetSMSAttributes. +func (mr *MockSNSAPIMockRecorder) GetSMSAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSAttributes", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSAttributes), arg0) } -// GetSMSAttributesRequest mocks base method +// GetSMSAttributesRequest mocks base method. func (m *MockSNSAPI) GetSMSAttributesRequest(arg0 *sns.GetSMSAttributesInput) (*request.Request, *sns.GetSMSAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSMSAttributesRequest", arg0) @@ -609,16 +765,16 @@ func (m *MockSNSAPI) GetSMSAttributesRequest(arg0 *sns.GetSMSAttributesInput) (* return ret0, ret1 } -// GetSMSAttributesRequest indicates an expected call of GetSMSAttributesRequest -func (mr *MockSNSAPIMockRecorder) GetSMSAttributesRequest(arg0 interface{}) *gomock.Call { +// GetSMSAttributesRequest indicates an expected call of GetSMSAttributesRequest. +func (mr *MockSNSAPIMockRecorder) GetSMSAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSAttributesRequest), arg0) } -// GetSMSAttributesWithContext mocks base method +// GetSMSAttributesWithContext mocks base method. func (m *MockSNSAPI) GetSMSAttributesWithContext(arg0 context.Context, arg1 *sns.GetSMSAttributesInput, arg2 ...request.Option) (*sns.GetSMSAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -628,14 +784,64 @@ func (m *MockSNSAPI) GetSMSAttributesWithContext(arg0 context.Context, arg1 *sns return ret0, ret1 } -// GetSMSAttributesWithContext indicates an expected call of GetSMSAttributesWithContext -func (mr *MockSNSAPIMockRecorder) GetSMSAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// GetSMSAttributesWithContext indicates an expected call of GetSMSAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) GetSMSAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSAttributesWithContext), varargs...) } -// GetSubscriptionAttributes mocks base method +// GetSMSSandboxAccountStatus mocks base method. +func (m *MockSNSAPI) GetSMSSandboxAccountStatus(arg0 *sns.GetSMSSandboxAccountStatusInput) (*sns.GetSMSSandboxAccountStatusOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSMSSandboxAccountStatus", arg0) + ret0, _ := ret[0].(*sns.GetSMSSandboxAccountStatusOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSMSSandboxAccountStatus indicates an expected call of GetSMSSandboxAccountStatus. +func (mr *MockSNSAPIMockRecorder) GetSMSSandboxAccountStatus(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSSandboxAccountStatus", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSSandboxAccountStatus), arg0) +} + +// GetSMSSandboxAccountStatusRequest mocks base method. +func (m *MockSNSAPI) GetSMSSandboxAccountStatusRequest(arg0 *sns.GetSMSSandboxAccountStatusInput) (*request.Request, *sns.GetSMSSandboxAccountStatusOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetSMSSandboxAccountStatusRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.GetSMSSandboxAccountStatusOutput) + return ret0, ret1 +} + +// GetSMSSandboxAccountStatusRequest indicates an expected call of GetSMSSandboxAccountStatusRequest. +func (mr *MockSNSAPIMockRecorder) GetSMSSandboxAccountStatusRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSSandboxAccountStatusRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSSandboxAccountStatusRequest), arg0) +} + +// GetSMSSandboxAccountStatusWithContext mocks base method. +func (m *MockSNSAPI) GetSMSSandboxAccountStatusWithContext(arg0 context.Context, arg1 *sns.GetSMSSandboxAccountStatusInput, arg2 ...request.Option) (*sns.GetSMSSandboxAccountStatusOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GetSMSSandboxAccountStatusWithContext", varargs...) + ret0, _ := ret[0].(*sns.GetSMSSandboxAccountStatusOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetSMSSandboxAccountStatusWithContext indicates an expected call of GetSMSSandboxAccountStatusWithContext. +func (mr *MockSNSAPIMockRecorder) GetSMSSandboxAccountStatusWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSMSSandboxAccountStatusWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetSMSSandboxAccountStatusWithContext), varargs...) +} + +// GetSubscriptionAttributes mocks base method. func (m *MockSNSAPI) GetSubscriptionAttributes(arg0 *sns.GetSubscriptionAttributesInput) (*sns.GetSubscriptionAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSubscriptionAttributes", arg0) @@ -644,13 +850,13 @@ func (m *MockSNSAPI) GetSubscriptionAttributes(arg0 *sns.GetSubscriptionAttribut return ret0, ret1 } -// GetSubscriptionAttributes indicates an expected call of GetSubscriptionAttributes -func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributes(arg0 interface{}) *gomock.Call { +// GetSubscriptionAttributes indicates an expected call of GetSubscriptionAttributes. +func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptionAttributes", reflect.TypeOf((*MockSNSAPI)(nil).GetSubscriptionAttributes), arg0) } -// GetSubscriptionAttributesRequest mocks base method +// GetSubscriptionAttributesRequest mocks base method. func (m *MockSNSAPI) GetSubscriptionAttributesRequest(arg0 *sns.GetSubscriptionAttributesInput) (*request.Request, *sns.GetSubscriptionAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetSubscriptionAttributesRequest", arg0) @@ -659,16 +865,16 @@ func (m *MockSNSAPI) GetSubscriptionAttributesRequest(arg0 *sns.GetSubscriptionA return ret0, ret1 } -// GetSubscriptionAttributesRequest indicates an expected call of GetSubscriptionAttributesRequest -func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributesRequest(arg0 interface{}) *gomock.Call { +// GetSubscriptionAttributesRequest indicates an expected call of GetSubscriptionAttributesRequest. +func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptionAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetSubscriptionAttributesRequest), arg0) } -// GetSubscriptionAttributesWithContext mocks base method +// GetSubscriptionAttributesWithContext mocks base method. func (m *MockSNSAPI) GetSubscriptionAttributesWithContext(arg0 context.Context, arg1 *sns.GetSubscriptionAttributesInput, arg2 ...request.Option) (*sns.GetSubscriptionAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -678,14 +884,14 @@ func (m *MockSNSAPI) GetSubscriptionAttributesWithContext(arg0 context.Context, return ret0, ret1 } -// GetSubscriptionAttributesWithContext indicates an expected call of GetSubscriptionAttributesWithContext -func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// GetSubscriptionAttributesWithContext indicates an expected call of GetSubscriptionAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) GetSubscriptionAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubscriptionAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetSubscriptionAttributesWithContext), varargs...) } -// GetTopicAttributes mocks base method +// GetTopicAttributes mocks base method. func (m *MockSNSAPI) GetTopicAttributes(arg0 *sns.GetTopicAttributesInput) (*sns.GetTopicAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetTopicAttributes", arg0) @@ -694,13 +900,13 @@ func (m *MockSNSAPI) GetTopicAttributes(arg0 *sns.GetTopicAttributesInput) (*sns return ret0, ret1 } -// GetTopicAttributes indicates an expected call of GetTopicAttributes -func (mr *MockSNSAPIMockRecorder) GetTopicAttributes(arg0 interface{}) *gomock.Call { +// GetTopicAttributes indicates an expected call of GetTopicAttributes. +func (mr *MockSNSAPIMockRecorder) GetTopicAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTopicAttributes", reflect.TypeOf((*MockSNSAPI)(nil).GetTopicAttributes), arg0) } -// GetTopicAttributesRequest mocks base method +// GetTopicAttributesRequest mocks base method. func (m *MockSNSAPI) GetTopicAttributesRequest(arg0 *sns.GetTopicAttributesInput) (*request.Request, *sns.GetTopicAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetTopicAttributesRequest", arg0) @@ -709,16 +915,16 @@ func (m *MockSNSAPI) GetTopicAttributesRequest(arg0 *sns.GetTopicAttributesInput return ret0, ret1 } -// GetTopicAttributesRequest indicates an expected call of GetTopicAttributesRequest -func (mr *MockSNSAPIMockRecorder) GetTopicAttributesRequest(arg0 interface{}) *gomock.Call { +// GetTopicAttributesRequest indicates an expected call of GetTopicAttributesRequest. +func (mr *MockSNSAPIMockRecorder) GetTopicAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTopicAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).GetTopicAttributesRequest), arg0) } -// GetTopicAttributesWithContext mocks base method +// GetTopicAttributesWithContext mocks base method. func (m *MockSNSAPI) GetTopicAttributesWithContext(arg0 context.Context, arg1 *sns.GetTopicAttributesInput, arg2 ...request.Option) (*sns.GetTopicAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -728,14 +934,14 @@ func (m *MockSNSAPI) GetTopicAttributesWithContext(arg0 context.Context, arg1 *s return ret0, ret1 } -// GetTopicAttributesWithContext indicates an expected call of GetTopicAttributesWithContext -func (mr *MockSNSAPIMockRecorder) GetTopicAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// GetTopicAttributesWithContext indicates an expected call of GetTopicAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) GetTopicAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTopicAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).GetTopicAttributesWithContext), varargs...) } -// ListEndpointsByPlatformApplication mocks base method +// ListEndpointsByPlatformApplication mocks base method. func (m *MockSNSAPI) ListEndpointsByPlatformApplication(arg0 *sns.ListEndpointsByPlatformApplicationInput) (*sns.ListEndpointsByPlatformApplicationOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListEndpointsByPlatformApplication", arg0) @@ -744,13 +950,13 @@ func (m *MockSNSAPI) ListEndpointsByPlatformApplication(arg0 *sns.ListEndpointsB return ret0, ret1 } -// ListEndpointsByPlatformApplication indicates an expected call of ListEndpointsByPlatformApplication -func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplication(arg0 interface{}) *gomock.Call { +// ListEndpointsByPlatformApplication indicates an expected call of ListEndpointsByPlatformApplication. +func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplication(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEndpointsByPlatformApplication", reflect.TypeOf((*MockSNSAPI)(nil).ListEndpointsByPlatformApplication), arg0) } -// ListEndpointsByPlatformApplicationPages mocks base method +// ListEndpointsByPlatformApplicationPages mocks base method. func (m *MockSNSAPI) ListEndpointsByPlatformApplicationPages(arg0 *sns.ListEndpointsByPlatformApplicationInput, arg1 func(*sns.ListEndpointsByPlatformApplicationOutput, bool) bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListEndpointsByPlatformApplicationPages", arg0, arg1) @@ -758,16 +964,16 @@ func (m *MockSNSAPI) ListEndpointsByPlatformApplicationPages(arg0 *sns.ListEndpo return ret0 } -// ListEndpointsByPlatformApplicationPages indicates an expected call of ListEndpointsByPlatformApplicationPages -func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationPages(arg0, arg1 interface{}) *gomock.Call { +// ListEndpointsByPlatformApplicationPages indicates an expected call of ListEndpointsByPlatformApplicationPages. +func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationPages(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEndpointsByPlatformApplicationPages", reflect.TypeOf((*MockSNSAPI)(nil).ListEndpointsByPlatformApplicationPages), arg0, arg1) } -// ListEndpointsByPlatformApplicationPagesWithContext mocks base method +// ListEndpointsByPlatformApplicationPagesWithContext mocks base method. func (m *MockSNSAPI) ListEndpointsByPlatformApplicationPagesWithContext(arg0 context.Context, arg1 *sns.ListEndpointsByPlatformApplicationInput, arg2 func(*sns.ListEndpointsByPlatformApplicationOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} + varargs := []any{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -776,14 +982,14 @@ func (m *MockSNSAPI) ListEndpointsByPlatformApplicationPagesWithContext(arg0 con return ret0 } -// ListEndpointsByPlatformApplicationPagesWithContext indicates an expected call of ListEndpointsByPlatformApplicationPagesWithContext -func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { +// ListEndpointsByPlatformApplicationPagesWithContext indicates an expected call of ListEndpointsByPlatformApplicationPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + varargs := append([]any{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEndpointsByPlatformApplicationPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListEndpointsByPlatformApplicationPagesWithContext), varargs...) } -// ListEndpointsByPlatformApplicationRequest mocks base method +// ListEndpointsByPlatformApplicationRequest mocks base method. func (m *MockSNSAPI) ListEndpointsByPlatformApplicationRequest(arg0 *sns.ListEndpointsByPlatformApplicationInput) (*request.Request, *sns.ListEndpointsByPlatformApplicationOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListEndpointsByPlatformApplicationRequest", arg0) @@ -792,16 +998,16 @@ func (m *MockSNSAPI) ListEndpointsByPlatformApplicationRequest(arg0 *sns.ListEnd return ret0, ret1 } -// ListEndpointsByPlatformApplicationRequest indicates an expected call of ListEndpointsByPlatformApplicationRequest -func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationRequest(arg0 interface{}) *gomock.Call { +// ListEndpointsByPlatformApplicationRequest indicates an expected call of ListEndpointsByPlatformApplicationRequest. +func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEndpointsByPlatformApplicationRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListEndpointsByPlatformApplicationRequest), arg0) } -// ListEndpointsByPlatformApplicationWithContext mocks base method +// ListEndpointsByPlatformApplicationWithContext mocks base method. func (m *MockSNSAPI) ListEndpointsByPlatformApplicationWithContext(arg0 context.Context, arg1 *sns.ListEndpointsByPlatformApplicationInput, arg2 ...request.Option) (*sns.ListEndpointsByPlatformApplicationOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -811,14 +1017,97 @@ func (m *MockSNSAPI) ListEndpointsByPlatformApplicationWithContext(arg0 context. return ret0, ret1 } -// ListEndpointsByPlatformApplicationWithContext indicates an expected call of ListEndpointsByPlatformApplicationWithContext -func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListEndpointsByPlatformApplicationWithContext indicates an expected call of ListEndpointsByPlatformApplicationWithContext. +func (mr *MockSNSAPIMockRecorder) ListEndpointsByPlatformApplicationWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEndpointsByPlatformApplicationWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListEndpointsByPlatformApplicationWithContext), varargs...) } -// ListPhoneNumbersOptedOut mocks base method +// ListOriginationNumbers mocks base method. +func (m *MockSNSAPI) ListOriginationNumbers(arg0 *sns.ListOriginationNumbersInput) (*sns.ListOriginationNumbersOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListOriginationNumbers", arg0) + ret0, _ := ret[0].(*sns.ListOriginationNumbersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListOriginationNumbers indicates an expected call of ListOriginationNumbers. +func (mr *MockSNSAPIMockRecorder) ListOriginationNumbers(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOriginationNumbers", reflect.TypeOf((*MockSNSAPI)(nil).ListOriginationNumbers), arg0) +} + +// ListOriginationNumbersPages mocks base method. +func (m *MockSNSAPI) ListOriginationNumbersPages(arg0 *sns.ListOriginationNumbersInput, arg1 func(*sns.ListOriginationNumbersOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListOriginationNumbersPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListOriginationNumbersPages indicates an expected call of ListOriginationNumbersPages. +func (mr *MockSNSAPIMockRecorder) ListOriginationNumbersPages(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOriginationNumbersPages", reflect.TypeOf((*MockSNSAPI)(nil).ListOriginationNumbersPages), arg0, arg1) +} + +// ListOriginationNumbersPagesWithContext mocks base method. +func (m *MockSNSAPI) ListOriginationNumbersPagesWithContext(arg0 context.Context, arg1 *sns.ListOriginationNumbersInput, arg2 func(*sns.ListOriginationNumbersOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListOriginationNumbersPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListOriginationNumbersPagesWithContext indicates an expected call of ListOriginationNumbersPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListOriginationNumbersPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOriginationNumbersPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListOriginationNumbersPagesWithContext), varargs...) +} + +// ListOriginationNumbersRequest mocks base method. +func (m *MockSNSAPI) ListOriginationNumbersRequest(arg0 *sns.ListOriginationNumbersInput) (*request.Request, *sns.ListOriginationNumbersOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListOriginationNumbersRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.ListOriginationNumbersOutput) + return ret0, ret1 +} + +// ListOriginationNumbersRequest indicates an expected call of ListOriginationNumbersRequest. +func (mr *MockSNSAPIMockRecorder) ListOriginationNumbersRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOriginationNumbersRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListOriginationNumbersRequest), arg0) +} + +// ListOriginationNumbersWithContext mocks base method. +func (m *MockSNSAPI) ListOriginationNumbersWithContext(arg0 context.Context, arg1 *sns.ListOriginationNumbersInput, arg2 ...request.Option) (*sns.ListOriginationNumbersOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListOriginationNumbersWithContext", varargs...) + ret0, _ := ret[0].(*sns.ListOriginationNumbersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListOriginationNumbersWithContext indicates an expected call of ListOriginationNumbersWithContext. +func (mr *MockSNSAPIMockRecorder) ListOriginationNumbersWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListOriginationNumbersWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListOriginationNumbersWithContext), varargs...) +} + +// ListPhoneNumbersOptedOut mocks base method. func (m *MockSNSAPI) ListPhoneNumbersOptedOut(arg0 *sns.ListPhoneNumbersOptedOutInput) (*sns.ListPhoneNumbersOptedOutOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListPhoneNumbersOptedOut", arg0) @@ -827,13 +1116,46 @@ func (m *MockSNSAPI) ListPhoneNumbersOptedOut(arg0 *sns.ListPhoneNumbersOptedOut return ret0, ret1 } -// ListPhoneNumbersOptedOut indicates an expected call of ListPhoneNumbersOptedOut -func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOut(arg0 interface{}) *gomock.Call { +// ListPhoneNumbersOptedOut indicates an expected call of ListPhoneNumbersOptedOut. +func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOut(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPhoneNumbersOptedOut", reflect.TypeOf((*MockSNSAPI)(nil).ListPhoneNumbersOptedOut), arg0) } -// ListPhoneNumbersOptedOutRequest mocks base method +// ListPhoneNumbersOptedOutPages mocks base method. +func (m *MockSNSAPI) ListPhoneNumbersOptedOutPages(arg0 *sns.ListPhoneNumbersOptedOutInput, arg1 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListPhoneNumbersOptedOutPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListPhoneNumbersOptedOutPages indicates an expected call of ListPhoneNumbersOptedOutPages. +func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutPages(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPhoneNumbersOptedOutPages", reflect.TypeOf((*MockSNSAPI)(nil).ListPhoneNumbersOptedOutPages), arg0, arg1) +} + +// ListPhoneNumbersOptedOutPagesWithContext mocks base method. +func (m *MockSNSAPI) ListPhoneNumbersOptedOutPagesWithContext(arg0 context.Context, arg1 *sns.ListPhoneNumbersOptedOutInput, arg2 func(*sns.ListPhoneNumbersOptedOutOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListPhoneNumbersOptedOutPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListPhoneNumbersOptedOutPagesWithContext indicates an expected call of ListPhoneNumbersOptedOutPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPhoneNumbersOptedOutPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListPhoneNumbersOptedOutPagesWithContext), varargs...) +} + +// ListPhoneNumbersOptedOutRequest mocks base method. func (m *MockSNSAPI) ListPhoneNumbersOptedOutRequest(arg0 *sns.ListPhoneNumbersOptedOutInput) (*request.Request, *sns.ListPhoneNumbersOptedOutOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListPhoneNumbersOptedOutRequest", arg0) @@ -842,16 +1164,16 @@ func (m *MockSNSAPI) ListPhoneNumbersOptedOutRequest(arg0 *sns.ListPhoneNumbersO return ret0, ret1 } -// ListPhoneNumbersOptedOutRequest indicates an expected call of ListPhoneNumbersOptedOutRequest -func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutRequest(arg0 interface{}) *gomock.Call { +// ListPhoneNumbersOptedOutRequest indicates an expected call of ListPhoneNumbersOptedOutRequest. +func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPhoneNumbersOptedOutRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListPhoneNumbersOptedOutRequest), arg0) } -// ListPhoneNumbersOptedOutWithContext mocks base method +// ListPhoneNumbersOptedOutWithContext mocks base method. func (m *MockSNSAPI) ListPhoneNumbersOptedOutWithContext(arg0 context.Context, arg1 *sns.ListPhoneNumbersOptedOutInput, arg2 ...request.Option) (*sns.ListPhoneNumbersOptedOutOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -861,14 +1183,14 @@ func (m *MockSNSAPI) ListPhoneNumbersOptedOutWithContext(arg0 context.Context, a return ret0, ret1 } -// ListPhoneNumbersOptedOutWithContext indicates an expected call of ListPhoneNumbersOptedOutWithContext -func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListPhoneNumbersOptedOutWithContext indicates an expected call of ListPhoneNumbersOptedOutWithContext. +func (mr *MockSNSAPIMockRecorder) ListPhoneNumbersOptedOutWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPhoneNumbersOptedOutWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListPhoneNumbersOptedOutWithContext), varargs...) } -// ListPlatformApplications mocks base method +// ListPlatformApplications mocks base method. func (m *MockSNSAPI) ListPlatformApplications(arg0 *sns.ListPlatformApplicationsInput) (*sns.ListPlatformApplicationsOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListPlatformApplications", arg0) @@ -877,13 +1199,13 @@ func (m *MockSNSAPI) ListPlatformApplications(arg0 *sns.ListPlatformApplications return ret0, ret1 } -// ListPlatformApplications indicates an expected call of ListPlatformApplications -func (mr *MockSNSAPIMockRecorder) ListPlatformApplications(arg0 interface{}) *gomock.Call { +// ListPlatformApplications indicates an expected call of ListPlatformApplications. +func (mr *MockSNSAPIMockRecorder) ListPlatformApplications(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPlatformApplications", reflect.TypeOf((*MockSNSAPI)(nil).ListPlatformApplications), arg0) } -// ListPlatformApplicationsPages mocks base method +// ListPlatformApplicationsPages mocks base method. func (m *MockSNSAPI) ListPlatformApplicationsPages(arg0 *sns.ListPlatformApplicationsInput, arg1 func(*sns.ListPlatformApplicationsOutput, bool) bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListPlatformApplicationsPages", arg0, arg1) @@ -891,16 +1213,16 @@ func (m *MockSNSAPI) ListPlatformApplicationsPages(arg0 *sns.ListPlatformApplica return ret0 } -// ListPlatformApplicationsPages indicates an expected call of ListPlatformApplicationsPages -func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsPages(arg0, arg1 interface{}) *gomock.Call { +// ListPlatformApplicationsPages indicates an expected call of ListPlatformApplicationsPages. +func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsPages(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPlatformApplicationsPages", reflect.TypeOf((*MockSNSAPI)(nil).ListPlatformApplicationsPages), arg0, arg1) } -// ListPlatformApplicationsPagesWithContext mocks base method +// ListPlatformApplicationsPagesWithContext mocks base method. func (m *MockSNSAPI) ListPlatformApplicationsPagesWithContext(arg0 context.Context, arg1 *sns.ListPlatformApplicationsInput, arg2 func(*sns.ListPlatformApplicationsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} + varargs := []any{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -909,14 +1231,14 @@ func (m *MockSNSAPI) ListPlatformApplicationsPagesWithContext(arg0 context.Conte return ret0 } -// ListPlatformApplicationsPagesWithContext indicates an expected call of ListPlatformApplicationsPagesWithContext -func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { +// ListPlatformApplicationsPagesWithContext indicates an expected call of ListPlatformApplicationsPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + varargs := append([]any{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPlatformApplicationsPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListPlatformApplicationsPagesWithContext), varargs...) } -// ListPlatformApplicationsRequest mocks base method +// ListPlatformApplicationsRequest mocks base method. func (m *MockSNSAPI) ListPlatformApplicationsRequest(arg0 *sns.ListPlatformApplicationsInput) (*request.Request, *sns.ListPlatformApplicationsOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListPlatformApplicationsRequest", arg0) @@ -925,16 +1247,16 @@ func (m *MockSNSAPI) ListPlatformApplicationsRequest(arg0 *sns.ListPlatformAppli return ret0, ret1 } -// ListPlatformApplicationsRequest indicates an expected call of ListPlatformApplicationsRequest -func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsRequest(arg0 interface{}) *gomock.Call { +// ListPlatformApplicationsRequest indicates an expected call of ListPlatformApplicationsRequest. +func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPlatformApplicationsRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListPlatformApplicationsRequest), arg0) } -// ListPlatformApplicationsWithContext mocks base method +// ListPlatformApplicationsWithContext mocks base method. func (m *MockSNSAPI) ListPlatformApplicationsWithContext(arg0 context.Context, arg1 *sns.ListPlatformApplicationsInput, arg2 ...request.Option) (*sns.ListPlatformApplicationsOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -944,14 +1266,97 @@ func (m *MockSNSAPI) ListPlatformApplicationsWithContext(arg0 context.Context, a return ret0, ret1 } -// ListPlatformApplicationsWithContext indicates an expected call of ListPlatformApplicationsWithContext -func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListPlatformApplicationsWithContext indicates an expected call of ListPlatformApplicationsWithContext. +func (mr *MockSNSAPIMockRecorder) ListPlatformApplicationsWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPlatformApplicationsWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListPlatformApplicationsWithContext), varargs...) } -// ListSubscriptions mocks base method +// ListSMSSandboxPhoneNumbers mocks base method. +func (m *MockSNSAPI) ListSMSSandboxPhoneNumbers(arg0 *sns.ListSMSSandboxPhoneNumbersInput) (*sns.ListSMSSandboxPhoneNumbersOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListSMSSandboxPhoneNumbers", arg0) + ret0, _ := ret[0].(*sns.ListSMSSandboxPhoneNumbersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListSMSSandboxPhoneNumbers indicates an expected call of ListSMSSandboxPhoneNumbers. +func (mr *MockSNSAPIMockRecorder) ListSMSSandboxPhoneNumbers(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSMSSandboxPhoneNumbers", reflect.TypeOf((*MockSNSAPI)(nil).ListSMSSandboxPhoneNumbers), arg0) +} + +// ListSMSSandboxPhoneNumbersPages mocks base method. +func (m *MockSNSAPI) ListSMSSandboxPhoneNumbersPages(arg0 *sns.ListSMSSandboxPhoneNumbersInput, arg1 func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListSMSSandboxPhoneNumbersPages", arg0, arg1) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListSMSSandboxPhoneNumbersPages indicates an expected call of ListSMSSandboxPhoneNumbersPages. +func (mr *MockSNSAPIMockRecorder) ListSMSSandboxPhoneNumbersPages(arg0, arg1 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSMSSandboxPhoneNumbersPages", reflect.TypeOf((*MockSNSAPI)(nil).ListSMSSandboxPhoneNumbersPages), arg0, arg1) +} + +// ListSMSSandboxPhoneNumbersPagesWithContext mocks base method. +func (m *MockSNSAPI) ListSMSSandboxPhoneNumbersPagesWithContext(arg0 context.Context, arg1 *sns.ListSMSSandboxPhoneNumbersInput, arg2 func(*sns.ListSMSSandboxPhoneNumbersOutput, bool) bool, arg3 ...request.Option) error { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1, arg2} + for _, a := range arg3 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListSMSSandboxPhoneNumbersPagesWithContext", varargs...) + ret0, _ := ret[0].(error) + return ret0 +} + +// ListSMSSandboxPhoneNumbersPagesWithContext indicates an expected call of ListSMSSandboxPhoneNumbersPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListSMSSandboxPhoneNumbersPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1, arg2}, arg3...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSMSSandboxPhoneNumbersPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSMSSandboxPhoneNumbersPagesWithContext), varargs...) +} + +// ListSMSSandboxPhoneNumbersRequest mocks base method. +func (m *MockSNSAPI) ListSMSSandboxPhoneNumbersRequest(arg0 *sns.ListSMSSandboxPhoneNumbersInput) (*request.Request, *sns.ListSMSSandboxPhoneNumbersOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListSMSSandboxPhoneNumbersRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.ListSMSSandboxPhoneNumbersOutput) + return ret0, ret1 +} + +// ListSMSSandboxPhoneNumbersRequest indicates an expected call of ListSMSSandboxPhoneNumbersRequest. +func (mr *MockSNSAPIMockRecorder) ListSMSSandboxPhoneNumbersRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSMSSandboxPhoneNumbersRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListSMSSandboxPhoneNumbersRequest), arg0) +} + +// ListSMSSandboxPhoneNumbersWithContext mocks base method. +func (m *MockSNSAPI) ListSMSSandboxPhoneNumbersWithContext(arg0 context.Context, arg1 *sns.ListSMSSandboxPhoneNumbersInput, arg2 ...request.Option) (*sns.ListSMSSandboxPhoneNumbersOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "ListSMSSandboxPhoneNumbersWithContext", varargs...) + ret0, _ := ret[0].(*sns.ListSMSSandboxPhoneNumbersOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListSMSSandboxPhoneNumbersWithContext indicates an expected call of ListSMSSandboxPhoneNumbersWithContext. +func (mr *MockSNSAPIMockRecorder) ListSMSSandboxPhoneNumbersWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSMSSandboxPhoneNumbersWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSMSSandboxPhoneNumbersWithContext), varargs...) +} + +// ListSubscriptions mocks base method. func (m *MockSNSAPI) ListSubscriptions(arg0 *sns.ListSubscriptionsInput) (*sns.ListSubscriptionsOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptions", arg0) @@ -960,13 +1365,13 @@ func (m *MockSNSAPI) ListSubscriptions(arg0 *sns.ListSubscriptionsInput) (*sns.L return ret0, ret1 } -// ListSubscriptions indicates an expected call of ListSubscriptions -func (mr *MockSNSAPIMockRecorder) ListSubscriptions(arg0 interface{}) *gomock.Call { +// ListSubscriptions indicates an expected call of ListSubscriptions. +func (mr *MockSNSAPIMockRecorder) ListSubscriptions(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptions", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptions), arg0) } -// ListSubscriptionsByTopic mocks base method +// ListSubscriptionsByTopic mocks base method. func (m *MockSNSAPI) ListSubscriptionsByTopic(arg0 *sns.ListSubscriptionsByTopicInput) (*sns.ListSubscriptionsByTopicOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptionsByTopic", arg0) @@ -975,13 +1380,13 @@ func (m *MockSNSAPI) ListSubscriptionsByTopic(arg0 *sns.ListSubscriptionsByTopic return ret0, ret1 } -// ListSubscriptionsByTopic indicates an expected call of ListSubscriptionsByTopic -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopic(arg0 interface{}) *gomock.Call { +// ListSubscriptionsByTopic indicates an expected call of ListSubscriptionsByTopic. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopic(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsByTopic", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsByTopic), arg0) } -// ListSubscriptionsByTopicPages mocks base method +// ListSubscriptionsByTopicPages mocks base method. func (m *MockSNSAPI) ListSubscriptionsByTopicPages(arg0 *sns.ListSubscriptionsByTopicInput, arg1 func(*sns.ListSubscriptionsByTopicOutput, bool) bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptionsByTopicPages", arg0, arg1) @@ -989,16 +1394,16 @@ func (m *MockSNSAPI) ListSubscriptionsByTopicPages(arg0 *sns.ListSubscriptionsBy return ret0 } -// ListSubscriptionsByTopicPages indicates an expected call of ListSubscriptionsByTopicPages -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicPages(arg0, arg1 interface{}) *gomock.Call { +// ListSubscriptionsByTopicPages indicates an expected call of ListSubscriptionsByTopicPages. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicPages(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsByTopicPages", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsByTopicPages), arg0, arg1) } -// ListSubscriptionsByTopicPagesWithContext mocks base method +// ListSubscriptionsByTopicPagesWithContext mocks base method. func (m *MockSNSAPI) ListSubscriptionsByTopicPagesWithContext(arg0 context.Context, arg1 *sns.ListSubscriptionsByTopicInput, arg2 func(*sns.ListSubscriptionsByTopicOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} + varargs := []any{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1007,14 +1412,14 @@ func (m *MockSNSAPI) ListSubscriptionsByTopicPagesWithContext(arg0 context.Conte return ret0 } -// ListSubscriptionsByTopicPagesWithContext indicates an expected call of ListSubscriptionsByTopicPagesWithContext -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { +// ListSubscriptionsByTopicPagesWithContext indicates an expected call of ListSubscriptionsByTopicPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + varargs := append([]any{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsByTopicPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsByTopicPagesWithContext), varargs...) } -// ListSubscriptionsByTopicRequest mocks base method +// ListSubscriptionsByTopicRequest mocks base method. func (m *MockSNSAPI) ListSubscriptionsByTopicRequest(arg0 *sns.ListSubscriptionsByTopicInput) (*request.Request, *sns.ListSubscriptionsByTopicOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptionsByTopicRequest", arg0) @@ -1023,16 +1428,16 @@ func (m *MockSNSAPI) ListSubscriptionsByTopicRequest(arg0 *sns.ListSubscriptions return ret0, ret1 } -// ListSubscriptionsByTopicRequest indicates an expected call of ListSubscriptionsByTopicRequest -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicRequest(arg0 interface{}) *gomock.Call { +// ListSubscriptionsByTopicRequest indicates an expected call of ListSubscriptionsByTopicRequest. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsByTopicRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsByTopicRequest), arg0) } -// ListSubscriptionsByTopicWithContext mocks base method +// ListSubscriptionsByTopicWithContext mocks base method. func (m *MockSNSAPI) ListSubscriptionsByTopicWithContext(arg0 context.Context, arg1 *sns.ListSubscriptionsByTopicInput, arg2 ...request.Option) (*sns.ListSubscriptionsByTopicOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1042,14 +1447,14 @@ func (m *MockSNSAPI) ListSubscriptionsByTopicWithContext(arg0 context.Context, a return ret0, ret1 } -// ListSubscriptionsByTopicWithContext indicates an expected call of ListSubscriptionsByTopicWithContext -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListSubscriptionsByTopicWithContext indicates an expected call of ListSubscriptionsByTopicWithContext. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsByTopicWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsByTopicWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsByTopicWithContext), varargs...) } -// ListSubscriptionsPages mocks base method +// ListSubscriptionsPages mocks base method. func (m *MockSNSAPI) ListSubscriptionsPages(arg0 *sns.ListSubscriptionsInput, arg1 func(*sns.ListSubscriptionsOutput, bool) bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptionsPages", arg0, arg1) @@ -1057,16 +1462,16 @@ func (m *MockSNSAPI) ListSubscriptionsPages(arg0 *sns.ListSubscriptionsInput, ar return ret0 } -// ListSubscriptionsPages indicates an expected call of ListSubscriptionsPages -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsPages(arg0, arg1 interface{}) *gomock.Call { +// ListSubscriptionsPages indicates an expected call of ListSubscriptionsPages. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsPages(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsPages", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsPages), arg0, arg1) } -// ListSubscriptionsPagesWithContext mocks base method +// ListSubscriptionsPagesWithContext mocks base method. func (m *MockSNSAPI) ListSubscriptionsPagesWithContext(arg0 context.Context, arg1 *sns.ListSubscriptionsInput, arg2 func(*sns.ListSubscriptionsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} + varargs := []any{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1075,14 +1480,14 @@ func (m *MockSNSAPI) ListSubscriptionsPagesWithContext(arg0 context.Context, arg return ret0 } -// ListSubscriptionsPagesWithContext indicates an expected call of ListSubscriptionsPagesWithContext -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { +// ListSubscriptionsPagesWithContext indicates an expected call of ListSubscriptionsPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + varargs := append([]any{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsPagesWithContext), varargs...) } -// ListSubscriptionsRequest mocks base method +// ListSubscriptionsRequest mocks base method. func (m *MockSNSAPI) ListSubscriptionsRequest(arg0 *sns.ListSubscriptionsInput) (*request.Request, *sns.ListSubscriptionsOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListSubscriptionsRequest", arg0) @@ -1091,16 +1496,16 @@ func (m *MockSNSAPI) ListSubscriptionsRequest(arg0 *sns.ListSubscriptionsInput) return ret0, ret1 } -// ListSubscriptionsRequest indicates an expected call of ListSubscriptionsRequest -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsRequest(arg0 interface{}) *gomock.Call { +// ListSubscriptionsRequest indicates an expected call of ListSubscriptionsRequest. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsRequest), arg0) } -// ListSubscriptionsWithContext mocks base method +// ListSubscriptionsWithContext mocks base method. func (m *MockSNSAPI) ListSubscriptionsWithContext(arg0 context.Context, arg1 *sns.ListSubscriptionsInput, arg2 ...request.Option) (*sns.ListSubscriptionsOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1110,14 +1515,14 @@ func (m *MockSNSAPI) ListSubscriptionsWithContext(arg0 context.Context, arg1 *sn return ret0, ret1 } -// ListSubscriptionsWithContext indicates an expected call of ListSubscriptionsWithContext -func (mr *MockSNSAPIMockRecorder) ListSubscriptionsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListSubscriptionsWithContext indicates an expected call of ListSubscriptionsWithContext. +func (mr *MockSNSAPIMockRecorder) ListSubscriptionsWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListSubscriptionsWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListSubscriptionsWithContext), varargs...) } -// ListTagsForResource mocks base method +// ListTagsForResource mocks base method. func (m *MockSNSAPI) ListTagsForResource(arg0 *sns.ListTagsForResourceInput) (*sns.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListTagsForResource", arg0) @@ -1126,13 +1531,13 @@ func (m *MockSNSAPI) ListTagsForResource(arg0 *sns.ListTagsForResourceInput) (*s return ret0, ret1 } -// ListTagsForResource indicates an expected call of ListTagsForResource -func (mr *MockSNSAPIMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call { +// ListTagsForResource indicates an expected call of ListTagsForResource. +func (mr *MockSNSAPIMockRecorder) ListTagsForResource(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResource", reflect.TypeOf((*MockSNSAPI)(nil).ListTagsForResource), arg0) } -// ListTagsForResourceRequest mocks base method +// ListTagsForResourceRequest mocks base method. func (m *MockSNSAPI) ListTagsForResourceRequest(arg0 *sns.ListTagsForResourceInput) (*request.Request, *sns.ListTagsForResourceOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListTagsForResourceRequest", arg0) @@ -1141,16 +1546,16 @@ func (m *MockSNSAPI) ListTagsForResourceRequest(arg0 *sns.ListTagsForResourceInp return ret0, ret1 } -// ListTagsForResourceRequest indicates an expected call of ListTagsForResourceRequest -func (mr *MockSNSAPIMockRecorder) ListTagsForResourceRequest(arg0 interface{}) *gomock.Call { +// ListTagsForResourceRequest indicates an expected call of ListTagsForResourceRequest. +func (mr *MockSNSAPIMockRecorder) ListTagsForResourceRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResourceRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListTagsForResourceRequest), arg0) } -// ListTagsForResourceWithContext mocks base method +// ListTagsForResourceWithContext mocks base method. func (m *MockSNSAPI) ListTagsForResourceWithContext(arg0 context.Context, arg1 *sns.ListTagsForResourceInput, arg2 ...request.Option) (*sns.ListTagsForResourceOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1160,14 +1565,14 @@ func (m *MockSNSAPI) ListTagsForResourceWithContext(arg0 context.Context, arg1 * return ret0, ret1 } -// ListTagsForResourceWithContext indicates an expected call of ListTagsForResourceWithContext -func (mr *MockSNSAPIMockRecorder) ListTagsForResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListTagsForResourceWithContext indicates an expected call of ListTagsForResourceWithContext. +func (mr *MockSNSAPIMockRecorder) ListTagsForResourceWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResourceWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListTagsForResourceWithContext), varargs...) } -// ListTopics mocks base method +// ListTopics mocks base method. func (m *MockSNSAPI) ListTopics(arg0 *sns.ListTopicsInput) (*sns.ListTopicsOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListTopics", arg0) @@ -1176,13 +1581,13 @@ func (m *MockSNSAPI) ListTopics(arg0 *sns.ListTopicsInput) (*sns.ListTopicsOutpu return ret0, ret1 } -// ListTopics indicates an expected call of ListTopics -func (mr *MockSNSAPIMockRecorder) ListTopics(arg0 interface{}) *gomock.Call { +// ListTopics indicates an expected call of ListTopics. +func (mr *MockSNSAPIMockRecorder) ListTopics(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopics", reflect.TypeOf((*MockSNSAPI)(nil).ListTopics), arg0) } -// ListTopicsPages mocks base method +// ListTopicsPages mocks base method. func (m *MockSNSAPI) ListTopicsPages(arg0 *sns.ListTopicsInput, arg1 func(*sns.ListTopicsOutput, bool) bool) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListTopicsPages", arg0, arg1) @@ -1190,16 +1595,16 @@ func (m *MockSNSAPI) ListTopicsPages(arg0 *sns.ListTopicsInput, arg1 func(*sns.L return ret0 } -// ListTopicsPages indicates an expected call of ListTopicsPages -func (mr *MockSNSAPIMockRecorder) ListTopicsPages(arg0, arg1 interface{}) *gomock.Call { +// ListTopicsPages indicates an expected call of ListTopicsPages. +func (mr *MockSNSAPIMockRecorder) ListTopicsPages(arg0, arg1 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicsPages", reflect.TypeOf((*MockSNSAPI)(nil).ListTopicsPages), arg0, arg1) } -// ListTopicsPagesWithContext mocks base method +// ListTopicsPagesWithContext mocks base method. func (m *MockSNSAPI) ListTopicsPagesWithContext(arg0 context.Context, arg1 *sns.ListTopicsInput, arg2 func(*sns.ListTopicsOutput, bool) bool, arg3 ...request.Option) error { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1, arg2} + varargs := []any{arg0, arg1, arg2} for _, a := range arg3 { varargs = append(varargs, a) } @@ -1208,14 +1613,14 @@ func (m *MockSNSAPI) ListTopicsPagesWithContext(arg0 context.Context, arg1 *sns. return ret0 } -// ListTopicsPagesWithContext indicates an expected call of ListTopicsPagesWithContext -func (mr *MockSNSAPIMockRecorder) ListTopicsPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call { +// ListTopicsPagesWithContext indicates an expected call of ListTopicsPagesWithContext. +func (mr *MockSNSAPIMockRecorder) ListTopicsPagesWithContext(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1, arg2}, arg3...) + varargs := append([]any{arg0, arg1, arg2}, arg3...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicsPagesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListTopicsPagesWithContext), varargs...) } -// ListTopicsRequest mocks base method +// ListTopicsRequest mocks base method. func (m *MockSNSAPI) ListTopicsRequest(arg0 *sns.ListTopicsInput) (*request.Request, *sns.ListTopicsOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListTopicsRequest", arg0) @@ -1224,16 +1629,16 @@ func (m *MockSNSAPI) ListTopicsRequest(arg0 *sns.ListTopicsInput) (*request.Requ return ret0, ret1 } -// ListTopicsRequest indicates an expected call of ListTopicsRequest -func (mr *MockSNSAPIMockRecorder) ListTopicsRequest(arg0 interface{}) *gomock.Call { +// ListTopicsRequest indicates an expected call of ListTopicsRequest. +func (mr *MockSNSAPIMockRecorder) ListTopicsRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicsRequest", reflect.TypeOf((*MockSNSAPI)(nil).ListTopicsRequest), arg0) } -// ListTopicsWithContext mocks base method +// ListTopicsWithContext mocks base method. func (m *MockSNSAPI) ListTopicsWithContext(arg0 context.Context, arg1 *sns.ListTopicsInput, arg2 ...request.Option) (*sns.ListTopicsOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1243,14 +1648,14 @@ func (m *MockSNSAPI) ListTopicsWithContext(arg0 context.Context, arg1 *sns.ListT return ret0, ret1 } -// ListTopicsWithContext indicates an expected call of ListTopicsWithContext -func (mr *MockSNSAPIMockRecorder) ListTopicsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// ListTopicsWithContext indicates an expected call of ListTopicsWithContext. +func (mr *MockSNSAPIMockRecorder) ListTopicsWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTopicsWithContext", reflect.TypeOf((*MockSNSAPI)(nil).ListTopicsWithContext), varargs...) } -// OptInPhoneNumber mocks base method +// OptInPhoneNumber mocks base method. func (m *MockSNSAPI) OptInPhoneNumber(arg0 *sns.OptInPhoneNumberInput) (*sns.OptInPhoneNumberOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OptInPhoneNumber", arg0) @@ -1259,13 +1664,13 @@ func (m *MockSNSAPI) OptInPhoneNumber(arg0 *sns.OptInPhoneNumberInput) (*sns.Opt return ret0, ret1 } -// OptInPhoneNumber indicates an expected call of OptInPhoneNumber -func (mr *MockSNSAPIMockRecorder) OptInPhoneNumber(arg0 interface{}) *gomock.Call { +// OptInPhoneNumber indicates an expected call of OptInPhoneNumber. +func (mr *MockSNSAPIMockRecorder) OptInPhoneNumber(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OptInPhoneNumber", reflect.TypeOf((*MockSNSAPI)(nil).OptInPhoneNumber), arg0) } -// OptInPhoneNumberRequest mocks base method +// OptInPhoneNumberRequest mocks base method. func (m *MockSNSAPI) OptInPhoneNumberRequest(arg0 *sns.OptInPhoneNumberInput) (*request.Request, *sns.OptInPhoneNumberOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "OptInPhoneNumberRequest", arg0) @@ -1274,16 +1679,16 @@ func (m *MockSNSAPI) OptInPhoneNumberRequest(arg0 *sns.OptInPhoneNumberInput) (* return ret0, ret1 } -// OptInPhoneNumberRequest indicates an expected call of OptInPhoneNumberRequest -func (mr *MockSNSAPIMockRecorder) OptInPhoneNumberRequest(arg0 interface{}) *gomock.Call { +// OptInPhoneNumberRequest indicates an expected call of OptInPhoneNumberRequest. +func (mr *MockSNSAPIMockRecorder) OptInPhoneNumberRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OptInPhoneNumberRequest", reflect.TypeOf((*MockSNSAPI)(nil).OptInPhoneNumberRequest), arg0) } -// OptInPhoneNumberWithContext mocks base method +// OptInPhoneNumberWithContext mocks base method. func (m *MockSNSAPI) OptInPhoneNumberWithContext(arg0 context.Context, arg1 *sns.OptInPhoneNumberInput, arg2 ...request.Option) (*sns.OptInPhoneNumberOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1293,14 +1698,14 @@ func (m *MockSNSAPI) OptInPhoneNumberWithContext(arg0 context.Context, arg1 *sns return ret0, ret1 } -// OptInPhoneNumberWithContext indicates an expected call of OptInPhoneNumberWithContext -func (mr *MockSNSAPIMockRecorder) OptInPhoneNumberWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// OptInPhoneNumberWithContext indicates an expected call of OptInPhoneNumberWithContext. +func (mr *MockSNSAPIMockRecorder) OptInPhoneNumberWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OptInPhoneNumberWithContext", reflect.TypeOf((*MockSNSAPI)(nil).OptInPhoneNumberWithContext), varargs...) } -// Publish mocks base method +// Publish mocks base method. func (m *MockSNSAPI) Publish(arg0 *sns.PublishInput) (*sns.PublishOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Publish", arg0) @@ -1309,13 +1714,63 @@ func (m *MockSNSAPI) Publish(arg0 *sns.PublishInput) (*sns.PublishOutput, error) return ret0, ret1 } -// Publish indicates an expected call of Publish -func (mr *MockSNSAPIMockRecorder) Publish(arg0 interface{}) *gomock.Call { +// Publish indicates an expected call of Publish. +func (mr *MockSNSAPIMockRecorder) Publish(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Publish", reflect.TypeOf((*MockSNSAPI)(nil).Publish), arg0) } -// PublishRequest mocks base method +// PublishBatch mocks base method. +func (m *MockSNSAPI) PublishBatch(arg0 *sns.PublishBatchInput) (*sns.PublishBatchOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PublishBatch", arg0) + ret0, _ := ret[0].(*sns.PublishBatchOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PublishBatch indicates an expected call of PublishBatch. +func (mr *MockSNSAPIMockRecorder) PublishBatch(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishBatch", reflect.TypeOf((*MockSNSAPI)(nil).PublishBatch), arg0) +} + +// PublishBatchRequest mocks base method. +func (m *MockSNSAPI) PublishBatchRequest(arg0 *sns.PublishBatchInput) (*request.Request, *sns.PublishBatchOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PublishBatchRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.PublishBatchOutput) + return ret0, ret1 +} + +// PublishBatchRequest indicates an expected call of PublishBatchRequest. +func (mr *MockSNSAPIMockRecorder) PublishBatchRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishBatchRequest", reflect.TypeOf((*MockSNSAPI)(nil).PublishBatchRequest), arg0) +} + +// PublishBatchWithContext mocks base method. +func (m *MockSNSAPI) PublishBatchWithContext(arg0 context.Context, arg1 *sns.PublishBatchInput, arg2 ...request.Option) (*sns.PublishBatchOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "PublishBatchWithContext", varargs...) + ret0, _ := ret[0].(*sns.PublishBatchOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PublishBatchWithContext indicates an expected call of PublishBatchWithContext. +func (mr *MockSNSAPIMockRecorder) PublishBatchWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishBatchWithContext", reflect.TypeOf((*MockSNSAPI)(nil).PublishBatchWithContext), varargs...) +} + +// PublishRequest mocks base method. func (m *MockSNSAPI) PublishRequest(arg0 *sns.PublishInput) (*request.Request, *sns.PublishOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "PublishRequest", arg0) @@ -1324,16 +1779,16 @@ func (m *MockSNSAPI) PublishRequest(arg0 *sns.PublishInput) (*request.Request, * return ret0, ret1 } -// PublishRequest indicates an expected call of PublishRequest -func (mr *MockSNSAPIMockRecorder) PublishRequest(arg0 interface{}) *gomock.Call { +// PublishRequest indicates an expected call of PublishRequest. +func (mr *MockSNSAPIMockRecorder) PublishRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishRequest", reflect.TypeOf((*MockSNSAPI)(nil).PublishRequest), arg0) } -// PublishWithContext mocks base method +// PublishWithContext mocks base method. func (m *MockSNSAPI) PublishWithContext(arg0 context.Context, arg1 *sns.PublishInput, arg2 ...request.Option) (*sns.PublishOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1343,14 +1798,64 @@ func (m *MockSNSAPI) PublishWithContext(arg0 context.Context, arg1 *sns.PublishI return ret0, ret1 } -// PublishWithContext indicates an expected call of PublishWithContext -func (mr *MockSNSAPIMockRecorder) PublishWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// PublishWithContext indicates an expected call of PublishWithContext. +func (mr *MockSNSAPIMockRecorder) PublishWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishWithContext", reflect.TypeOf((*MockSNSAPI)(nil).PublishWithContext), varargs...) } -// RemovePermission mocks base method +// PutDataProtectionPolicy mocks base method. +func (m *MockSNSAPI) PutDataProtectionPolicy(arg0 *sns.PutDataProtectionPolicyInput) (*sns.PutDataProtectionPolicyOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PutDataProtectionPolicy", arg0) + ret0, _ := ret[0].(*sns.PutDataProtectionPolicyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PutDataProtectionPolicy indicates an expected call of PutDataProtectionPolicy. +func (mr *MockSNSAPIMockRecorder) PutDataProtectionPolicy(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDataProtectionPolicy", reflect.TypeOf((*MockSNSAPI)(nil).PutDataProtectionPolicy), arg0) +} + +// PutDataProtectionPolicyRequest mocks base method. +func (m *MockSNSAPI) PutDataProtectionPolicyRequest(arg0 *sns.PutDataProtectionPolicyInput) (*request.Request, *sns.PutDataProtectionPolicyOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "PutDataProtectionPolicyRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.PutDataProtectionPolicyOutput) + return ret0, ret1 +} + +// PutDataProtectionPolicyRequest indicates an expected call of PutDataProtectionPolicyRequest. +func (mr *MockSNSAPIMockRecorder) PutDataProtectionPolicyRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDataProtectionPolicyRequest", reflect.TypeOf((*MockSNSAPI)(nil).PutDataProtectionPolicyRequest), arg0) +} + +// PutDataProtectionPolicyWithContext mocks base method. +func (m *MockSNSAPI) PutDataProtectionPolicyWithContext(arg0 context.Context, arg1 *sns.PutDataProtectionPolicyInput, arg2 ...request.Option) (*sns.PutDataProtectionPolicyOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "PutDataProtectionPolicyWithContext", varargs...) + ret0, _ := ret[0].(*sns.PutDataProtectionPolicyOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// PutDataProtectionPolicyWithContext indicates an expected call of PutDataProtectionPolicyWithContext. +func (mr *MockSNSAPIMockRecorder) PutDataProtectionPolicyWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDataProtectionPolicyWithContext", reflect.TypeOf((*MockSNSAPI)(nil).PutDataProtectionPolicyWithContext), varargs...) +} + +// RemovePermission mocks base method. func (m *MockSNSAPI) RemovePermission(arg0 *sns.RemovePermissionInput) (*sns.RemovePermissionOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RemovePermission", arg0) @@ -1359,13 +1864,13 @@ func (m *MockSNSAPI) RemovePermission(arg0 *sns.RemovePermissionInput) (*sns.Rem return ret0, ret1 } -// RemovePermission indicates an expected call of RemovePermission -func (mr *MockSNSAPIMockRecorder) RemovePermission(arg0 interface{}) *gomock.Call { +// RemovePermission indicates an expected call of RemovePermission. +func (mr *MockSNSAPIMockRecorder) RemovePermission(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePermission", reflect.TypeOf((*MockSNSAPI)(nil).RemovePermission), arg0) } -// RemovePermissionRequest mocks base method +// RemovePermissionRequest mocks base method. func (m *MockSNSAPI) RemovePermissionRequest(arg0 *sns.RemovePermissionInput) (*request.Request, *sns.RemovePermissionOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "RemovePermissionRequest", arg0) @@ -1374,16 +1879,16 @@ func (m *MockSNSAPI) RemovePermissionRequest(arg0 *sns.RemovePermissionInput) (* return ret0, ret1 } -// RemovePermissionRequest indicates an expected call of RemovePermissionRequest -func (mr *MockSNSAPIMockRecorder) RemovePermissionRequest(arg0 interface{}) *gomock.Call { +// RemovePermissionRequest indicates an expected call of RemovePermissionRequest. +func (mr *MockSNSAPIMockRecorder) RemovePermissionRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePermissionRequest", reflect.TypeOf((*MockSNSAPI)(nil).RemovePermissionRequest), arg0) } -// RemovePermissionWithContext mocks base method +// RemovePermissionWithContext mocks base method. func (m *MockSNSAPI) RemovePermissionWithContext(arg0 context.Context, arg1 *sns.RemovePermissionInput, arg2 ...request.Option) (*sns.RemovePermissionOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1393,14 +1898,14 @@ func (m *MockSNSAPI) RemovePermissionWithContext(arg0 context.Context, arg1 *sns return ret0, ret1 } -// RemovePermissionWithContext indicates an expected call of RemovePermissionWithContext -func (mr *MockSNSAPIMockRecorder) RemovePermissionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// RemovePermissionWithContext indicates an expected call of RemovePermissionWithContext. +func (mr *MockSNSAPIMockRecorder) RemovePermissionWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePermissionWithContext", reflect.TypeOf((*MockSNSAPI)(nil).RemovePermissionWithContext), varargs...) } -// SetEndpointAttributes mocks base method +// SetEndpointAttributes mocks base method. func (m *MockSNSAPI) SetEndpointAttributes(arg0 *sns.SetEndpointAttributesInput) (*sns.SetEndpointAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetEndpointAttributes", arg0) @@ -1409,13 +1914,13 @@ func (m *MockSNSAPI) SetEndpointAttributes(arg0 *sns.SetEndpointAttributesInput) return ret0, ret1 } -// SetEndpointAttributes indicates an expected call of SetEndpointAttributes -func (mr *MockSNSAPIMockRecorder) SetEndpointAttributes(arg0 interface{}) *gomock.Call { +// SetEndpointAttributes indicates an expected call of SetEndpointAttributes. +func (mr *MockSNSAPIMockRecorder) SetEndpointAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEndpointAttributes", reflect.TypeOf((*MockSNSAPI)(nil).SetEndpointAttributes), arg0) } -// SetEndpointAttributesRequest mocks base method +// SetEndpointAttributesRequest mocks base method. func (m *MockSNSAPI) SetEndpointAttributesRequest(arg0 *sns.SetEndpointAttributesInput) (*request.Request, *sns.SetEndpointAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetEndpointAttributesRequest", arg0) @@ -1424,16 +1929,16 @@ func (m *MockSNSAPI) SetEndpointAttributesRequest(arg0 *sns.SetEndpointAttribute return ret0, ret1 } -// SetEndpointAttributesRequest indicates an expected call of SetEndpointAttributesRequest -func (mr *MockSNSAPIMockRecorder) SetEndpointAttributesRequest(arg0 interface{}) *gomock.Call { +// SetEndpointAttributesRequest indicates an expected call of SetEndpointAttributesRequest. +func (mr *MockSNSAPIMockRecorder) SetEndpointAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEndpointAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).SetEndpointAttributesRequest), arg0) } -// SetEndpointAttributesWithContext mocks base method +// SetEndpointAttributesWithContext mocks base method. func (m *MockSNSAPI) SetEndpointAttributesWithContext(arg0 context.Context, arg1 *sns.SetEndpointAttributesInput, arg2 ...request.Option) (*sns.SetEndpointAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1443,14 +1948,14 @@ func (m *MockSNSAPI) SetEndpointAttributesWithContext(arg0 context.Context, arg1 return ret0, ret1 } -// SetEndpointAttributesWithContext indicates an expected call of SetEndpointAttributesWithContext -func (mr *MockSNSAPIMockRecorder) SetEndpointAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SetEndpointAttributesWithContext indicates an expected call of SetEndpointAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) SetEndpointAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetEndpointAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SetEndpointAttributesWithContext), varargs...) } -// SetPlatformApplicationAttributes mocks base method +// SetPlatformApplicationAttributes mocks base method. func (m *MockSNSAPI) SetPlatformApplicationAttributes(arg0 *sns.SetPlatformApplicationAttributesInput) (*sns.SetPlatformApplicationAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetPlatformApplicationAttributes", arg0) @@ -1459,13 +1964,13 @@ func (m *MockSNSAPI) SetPlatformApplicationAttributes(arg0 *sns.SetPlatformAppli return ret0, ret1 } -// SetPlatformApplicationAttributes indicates an expected call of SetPlatformApplicationAttributes -func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributes(arg0 interface{}) *gomock.Call { +// SetPlatformApplicationAttributes indicates an expected call of SetPlatformApplicationAttributes. +func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetPlatformApplicationAttributes", reflect.TypeOf((*MockSNSAPI)(nil).SetPlatformApplicationAttributes), arg0) } -// SetPlatformApplicationAttributesRequest mocks base method +// SetPlatformApplicationAttributesRequest mocks base method. func (m *MockSNSAPI) SetPlatformApplicationAttributesRequest(arg0 *sns.SetPlatformApplicationAttributesInput) (*request.Request, *sns.SetPlatformApplicationAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetPlatformApplicationAttributesRequest", arg0) @@ -1474,16 +1979,16 @@ func (m *MockSNSAPI) SetPlatformApplicationAttributesRequest(arg0 *sns.SetPlatfo return ret0, ret1 } -// SetPlatformApplicationAttributesRequest indicates an expected call of SetPlatformApplicationAttributesRequest -func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributesRequest(arg0 interface{}) *gomock.Call { +// SetPlatformApplicationAttributesRequest indicates an expected call of SetPlatformApplicationAttributesRequest. +func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetPlatformApplicationAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).SetPlatformApplicationAttributesRequest), arg0) } -// SetPlatformApplicationAttributesWithContext mocks base method +// SetPlatformApplicationAttributesWithContext mocks base method. func (m *MockSNSAPI) SetPlatformApplicationAttributesWithContext(arg0 context.Context, arg1 *sns.SetPlatformApplicationAttributesInput, arg2 ...request.Option) (*sns.SetPlatformApplicationAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1493,14 +1998,14 @@ func (m *MockSNSAPI) SetPlatformApplicationAttributesWithContext(arg0 context.Co return ret0, ret1 } -// SetPlatformApplicationAttributesWithContext indicates an expected call of SetPlatformApplicationAttributesWithContext -func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SetPlatformApplicationAttributesWithContext indicates an expected call of SetPlatformApplicationAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) SetPlatformApplicationAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetPlatformApplicationAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SetPlatformApplicationAttributesWithContext), varargs...) } -// SetSMSAttributes mocks base method +// SetSMSAttributes mocks base method. func (m *MockSNSAPI) SetSMSAttributes(arg0 *sns.SetSMSAttributesInput) (*sns.SetSMSAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetSMSAttributes", arg0) @@ -1509,13 +2014,13 @@ func (m *MockSNSAPI) SetSMSAttributes(arg0 *sns.SetSMSAttributesInput) (*sns.Set return ret0, ret1 } -// SetSMSAttributes indicates an expected call of SetSMSAttributes -func (mr *MockSNSAPIMockRecorder) SetSMSAttributes(arg0 interface{}) *gomock.Call { +// SetSMSAttributes indicates an expected call of SetSMSAttributes. +func (mr *MockSNSAPIMockRecorder) SetSMSAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSMSAttributes", reflect.TypeOf((*MockSNSAPI)(nil).SetSMSAttributes), arg0) } -// SetSMSAttributesRequest mocks base method +// SetSMSAttributesRequest mocks base method. func (m *MockSNSAPI) SetSMSAttributesRequest(arg0 *sns.SetSMSAttributesInput) (*request.Request, *sns.SetSMSAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetSMSAttributesRequest", arg0) @@ -1524,16 +2029,16 @@ func (m *MockSNSAPI) SetSMSAttributesRequest(arg0 *sns.SetSMSAttributesInput) (* return ret0, ret1 } -// SetSMSAttributesRequest indicates an expected call of SetSMSAttributesRequest -func (mr *MockSNSAPIMockRecorder) SetSMSAttributesRequest(arg0 interface{}) *gomock.Call { +// SetSMSAttributesRequest indicates an expected call of SetSMSAttributesRequest. +func (mr *MockSNSAPIMockRecorder) SetSMSAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSMSAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).SetSMSAttributesRequest), arg0) } -// SetSMSAttributesWithContext mocks base method +// SetSMSAttributesWithContext mocks base method. func (m *MockSNSAPI) SetSMSAttributesWithContext(arg0 context.Context, arg1 *sns.SetSMSAttributesInput, arg2 ...request.Option) (*sns.SetSMSAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1543,14 +2048,14 @@ func (m *MockSNSAPI) SetSMSAttributesWithContext(arg0 context.Context, arg1 *sns return ret0, ret1 } -// SetSMSAttributesWithContext indicates an expected call of SetSMSAttributesWithContext -func (mr *MockSNSAPIMockRecorder) SetSMSAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SetSMSAttributesWithContext indicates an expected call of SetSMSAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) SetSMSAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSMSAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SetSMSAttributesWithContext), varargs...) } -// SetSubscriptionAttributes mocks base method +// SetSubscriptionAttributes mocks base method. func (m *MockSNSAPI) SetSubscriptionAttributes(arg0 *sns.SetSubscriptionAttributesInput) (*sns.SetSubscriptionAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetSubscriptionAttributes", arg0) @@ -1559,13 +2064,13 @@ func (m *MockSNSAPI) SetSubscriptionAttributes(arg0 *sns.SetSubscriptionAttribut return ret0, ret1 } -// SetSubscriptionAttributes indicates an expected call of SetSubscriptionAttributes -func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributes(arg0 interface{}) *gomock.Call { +// SetSubscriptionAttributes indicates an expected call of SetSubscriptionAttributes. +func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSubscriptionAttributes", reflect.TypeOf((*MockSNSAPI)(nil).SetSubscriptionAttributes), arg0) } -// SetSubscriptionAttributesRequest mocks base method +// SetSubscriptionAttributesRequest mocks base method. func (m *MockSNSAPI) SetSubscriptionAttributesRequest(arg0 *sns.SetSubscriptionAttributesInput) (*request.Request, *sns.SetSubscriptionAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetSubscriptionAttributesRequest", arg0) @@ -1574,16 +2079,16 @@ func (m *MockSNSAPI) SetSubscriptionAttributesRequest(arg0 *sns.SetSubscriptionA return ret0, ret1 } -// SetSubscriptionAttributesRequest indicates an expected call of SetSubscriptionAttributesRequest -func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributesRequest(arg0 interface{}) *gomock.Call { +// SetSubscriptionAttributesRequest indicates an expected call of SetSubscriptionAttributesRequest. +func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSubscriptionAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).SetSubscriptionAttributesRequest), arg0) } -// SetSubscriptionAttributesWithContext mocks base method +// SetSubscriptionAttributesWithContext mocks base method. func (m *MockSNSAPI) SetSubscriptionAttributesWithContext(arg0 context.Context, arg1 *sns.SetSubscriptionAttributesInput, arg2 ...request.Option) (*sns.SetSubscriptionAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1593,14 +2098,14 @@ func (m *MockSNSAPI) SetSubscriptionAttributesWithContext(arg0 context.Context, return ret0, ret1 } -// SetSubscriptionAttributesWithContext indicates an expected call of SetSubscriptionAttributesWithContext -func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SetSubscriptionAttributesWithContext indicates an expected call of SetSubscriptionAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) SetSubscriptionAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSubscriptionAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SetSubscriptionAttributesWithContext), varargs...) } -// SetTopicAttributes mocks base method +// SetTopicAttributes mocks base method. func (m *MockSNSAPI) SetTopicAttributes(arg0 *sns.SetTopicAttributesInput) (*sns.SetTopicAttributesOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetTopicAttributes", arg0) @@ -1609,13 +2114,13 @@ func (m *MockSNSAPI) SetTopicAttributes(arg0 *sns.SetTopicAttributesInput) (*sns return ret0, ret1 } -// SetTopicAttributes indicates an expected call of SetTopicAttributes -func (mr *MockSNSAPIMockRecorder) SetTopicAttributes(arg0 interface{}) *gomock.Call { +// SetTopicAttributes indicates an expected call of SetTopicAttributes. +func (mr *MockSNSAPIMockRecorder) SetTopicAttributes(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopicAttributes", reflect.TypeOf((*MockSNSAPI)(nil).SetTopicAttributes), arg0) } -// SetTopicAttributesRequest mocks base method +// SetTopicAttributesRequest mocks base method. func (m *MockSNSAPI) SetTopicAttributesRequest(arg0 *sns.SetTopicAttributesInput) (*request.Request, *sns.SetTopicAttributesOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SetTopicAttributesRequest", arg0) @@ -1624,16 +2129,16 @@ func (m *MockSNSAPI) SetTopicAttributesRequest(arg0 *sns.SetTopicAttributesInput return ret0, ret1 } -// SetTopicAttributesRequest indicates an expected call of SetTopicAttributesRequest -func (mr *MockSNSAPIMockRecorder) SetTopicAttributesRequest(arg0 interface{}) *gomock.Call { +// SetTopicAttributesRequest indicates an expected call of SetTopicAttributesRequest. +func (mr *MockSNSAPIMockRecorder) SetTopicAttributesRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopicAttributesRequest", reflect.TypeOf((*MockSNSAPI)(nil).SetTopicAttributesRequest), arg0) } -// SetTopicAttributesWithContext mocks base method +// SetTopicAttributesWithContext mocks base method. func (m *MockSNSAPI) SetTopicAttributesWithContext(arg0 context.Context, arg1 *sns.SetTopicAttributesInput, arg2 ...request.Option) (*sns.SetTopicAttributesOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1643,14 +2148,14 @@ func (m *MockSNSAPI) SetTopicAttributesWithContext(arg0 context.Context, arg1 *s return ret0, ret1 } -// SetTopicAttributesWithContext indicates an expected call of SetTopicAttributesWithContext -func (mr *MockSNSAPIMockRecorder) SetTopicAttributesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SetTopicAttributesWithContext indicates an expected call of SetTopicAttributesWithContext. +func (mr *MockSNSAPIMockRecorder) SetTopicAttributesWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTopicAttributesWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SetTopicAttributesWithContext), varargs...) } -// Subscribe mocks base method +// Subscribe mocks base method. func (m *MockSNSAPI) Subscribe(arg0 *sns.SubscribeInput) (*sns.SubscribeOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Subscribe", arg0) @@ -1659,13 +2164,13 @@ func (m *MockSNSAPI) Subscribe(arg0 *sns.SubscribeInput) (*sns.SubscribeOutput, return ret0, ret1 } -// Subscribe indicates an expected call of Subscribe -func (mr *MockSNSAPIMockRecorder) Subscribe(arg0 interface{}) *gomock.Call { +// Subscribe indicates an expected call of Subscribe. +func (mr *MockSNSAPIMockRecorder) Subscribe(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Subscribe", reflect.TypeOf((*MockSNSAPI)(nil).Subscribe), arg0) } -// SubscribeRequest mocks base method +// SubscribeRequest mocks base method. func (m *MockSNSAPI) SubscribeRequest(arg0 *sns.SubscribeInput) (*request.Request, *sns.SubscribeOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "SubscribeRequest", arg0) @@ -1674,16 +2179,16 @@ func (m *MockSNSAPI) SubscribeRequest(arg0 *sns.SubscribeInput) (*request.Reques return ret0, ret1 } -// SubscribeRequest indicates an expected call of SubscribeRequest -func (mr *MockSNSAPIMockRecorder) SubscribeRequest(arg0 interface{}) *gomock.Call { +// SubscribeRequest indicates an expected call of SubscribeRequest. +func (mr *MockSNSAPIMockRecorder) SubscribeRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeRequest", reflect.TypeOf((*MockSNSAPI)(nil).SubscribeRequest), arg0) } -// SubscribeWithContext mocks base method +// SubscribeWithContext mocks base method. func (m *MockSNSAPI) SubscribeWithContext(arg0 context.Context, arg1 *sns.SubscribeInput, arg2 ...request.Option) (*sns.SubscribeOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1693,14 +2198,14 @@ func (m *MockSNSAPI) SubscribeWithContext(arg0 context.Context, arg1 *sns.Subscr return ret0, ret1 } -// SubscribeWithContext indicates an expected call of SubscribeWithContext -func (mr *MockSNSAPIMockRecorder) SubscribeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// SubscribeWithContext indicates an expected call of SubscribeWithContext. +func (mr *MockSNSAPIMockRecorder) SubscribeWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeWithContext", reflect.TypeOf((*MockSNSAPI)(nil).SubscribeWithContext), varargs...) } -// TagResource mocks base method +// TagResource mocks base method. func (m *MockSNSAPI) TagResource(arg0 *sns.TagResourceInput) (*sns.TagResourceOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TagResource", arg0) @@ -1709,13 +2214,13 @@ func (m *MockSNSAPI) TagResource(arg0 *sns.TagResourceInput) (*sns.TagResourceOu return ret0, ret1 } -// TagResource indicates an expected call of TagResource -func (mr *MockSNSAPIMockRecorder) TagResource(arg0 interface{}) *gomock.Call { +// TagResource indicates an expected call of TagResource. +func (mr *MockSNSAPIMockRecorder) TagResource(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResource", reflect.TypeOf((*MockSNSAPI)(nil).TagResource), arg0) } -// TagResourceRequest mocks base method +// TagResourceRequest mocks base method. func (m *MockSNSAPI) TagResourceRequest(arg0 *sns.TagResourceInput) (*request.Request, *sns.TagResourceOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "TagResourceRequest", arg0) @@ -1724,16 +2229,16 @@ func (m *MockSNSAPI) TagResourceRequest(arg0 *sns.TagResourceInput) (*request.Re return ret0, ret1 } -// TagResourceRequest indicates an expected call of TagResourceRequest -func (mr *MockSNSAPIMockRecorder) TagResourceRequest(arg0 interface{}) *gomock.Call { +// TagResourceRequest indicates an expected call of TagResourceRequest. +func (mr *MockSNSAPIMockRecorder) TagResourceRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResourceRequest", reflect.TypeOf((*MockSNSAPI)(nil).TagResourceRequest), arg0) } -// TagResourceWithContext mocks base method +// TagResourceWithContext mocks base method. func (m *MockSNSAPI) TagResourceWithContext(arg0 context.Context, arg1 *sns.TagResourceInput, arg2 ...request.Option) (*sns.TagResourceOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1743,14 +2248,14 @@ func (m *MockSNSAPI) TagResourceWithContext(arg0 context.Context, arg1 *sns.TagR return ret0, ret1 } -// TagResourceWithContext indicates an expected call of TagResourceWithContext -func (mr *MockSNSAPIMockRecorder) TagResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// TagResourceWithContext indicates an expected call of TagResourceWithContext. +func (mr *MockSNSAPIMockRecorder) TagResourceWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResourceWithContext", reflect.TypeOf((*MockSNSAPI)(nil).TagResourceWithContext), varargs...) } -// Unsubscribe mocks base method +// Unsubscribe mocks base method. func (m *MockSNSAPI) Unsubscribe(arg0 *sns.UnsubscribeInput) (*sns.UnsubscribeOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Unsubscribe", arg0) @@ -1759,13 +2264,13 @@ func (m *MockSNSAPI) Unsubscribe(arg0 *sns.UnsubscribeInput) (*sns.UnsubscribeOu return ret0, ret1 } -// Unsubscribe indicates an expected call of Unsubscribe -func (mr *MockSNSAPIMockRecorder) Unsubscribe(arg0 interface{}) *gomock.Call { +// Unsubscribe indicates an expected call of Unsubscribe. +func (mr *MockSNSAPIMockRecorder) Unsubscribe(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unsubscribe", reflect.TypeOf((*MockSNSAPI)(nil).Unsubscribe), arg0) } -// UnsubscribeRequest mocks base method +// UnsubscribeRequest mocks base method. func (m *MockSNSAPI) UnsubscribeRequest(arg0 *sns.UnsubscribeInput) (*request.Request, *sns.UnsubscribeOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UnsubscribeRequest", arg0) @@ -1774,16 +2279,16 @@ func (m *MockSNSAPI) UnsubscribeRequest(arg0 *sns.UnsubscribeInput) (*request.Re return ret0, ret1 } -// UnsubscribeRequest indicates an expected call of UnsubscribeRequest -func (mr *MockSNSAPIMockRecorder) UnsubscribeRequest(arg0 interface{}) *gomock.Call { +// UnsubscribeRequest indicates an expected call of UnsubscribeRequest. +func (mr *MockSNSAPIMockRecorder) UnsubscribeRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsubscribeRequest", reflect.TypeOf((*MockSNSAPI)(nil).UnsubscribeRequest), arg0) } -// UnsubscribeWithContext mocks base method +// UnsubscribeWithContext mocks base method. func (m *MockSNSAPI) UnsubscribeWithContext(arg0 context.Context, arg1 *sns.UnsubscribeInput, arg2 ...request.Option) (*sns.UnsubscribeOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1793,14 +2298,14 @@ func (m *MockSNSAPI) UnsubscribeWithContext(arg0 context.Context, arg1 *sns.Unsu return ret0, ret1 } -// UnsubscribeWithContext indicates an expected call of UnsubscribeWithContext -func (mr *MockSNSAPIMockRecorder) UnsubscribeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// UnsubscribeWithContext indicates an expected call of UnsubscribeWithContext. +func (mr *MockSNSAPIMockRecorder) UnsubscribeWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsubscribeWithContext", reflect.TypeOf((*MockSNSAPI)(nil).UnsubscribeWithContext), varargs...) } -// UntagResource mocks base method +// UntagResource mocks base method. func (m *MockSNSAPI) UntagResource(arg0 *sns.UntagResourceInput) (*sns.UntagResourceOutput, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UntagResource", arg0) @@ -1809,13 +2314,13 @@ func (m *MockSNSAPI) UntagResource(arg0 *sns.UntagResourceInput) (*sns.UntagReso return ret0, ret1 } -// UntagResource indicates an expected call of UntagResource -func (mr *MockSNSAPIMockRecorder) UntagResource(arg0 interface{}) *gomock.Call { +// UntagResource indicates an expected call of UntagResource. +func (mr *MockSNSAPIMockRecorder) UntagResource(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResource", reflect.TypeOf((*MockSNSAPI)(nil).UntagResource), arg0) } -// UntagResourceRequest mocks base method +// UntagResourceRequest mocks base method. func (m *MockSNSAPI) UntagResourceRequest(arg0 *sns.UntagResourceInput) (*request.Request, *sns.UntagResourceOutput) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "UntagResourceRequest", arg0) @@ -1824,16 +2329,16 @@ func (m *MockSNSAPI) UntagResourceRequest(arg0 *sns.UntagResourceInput) (*reques return ret0, ret1 } -// UntagResourceRequest indicates an expected call of UntagResourceRequest -func (mr *MockSNSAPIMockRecorder) UntagResourceRequest(arg0 interface{}) *gomock.Call { +// UntagResourceRequest indicates an expected call of UntagResourceRequest. +func (mr *MockSNSAPIMockRecorder) UntagResourceRequest(arg0 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResourceRequest", reflect.TypeOf((*MockSNSAPI)(nil).UntagResourceRequest), arg0) } -// UntagResourceWithContext mocks base method +// UntagResourceWithContext mocks base method. func (m *MockSNSAPI) UntagResourceWithContext(arg0 context.Context, arg1 *sns.UntagResourceInput, arg2 ...request.Option) (*sns.UntagResourceOutput, error) { m.ctrl.T.Helper() - varargs := []interface{}{arg0, arg1} + varargs := []any{arg0, arg1} for _, a := range arg2 { varargs = append(varargs, a) } @@ -1843,9 +2348,59 @@ func (m *MockSNSAPI) UntagResourceWithContext(arg0 context.Context, arg1 *sns.Un return ret0, ret1 } -// UntagResourceWithContext indicates an expected call of UntagResourceWithContext -func (mr *MockSNSAPIMockRecorder) UntagResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call { +// UntagResourceWithContext indicates an expected call of UntagResourceWithContext. +func (mr *MockSNSAPIMockRecorder) UntagResourceWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]interface{}{arg0, arg1}, arg2...) + varargs := append([]any{arg0, arg1}, arg2...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResourceWithContext", reflect.TypeOf((*MockSNSAPI)(nil).UntagResourceWithContext), varargs...) } + +// VerifySMSSandboxPhoneNumber mocks base method. +func (m *MockSNSAPI) VerifySMSSandboxPhoneNumber(arg0 *sns.VerifySMSSandboxPhoneNumberInput) (*sns.VerifySMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "VerifySMSSandboxPhoneNumber", arg0) + ret0, _ := ret[0].(*sns.VerifySMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// VerifySMSSandboxPhoneNumber indicates an expected call of VerifySMSSandboxPhoneNumber. +func (mr *MockSNSAPIMockRecorder) VerifySMSSandboxPhoneNumber(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySMSSandboxPhoneNumber", reflect.TypeOf((*MockSNSAPI)(nil).VerifySMSSandboxPhoneNumber), arg0) +} + +// VerifySMSSandboxPhoneNumberRequest mocks base method. +func (m *MockSNSAPI) VerifySMSSandboxPhoneNumberRequest(arg0 *sns.VerifySMSSandboxPhoneNumberInput) (*request.Request, *sns.VerifySMSSandboxPhoneNumberOutput) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "VerifySMSSandboxPhoneNumberRequest", arg0) + ret0, _ := ret[0].(*request.Request) + ret1, _ := ret[1].(*sns.VerifySMSSandboxPhoneNumberOutput) + return ret0, ret1 +} + +// VerifySMSSandboxPhoneNumberRequest indicates an expected call of VerifySMSSandboxPhoneNumberRequest. +func (mr *MockSNSAPIMockRecorder) VerifySMSSandboxPhoneNumberRequest(arg0 any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySMSSandboxPhoneNumberRequest", reflect.TypeOf((*MockSNSAPI)(nil).VerifySMSSandboxPhoneNumberRequest), arg0) +} + +// VerifySMSSandboxPhoneNumberWithContext mocks base method. +func (m *MockSNSAPI) VerifySMSSandboxPhoneNumberWithContext(arg0 context.Context, arg1 *sns.VerifySMSSandboxPhoneNumberInput, arg2 ...request.Option) (*sns.VerifySMSSandboxPhoneNumberOutput, error) { + m.ctrl.T.Helper() + varargs := []any{arg0, arg1} + for _, a := range arg2 { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "VerifySMSSandboxPhoneNumberWithContext", varargs...) + ret0, _ := ret[0].(*sns.VerifySMSSandboxPhoneNumberOutput) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// VerifySMSSandboxPhoneNumberWithContext indicates an expected call of VerifySMSSandboxPhoneNumberWithContext. +func (mr *MockSNSAPIMockRecorder) VerifySMSSandboxPhoneNumberWithContext(arg0, arg1 any, arg2 ...any) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]any{arg0, arg1}, arg2...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifySMSSandboxPhoneNumberWithContext", reflect.TypeOf((*MockSNSAPI)(nil).VerifySMSSandboxPhoneNumberWithContext), varargs...) +} diff --git a/pkg/sms/sender_test.go b/pkg/sms/sender_test.go index 4d2101d..a69393c 100644 --- a/pkg/sms/sender_test.go +++ b/pkg/sms/sender_test.go @@ -4,13 +4,12 @@ import ( "testing" "github.com/aws/aws-sdk-go/service/sns" - "github.com/golang/mock/gomock" + "github.com/martinsirbe/go-sms/pkg/sms" + "github.com/martinsirbe/go-sms/pkg/sms/mocks" "github.com/pkg/errors" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - - "github.com/martinsirbe/go-sms/pkg/sms" - "github.com/martinsirbe/go-sms/pkg/sms/mocks" + "go.uber.org/mock/gomock" ) type testSuite struct { @@ -203,6 +202,7 @@ func TestMessageAttributesCreatedFromConfig(t *testing.T) { assertValueIsSet: assert.NotEmpty, }, } { + tc := tc t.Run(name, func(t *testing.T) { t.Log(tc.description) t.Parallel()